Application labels aren't unique, duplicates: netbox_bgp #1443
Replies: 3 comments
-
What I don't understand is why it tells me that the plugin is duplicated if its documentation mentions that it should be added in the plugin.py unit@bc7a285e5de9:/opt/netbox/netbox$ /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt |
Beta Was this translation helpful? Give feedback.
-
If I do it manually it works fine. But it lacks modules ipfabric-netbox unit@bc7a285e5de9:/opt/netbox/netbox$ python3 /opt/netbox/netbox/manage.py migrate Well, I see that Docker is somewhat complicated to use with Nextop, especially if it hasn't matured. |
Beta Was this translation helpful? Give feedback.
-
Maybe it's too late, but I had a similar issue while upgrading NetBox from My problem was that I had another plugin (netbox-plugin-dns) which I forgot to update to the version compatible with NetBox 4.2.x. If you have other plugins installed, try to disable them, and only enable one after the other until you get the error. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Current Behavior
I'm trying to install the plugins from the documentation presented on your github but I end up getting an error.
Yes it works if I don't install the plugins, but that's what makes it useful to the system, otherwise what would be the point?
https://github.com/netbox-community/netbox-docker/wiki/Using-Netbox-Plugins
Expected Behavior
[root@veltesta netbox]# docker compose build --no-cache
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 8.4s (10/10) FINISHED docker:default
=> [netbox internal] load build definition from Dockerfile-Plugins 0.0s
=> => transferring dockerfile: 653B 0.0s
=> [netbox internal] load metadata for docker.io/netboxcommunity/netbox:latest 0.8s
=> [netbox internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [netbox 1/6] FROM docker.io/netboxcommunity/netbox:latest@sha256:6cb789ac9d800a5d0eb435dd3ffc7706cc5ef238db9bf8b3af9f02ef7b79af48 0.0s
=> [netbox internal] load build context 0.0s
=> => transferring context: 413B 0.0s
=> [netbox 2/6] COPY ./plugin_requirements.txt /opt/netbox/ 0.0s
=> [netbox 3/6] RUN /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt 6.0s
=> [netbox 4/6] COPY configuration/configuration.py /etc/netbox/config/configuration.py 0.0s
=> [netbox 5/6] COPY configuration/plugins.py /etc/netbox/config/plugins.py 0.0s
=> ERROR [netbox 6/6] RUN DEBUG="true" SECRET_KEY='r(m)9nLGnz$(_q3N4z1k(EFsMCjjjzx08x9VhNVcfd%6RF#r!6DE@+V5Zk2X' /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input 1.5s
failed to solve: process "/bin/sh -c DEBUG="true" SECRET_KEY='r(m)9nLGnz$(_q3N4z1k(EFsMCjjjzx08x9VhNVcfd%6RF#r!6DE@+V5Zk2X' /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input" did not complete successfully: exit code: 1
Docker Compose Version
Docker Compose version v2.34.0
Docker Version
The git Revision
not applicable
The git Status
Startup Command
not applicable
NetBox Logs
Content of docker-compose.override.yml
try a plugin as follows
It doesn't show errors but when I do compose up -d it throws up those errors.
django.core.exceptions.ImproperlyConfigured: Unable to import plugin netbox-floorplan-plugin: Module not found. Check that the plugin module has been installed within the correct Python environment.
[ Use DB_WAIT_DEBUG=1 in netbox.env to print full traceback for errors here ]
⏳ Waiting on DB... (27s / 30s)
PLUGINS = [
]
PLUGINS_CONFIG = {
"netbox_floorplan": {
"default_size": 10,
},
}
plugin_requirements.txt
netbox_qrcode
netbox_reorder_rack
netbox_topology_views
netbox_bgp
netboxlabs_netbox_branching
netbox_plugin_dns
netbox_secrets
netbox_attachments
netbox_config_diff
netbox_contract
netbox_documents
netbox_interface_synchronization
netbox_inventory
netbox_kea
netbox_lifecycle
netbox_floorplan_plugin
netbox_lists
netbox_napalm_plugin
netbox_routing
netbox_validity
ipfabric_netbox
slurpit_netbox
NbRisk
nb_service
[+] Building 12.2s (12/12) FINISHED docker:default
=> [netbox internal] load build definition from Dockerfile-Plugins 0.0s
=> => transferring dockerfile: 653B 0.0s
=> [netbox internal] load metadata for docker.io/netboxcommunity/netbox:latest 1.9s
=> [netbox internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> CACHED [netbox 1/6] FROM docker.io/netboxcommunity/netbox:latest@sha256:6cb789ac9d800a5d0eb435dd3ffc7706cc5ef238db9bf8b3af9f02ef7b79af48 0.0s
=> [netbox internal] load build context 0.0s
=> => transferring context: 772B 0.0s
=> [netbox 2/6] COPY ./plugin_requirements.txt /opt/netbox/ 0.0s
=> [netbox 3/6] RUN /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt 6.1s
=> [netbox 4/6] COPY configuration/configuration.py /etc/netbox/config/configuration.py 0.0s
=> [netbox 5/6] COPY configuration/plugins.py /etc/netbox/config/plugins.py 0.0s
=> [netbox 6/6] RUN DEBUG="true" SECRET_KEY='r(m)9nLGnz$(_q3N4z1k(EFsMCjjjzx08x9VhNVcfd%6RF#r!6DE@+V5Zk2X' /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input 2.0s
=> [netbox] exporting to image 2.0s
=> => exporting layers 2.0s
=> => writing image sha256:6699bf36d4743662a60121ba0c34fb266b84a9f5653c8a76c2c53306dbb7d453 0.0s
=> => naming to docker.io/library/netbox:latest-plugins 0.0s
=> [netbox] resolving provenance for metadata file 0.0s
[+] Building 1/1
Beta Was this translation helpful? Give feedback.
All reactions