-
Hello Everyone, I have this strange issue where when a new Docker image of CouchDB is released and I deploy it to my environment, all of my existing admin users are deleted from the "main config" in the instance. The good news is that the data in the database is NOT touched. I am running CouchDB off my Synology (DS1621+) and I am using the latest image of CouchDB. Any thoughts? Is it because I need to save a configuration file or something in persistent storage? Here is my Docker configuration file:
Here are some logs from my container as it started:
Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
admins are stored in the |
Beta Was this translation helpful? Give feedback.
-
in a non-docker situation it would typically be |
Beta Was this translation helpful? Give feedback.
-
Okay, a recent update whacked my admin users (like last time) but thanks to the help of @rnewson I went ahead and implement the fix previously mentioned which resolved the issue. In the future when the server is updated with a new image, the previously created admin users will still be in the database. First of all, I removed the environment section from my docker configuration file:
Then I added the [admins] section to my local.in file:
Hopefully this helps someone in the future. |
Beta Was this translation helpful? Give feedback.
in a non-docker situation it would typically be
local.ini
, so check there first. it'll have a line[admins]
with the key/value for each admin afterward