Upgradee v3.7.7->v4.0.1/v4.0.2 produces DB key error, unsure how to correct #16182
Replies: 3 comments 3 replies
-
To add some context, this is a system I inherited, I did not set it up. It has been set up to weekly pull from the repo, install django-auth-ldap, requirements.txt, then run migrate, and run collectstatic. Suddenly with v4.0.x coming out, this broke, naturally. I have been following the documentation, and I am unsure what is going on with this log error. I am about to try starting the application anyways, as I don't know if this error is a blocking error and on my end I need to bring this application back online. I have not been able to find ANY resources on the internet on appropriate next steps for this. So I know I'm taking a risk turning this on and moving on anyways, but I have a hunch this probably needs to be fixed (by me running some commands), but I genuinely cannot see how to help myself in this scenario. Please help! :( |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for reporting a problem you're having with NetBox. From your description and context, it seems very likely that some (no longer valid) assumption baked into your maintenance scripts, rather than a bug in NetBox itself, is the proximate cause of the message you're seeing. I'm therefore converting this issue to a discussion for exposure to a wider audience with operatinoal troubleshooting skills. If it turns out to be down to a bug after all, we'll handle it as one. |
Beta Was this translation helpful? Give feedback.
-
I had the same problem when upgrading from 3.7.8 to 4.0.2. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Deployment Type
Self-hosted
NetBox Version
v4.0.2
Python Version
3.11
Steps to Reproduce
I ran the ./upgrade.sh as netbox user, and the error happened at step:
And the error that was spat out:
Expected Behavior
I expected the upgrade to not throw an error.
Observed Behavior
Well it threw an error.
Beta Was this translation helpful? Give feedback.
All reactions