Skip to content

Netbox won't start with empty database #13116

@tobiasge

Description

@tobiasge

NetBox version

v3.5.5

Python version

3.11

Steps to Reproduce

  1. Create new empty database
  2. Configure Netbox to use that database
  3. Run "manage.py check" or "manage.py migrate"

Expected Behavior

Tables are being created

Observed Behavior

An exception occurs, because the table for the Contenttypes doesn't exists yet.
Logs can be found here: https://github.com/netbox-community/netbox-docker/actions/runs/5483212436/jobs/9989301710#step:7:62
If I revert the PR #11709 Netbox starts as expected.

Metadata

Metadata

Assignees

Labels

severity: highCompletely breaks certain functions, or substantially degrades performance application-widestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions