ValueError "User.config" must be a "UserConfig" instance #17742
Replies: 3 comments 3 replies
-
Hi @MakoWish I had the same issue and resolved it by deleting the database in Postgre and recreate it using the documentation. |
Beta Was this translation helpful? Give feedback.
-
Thank you, @KriKrixs . Since this was a new build in a lab environment, I just blew the entire VM away and started from scratch last night. I am no longer getting that error. Now... to get LDAP authentication to work! Hahaha |
Beta Was this translation helpful? Give feedback.
-
Hi, I recently upgraded from 3.6.x to 4.1.6 (i did requisite path from 3.6.x to 3.7.8, then onwards to 4.1.6) and since then, adding a new user we get that message above when they try to login. On our system:
I'm not confident with a resolution of just starting again. Nor with the idea that I just delete the database. Where is that solution and how safe? We are not using the ldap plugin. It's just local accounts on the box. |
Beta Was this translation helpful? Give feedback.
-
I would appreciate some help with this. A colleague at work pointed me to NetBox, and I wanted to test it out. I am attempting to get up and running in my lab, and at the point in the documentation where we test via
python3 manage.py runserver 0.0.0.0:8000 --insecure
, I get a login page, but after entering the credentials I set, I get the error below.Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'ValueError'>
Cannot assign "<netbox.config.Config object at 0x7ace1d5d3680>": "User.config" must be a "UserConfig" instance.
Python version: 3.12.3
NetBox version: 4.1.3
Plugins: None installed
If further assistance is required, please post to the NetBox discussion forum on GitHub.
Home Page
Beta Was this translation helpful? Give feedback.
All reactions