-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Server Error then login with superuser Account #18314
Comments
Same here, with any local or LDAP user: #18313 |
I'm also seeing this error with users from Django Socialauth (Entra ID). I have prepared a PR that should fix the problem: #18315 |
Jep, when commenting out this line it works again as well. |
I have the same error. How did you manage to avoid this issue ? (if so) |
Nevermind, I just edited widget.py to apply the modification that @tobiasge commited |
Another workaround (I applied this manually to the affected users) is to modify the This certainly won't work at scale but the number of users who use feeds on their dashboard was small so it was suitable to do. The "fixed" content would look like that in my case: [...]
"d2d10a29-a2e5-4d8d-822c-e9d7ef0f812a": {
"class": "extras.RSSFeedWidget",
"color": "",
"title": "Netbox Releases",
"config": {
"feed_url": "https://github.com/netbox-community/netbox/releases.atom",
"max_entries": 3,
"cache_timeout": 3600,
"requires_internet": false
}
}
[...] |
Looks like it can be fixed by reseting the dashboard |
Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
v4.2.0
Python Version
3.10
Steps to Reproduce
1- Update to v4.2.0
2. Try to login with a superuser account
Expected Behavior
Should be able to login with a superuser account
Observed Behavior
Login with a "normal" useraccount is possible, with a superuser account we get the following error message
The text was updated successfully, but these errors were encountered: