🐛 Bug Report: 500 Internal Server Error #286

Closed
opened 2025-10-09 16:37:23 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Green-Kite on GitHub.

Reproduction steps

After I updated to v0.43.0 I get an 500 Internal Server Error when trying to access the UI.

Expected behavior

Expected is that everything's working fine ;)

Actual Behavior

500 Internal Server Error

Version and Environment

v0.43.0, via docker-compose

Log Output

date | stream | content
2025/03/20 21:16:06 | stderr | at async paraglideMiddleware (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:29:22)
2025/03/20 21:16:06 | stderr | at async authenticationHandle (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:129:20)
2025/03/20 21:16:06 | stderr | at async resolve2 (file:///app/frontend/build/server/index.js:4636:24)
2025/03/20 21:16:06 | stderr | at async render_page (file:///app/frontend/build/server/index.js:4002:12)
2025/03/20 21:16:06 | stderr | at async render_response (file:///app/frontend/build/server/index.js:3119:21)
2025/03/20 21:16:06 | stderr | at async Promise.all (index 1)
2025/03/20 21:16:06 | stderr | at async Module.component (file:///app/frontend/build/server/chunks/2-CAcLkpTB.js:37:52)
2025/03/20 21:16:06 | stderr | at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
2025/03/20 21:16:06 | stderr | at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
2025/03/20 21:16:06 | stderr | at file:///app/frontend/build/server/chunks/select_the_language_you_want_to_use-CaZzL8FG.js:90:1
2025/03/20 21:16:06 | stderr | ReferenceError: en_reset_profile_picture_question is not defined
2025/03/20 21:16:06 | stderr | at async paraglideMiddleware (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:29:22)
2025/03/20 21:16:06 | stderr | at async authenticationHandle (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:129:20)
2025/03/20 21:16:06 | stderr | at async resolve2 (file:///app/frontend/build/server/index.js:4636:24)
2025/03/20 21:16:06 | stderr | at async render_page (file:///app/frontend/build/server/index.js:4002:12)
2025/03/20 21:16:06 | stderr | at async render_response (file:///app/frontend/build/server/index.js:3119:21)
2025/03/20 21:16:06 | stderr | at async Promise.all (index 1)
2025/03/20 21:16:06 | stderr | at async Module.component (file:///app/frontend/build/server/chunks/2-CAcLkpTB.js:37:52)
2025/03/20 21:16:06 | stderr | at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
2025/03/20 21:16:06 | stderr | at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
2025/03/20 21:16:06 | stderr | at file:///app/frontend/build/server/chunks/select_the_language_you_want_to_use-CaZzL8FG.js:90:1
2025/03/20 21:16:06 | stderr | ReferenceError: en_reset_profile_picture_question is not defined
2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|     332.792µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|     258.542µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|    1.203667ms \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|    1.173696ms \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     446.503µs \|       127.0.0.1 \| GET      "/api/webauthn/credentials"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     424.273µs \|       127.0.0.1 \| GET      "/api/webauthn/credentials"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     930.035µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     898.955µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     889.224µs \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     857.824µs \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     884.504µs \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     853.744µs \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     381.062µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     347.882µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     970.945µs \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     939.425µs \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     348.582µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     319.632µs \|       127.0.0.1 \| GET      "/api/application-configuration"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|    9.394069ms \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|    9.358519ms \|       127.0.0.1 \| GET      "/api/users/me"
2025/03/20 21:15:45 | stdout | Listening on http://0.0.0.0:3000
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.5110521,"logger":"tls","msg":"finished cleaning storage units"}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.5105596,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/home/pocket-id/.local/share/caddy"}
2025/03/20 21:15:45 | stdout | Successfully started Caddy (pid=42) - Caddy is running in the background
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4567194,"msg":"serving initial configuration"}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4563355,"msg":"autosaved config (load with --resume flag)","file":"/home/pocket-id/.config/caddy/autosave.json"}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4556277,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.455303,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000053e80"}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4547176,"logger":"admin","msg":"admin��endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4532866,"msg":"adapted config to JSON","adapter":"caddyfile"}
2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4511223,"msg":"using config from file","file":"/etc/caddy/Caddyfile.trust-proxy"}
2025/03/20 21:15:45 | stderr | {"level":"warn","ts":1742501745.4503372,"msg":"failed to set GOMAXPROCS","error":"open /sys/fs/cgroup/cpu/cpu.cfs_quota_us: no such file or directory"}
2025/03/20 21:15:45 | stderr | {"level":"warn","ts":1742501745.3367493,"msg":"failed to set GOMAXPROCS","error":"open /sys/fs/cgroup/cpu/cpu.cfs_quota_us: no such file or directory"}
2025/03/20 21:15:45 | stderr | 2025/03/20 20:15:45 MAXMIND_LICENSE_KEY environment variable is empty. The GeoLite2 City database won't be updated.
2025/03/20 21:15:45 | stdout | Starting Caddy...
2025/03/20 21:15:45 | stdout | Starting backend...
2025/03/20 21:15:45 | stdout | Starting frontend...
2025/03/20 21:15:45 | stdout | New password:
2025/03/20 21:15:45 | stdout | Changing password for pocket-id
2025/03/20 21:15:45 | stderr | passwd: password for pocket-id is unchanged
2025/03/20 21:15:44 | stdout | Creating user and group...


Originally created by @Green-Kite on GitHub. ### Reproduction steps After I updated to v0.43.0 I get an 500 Internal Server Error when trying to access the UI. ### Expected behavior Expected is that everything's working fine ;) ### Actual Behavior 500 Internal Server Error ### Version and Environment v0.43.0, via docker-compose ### Log Output ``` date | stream | content 2025/03/20 21:16:06 | stderr | at async paraglideMiddleware (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:29:22) 2025/03/20 21:16:06 | stderr | at async authenticationHandle (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:129:20) 2025/03/20 21:16:06 | stderr | at async resolve2 (file:///app/frontend/build/server/index.js:4636:24) 2025/03/20 21:16:06 | stderr | at async render_page (file:///app/frontend/build/server/index.js:4002:12) 2025/03/20 21:16:06 | stderr | at async render_response (file:///app/frontend/build/server/index.js:3119:21) 2025/03/20 21:16:06 | stderr | at async Promise.all (index 1) 2025/03/20 21:16:06 | stderr | at async Module.component (file:///app/frontend/build/server/chunks/2-CAcLkpTB.js:37:52) 2025/03/20 21:16:06 | stderr | at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26) 2025/03/20 21:16:06 | stderr | at ModuleJob.run (node:internal/modules/esm/module_job:271:25) 2025/03/20 21:16:06 | stderr | at file:///app/frontend/build/server/chunks/select_the_language_you_want_to_use-CaZzL8FG.js:90:1 2025/03/20 21:16:06 | stderr | ReferenceError: en_reset_profile_picture_question is not defined 2025/03/20 21:16:06 | stderr | at async paraglideMiddleware (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:29:22) 2025/03/20 21:16:06 | stderr | at async authenticationHandle (file:///app/frontend/build/server/chunks/hooks.server-D7W3xNu5.js:129:20) 2025/03/20 21:16:06 | stderr | at async resolve2 (file:///app/frontend/build/server/index.js:4636:24) 2025/03/20 21:16:06 | stderr | at async render_page (file:///app/frontend/build/server/index.js:4002:12) 2025/03/20 21:16:06 | stderr | at async render_response (file:///app/frontend/build/server/index.js:3119:21) 2025/03/20 21:16:06 | stderr | at async Promise.all (index 1) 2025/03/20 21:16:06 | stderr | at async Module.component (file:///app/frontend/build/server/chunks/2-CAcLkpTB.js:37:52) 2025/03/20 21:16:06 | stderr | at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26) 2025/03/20 21:16:06 | stderr | at ModuleJob.run (node:internal/modules/esm/module_job:271:25) 2025/03/20 21:16:06 | stderr | at file:///app/frontend/build/server/chunks/select_the_language_you_want_to_use-CaZzL8FG.js:90:1 2025/03/20 21:16:06 | stderr | ReferenceError: en_reset_profile_picture_question is not defined 2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|     332.792µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|     258.542µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|    1.203667ms \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:06 | stdout | [GIN] 2025/03/20 - 20:16:06 \| 200 \|    1.173696ms \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     446.503µs \|       127.0.0.1 \| GET      "/api/webauthn/credentials" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     424.273µs \|       127.0.0.1 \| GET      "/api/webauthn/credentials" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     930.035µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     898.955µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     889.224µs \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     857.824µs \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     884.504µs \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     853.744µs \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     381.062µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     347.882µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     970.945µs \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     939.425µs \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     348.582µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|     319.632µs \|       127.0.0.1 \| GET      "/api/application-configuration" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|    9.394069ms \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:16:05 | stdout | [GIN] 2025/03/20 - 20:16:05 \| 200 \|    9.358519ms \|       127.0.0.1 \| GET      "/api/users/me" 2025/03/20 21:15:45 | stdout | Listening on http://0.0.0.0:3000 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.5110521,"logger":"tls","msg":"finished cleaning storage units"} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.5105596,"logger":"tls","msg":"cleaning storage unit","storage":"FileStorage:/home/pocket-id/.local/share/caddy"} 2025/03/20 21:15:45 | stdout | Successfully started Caddy (pid=42) - Caddy is running in the background 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4567194,"msg":"serving initial configuration"} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4563355,"msg":"autosaved config (load with --resume flag)","file":"/home/pocket-id/.config/caddy/autosave.json"} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4556277,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.455303,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000053e80"} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4547176,"logger":"admin","msg":"admin��endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4532866,"msg":"adapted config to JSON","adapter":"caddyfile"} 2025/03/20 21:15:45 | stderr | {"level":"info","ts":1742501745.4511223,"msg":"using config from file","file":"/etc/caddy/Caddyfile.trust-proxy"} 2025/03/20 21:15:45 | stderr | {"level":"warn","ts":1742501745.4503372,"msg":"failed to set GOMAXPROCS","error":"open /sys/fs/cgroup/cpu/cpu.cfs_quota_us: no such file or directory"} 2025/03/20 21:15:45 | stderr | {"level":"warn","ts":1742501745.3367493,"msg":"failed to set GOMAXPROCS","error":"open /sys/fs/cgroup/cpu/cpu.cfs_quota_us: no such file or directory"} 2025/03/20 21:15:45 | stderr | 2025/03/20 20:15:45 MAXMIND_LICENSE_KEY environment variable is empty. The GeoLite2 City database won't be updated. 2025/03/20 21:15:45 | stdout | Starting Caddy... 2025/03/20 21:15:45 | stdout | Starting backend... 2025/03/20 21:15:45 | stdout | Starting frontend... 2025/03/20 21:15:45 | stdout | New password: 2025/03/20 21:15:45 | stdout | Changing password for pocket-id 2025/03/20 21:15:45 | stderr | passwd: password for pocket-id is unchanged 2025/03/20 21:15:44 | stdout | Creating user and group... ```
OVERLORD added the bug label 2025-10-09 16:37:23 +03:00
Author
Owner

@stonith404 commented on GitHub:

Yeah, sorry. This should be fixed in v0.43.1.

@stonith404 commented on GitHub: Yeah, sorry. This should be fixed in `v0.43.1`.
Author
Owner

@abno85 commented on GitHub:

I can confirm the error, same for me.

As a warning: reverting the image to 0.42.1 didn't resolve the issue, I had to restore the data-volume from backup to get Pocket-ID back into a working state. (I didn't make any other attempts of fixing the issue though)

@abno85 commented on GitHub: I can confirm the error, same for me. As a warning: reverting the image to 0.42.1 didn't resolve the issue, I had to restore the data-volume from backup to get Pocket-ID back into a working state. (I didn't make any other attempts of fixing the issue though)
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#286