netbox-static-routes icon indicating copy to clipboard operation
netbox-static-routes copied to clipboard

install in a Docker container

Open ArminRadmueller opened this issue 2 years ago • 2 comments

I'm trying to install the plugin in a Netbox Docker container and I'm running the following commands in the Dockerfile. The installation seems to work, but when I start it I get the error "LookupError: No installed app with label 'netbox_static_routes'.

RUN cd /opt/netbox/netbox && git clone https://github.com/jbparrish17/netbox-static-routes && \
    /bin/bash -c "source /opt/netbox/venv/bin/activate && cd netbox-static-routes && python3 setup.py develop"

What could be the problem here?

ArminRadmueller avatar Dec 28 '22 16:12 ArminRadmueller

Did you find a solution to this? I cannot get the plugin to install/work as constantly get netbox_static_routes (non-docker install) no installed app

May 09 12:02:48 python3[124068]: raise LookupError(message) May 09 12:02:48 python3[124068]: LookupError: No installed app with label 'netbox_static_routes'.

andyb2000 avatar May 09 '23 11:05 andyb2000

This worked for me:

For latest version:

mkdir plugins
git clone https://github.com/jbparrish17/netbox-static-routes.git

update configuration/plugins.py Update Dockerfile-Plugins See: Doku

/opt/netbox/venv/bin/pip install -v --no-cache-dir --no-warn-script-location /plugins/netbox-static-routes/

apply #7, adjust version ~

MichiMeyer avatar Feb 24 '24 08:02 MichiMeyer