`admin_token` is not updated when changing in `docker-compose.yml` file
quyleanh opened this issue · 4 comments
I haven't update the admin_token
since beginning. Now I'm using both latest vaultwarden and vaultwarden backup image with the docker-compose.yml
file in this repository.
However as I check the admin_token
is not updated when changing in docker-compose.yml
file. There is another problem that I cannot login to admin page even when I use the correct admin_token
or even when I use the secure method.
Is there anyone has the same issue? Thank you.
Please check the config.json
file, which takes precedence over the environment variables.
https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page
The first time you save a setting in the admin page, config.json will be generated in your DATA_FOLDER. Values in this file will take precedence over the corresponding environment variable.
Thank you for pointing it out.
Even when I update the admin_token
value in config.json
file inside data volume, I cannot log in to admin settings interface. I don't know what happen to the hashed password. It doesn't work even when I use plaintext password.
Btw, I also report the problem in this discussion. Please refer if needed. Thank you.
The problem is I have /
after /admin/
inside nginx.conf
so I redirect every time access admin/
page.
Removing /
will solve problem.
I will close this issue.