-
-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCRAM secret error for user netbox. #1086
Comments
Does this happen with the default Docker compose setup or do you use your own database server? |
Just to update the issues register. I did send an email. I am using everything as default. I followed the getting started instructions in the wiki. I am using the postgres db in netbox, not my own database server. Thanks. Glenn |
Do you have a leftover Docker volume from a previous installation? You can check with |
I have the same issue with last release (https://github.com/netbox-community/netbox-docker/releases/tag/2.8.0 ) I have to set "trust" in /var/lib/postgresql/data/pg_hba.conf |
I am facing the same issue.
|
@ArdeSeadis |
|
Current Behavior
I have installed Netbox docker using the getting started tutorial in the Wiki a couple of times and get the same error each time:
netbox-docker-redis-1 | 1:M 18 Sep 2023 12:49:25.628 * Ready to accept connections tcp
netbox-docker-postgres-1 | 2023-09-18 12:49:27.853 UTC [77] FATAL: password authentication failed for user "netbox"
netbox-docker-postgres-1 | 2023-09-18 12:49:27.853 UTC [77] DETAIL: User "netbox" does not have a valid SCRAM secret.
netbox-docker-postgres-1 | Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
netbox-docker-netbox-1 | django.db.utils.OperationalError: connection failed: FATAL: password authentication failed for user "netbox"
netbox-docker-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-docker-netbox-1 | ⏳ Waiting on DB... (24s / 30s)
netbox-docker-postgres-1 | 2023-09-18 12:49:33.783 UTC [78] FATAL: password authentication failed for user "netbox"
I have run the test.sh script and it passes without issue.
I also have an instance of Netbox 3.5 running on baremetal and it does not exhibit this behaviour. Therefore, I believe this is definitely a bug in the docker image.
Thanks.
Glenn.
Expected Behavior
This SCRAM error should not be occuring.
Docker Compose Version
Docker Compose version v2.17.2
Docker Version
The git Revision
no output available
The git Status
Startup Command
docker compose up
NetBox Logs
Content of docker-compose.override.yml
The text was updated successfully, but these errors were encountered: