Replies: 14 comments
|
The management command should be accessible even in Docker -- it can just be a little tough to get working... Does this discussion help at all? #676 (comment) |
|
It's likely that your db is an SQLite file in the docker container, or in a docker volume. You might be able to I setup litestream » B2 storage for my BB instance for backup purposes. |
I'll have a look at doing this but I thought the DB was locked out even if I found it. |
Hmm, I'm not sure it does. You say the mange.py command should be available in docker could you explain how I might run it? |
Docker is not an area where I am particularly strong but I think you should be able to shell in to the container and use it, right? |
I can shell into the docker container but I have no idea where to run manage.py from. It doesn't seem to exist within the container. Also I'd happily copy the DB out but can't seem to find where it's stored. |
|
Here is the old issue comment I was trying to find -- #273 (comment) Does that help? If so we should also document this... (: |
|
I had the same issue and was able to resolve it with the following steps:
Thanks to the efforts of the users in #273 and #676 for laying out the individual steps! |
Thanks so much. I just tried but get an error:
Sorry for poor formatting on a phone trying to feed a baby;) |
|
Sorry, my previous formatting was imprecise. I was able to replicate your error when copy/pasting what I had above in Step 2. Please copy/paste the block as it is in #676. I will edit my above comment to reflect this change. |
|
So, Once again thanks so much I am now onto the app and can view users in the database. I have changed the password and logged back in under that user but all the data has gone. Is this expected behaviour? I fear I might have messed up the DB when trying to get back in. In my docker config folder I can see the sqlight DB and see that it's large as in looks like it has data? I hope I'm getting closer. Thanks again this app is a complete life saver with multiples. |
|
Yeah, that unfortunately looks very very empty, indeed. You could try to download the database file and view it in https://sqlitebrowser.org/ . Maybe that there is something left in there. |




Uh oh!
There was an error while loading. Please reload this page.
We have been using baby buddy for 3 months with our triplets it's been such a useful tool. However, for some reason I had to log back in and unfortunately managed to lock my self out of the database.
I have seen that I can use manage.py but it's not available in the docker image.
Is there any advice on how to unlock the dB when running BB in a docker.
All reactions