🐛 Bug Report: Profile Picture Not Updated #268

Closed
opened 2025-10-09 16:36:05 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @LucasJanin on GitHub.

Reproduction steps

When I add a Profile Picture to my account, I can see the message:

Profile picture updated successfully. 
It may take a few minutes to update.

But the picture never gets updated and returns to the default "AA".

Expected behavior

Update the profile picture with the version I uploaded.

Actual Behavior

I can see the picture in the Profile Picture area, but it disappears when I refresh the page.

Version and Environment

v0.45.0
LXC installation via Proxmox VE Helper Scripts

Log Output

Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     517.307µs |             ::1 | GET      "/api/users/me"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     538.284µs |             ::1 | GET      "/api/users/me"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     609.192µs |             ::1 | GET      "/api/users/me"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     613.621µs |             ::1 | GET      "/api/users/me"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     111.791µs |             ::1 | GET      "/api/application-configuration"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     126.351µs |             ::1 | GET      "/api/application-configuration"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     349.219µs |             ::1 | GET      "/api/webauthn/credentials"
Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 |     370.314µs |             ::1 | GET      "/api/webauthn/credentials"
Apr 08 17:27:42 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:42 | 204 |   29.411926ms |   192.168.1.130 | PUT      "/api/users/me/profile-picture"
Apr 08 17:27:42 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:42 | 204 |   29.445768ms |   192.168.1.130 | PUT      "/api/users/me/profile-picture"
Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 401 |      39.895µs |             ::1 | GET      "/api/users/me"
Apr 08 17:27:56 pocketid pocket-id-backend[196]: Error #01: You are not signed in
Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 401 |      60.304µs |             ::1 | GET      "/api/users/me"
Apr 08 17:27:56 pocketid pocket-id-backend[196]: Error #01: You are not signed in
Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 |     243.912µs |             ::1 | GET      "/api/oidc/clients/xxxxx/meta"
Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 |     253.152µs |             ::1 | GET      "/api/oidc/clients/xxxxx/meta"
Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 |      140.76µs |             ::1 | GET      "/api/application-configuration"
Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 |     156.609µs |             ::1 | GET      "/api/application-configuration"
Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 |       14.14µs |   192.168.1.130 | GET      "/.well-known/openid-configuration"
Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 |      40.861µs |   192.168.1.130 | GET      "/.well-known/openid-configuration"
Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 |       10.61µs |   192.168.1.130 | GET      "/.well-known/jwks.json"
Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 |      27.905µs |   192.168.1.130 | GET      "/.well-known/jwks.json"
Originally created by @LucasJanin on GitHub. ### Reproduction steps When I add a Profile Picture to my account, I can see the message: ``` Profile picture updated successfully. It may take a few minutes to update. ``` But the picture never gets updated and returns to the default "AA". ### Expected behavior Update the profile picture with the version I uploaded. ### Actual Behavior I can see the picture in the Profile Picture area, but it disappears when I refresh the page. ### Version and Environment v0.45.0 LXC installation via Proxmox VE Helper Scripts ### Log Output ``` Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 517.307µs | ::1 | GET "/api/users/me" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 538.284µs | ::1 | GET "/api/users/me" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 609.192µs | ::1 | GET "/api/users/me" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 613.621µs | ::1 | GET "/api/users/me" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 111.791µs | ::1 | GET "/api/application-configuration" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 126.351µs | ::1 | GET "/api/application-configuration" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 349.219µs | ::1 | GET "/api/webauthn/credentials" Apr 08 17:27:39 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:39 | 200 | 370.314µs | ::1 | GET "/api/webauthn/credentials" Apr 08 17:27:42 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:42 | 204 | 29.411926ms | 192.168.1.130 | PUT "/api/users/me/profile-picture" Apr 08 17:27:42 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:42 | 204 | 29.445768ms | 192.168.1.130 | PUT "/api/users/me/profile-picture" Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 401 | 39.895µs | ::1 | GET "/api/users/me" Apr 08 17:27:56 pocketid pocket-id-backend[196]: Error #01: You are not signed in Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 401 | 60.304µs | ::1 | GET "/api/users/me" Apr 08 17:27:56 pocketid pocket-id-backend[196]: Error #01: You are not signed in Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 | 243.912µs | ::1 | GET "/api/oidc/clients/xxxxx/meta" Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 | 253.152µs | ::1 | GET "/api/oidc/clients/xxxxx/meta" Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 | 140.76µs | ::1 | GET "/api/application-configuration" Apr 08 17:27:56 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:27:56 | 200 | 156.609µs | ::1 | GET "/api/application-configuration" Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 | 14.14µs | 192.168.1.130 | GET "/.well-known/openid-configuration" Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 | 40.861µs | 192.168.1.130 | GET "/.well-known/openid-configuration" Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 | 10.61µs | 192.168.1.130 | GET "/.well-known/jwks.json" Apr 08 17:28:18 pocketid pocket-id-backend[196]: [GIN] 2025/04/08 - 17:28:18 | 200 | 27.905µs | 192.168.1.130 | GET "/.well-known/jwks.json" ```
OVERLORD added the bug label 2025-10-09 16:36:05 +03:00
Author
Owner

@kmendell commented on GitHub:

If you do a hard refresh in your browser does it show up? (meaning clear the cache)

@kmendell commented on GitHub: If you do a hard refresh in your browser does it show up? (meaning clear the cache)
Author
Owner

@LucasJanin commented on GitHub:

Hi @kmendell and @stonith404
My profile picture magically appeared the day after.
@stonith404 It is nice to know a fix is on the way.
Thanks

@LucasJanin commented on GitHub: Hi @kmendell and @stonith404 My profile picture magically appeared the day after. @stonith404 It is nice to know a fix is on the way. Thanks
Author
Owner

@stonith404 commented on GitHub:

The profile picture should update when you clear the cache.

In 4ba68938dd I've fixed that the profile picture cache gets ignored after a profile picture gets updated. This fix will be available in the next release.

@stonith404 commented on GitHub: The profile picture should update when you clear the cache. In 4ba68938dd2a631c633fcb65d8c35cb039d3f59c I've fixed that the profile picture cache gets ignored after a profile picture gets updated. This fix will be available in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#268