Getting Server Error on Netbox dashboard #13246
Unanswered
vinoymohan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
My exact scenario & situation. Did you figure it out? I suspect it occurs on systems where you perform a Netbox upgrade, but did not first perform apt-get upgrade runs prior - and so Postgres DB didn't get some new fancy added field or relation. Upgrading Postgres & re-running the upgrade.sh won't help, either. Nor will a manage.py migrate run. Just dead in the water. extras_dashboard relation missing = your entire install is ruined. Or, that is where I am at the moment - anyway... I will experiment and return with an update if I solve it. Sorry you did not get a reply here. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
I am getting the below error when i try to add an external Postgres DB to the netbox. Until i attach an external DB i was able to see the netbox dashboard and able to login with my LDAP user credentails. Kindly help on this
Server Error
A database programming error was detected while processing this request. Common causes include the following:
Database migrations missing - When upgrading to a new NetBox release, the upgrade script must be run to apply any new database migrations. You can run migrations manually by executing python3 manage.py migrate from the command line.
Unsupported PostgreSQL version - Ensure that PostgreSQL version 10 or later is in use. You can check this by connecting to the database using NetBox's credentials and issuing a query for SELECT VERSION().
The complete exception is provided below:
<class 'django.db.utils.ProgrammingError'>
relation "extras_dashboard" does not exist
LINE 1: ...board"."layout", "extras_dashboard"."config" FROM "extras_da...
^
Python version: 3.8.10
NetBox version: 3.5.6
If further assistance is required, please post to the NetBox discussion forum on GitHub
Beta Was this translation helpful? Give feedback.
All reactions