Can't load new images #296
Replies: 6 comments
-
Sorry, can't help with Docker at all. Do you see any icons at all, maybe the old ones? You may try a "find" with one of these filenames then, for example "role-unknown.png". You may have a look here regarding the old filenames: https://github.com/mattieserver/netbox-topology-views/tree/v3.3.0/netbox_topology_views/static/netbox_topology_views/img |
Beta Was this translation helpful? Give feedback.
-
can you check |
Beta Was this translation helpful? Give feedback.
-
The icons are being displayed correctly, without any problem at the moment. The strange thing is that the folder In response to the find, I can find any image, but the search returns the following:
Particularly it is my first deploy with Docker, so, probably, there is something that is escaping my knowledge and lack of experience. I will wait for comments! Thanks |
Beta Was this translation helpful? Give feedback.
-
Can you check if it works if you add the following to you dockerfile: |
Beta Was this translation helpful? Give feedback.
-
It doesn't seem like it's creating the folder, don't know why exactly. However, I think I have an installation problem, since I did tests on this server and perhaps something was "misconfigured", which may be bothering collectstatic or something similar. I will continue testing and try to reinstall, I will be updating as soon as I have any news. |
Beta Was this translation helpful? Give feedback.
-
Fixed: I made the following changes to add external images. There is still room for improvement, but these were my steps.
|
Beta Was this translation helpful? Give feedback.
-
Hi there!
I am trying to install new images to use in the plugin for Fortinet devices.
My NetBox is running in Docker, with its respective Dockerfile-Plugins and extra configurations working. The plugin it is working well.
I'm a bit confused where I should install these images, since by default they are in "'static_image_directory':'netbox_topology_views/img'"
I can't find that folder in the "nearby" of Docker, and I wouldn't know where to point that directory.
I was trying to do a "find" on my Linux, but the folders are in something that looks like a temp folder (var/lib/docker/overlay2/sea1riyr1zhevm10ocs0kbuit/diff/opt/netbox/venv/lib/python3.10/site-packages /netbox_topology_views/static/netbox_topology_views/img). This is a example, i have like 4-5 paths like that.
I would be grateful for how to make a modification to the static_image_directory within Docker.
Thank you very much in advance!
Beta Was this translation helpful? Give feedback.
All reactions