-
I tried to migrate from postgres 16 to 17 the other day, which failed, and for some unknown reason all my backup snapshots also seems to be corrupted. Now I just setup a dummy tandoor instance (I'm running everything through docker), and I saved a single new recipe into this. However, I do not see anything in the postgres database afterwards. Here is what I see if I exec into the postgres docker container and query the database, after having setup my dummy cookbook with a single recipe called DRAGONS As far as I can see everything looks fine in the logs, and I can access the recipe on my domain, but nothing is showing up in the postgres database. Furthermore, there is in fact not a single reference to DRAGONS anywhere in the persistent storage volume that is used for all the tandoor files, which I guess just means that it is stored in binary somehow... Any insight or help would be greatly appreciated, since I want to ensure that everything is setup correctly this time and that I can restore from backup before I start using this again.
My docker-compose.yml:
This is what my docker log looks like
My .env file looks like this:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
do you have the postgres db, user and password defined in the .env? If it is defined you don't need to them on the postgres container (they are already in the .env) also, your secret needs to be rotated - don't share them publicly. |
Beta Was this translation helpful? Give feedback.
You're missing
DB_ENGINE=django.db.backends.postgresql