Permission/File error during install #587
Replies: 4 comments
-
These are the steps that I followed from ADMIN>System>Plugins>NetBox Topology Views |
Beta Was this translation helpful? Give feedback.
-
hi @russellstrei - admin->plugins install guide pulls from the readme in github. Dependent on how you installed netbox - you may need sudo in front of all of those - the OSError tells you this, or sudo su before you run the commands. |
Beta Was this translation helpful? Give feedback.
-
I just want to add the following: First, become a superuser with "sudo -i" (or "su -" on debian in my case), then change to your NetBox folder and activate the venv. Like @cruse1977 said, this is a permission issue which cannot be solved by the plugin. You have probably installed the plugin before with another user (or superuser). You can check the current owner and rights using "ls -la /opt/netbox/netbox/static/netbox_topology_views". Converting this into a discussion as it's not a bug but an individual issue. |
Beta Was this translation helpful? Give feedback.
-
NetBox version
NetBox Community v4.1.7 (2024-11-21)
Topology Views version
Latest I presume
Steps to Reproduce
Running the latest version of netbox. When I execute the steps in the install guide I get the following error:
python3 /opt/netbox/netbox/manage.py migrate netbox_topology_views
python3 /opt/netbox/netbox/manage.py collectstatic --no-input
Upon browsing the directory, there is no file or folder called netbox_topology_views in the static directory.
Ubuntu 22.04.5 LTS
Expected Behavior
I think it'd install properly and not die
Observed Behavior
It died saying Permission denied. I used the same steps for another plugin (inventory) which worked.
Beta Was this translation helpful? Give feedback.
All reactions