🐛 Bug Report: Profile Picture not saving #255

Closed
opened 2026-02-04 18:26:04 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @Gibby503 on GitHub (Apr 19, 2025).

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 (Apr 19, 2025). ### 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 2026-02-04 18:26:04 +03:00
Author
Owner

@stonith404 commented on GitHub (Apr 20, 2025):

Are you using LDAP?

@stonith404 commented on GitHub (Apr 20, 2025): Are you using LDAP?
Author
Owner

@mycybercatnet commented on GitHub (Apr 29, 2025):

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 (Apr 29, 2025): 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

@kmendell commented on GitHub (May 6, 2025):

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

@kmendell commented on GitHub (May 6, 2025): @mycybercatnet @Gibby503 Are you using LDAP? or are you not experiencing this issue anymore?
Author
Owner

@kmendell commented on GitHub (May 12, 2025):

Is this still an issue?

@kmendell commented on GitHub (May 12, 2025): Is this still an issue?
Author
Owner

@marcaddeo commented on GitHub (May 12, 2025):

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 (May 12, 2025): 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

@stonith404 commented on GitHub (May 12, 2025):

@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 (May 12, 2025): @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.
Author
Owner

@marcaddeo commented on GitHub (May 12, 2025):

@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 (May 12, 2025): > [@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 (May 13, 2025):

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

@stonith404 commented on GitHub (May 13, 2025): I'm closing this because the author did not respond. Feel free to reopen the issue if it still occurs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#255