iDebugAll / nextbox-ui-plugin

Next-Gen Topology Visualization Plugin for NetBox Powered by topoSphere SDK
MIT License
528 stars 60 forks source link

Nextbox_ui_modul 0.82 Modul not found Netbox 2.11.6 #65

Closed hocker96 closed 1 week ago

hocker96 commented 3 years ago

Hello,

i have an issues with the plugin.

The Modul is install in venv and written in configuration.py and requirements.txt, but the modul does not found.

/var/log/supervisor/netbox-stderr......log

[2021-07-07 10:08:15 +0000] [14706] [INFO] Starting gunicorn 20.1.0 [2021-07-07 10:08:15 +0000] [14706] [INFO] Listening at: http://127.0.0.1:8001 (14706) [2021-07-07 10:08:15 +0000] [14706] [INFO] Using worker: sync [2021-07-07 10:08:15 +0000] [14708] [INFO] Booting worker with pid: 14708 [2021-07-07 10:08:15 +0000] [14709] [INFO] Booting worker with pid: 14709 [2021-07-07 10:08:15 +0000] [14710] [INFO] Booting worker with pid: 14710 [2021-07-07 10:08:15 +0000] [14708] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 601, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:15 +0000] [14708] [INFO] Worker exiting (pid: 14708) [2021-07-07 10:08:15 +0000] [14709] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:15 +0000] [14709] [INFO] Worker exiting (pid: 14709) [2021-07-07 10:08:15 +0000] [14710] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:15 +0000] [14710] [INFO] Worker exiting (pid: 14710) Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in import apport.fileutils File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket File "/usr/lib/python3/dist-packages/requests_unixsocket/init.py", line 1, in import requests File "/usr/lib/python3/dist-packages/requests/init.py", line 43, in import urllib3 File "/usr/lib/python3/dist-packages/urllib3/init.py", line 7, in from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_fromurl File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 29, in from .connection import ( File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 41, in from .util.ssl import ( File "/usr/lib/python3/dist-packages/urllib3/util/init.py", line 7, in from .ssl import ( File "/usr/lib/python3/dist-packages/urllib3/util/ssl.py", line 10, in from .url import IPV4_RE, BRACELESS_IPV6_ADDRZ_RE File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 19, in URI_RE = re.compile( File "/usr/lib/python3.8/re.py", line 252, in compile return _compile(pattern, flags) File "/usr/lib/python3.8/re.py", line 304, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib/python3.8/sre_compile.py", line 764, in compile p = sre_parse.parse(p, flags) File "/usr/lib/python3.8/sre_parse.py", line 948, in parse p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) File "/usr/lib/python3.8/sre_parse.py", line 443, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "/usr/lib/python3.8/sre_parse.py", line 834, in _parse p = _parse_sub(source, state, sub_verbose, nested + 1) File "/usr/lib/python3.8/sre_parse.py", line 443, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "/usr/lib/python3.8/sre_parse.py", line 495, in _parse subpattern = SubPattern(state) File "/usr/lib/python3.8/sre_parse.py", line 112, in init self.state = state File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

Original exception was: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> [2021-07-07 10:08:17 +0000] [14711] [INFO] Starting gunicorn 20.1.0 [2021-07-07 10:08:17 +0000] [14711] [INFO] Listening at: http://127.0.0.1:8001 (14711) [2021-07-07 10:08:17 +0000] [14711] [INFO] Using worker: sync [2021-07-07 10:08:17 +0000] [14713] [INFO] Booting worker with pid: 14713 [2021-07-07 10:08:17 +0000] [14714] [INFO] Booting worker with pid: 14714 [2021-07-07 10:08:17 +0000] [14713] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:17 +0000] [14713] [INFO] Worker exiting (pid: 14713) [2021-07-07 10:08:17 +0000] [14715] [INFO] Booting worker with pid: 14715 [2021-07-07 10:08:17 +0000] [14714] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:17 +0000] [14714] [INFO] Worker exiting (pid: 14714) [2021-07-07 10:08:17 +0000] [14715] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:17 +0000] [14715] [INFO] Worker exiting (pid: 14715) Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in import apport.fileutils File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket File "/usr/lib/python3/dist-packages/requests_unixsocket/init.py", line 1, in import requests File "/usr/lib/python3/dist-packages/requests/init.py", line 95, in from urllib3.contrib import pyopenssl File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in import OpenSSL.SSL File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 16, in from OpenSSL._util import ( File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 6, in from cryptography.hazmat.bindings.openssl.binding import Binding File "/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 195, in Binding.init_static_locks() File "/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 139, in init_static_locks cls._ensure_ffi_initialized() File "/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 134, in _ensure_ffi_initialized cls._register_osrandom_engine() File "/usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 119, in _register_osrandom_engine result = cls.lib.Cryptography_add_osrandom_engine() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

Original exception was: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> [2021-07-07 10:08:19 +0000] [14716] [INFO] Starting gunicorn 20.1.0 [2021-07-07 10:08:19 +0000] [14716] [INFO] Listening at: http://127.0.0.1:8001 (14716) [2021-07-07 10:08:19 +0000] [14716] [INFO] Using worker: sync [2021-07-07 10:08:19 +0000] [14718] [INFO] Booting worker with pid: 14718 [2021-07-07 10:08:19 +0000] [14719] [INFO] Booting worker with pid: 14719 [2021-07-07 10:08:19 +0000] [14720] [INFO] Booting worker with pid: 14720 [2021-07-07 10:08:19 +0000] [14718] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:19 +0000] [14718] [INFO] Worker exiting (pid: 14718) [2021-07-07 10:08:19 +0000] [14719] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:19 +0000] [14719] [INFO] Worker exiting (pid: 14719) [2021-07-07 10:08:19 +0000] [14720] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:19 +0000] [14720] [INFO] Worker exiting (pid: 14720) [2021-07-07 10:08:19 +0000] [14716] [WARNING] Worker with pid 14719 was terminated due to signal 15 [2021-07-07 10:08:19 +0000] [14716] [WARNING] Worker with pid 14720 was terminated due to signal 15 [2021-07-07 10:08:20 +0000] [14716] [INFO] Shutting down: Master [2021-07-07 10:08:20 +0000] [14716] [INFO] Reason: Worker failed to boot. [2021-07-07 10:08:23 +0000] [14722] [INFO] Starting gunicorn 20.1.0 [2021-07-07 10:08:23 +0000] [14722] [INFO] Listening at: http://127.0.0.1:8001 (14722) [2021-07-07 10:08:23 +0000] [14722] [INFO] Using worker: sync [2021-07-07 10:08:23 +0000] [14724] [INFO] Booting worker with pid: 14724 [2021-07-07 10:08:23 +0000] [14725] [INFO] Booting worker with pid: 14725 [2021-07-07 10:08:23 +0000] [14724] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:23 +0000] [14724] [INFO] Worker exiting (pid: 14724) [2021-07-07 10:08:23 +0000] [14726] [INFO] Booting worker with pid: 14726 [2021-07-07 10:08:23 +0000] [14725] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:23 +0000] [14725] [INFO] Worker exiting (pid: 14725) [2021-07-07 10:08:23 +0000] [14726] [ERROR] Exception in worker process Traceback (most recent call last): File "/opt/netbox/netbox/netbox/settings.py", line 600, in plugin = importlib.import_module(plugin_name) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'nextbox_ui_plugin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker worker.init_process() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 134, in init_process self.load_wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi self.wsgi = self.app.wsgi() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.8/dist-packages/gunicorn/util.py", line 359, in import_app mod = importlib.import_module(module) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/wsgi.py", line 7, in application = get_wsgi_application() File "/usr/local/lib/python3.8/dist-packages/django/core/wsgi.py", line 12, in get_wsgi_application django.setup(set_prefix=False) File "/usr/local/lib/python3.8/dist-packages/django/init.py", line 19, in setup configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 82, in getattr self._setup(name) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 69, in _setup self._wrapped = Settings(settings_module) File "/usr/local/lib/python3.8/dist-packages/django/conf/init.py", line 170, in init mod = importlib.import_module(self.SETTINGS_MODULE) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/settings.py", line 603, in raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Unable to import plugin nextbox_ui_plugin: Module not found. Check that the plugin module has been installed within the correct Python environment. [2021-07-07 10:08:23 +0000] [14726] [INFO] Worker exiting (pid: 14726) Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3> Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/init.py", line 5, in from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in import apport.fileutils File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket File "/usr/lib/python3/dist-packages/requests_unixsocket/init.py", line 1, in import requests File "/usr/lib/python3/dist-packages/requests/init.py", line 43, in import urllib3 File "/usr/lib/python3/dist-packages/urllib3/init.py", line 7, in from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_fromurl File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 29, in from .connection import ( File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 41, in from .util.ssl import ( File "/usr/lib/python3/dist-packages/urllib3/util/init.py", line 7, in from .ssl import ( File "/usr/lib/python3/dist-packages/urllib3/util/ssl.py", line 10, in from .url import IPV4_RE, BRACELESS_IPV6_ADDRZ_RE File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 19, in URI_RE = re.compile( File "/usr/lib/python3.8/re.py", line 252, in compile return _compile(pattern, flags) File "/usr/lib/python3.8/re.py", line 304, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib/python3.8/sre_compile.py", line 764, in compile p = sre_parse.parse(p, flags) File "/usr/lib/python3.8/sre_parse.py", line 948, in parse p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) File "/usr/lib/python3.8/sre_parse.py", line 443, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "/usr/lib/python3.8/sre_parse.py", line 834, in _parse p = _parse_sub(source, state, sub_verbose, nested + 1) File "/usr/lib/python3.8/sre_parse.py", line 443, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "/usr/lib/python3.8/sre_parse.py", line 834, in _parse p = _parse_sub(source, state, sub_verbose, nested + 1) File "/usr/lib/python3.8/sre_parse.py", line 443, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "/usr/lib/python3.8/sre_parse.py", line 493, in _parse def _parse(source, state, verbose, nested, first=False): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

Original exception was: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 209, in run self.sleep() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 357, in sleep ready = select.select([self.PIPE[0]], [], [], 1.0) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in sys.exit(run()) File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 231, in run super().run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 229, in run self.halt(reason=inst.reason, exit_status=inst.exit_status) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 342, in halt self.stop() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 393, in stop time.sleep(0.1) File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 242, in handle_chld self.reap_workers() File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py", line 525, in reap_workers raise HaltServer(reason, self.WORKER_BOOT_ERROR) gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

ls -al /opt/netbox/venv/lib/py.../sit...

total 4420 drwxr-xr-x 174 www-data www-data 12288 Jul 7 10:07 . drwxr-xr-x 3 www-data www-data 4096 Jul 4 07:11 .. drwxr-xr-x 13 www-data www-data 4096 Jul 5 14:29 Crypto drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 Django-3.2.4.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 Jinja2-3.0.1.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 Markdown-3.3.4.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 MarkupSafe-2.0.1.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:29 PIL drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 Pillow-8.2.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 Pillow.libs drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 PyNaCl-1.4.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 PyYAML-5.4.1.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:26 pycache -rwxr-xr-x 1 www-data www-data 893296 Jul 5 14:06 _cffi_backend.cpython-38-x86_64-linux-gnu.so drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:26 _distutils_hack -rw-r--r-- 1 www-data www-data 23 Jul 5 14:06 _pyrsistent_version.py -rwxr-xr-x 1 www-data www-data 2333275 Jul 5 14:06 _ruamel_yaml.cpython-38-x86_64-linux-gnu.so drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:29 _yaml drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 asgiref drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 asgiref-3.4.1.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 attr drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 attrs-21.2.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 bcrypt drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 bcrypt-3.2.0.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:30 cacheops drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 certifi drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 certifi-2021.5.30.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 cffi drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 cffi-1.14.5.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 cffi.libs drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:06 chardet drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 chardet-4.0.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 ciscoconfparse drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 ciscoconfparse-1.5.30.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 click drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 click-8.0.1.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 colorama drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 colorama-0.4.4.dist-info drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:06 coreapi drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 coreapi-2.3.3.dist-info drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:06 coreschema drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 coreschema-0.0.4.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:30 corsheaders drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:06 cryptography drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 cryptography-3.4.7.dist-info drwxr-xr-x 9 www-data www-data 4096 Jul 5 14:30 debug_toolbar -rw-r--r-- 1 www-data www-data 152 Jul 5 14:26 distutils-precedence.pth drwxr-xr-x 19 www-data www-data 4096 Jul 5 14:29 django drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_cacheops-6.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_cors_headers-3.7.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_debug_toolbar-3.2.1.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_filter-2.4.0.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:30 django_filters drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 django_js_asset-1.2.2.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_mptt-0.12.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:30 django_pglocks drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_pglocks-1.0.4.dist-info drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:30 django_prometheus drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_prometheus-2.1.0.dist-info drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:30 django_rq drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_rq-2.4.1.dist-info drwxr-xr-x 9 www-data www-data 4096 Jul 5 14:30 django_tables2 drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_tables2-2.4.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_taggit-1.4.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:30 django_timezone_field-4.1.2.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 djangorestframework-3.12.4.dist-info drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 dns drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 dnspython-2.1.0.dist-info drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:29 drf_yasg drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 drf_yasg-1.20.0.dist-info -rw-r--r-- 1 root root 28 Jul 7 10:07 easy-install.pth drwxr-xr-x 3 root root 4096 Jul 7 09:55 extra drwxr-xr-x 2 root root 4096 Jul 7 09:55 extra-0.0.0.20200726.dist-info drwxr-xr-x 4 root root 4096 Jul 7 10:01 extras drwxr-xr-x 2 root root 4096 Jul 7 10:01 extras-1.0.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 funcy drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 funcy-1.16.dist-info drwxr-xr-x 10 www-data www-data 4096 Jul 5 14:06 future drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 future-0.18.2.egg-info drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:29 gunicorn drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 gunicorn-20.1.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 idna drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 idna-2.10.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 inflection drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 inflection-0.5.1.dist-info -rw-r--r-- 1 www-data www-data 11437 Jul 5 14:06 inflection.py drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 itypes-1.2.0.dist-info -rw-r--r-- 1 www-data www-data 5655 Jul 5 14:06 itypes.py drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:29 jinja2 drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 jnpr drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 js_asset drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:06 jsonschema drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 jsonschema-3.2.0.dist-info -rw-r--r-- 1 www-data www-data 529 Jul 5 14:06 junos_eznc-2.6.1-py3.7-nspkg.pth drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 junos_eznc-2.6.1.dist-info drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 libfuturize drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 libpasteurize drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:06 lxml drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 lxml-4.6.3.dist-info drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:29 markdown drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 markupsafe drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:30 mptt drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:06 nacl drwxr-xr-x 13 www-data www-data 4096 Jul 5 14:29 napalm drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 napalm-3.3.1.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:29 ncclient drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 ncclient-0.6.9-py3.8.egg-info drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:29 netaddr drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 netaddr-0.8.0.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 6 15:22 netbox_topology_views drwxr-xr-x 2 www-data www-data 4096 Jul 6 15:22 netbox_topology_views-0.5.3.dist-info drwxr-xr-x 64 www-data www-data 4096 Jul 5 14:06 netmiko drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 netmiko-3.4.0.dist-info -rw-r--r-- 1 root root 29 Jul 7 10:07 nextbox-ui-plugin.egg-link drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 ntc_templates drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 ntc_templates-2.1.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 packaging drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 packaging-21.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 paramiko drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 paramiko-2.7.2.dist-info drwxr-xr-x 9 www-data www-data 4096 Jul 5 14:06 passlib drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 passlib-1.7.4.dist-info drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:06 past drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:26 pip drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:26 pip-21.1.3.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:26 pkg_resources drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:04 pkg_resources-0.0.0.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:06 prometheus_client drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 prometheus_client-0.11.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:29 psycopg2 drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 psycopg2_binary-2.9.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 psycopg2_binary.libs -rwxr-xr-x 1 www-data www-data 187406 Jul 5 14:06 pvectorc.cpython-38-x86_64-linux-gnu.so drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 pycparser drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 pycparser-2.20.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 pycryptodome-3.10.1.dist-info drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 pyeapi drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 pyeapi-0.8.4.egg-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 pyparsing-2.4.7.dist-info -rw-r--r-- 1 www-data www-data 273365 Jul 5 14:06 pyparsing.py drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 pyrsistent drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 pyrsistent-0.18.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 pyserial-3.5.dist-info drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 pytz drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 pytz-2021.1.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 redis drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 redis-3.5.3.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 requests drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 requests-2.25.1.dist-info drwxr-xr-x 11 www-data www-data 4096 Jul 5 14:29 rest_framework drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:06 rq drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 rq-1.9.0.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 ruamel -rw-r--r-- 1 www-data www-data 539 Jul 5 14:06 ruamel.yaml-0.17.10-py3.9-nspkg.pth drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 ruamel.yaml-0.17.10.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 ruamel.yaml.clib-0.2.6.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 scp-0.13.5.dist-info -rw-r--r-- 1 www-data www-data 20489 Jul 5 14:06 scp.py drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:06 serial drwxr-xr-x 7 www-data www-data 4096 Jul 5 14:26 setuptools drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:26 setuptools-57.1.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 six-1.16.0.dist-info -rw-r--r-- 1 www-data www-data 34549 Jul 5 14:06 six.py drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:06 sqlparse drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 sqlparse-0.4.1.dist-info drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:29 svgwrite drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 svgwrite-1.4.1.dist-info drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 swagger_spec_validator drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 swagger_spec_validator-2.7.3.dist-info drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:29 tablib drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 tablib-3.0.0.dist-info drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:30 taggit drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 tenacity drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 tenacity-7.0.0.dist-info drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 testdata drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 textfsm drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 textfsm-1.1.2.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:29 timezone_field drwxr-xr-x 4 www-data www-data 4096 Jul 5 14:06 transitions drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 transitions-0.8.8.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:06 uritemplate drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 uritemplate-3.0.1.dist-info drwxr-xr-x 6 www-data www-data 4096 Jul 5 14:06 urllib3 drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 urllib3-1.26.6.dist-info drwxr-xr-x 5 www-data www-data 4096 Jul 5 14:29 wheel drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:29 wheel-0.36.2.dist-info drwxr-xr-x 3 www-data www-data 4096 Jul 5 14:29 yaml drwxr-xr-x 2 www-data www-data 4096 Jul 5 14:06 yamlordereddictloader-0.4.0.egg-info -rw-r--r-- 1 www-data www-data 2787 Aug 3 2017 yamlordereddictloader.py

/opt/netbox

root@netbox:/opt/netbox# ll total 140 drwxr-xr-x 13 www-data www-data 4096 Jul 7 11:43 ./ drwxr-xr-x 3 root root 4096 Jul 2 17:36 ../ drwxr-xr-x 8 www-data www-data 4096 Jul 2 17:36 .git/ -rw-r--r-- 1 www-data www-data 155 Jul 2 17:36 .gitattributes drwxr-xr-x 4 www-data www-data 4096 Jul 2 17:36 .github/ -rw-r--r-- 1 www-data www-data 310 Jul 2 17:36 .gitignore -rw-r--r-- 1 www-data www-data 117 Jul 2 17:36 CHANGELOG.md -rw-r--r-- 1 www-data www-data 8995 Jul 2 17:36 CONTRIBUTING.md -rw-r--r-- 1 root root 1068 Nov 25 2020 LICENSE -rw-r--r-- 1 www-data www-data 10174 Jul 2 17:36 LICENSE.txt -rw-r--r-- 1 www-data www-data 72 Jul 2 17:36 NOTICE drwxr-xr-x 6 root root 4096 Jul 6 13:47 Netbox-Device-Type-Library-Import/ drwxr-xr-x 2 root root 4096 Jul 6 13:26 Netbox-device-type-import/ -rw-r--r-- 1 root root 6854 Nov 25 2020 README.md drwxr-xr-x 2 www-data www-data 4096 Jul 2 20:24 pycache/ -rw-r--r-- 1 www-data www-data 2535 Jul 2 17:36 base_requirements.txt drwxr-xr-x 2 www-data www-data 4096 Jul 2 17:36 contrib/ drwxr-xr-x 13 www-data www-data 4096 Jul 2 17:36 docs/ -rw-r--r-- 1 www-data www-data 124 Jul 2 20:18 gunicorn_config.py -rw-r--r-- 1 root root 18 Jul 7 08:44 local_requirements.txt -rw-r--r-- 1 www-data www-data 4447 Jul 2 17:36 mkdocs.yml drwxr-xr-x 18 www-data www-data 4096 Jul 2 20:17 netbox/ drwxr-xr-x 6 root root 4096 Jul 6 08:42 netbox-scanner/ -rw-r--r-- 1 root root 656 Jul 5 08:58 netbox-scanner.conf -rw-r--r-- 1 root root 3037 Nov 25 2020 netbox-scanner.py -rw-r--r-- 1 www-data www-data 517 Jul 7 11:43 requirements.txt drwxr-xr-x 3 www-data www-data 4096 Jul 2 17:36 scripts/ -rwxr-xr-x 1 www-data www-data 3607 Jul 2 17:36 upgrade.sh* drwxr-xr-x 6 www-data www-data 4096 Jul 4 07:11 venv/

/opt/netbox/netbox/netbox/configuration.py Auszug

Determine how many objects to display per page within a list. (Default: 50) PAGINATE_COUNT = 50

Enable installed plugins. Add the name of each plugin to the list.

PLUGINS = [ 'netbox_topology_views', 'nextbox_ui_plugin', ]

Plugins configuration settings. These settings are used by various plugins that the user may have installed.

Each key in the dictionary is the name of an installed plugin and its value is a dictionary of settings.

PLUGINS_CONFIG = {

'my_plugin': {

'foo': 'bar',

'buzz': 'bazz'

}

}

When determining the primary IP address for a device, IPv6 is preferred over IPv4 by default. Set this to True to

prefer IPv4 instead.

PREFER_IPV4 = False

Why does not load the modul, i had follow the install manual, but it's not working.

Can help there?

So long...

mateuszle commented 3 years ago

also have this problem with newest version of netbox

TheLuckyGamer commented 3 years ago

So I ran into the same Problem and got the Answer:

Problem is that in the new version of the django-timezone-field package the did something with TimeZoneField.default_choices which throws our Error.

  1. You have to uninstall the package $ cd /opt/netbox $ source /venv/bin/activate $ pip uninstall TimeZoneField.default_choices

  2. And then install a specific version of django-timezone-field $pip install django-timezone-field==4.1.2

That should do the Trick, atleast it did for me.