Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topology viewer showing nothing #107

Open
Kniickk opened this issue Aug 3, 2022 · 8 comments
Open

Topology viewer showing nothing #107

Kniickk opened this issue Aug 3, 2022 · 8 comments

Comments

@Kniickk
Copy link

Kniickk commented Aug 3, 2022

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
Copy link
Author

Kniickk commented Aug 3, 2022

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 Kniickk closed this as completed Aug 3, 2022
@Kniickk Kniickk reopened this Aug 3, 2022
@Kniickk
Copy link
Author

Kniickk commented Aug 3, 2022

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

Any idea waht this could be?

@PaulR282
Copy link

PaulR282 commented Aug 9, 2022

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

@Kniickk
Copy link
Author

Kniickk commented Aug 9, 2022

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

@PaulR282
Copy link

Did you do a manage.py collectstatic?

@Kniickk
Copy link
Author

Kniickk commented Aug 10, 2022

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

@PaulR282
Copy link

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.

@iDebugAll
Copy link
Owner

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants