mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 17:23:22 +03:00
🐛 Bug Report: Not starting after update to v1.6.0 #138
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PsychotherapistSam on GitHub.
Originally assigned to: @kmendell on GitHub.
Reproduction steps
After updating to v1.6.0 from v1.5.0 pocket id does not start anymore
Rolling back to v1.5.0 works as expected
Expected behavior
It should start :D
Actual Behavior
See above / logs
Version and Environment
v1.6.0
Docker with this compose file:
Log Output
pocket-id-1 | 2025/07/06 18:48:03 failed to run migrations: failed to apply migrations: attempt to write a readonly database (8) in line 0: DELETE FROM schema_migrations
pocket-id-1 exited with code 1
pocket-id-1 | 2025/07/06 18:49:03 failed to run migrations: failed to apply migrations: attempt to write a readonly database (8) in line 0: DELETE FROM schema_migrations
pocket-id-1 exited with code 1
pocket-id-1 | 2025/07/06 18:50:03 failed to run migrations: failed to apply migrations: attempt to write a readonly database (8) in line 0: DELETE FROM schema_migrations
pocket-id-1 exited with code 1
@halictuz commented on GitHub:
same here
failed to run migrations: failed to apply migrations: attempt to write a readonly database (8) in line 0: DELETE FROM schema_migrationsIn case somebody isn't aware of it. You can force a version with:
compose.yaml
and when the latest version v1.6.0 works you can change it to that version.
@jtenniswood commented on GitHub:
yup same, switching tags did fix.
@KNIF commented on GitHub:
I had the same issue.
This appears to be caused by the new “distroless” image that is also tagged with “latest”:

Changing the tag in the docker-compose to “v1” or to “v1.6” resolved the issue for me.
@kmendell commented on GitHub:
This should be fixed now. Let us know if you still are seeing the issue
@mufeedali commented on GitHub:
What do I do to switch to the distroless image?