Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey, thanks for opening an issue. This is not a bug, and I can't merge your PR. Although it is true that Firefly III loses both key files upon container restart, they are backed up in the database and restored during the boot process of the container. You can witness this during boot time:
I am not sure why your keys are not restored during boot, but I can assure this is not an issue, or I would have fixed it 7 years ago. Let me know more about your setup, so I can help you fix whatever the issue is. Cheers, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Support guidelines
I've found a bug and checked that ...
Description
When creating a personal access token in containerized Firefly, the token becomes invalid after the container restarts (assuming it is configured to be ephemeral, so "restart" means that the old container is deleted and a new one is generated). The same is true for upgrading the docker image.
This is because the docker-compose.yml file in the docker repo advises to only mount
/var/www/html/storage/upload
as a persistent volume, but theoauth-private.key
andoauth-public.key
are written to/var/www/html/storage
, which is lost upon container restart.Changing the persistent volume to
/var/www/html/storage
solves the problem. I am about to open a PR with the change.Debug information
Debug information generated at 2025-06-08 15:41:18 for Firefly III version v6.2.16.
**
en_US.UTF-8: ✅
Expected behaviour
Personal access tokens should remain valid after container restarts/upgrades.
Steps to reproduce
No response
Additional info
No response
Beta Was this translation helpful? Give feedback.
All reactions