Skip to content
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

Netbox won't start with empty database #13116

Closed
tobiasge opened this issue Jul 7, 2023 · 1 comment · Fixed by #13117
Closed

Netbox won't start with empty database #13116

tobiasge opened this issue Jul 7, 2023 · 1 comment · Fixed by #13117
Assignees
Labels
severity: high Completely breaks certain functions, or substantially degrades performance application-wide status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@tobiasge
Copy link
Member

tobiasge commented Jul 7, 2023

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.

@tobiasge tobiasge added the type: bug A confirmed report of unexpected behavior in the application label Jul 7, 2023
@abhi1693 abhi1693 added the severity: high Completely breaks certain functions, or substantially degrades performance application-wide label Jul 7, 2023
@abhi1693 abhi1693 self-assigned this Jul 7, 2023
@abhi1693 abhi1693 added the status: accepted This issue has been accepted for implementation label Jul 7, 2023
@jeremystretch jeremystretch pinned this issue Jul 7, 2023
@candlerb
Copy link
Contributor

candlerb commented Jul 8, 2023

I wonder how this was able to slip past CI tests?

@jeremystretch jeremystretch unpinned this issue Jul 13, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: high Completely breaks certain functions, or substantially degrades performance application-wide status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants