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
Nautobot version (Docker tag too if applicable): v1.5.12
Python version: v3.7
Database platform, version: postgres
Middleware(s):
Steps to Reproduce
run the development environment invoke debug using docker-compose.postgres.yml for the db container
Expected Behavior
No errors are emitted from the database container
Observed Behavior
Database container logs the following messages
nautobot-db-1 | 2023-03-14 17:08:43.726 UTC [87] FATAL: role "root" does not exist
nautobot-db-1 | 2023-03-14 17:08:48.800 UTC [96] FATAL: role "root" does not exist
nautobot-db-1 | 2023-03-14 17:08:53.875 UTC [105] FATAL: role "root" does not exist
Adding PGUSER=nautobot to the db container environment fixes this.
The text was updated successfully, but these errors were encountered:
healthcheck:
test: pg_isready --username=$$POSTGRES_USER --dbname=$$POSTGRES_DB
interval: 5s
timeout: 5s
retries: 15
start_period: 300s # In case DB needs recovery, allow 5 mins of failures
Environment
Steps to Reproduce
invoke debug
usingdocker-compose.postgres.yml
for thedb
containerExpected Behavior
No errors are emitted from the database container
Observed Behavior
Database container logs the following messages
Adding
PGUSER=nautobot
to thedb
container environment fixes this.The text was updated successfully, but these errors were encountered: