🐛 Bug Report: Profile Picture not saving #247

Closed
opened 2025-10-07 00:07:10 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @Gibby503 on GitHub.

Reproduction steps

Custom image for accout keeps resetting to the default "AA" image after service reboot.

Expected behavior

Stay as the image I upload.

Actual Behavior

resets to default image

Version and Environment

0.48.0

Log Output

No response

Originally created by @Gibby503 on GitHub. ### Reproduction steps Custom image for accout keeps resetting to the default "AA" image after service reboot. ### Expected behavior Stay as the image I upload. ### Actual Behavior resets to default image ### Version and Environment 0.48.0 ### Log Output _No response_
OVERLORD added the bug label 2025-10-07 00:07:10 +03:00
Author
Owner

@kmendell commented on GitHub:

@mycybercatnet @Gibby503 Are you using LDAP? or are you not experiencing this issue anymore?

@kmendell commented on GitHub: @mycybercatnet @Gibby503 Are you using LDAP? or are you not experiencing this issue anymore?
Author
Owner

@stonith404 commented on GitHub:

Are you using LDAP?

@stonith404 commented on GitHub: Are you using LDAP?
Author
Owner

@kmendell commented on GitHub:

Is this still an issue?

@kmendell commented on GitHub: Is this still an issue?
Author
Owner

@marcaddeo commented on GitHub:

I'm also seeing this happen on a plain pocket-id install (no ldap sync).

When I change the profile picture on my account, a popup in the bottom right of the UI says "Unknown error occurred".

Looking in the console, I see:

PUT https://id.staging.my-domain.net/api/users/me/profile-picture 413 (Content Too Large)

This is with a ~3mb image. What are the size restrictions for this field?

@marcaddeo commented on GitHub: I'm also seeing this happen on a plain pocket-id install (no ldap sync). When I change the profile picture on my account, a popup in the bottom right of the UI says "Unknown error occurred". Looking in the console, I see: `PUT https://id.staging.my-domain.net/api/users/me/profile-picture 413 (Content Too Large)` This is with a ~3mb image. What are the size restrictions for this field?
Author
Owner

@mycybercatnet commented on GitHub:

I have the same problem.

services:
pocketid:
image: ghcr.io/pocket-id/pocket-id:latest
container_name: pocketid
restart: unless-stopped
ports:
- "3000:80"
volumes:
- ./data:/app/backend/data

environment:
  - PUBLIC_APP_URL=http://192.168.1.54
  - TRUST_PROXY=false
  - PUID=1000
  - PGID=1000
@mycybercatnet commented on GitHub: I have the same problem. services: pocketid: image: ghcr.io/pocket-id/pocket-id:latest container_name: pocketid restart: unless-stopped ports: - "3000:80" volumes: - ./data:/app/backend/data environment: - PUBLIC_APP_URL=http://192.168.1.54 - TRUST_PROXY=false - PUID=1000 - PGID=1000
Author
Owner

@marcaddeo commented on GitHub:

@marcaddeo This doesn't seem related.

Which reverse proxy are you using?You probably have to increase the max allowed body size of your reverse proxy.

You are correct! Updated my proxy and now it's working :)

@marcaddeo commented on GitHub: > [@marcaddeo](https://github.com/marcaddeo) This doesn't seem related. > > Which reverse proxy are you using?You probably have to increase the max allowed body size of your reverse proxy. You are correct! Updated my proxy and now it's working :)
Author
Owner

@stonith404 commented on GitHub:

I'm closing this because the author did not respond. Feel free to reopen the issue if it still occurs.

@stonith404 commented on GitHub: I'm closing this because the author did not respond. Feel free to reopen the issue if it still occurs.
Author
Owner

@stonith404 commented on GitHub:

@marcaddeo This doesn't seem related.

Which reverse proxy are you using?You probably have to increase the max allowed body size of your reverse proxy.

@stonith404 commented on GitHub: @marcaddeo This doesn't seem related. Which reverse proxy are you using?You probably have to increase the max allowed body size of your reverse proxy.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#247