Hi Markku,
thanks for the quick response, see output below
root@netbox:/opt/netbox# journalctl -eu netbox
Dec 16 12:02:30 netbox gunicorn[27710]: django.setup(set_prefix=False)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/django/__init__.py", line 19, in setup
Dec 16 12:02:30 netbox gunicorn[27710]: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 76, in __getattr__
Dec 16 12:02:30 netbox gunicorn[27710]: self._setup(name)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 63, in _setup
Dec 16 12:02:30 netbox gunicorn[27710]: self._wrapped = Settings(settings_module)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/django/conf/__init__.py", line 142, in __init__
Dec 16 12:02:30 netbox gunicorn[27710]: mod = importlib.import_module(self.SETTINGS_MODULE)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
Dec 16 12:02:30 netbox gunicorn[27710]: return _bootstrap._gcd_import(name[level:], package, level)
Dec 16 12:02:30 netbox gunicorn[27710]: File "<frozen importlib._bootstrap>", line 994, in _gcd_import
Dec 16 12:02:30 netbox gunicorn[27710]: File "<frozen importlib._bootstrap>", line 971, in _find_and_load
Dec 16 12:02:30 netbox gunicorn[27710]: File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
Dec 16 12:02:30 netbox gunicorn[27710]: File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
Dec 16 12:02:30 netbox gunicorn[27710]: File "<frozen importlib._bootstrap_external>", line 678, in exec_module
Dec 16 12:02:30 netbox gunicorn[27710]: File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/netbox/netbox/settings.py", line 411, in <module>
Dec 16 12:02:30 netbox gunicorn[27710]: "Required parameter AUTH_LDAP_SERVER_URI is missing from ldap_config.py."
Dec 16 12:02:30 netbox gunicorn[27710]: django.core.exceptions.ImproperlyConfigured: Required parameter AUTH_LDAP_SERVER_URI is missing from ldap_config.py.
Dec 16 12:02:30 netbox gunicorn[27710]: [2020-12-16 12:02:30 +0000] [27733] [INFO] Worker exiting (pid: 27733)
Dec 16 12:02:30 netbox gunicorn[27710]: Traceback (most recent call last):
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 209, in run
Dec 16 12:02:30 netbox gunicorn[27710]: self.sleep()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 357, in sleep
Dec 16 12:02:30 netbox gunicorn[27710]: ready = select.select([self.PIPE[0]], [], [], 1.0)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
Dec 16 12:02:30 netbox gunicorn[27710]: self.reap_workers()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
Dec 16 12:02:30 netbox gunicorn[27710]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Dec 16 12:02:30 netbox gunicorn[27710]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Dec 16 12:02:30 netbox gunicorn[27710]: During handling of the above exception, another exception occurred:
Dec 16 12:02:30 netbox gunicorn[27710]: Traceback (most recent call last):
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/bin/gunicorn", line 11, in <module>
Dec 16 12:02:30 netbox gunicorn[27710]: sys.exit(run())
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
Dec 16 12:02:30 netbox gunicorn[27710]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/app/base.py", line 228, in run
Dec 16 12:02:30 netbox gunicorn[27710]: super().run()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/app/base.py", line 72, in run
Dec 16 12:02:30 netbox gunicorn[27710]: Arbiter(self).run()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 229, in run
Dec 16 12:02:30 netbox gunicorn[27710]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 342, in halt
Dec 16 12:02:30 netbox gunicorn[27710]: self.stop()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 393, in stop
Dec 16 12:02:30 netbox gunicorn[27710]: time.sleep(0.1)
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
Dec 16 12:02:30 netbox gunicorn[27710]: self.reap_workers()
Dec 16 12:02:30 netbox gunicorn[27710]: File "/opt/netbox/venv/lib/python3.6/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
Dec 16 12:02:30 netbox gunicorn[27710]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Dec 16 12:02:30 netbox gunicorn[27710]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Dec 16 12:02:30 netbox systemd[1]: netbox.service: Supervising process 27740 which is not our child. We'll most likely not notice when it exits.
root@netbox:/opt/netbox#
some things stand out in this to me?
"gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>"
"Required parameter AUTH_LDAP_SERVER_URI is missing from ldap_config.py."
Thanks