Netbox can't find plugins #3864

Closed
opened 2025-12-29 18:31:39 +01:00 by adam · 5 comments
Owner

Originally created by @davetayl on GitHub (Jul 16, 2020).

Environment

  • Python version: 3.8.0
  • NetBox version: v2.8.8-dev
    Running on CentOS Linux release 8.2.2004 (Core)
    App location /opt/netbox, front end with Apache/WSGI
    Firewalld disabled
    Selinux Permissive

The instances is working well other than the issue described here

Steps to Reproduce

  1. pip install nextbox-ui-plugin
  2. add netbox-ui-plugin to configuration.py
PLUGINS = [
    'nextbox-ui-plugin',
]
  1. ./manage.py makemigrations
  2. fails
  3. if the following code is used, it works.
PLUGINS = [
    'nextbox_ui_plugin',
]

With other plugins this method doesn't work.

Expected Behavior

plugin is loaded with no error

Observed Behavior

Plugin unable to be found.

The behaviour seems somewhat consistent across all the listed plugins (pip search netbox | grep plugin), aside from the couple of plugins that won't load at all, all the others are unable to be found, in the one case listed, the change mentioned solved the issue, however this was not the case for any other plugins.

Originally created by @davetayl on GitHub (Jul 16, 2020). ### Environment * Python version: 3.8.0 * NetBox version: v2.8.8-dev Running on CentOS Linux release 8.2.2004 (Core) App location /opt/netbox, front end with Apache/WSGI Firewalld disabled Selinux Permissive The instances is working well other than the issue described here ### Steps to Reproduce 1. pip install nextbox-ui-plugin 2. add netbox-ui-plugin to configuration.py ``` PLUGINS = [ 'nextbox-ui-plugin', ] ``` 3. ./manage.py makemigrations 4. fails 5. if the following code is used, it works. ``` PLUGINS = [ 'nextbox_ui_plugin', ] ``` With other plugins this method doesn't work. <!-- What did you expect to happen? --> ### Expected Behavior plugin is loaded with no error <!-- What happened instead? --> ### Observed Behavior Plugin unable to be found. The behaviour seems somewhat consistent across all the listed plugins (pip search netbox | grep plugin), aside from the couple of plugins that won't load at all, all the others are unable to be found, in the one case listed, the change mentioned solved the issue, however this was not the case for any other plugins.
adam closed this issue 2025-12-29 18:31:39 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 16, 2020):

NetBox version: 2.7.3

Is this correct? Plugins are only supported on NetBox v2.8.0 and later.

@jeremystretch commented on GitHub (Jul 16, 2020): > NetBox version: 2.7.3 Is this correct? Plugins are only supported on NetBox v2.8.0 and later.
Author
Owner

@davetayl commented on GitHub (Jul 16, 2020):

Good pickup sorry, somehow I posted the prod system version rather than dev, I've updated the description

@davetayl commented on GitHub (Jul 16, 2020): Good pickup sorry, somehow I posted the prod system version rather than dev, I've updated the description
Author
Owner

@jeremystretch commented on GitHub (Jul 16, 2020):

I'm not sure what you're considering to be a bug here. I was able to install nextbox-ui-plugin per the project's instructions on NetBox v2.8.7 without issue. Note that nextbox-ui-plugin is the PyPI package name, whereas nextbox_ui_plugin is the plugin name.

With other plugins this method doesn't work.

You need to follow the specific instructions of each plugin for its installation.

@jeremystretch commented on GitHub (Jul 16, 2020): I'm not sure what you're considering to be a bug here. I was able to install `nextbox-ui-plugin` per [the project's instructions](https://github.com/iDebugAll/nextbox-ui-plugin/blob/master/README.md) on NetBox v2.8.7 without issue. Note that `nextbox-ui-plugin` is the PyPI package name, whereas `nextbox_ui_plugin` is the plugin name. > With other plugins this method doesn't work. You need to follow the specific instructions of each plugin for its installation.
Author
Owner

@davetayl commented on GitHub (Jul 16, 2020):

Yes, I noted that the UI plugin worked with that tweek, however none of the others did

@davetayl commented on GitHub (Jul 16, 2020): Yes, I noted that the UI plugin worked with that tweek, however none of the others did
Author
Owner

@jeremystretch commented on GitHub (Jul 16, 2020):

You'll need to address that with the maintainers of those plugins then, I suppose. There's nothing actionable here from the NetBox side.

@jeremystretch commented on GitHub (Jul 16, 2020): You'll need to address that with the maintainers of those plugins then, I suppose. There's nothing actionable here from the NetBox side.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3864