nextbox-ui-plugin
nextbox-ui-plugin copied to clipboard
Topology viewer showing nothing
Hello,
i have installed nextbox and it dosent show anything in the Topology view. Below the Ooutput from the Consol, i know this error was alredy Discussed here #91 but i dont know what resolved it. I am new to this and i hope somone can help me with it.
If you need more info just let me know
I solved it myself after looking for a bit deeper. I needed to change a COPY command in the Dockerfile of nextbox. It was clearer after i found the Post #68
Now i get a jquerry Error when opening the Topology viewer.
Any idea waht this could be?
My console looks the same but the viewer works. Does the viewer not show up or just no devices? (Do you have the tools on the left side?) If you see the tools, try to go to "Filter" and just click search with nothing selected/changed. The plugin needs some sort of filter in the URL. Already addressed this problem in #87
If this s normal then okay, in the Region Section it kinda works.
But if i go under the Plugins Topology viewer it doesn't and i get the following.
and nothing is displayed and i can't click anything
Did you do a manage.py collectstatic
?
So i installed it in a Docker Container. If i do a collect static it shows me the following:
Yeah, I'm also struggling at that point. For me, the plugin works but I also can't collect static files (needed for another plugin) because of the same error.
In Docker deployment you can specify root user for your exec session. It should allow you to collect static without permission issues: % docker-compose exec -u root netbox /bin/bash
And then # ./manage.py collectstatic
plus # chown 1000:1000 -R /opt/netbox/netbox/static/nextbox_ui_plugin/