New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data not persistent across reboots #19
Comments
That sounds really strange, why would the usernames change? I'll try to reproduce this |
Sorry, could not reproduce this, even after deleting all the containers, everything was picked up the way it should |
Same for me. Data not persistent after Recreate for update. No workout, no users, no new exercises. Portainer creation same issue. version: '3.7' services: db: cache: volumes: |
@alancarrillo do you get some error or anything suspicious in the startup logs or something? |
No, no errors, no warnings, anything suspicious. The log: Applying manager.0004_auto_20150609_1603... OK System check identified no issues (0 silenced). |
That it runs the migrations definitely means that the db did not survive and it's creating it new, otherwise it would just ignore them |
After firts install. Should I erase or modify something? (For example: some install carpet o config file) |
No you don't need to do anything. In theory the db should never be overwritten and I have never been able to reproduce this behavior |
Ok, I'll keep trying to get persistent data. Thank you very much for your time and work. |
@alancarrillo can you try the docker-compose file from the repo and see if the problem happens there as well? |
I have tried with docker in my NAS and my NUC windows10 , with different configurations and so far the same behavior. I'll figure it out one way or another. Thanx. |
A backup and restore option would be great. |
Try naming the volume in the compose file corresponding to a named local volume in portainer |
After I restarted my docker container, my users data did not persist. I can see 3 users (default admin, the pre-reboot admin, the pre-reboot user) but the pre-reboot users names are some random alphanumeric string, and I can't login with the username/password I had setup previously.
I had only started using it, so I'm not sure about the other workout data. But I am wondering what else I need to do/may have missed to make this persistent across restarts of the container.
My docker-compose.yml:
The text was updated successfully, but these errors were encountered: