You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
Describe the bug
I deployed Paperless-NG in TrueNAS via the TrueCharts integration. TrueCharts uses the official docker container and passes environment variables to configure the superuser.
I changed the admin password in the Django admin interface. However, after redeploying the application (for example due to an update) the password gets overridden by the initial password passed via environment variable.
To Reproduce
Steps to reproduce the behavior:
Deploy Paperless with credentials admin//secret
Open Paperless
Navigate to admin interface
Change password to "mysupersecretpassword"
Restart/update the docker container
Navigate to Paperless and try to login with admin/mysupersecretpassword
You can't login.
Expected behavior
The admin password should not be overridden by the initial password.
Relevant information
Version
Installation method: docker
Any configuration changes you made in docker-compose.yml, docker-compose.env or paperless.conf. -
Describe the bug
I deployed Paperless-NG in TrueNAS via the TrueCharts integration. TrueCharts uses the official docker container and passes environment variables to configure the superuser.
I changed the admin password in the Django admin interface. However, after redeploying the application (for example due to an update) the password gets overridden by the initial password passed via environment variable.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The admin password should not be overridden by the initial password.
Relevant information
docker-compose.yml
,docker-compose.env
orpaperless.conf
. -I think this is related to the admin user password reset when the docker container is started:
docker-entrypoint.sh calls docker-prepare.sh calls the manage_superuser mgmt command and there the password is updated:
https://github.com/jonaswinkler/paperless-ng/blob/master/src/documents/management/commands/manage_superuser.py#L29
Am I missing something?
The text was updated successfully, but these errors were encountered: