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
Deployed a new installation (Ubuntu 2404 with docker compose v2), because of not working LDAP Authentication, I activate Logging: configuration/logging.py (deleting comment chars beginning at line LOGLEVEL = environ.get('LOGLEVEL', 'INFO'))
Restarting the containers ->
HEAD detached at 3.2.0
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: configuration/configuration.py
no changes added to commit (use "git add" and/or "git commit -a")
Startup Command
docker compose up -d
NetBox Logs
Attaching to netbox-netbox-worker-1, netbox-netbox-1
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (0s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (3s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (6s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (9s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (12s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (15s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (18s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (21s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (24s / 30s)
netbox-netbox-1 | IndentationError: unexpected indent
netbox-netbox-1 | [ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
netbox-netbox-1 | ⏳ Waiting on DB... (27s / 30s)
netbox-netbox-1 | ❌ Waited 30s or more for the DB to become ready.
netbox-netbox-1 exited with code 1
netbox-netbox-worker-1 exited with code 0
Content of docker-compose.override.yml
services:
netbox:
ports:
- "127.0.0.1:8000:8080"# If you want the Nginx unit status page visible from the# outside of the container add the following port mapping:# - "8001:8081"# healthcheck:# Time for which the health check can fail after the container is started.# This depends mostly on the performance of your database. On the first start,# when all tables need to be created the start_period should be higher than on# subsequent starts. For the first start after major version upgrades of NetBox# the start_period might also need to be set higher.# Default value in our docker-compose.yml is 60s# start_period: 90s# environment:# SKIP_SUPERUSER: "false"# SUPERUSER_API_TOKEN: ""# SUPERUSER_EMAIL: ""# SUPERUSER_NAME: ""# SUPERUSER_PASSWORD: ""environment:
REMOTE_AUTH_ENABLED: "True"REMOTE_AUTH_BACKEND: "netbox.authentication.LDAPBackend"AUTH_LDAP_SERVER_URI: "REDACTED"AUTH_LDAP_BIND_AS_AUTHENTICATING_USER: "True"#has to be a string, lolAUTH_LDAP_USER_SEARCH_ATTR: "sAMAccountName"AUTH_LDAP_USER_SEARCH_BASEDN: "REDACTED"AUTH_LDAP_GROUP_SEARCH_BASEDN: "REDACTED"AUTH_LDAP_REQUIRE_GROUP_DN: "REDACTED"AUTH_LDAP_GROUP_TYPE: "NestedActiveDirectoryGroupType"AUTH_LDAP_IS_ADMIN_DN: "REDACTED"AUTH_LDAP_IS_SUPERUSER_DN: "REDACTED"LDAP_IGNORE_CERT_ERRORS: "true"LOGLEVEL: "DEBUG"
The text was updated successfully, but these errors were encountered:
running docker compose up -d later again, starts the container: maybe configure a longer standard timeout or add this information to the docs?
running netbox docker on a 2 CPU / 4GB RAM machine. Only netbox, fresh install of OS + netbox
Current Behavior
Deployed a new installation (Ubuntu 2404 with docker compose v2), because of not working LDAP Authentication, I activate Logging:
configuration/logging.py
(deleting comment chars beginning at lineLOGLEVEL = environ.get('LOGLEVEL', 'INFO')
)Restarting the containers ->
Expected Behavior
Working netbox and debug output
Docker Compose Version
Docker Compose version 2.27.1+ds1-0ubuntu1~24.04.1
Docker Version
The git Revision
0b70f72
The git Status
Startup Command
docker compose up -d
NetBox Logs
Content of docker-compose.override.yml
The text was updated successfully, but these errors were encountered: