Skip to content

Conversation

nv6
Copy link

@nv6 nv6 commented Mar 12, 2025

Fix #163

Verified with Netbox version 4.2.5-Docker-3.2.0

Derived from netbox-community/netbox-topology-views#608

@nv6
Copy link
Author

nv6 commented Mar 12, 2025

Until this PR is merged, use the workaround below for installing/building the Netbox docker image with this plugin.

Insert this in Dockerfile-Plugins immediately after the uv pip install line:

RUN sed -i 's/settings\.VERSION/settings\.RELEASE\.version/g' \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/__init__.py \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/views.py \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/migrations/0001_initial.py \
    /opt/netbox/venv/lib/python3.12/site-packages/nextbox_ui_plugin/models.py

(derived from netbox-community/netbox-topology-views#604 (comment), netbox-community/netbox-topology-views#608 (comment))

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

Successfully merging this pull request may close these issues.

packaging.version.InvalidVersion: Invalid version: '4.2.4-Docker-3.2.0'

1 participant