You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a standard installation as specified in the Netbox documentation.
When I try to upload a file in the "https://NetBoxServer/extras/scripts/" section, I get this error.
With "chmod 777 /opt/netbox/netbox/scripts" I get the problem solved, but that is certainly not good. Which rights should I set?
I have the user "root" and am logged in to Ubuntu with "MyCompany".
Server Error
A file permission error was detected while processing this request. Common causes include the following:
Insufficient write permission to the media root. The configured media root is . Ensure that the user NetBox runs as has access to write files to all locations within this path.
The complete exception is provided below:
<class 'PermissionError'>
[Errno 13] Permission denied: '/opt/netbox/netbox/scripts/ip-primary-missing.py'
Python version: 3.10.12
NetBox version: 4.0.3
Plugins: None installed
If further assistance is required, please post to the [NetBox discussion forum](https://github.com/netbox-community/netbox/discussions) on GitHub.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I have a standard installation as specified in the Netbox documentation.
When I try to upload a file in the "https://NetBoxServer/extras/scripts/" section, I get this error.
With "chmod 777 /opt/netbox/netbox/scripts" I get the problem solved, but that is certainly not good. Which rights should I set?
I have the user "root" and am logged in to Ubuntu with "MyCompany".
At least I get this example uploaded and executed with 777. But I would like to set it correctly.
https://netboxlabs.com/blog/getting-started-with-netbox-reports/
Beta Was this translation helpful? Give feedback.
All reactions