Skip to content

Conversation

@tobiasge
Copy link
Member

Fix #604

Netbox changed the version identifier in netbox-community/netbox#15908

@berendt
Copy link

berendt commented Feb 17, 2025

@mattieserver Can you please have a look? It would be nice if the problem was solved.

@TheZackCodec
Copy link

I use NetBox with docker and this pull request does fix the issue I get. Until this is merged you can do the following.

Example Docker-Plugins file

FROM netboxcommunity/netbox:latest

COPY ./plugin_requirements.txt /opt/netbox/
RUN /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt

# Fix For Topology Views (Remove once https://github.com/netbox-community/netbox-topology-views/pull/608 is added )
RUN sed -i 's/settings\.VERSION/settings\.RELEASE\.version/g' /opt/netbox/venv/lib/python3.12/site-packages/netbox_topology_views/template_content.py

# These lines are only required if your plugin has its own static files.
COPY configuration/configuration.py /etc/netbox/config/configuration.py
COPY configuration/plugins.py /etc/netbox/config/plugins.py
RUN SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input

@remram44
Copy link
Contributor

What is blocking this? It is a pretty small change in line with NetBox's own changes: netbox-community/netbox@c6bd714

Are there compatibility concerns?

@moseisleydk
Copy link

We really need this :-)

@mattieserver mattieserver merged commit f3b822e into netbox-community:develop Mar 19, 2025
@tobiasge tobiasge deleted the version-check branch March 24, 2025 08:04
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.

Cannot install with new docker versioning

6 participants