nextbox-ui-plugin icon indicating copy to clipboard operation
nextbox-ui-plugin copied to clipboard

Topology viewer showing nothing

Open Kniickk opened this issue 2 years ago • 8 comments

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.

grafik

If you need more info just let me know

Kniickk avatar Aug 03 '22 08:08 Kniickk

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

Kniickk avatar Aug 03 '22 09:08 Kniickk

Now i get a jquerry Error when opening the Topology viewer. grafik

Any idea waht this could be?

Kniickk avatar Aug 03 '22 09:08 Kniickk

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

PaulR282 avatar Aug 09 '22 12:08 PaulR282

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.

grafik

and nothing is displayed and i can't click anything

Kniickk avatar Aug 09 '22 14:08 Kniickk

Did you do a manage.py collectstatic?

PaulR282 avatar Aug 10 '22 06:08 PaulR282

So i installed it in a Docker Container. If i do a collect static it shows me the following: grafik

Kniickk avatar Aug 10 '22 06:08 Kniickk

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.

PaulR282 avatar Aug 10 '22 06:08 PaulR282

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/

iDebugAll avatar Dec 17 '22 19:12 iDebugAll