<class 'AttributeError'> 'WSGIRequest' object has no attribute 'user' #13165
-
After doing what I assumed was a successful backup (3.5.4) and restore (3.5.5) now when I open the help on any page I get the following error: Server Error The complete exception is provided below: <class 'AttributeError'> 'WSGIRequest' object has no attribute 'user' Python version: 3.9.16 I checked the file structure and all the help files are there under: /opt/netbox/netbox/static/docs/ And the permissions for all the files are: Any idea why the help is now broken? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Can you describe what you mean by "open the help on any page" - what exactly are you clicking on? If you get a full backtrace, that may also shed some light. Either set DEBUG=True in configuration.py to get it in the web interface, or set ADMINS and EMAIL to have it E-mailed to you. You could also try starting netbox as a development server. |
Beta Was this translation helpful? Give feedback.
-
Ah OK. Works for me with 3.5.6: e.g. from On my system:
What happens if you re-run |
Beta Was this translation helpful? Give feedback.
Hi Brian,
First off thank you for sticking with me on this. I really appreciate your help with this so far.
So here is where things stand.
I first installed NetBox on Ubuntu as all steps provided are for Ubuntu and everything worked as expected, so that is good.
One thing to note is that if you stops after installation step 3 NetBox and run the server in development mode, the help pages do not work (even on the Ubuntu install).
This is where you get the error that I talked about above:
<class 'AttributeError'>
'WSGIRequest' object has no attribute 'user'
Python version: 3.9.16
NetBox version: 3.5.5
May I recommend to document this in the official documentation so that other people do not …