Netbox install fails #2310

Closed
opened 2026-02-05 04:27:25 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @phellarv on GitHub (Jan 12, 2026).

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

📜 What is the name of the script you are using?

Netbox

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-17-pve)

📝 Provide a clear and concise description of the issue.

Tried to install Netbox as instructed, with some advanced options, and it failed.

🔄 Steps to reproduce the issue.

  1. ssh into the server
  2. su to root
  3. run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.sh)"

Paste the full error output (if available).

Installing collected packages: text-unidecode, sgmllib3k, pytz, paginate, watchdog, urllib3, uritemplate, tzdata, typing-extensions, tablib, svgwrite, sqlparse, sorl-thumbnail, six, rpds-py, redis, PyYAML, PyJWT, pygments, pycparser, psycopg-c, psycopg, prometheus-client, platformdirs, Pillow, pathspec, packaging, oauthlib, nh3, netaddr, mkdocs-material-extensions, mergedeep, mdurl, MarkupSafe, Markdown, inflection, idna, graphql-core, feedparser, defusedxml, colorama, click, charset_normalizer, certifi, backrefs, babel, attrs, asgiref, requests, referencing, pyyaml-env-tag, python3-openid, python-dateutil, pymdown-extensions, psycopg-pool, promise, mkdocs-get-deps, markdown-it-py, Jinja2, gunicorn, griffe, graphql-relay, django-pglocks, Django, cross-web, cffi, strawberry-graphql, rich, requests-oauthlib, jsonschema-specifications, graphene, ghp-import, drf-spectacular-sidecar, djangorestframework, django-timezone-field, django-taggit, django-tables2, django-storages, django-redis, django-prometheus, django-js-asset, django-htmx, django-filter, django-debug-toolbar, django-cors-headers, cryptography, croniter, strawberry-graphql-django, rq, mkdocs, jsonschema, graphene-django, django-rich, django-mptt, social-auth-core, mkdocs-material, mkdocs-autorefs, drf-spectacular, django-rq, django-graphiql-debug-toolbar, social-auth-app-django, mkdocstrings, mkdocstrings-python
Successfully installed Django-5.2.9 Jinja2-3.1.6 Markdown-3.10 MarkupSafe-3.0.3 Pillow-12.1.0 PyJWT-2.10.1 PyYAML-6.0.3 asgiref-3.11.0 attrs-25.4.0 babel-2.17.0 backrefs-6.1 certifi-2026.1.4 cffi-2.0.0 charset_normalizer-3.4.4 click-8.3.1 colorama-0.4.6 croniter-6.0.0 cross-web-0.4.1 cryptography-46.0.3 defusedxml-0.7.1 django-cors-headers-4.9.0 django-debug-toolbar-6.1.0 django-filter-25.2 django-graphiql-debug-toolbar-0.2.0 django-htmx-1.27.0 django-js-asset-3.1.2 django-mptt-0.17.0 django-pglocks-1.0.4 django-prometheus-2.4.1 django-redis-6.0.0 django-rich-2.2.0 django-rq-3.2.2 django-storages-1.14.6 django-tables2-2.8.0 django-taggit-6.1.0 django-timezone-field-7.2.1 djangorestframework-3.16.1 drf-spectacular-0.29.0 drf-spectacular-sidecar-2026.1.1 feedparser-6.0.12 ghp-import-2.1.0 graphene-3.4.3 graphene-django-3.2.3 graphql-core-3.2.7 graphql-relay-3.2.0 griffe-1.15.0 gunicorn-23.0.0 idna-3.11 inflection-0.5.1 jsonschema-4.25.1 jsonschema-specifications-2025.9.1 markdown-it-py-4.0.0 mdurl-0.1.2 mergedeep-1.3.4 mkdocs-1.6.1 mkdocs-autorefs-1.4.3 mkdocs-get-deps-0.2.0 mkdocs-material-9.7.1 mkdocs-material-extensions-1.3.1 mkdocstrings-1.0.0 mkdocstrings-python-2.0.1 netaddr-1.3.0 nh3-0.3.2 oauthlib-3.3.1 packaging-25.0 paginate-0.5.7 pathspec-1.0.3 platformdirs-4.5.1 prometheus-client-0.23.1 promise-2.3 psycopg-3.3.2 psycopg-c-3.3.2 psycopg-pool-3.3.0 pycparser-2.23 pygments-2.19.2 pymdown-extensions-10.20 python-dateutil-2.9.0.post0 python3-openid-3.2.0 pytz-2025.2 pyyaml-env-tag-1.1 redis-7.1.0 referencing-0.37.0 requests-2.32.5 requests-oauthlib-2.0.0 rich-14.2.0 rpds-py-0.30.0 rq-2.6.1 sgmllib3k-1.0.0 six-1.17.0 social-auth-app-django-5.7.0 social-auth-core-4.8.3 sorl-thumbnail-12.11.0 sqlparse-0.5.5 strawberry-graphql-0.288.2 strawberry-graphql-django-0.73.0 svgwrite-1.4.3 tablib-3.9.0 text-unidecode-1.3 typing-extensions-4.15.0 tzdata-2025.3 uritemplate-4.2.0 urllib3-2.6.3 watchdog-6.0.0
Skipping local dependencies (local_requirements.txt not found)
Applying database migrations (python3 netbox/manage.py migrate)...
/opt/netbox/netbox/netbox/settings.py:236: UserWarning: API_TOKEN_PEPPERS is not defined. v2 API tokens cannot be used.
  warnings.warn("API_TOKEN_PEPPERS is not defined. v2 API tokens cannot be used.")
Traceback (most recent call last):
  File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 29, in _decorator
    return method(self, *args, **kwargs)
  File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 99, in _get
    return self.client.get(key, default=default, version=version, client=client)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/client/default.py", line 300, in get
    raise ConnectionInterrupted(connection=client) from e
django_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error 111 connecting to localhost:6379. Connection refused.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/netbox/netbox/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
    ~~~~~~~~~~~~~~~^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 416, in run_from_argv
    self.execute(*args, **cmd_options)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 457, in execute
    self.check(**check_kwargs)
    ~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 492, in check
    all_issues = checks.run_checks(
        app_configs=app_configs,
    ...<2 lines>...
        databases=databases,
    )
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/checks/registry.py", line 89, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/checks/urls.py", line 16, in check_url_config
    return check_resolver(resolver)
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/checks/urls.py", line 26, in check_resolver
    return check_method()
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/resolvers.py", line 531, in check
    for pattern in self.url_patterns:
                   ^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/utils/functional.py", line 47, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ~~~~~~~~~^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/resolvers.py", line 718, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
                       ^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/utils/functional.py", line 47, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
                                         ~~~~~~~~~^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/resolvers.py", line 711, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/netbox/netbox/netbox/urls.py", line 26, in <module>
    path('circuits/', include('circuits.urls')),
                      ~~~~~~~^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/conf.py", line 39, in include
    urlconf_module = import_module(urlconf_module)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/netbox/netbox/circuits/urls.py", line 4, in <module>
    from . import views
  File "/opt/netbox/netbox/circuits/views.py", line 2, in <module>
    from dcim.views import PathTraceView
  File "/opt/netbox/netbox/dcim/views.py", line 16, in <module>
    from dcim.ui import panels
  File "/opt/netbox/netbox/dcim/ui/panels.py", line 6, in <module>
    class SitePanel(panels.ObjectAttributesPanel):
    ...<10 lines>...
        gps_coordinates = attrs.GPSCoordinatesAttr()
  File "/opt/netbox/netbox/dcim/ui/panels.py", line 15, in SitePanel
    physical_address = attrs.AddressAttr('physical_address', map_url=True)
  File "/opt/netbox/netbox/netbox/ui/attrs.py", line 264, in __init__
    self.map_url = get_config().MAPS_URL
                   ~~~~~~~~~~^^
  File "/opt/netbox/netbox/netbox/config/__init__.py", line 28, in get_config
    _thread_locals.config = Config()
                            ~~~~~~^^
  File "/opt/netbox/netbox/netbox/config/__init__.py", line 48, in __init__
    self._populate_from_cache()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/opt/netbox/netbox/netbox/config/__init__.py", line 71, in _populate_from_cache
    self.config = cache.get('config') or {}
                  ~~~~~~~~~^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 92, in get
    value = self._get(key, default, version, client)
  File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 36, in _decorator
    raise e.__cause__  # noqa: B904
    ^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/client/default.py", line 298, in get
    value = client.get(key)
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/commands/core.py", line 1923, in get
    return self.execute_command("GET", name, keys=[name])
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/client.py", line 657, in execute_command
    return self._execute_command(*args, **options)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/client.py", line 663, in _execute_command
    conn = self.connection or pool.get_connection()
                              ~~~~~~~~~~~~~~~~~~~^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/utils.py", line 196, in wrapper
    return func(*args, **kwargs)
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/connection.py", line 2603, in get_connection
    connection.connect()
    ~~~~~~~~~~~~~~~~~~^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/connection.py", line 846, in connect
    self.connect_check_health(check_health=True)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.13/site-packages/redis/connection.py", line 863, in connect_check_health
    raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
  ✖️   in line 76: exit code 76 (Unknown error): while executing command  /opt/netbox/upgrade.sh
  ✖️   Installation failed in container 113 (exit code: 76)

🖼️ Additional context (optional).

No response

Originally created by @phellarv on GitHub (Jan 12, 2026). ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Netbox ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/8.4.16/368e3c45c15b895c (running kernel: 6.8.12-17-pve) ### 📝 Provide a clear and concise description of the issue. Tried to install Netbox as instructed, with some advanced options, and it failed. ### 🔄 Steps to reproduce the issue. 1. ssh into the server 2. su to root 3. run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/netbox.sh)" ### ❌ Paste the full error output (if available). ``` Installing collected packages: text-unidecode, sgmllib3k, pytz, paginate, watchdog, urllib3, uritemplate, tzdata, typing-extensions, tablib, svgwrite, sqlparse, sorl-thumbnail, six, rpds-py, redis, PyYAML, PyJWT, pygments, pycparser, psycopg-c, psycopg, prometheus-client, platformdirs, Pillow, pathspec, packaging, oauthlib, nh3, netaddr, mkdocs-material-extensions, mergedeep, mdurl, MarkupSafe, Markdown, inflection, idna, graphql-core, feedparser, defusedxml, colorama, click, charset_normalizer, certifi, backrefs, babel, attrs, asgiref, requests, referencing, pyyaml-env-tag, python3-openid, python-dateutil, pymdown-extensions, psycopg-pool, promise, mkdocs-get-deps, markdown-it-py, Jinja2, gunicorn, griffe, graphql-relay, django-pglocks, Django, cross-web, cffi, strawberry-graphql, rich, requests-oauthlib, jsonschema-specifications, graphene, ghp-import, drf-spectacular-sidecar, djangorestframework, django-timezone-field, django-taggit, django-tables2, django-storages, django-redis, django-prometheus, django-js-asset, django-htmx, django-filter, django-debug-toolbar, django-cors-headers, cryptography, croniter, strawberry-graphql-django, rq, mkdocs, jsonschema, graphene-django, django-rich, django-mptt, social-auth-core, mkdocs-material, mkdocs-autorefs, drf-spectacular, django-rq, django-graphiql-debug-toolbar, social-auth-app-django, mkdocstrings, mkdocstrings-python Successfully installed Django-5.2.9 Jinja2-3.1.6 Markdown-3.10 MarkupSafe-3.0.3 Pillow-12.1.0 PyJWT-2.10.1 PyYAML-6.0.3 asgiref-3.11.0 attrs-25.4.0 babel-2.17.0 backrefs-6.1 certifi-2026.1.4 cffi-2.0.0 charset_normalizer-3.4.4 click-8.3.1 colorama-0.4.6 croniter-6.0.0 cross-web-0.4.1 cryptography-46.0.3 defusedxml-0.7.1 django-cors-headers-4.9.0 django-debug-toolbar-6.1.0 django-filter-25.2 django-graphiql-debug-toolbar-0.2.0 django-htmx-1.27.0 django-js-asset-3.1.2 django-mptt-0.17.0 django-pglocks-1.0.4 django-prometheus-2.4.1 django-redis-6.0.0 django-rich-2.2.0 django-rq-3.2.2 django-storages-1.14.6 django-tables2-2.8.0 django-taggit-6.1.0 django-timezone-field-7.2.1 djangorestframework-3.16.1 drf-spectacular-0.29.0 drf-spectacular-sidecar-2026.1.1 feedparser-6.0.12 ghp-import-2.1.0 graphene-3.4.3 graphene-django-3.2.3 graphql-core-3.2.7 graphql-relay-3.2.0 griffe-1.15.0 gunicorn-23.0.0 idna-3.11 inflection-0.5.1 jsonschema-4.25.1 jsonschema-specifications-2025.9.1 markdown-it-py-4.0.0 mdurl-0.1.2 mergedeep-1.3.4 mkdocs-1.6.1 mkdocs-autorefs-1.4.3 mkdocs-get-deps-0.2.0 mkdocs-material-9.7.1 mkdocs-material-extensions-1.3.1 mkdocstrings-1.0.0 mkdocstrings-python-2.0.1 netaddr-1.3.0 nh3-0.3.2 oauthlib-3.3.1 packaging-25.0 paginate-0.5.7 pathspec-1.0.3 platformdirs-4.5.1 prometheus-client-0.23.1 promise-2.3 psycopg-3.3.2 psycopg-c-3.3.2 psycopg-pool-3.3.0 pycparser-2.23 pygments-2.19.2 pymdown-extensions-10.20 python-dateutil-2.9.0.post0 python3-openid-3.2.0 pytz-2025.2 pyyaml-env-tag-1.1 redis-7.1.0 referencing-0.37.0 requests-2.32.5 requests-oauthlib-2.0.0 rich-14.2.0 rpds-py-0.30.0 rq-2.6.1 sgmllib3k-1.0.0 six-1.17.0 social-auth-app-django-5.7.0 social-auth-core-4.8.3 sorl-thumbnail-12.11.0 sqlparse-0.5.5 strawberry-graphql-0.288.2 strawberry-graphql-django-0.73.0 svgwrite-1.4.3 tablib-3.9.0 text-unidecode-1.3 typing-extensions-4.15.0 tzdata-2025.3 uritemplate-4.2.0 urllib3-2.6.3 watchdog-6.0.0 Skipping local dependencies (local_requirements.txt not found) Applying database migrations (python3 netbox/manage.py migrate)... /opt/netbox/netbox/netbox/settings.py:236: UserWarning: API_TOKEN_PEPPERS is not defined. v2 API tokens cannot be used. warnings.warn("API_TOKEN_PEPPERS is not defined. v2 API tokens cannot be used.") Traceback (most recent call last): File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 29, in _decorator return method(self, *args, **kwargs) File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 99, in _get return self.client.get(key, default=default, version=version, client=client) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/client/default.py", line 300, in get raise ConnectionInterrupted(connection=client) from e django_redis.exceptions.ConnectionInterrupted: Redis ConnectionError: Error 111 connecting to localhost:6379. Connection refused. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/netbox/netbox/manage.py", line 10, in <module> execute_from_command_line(sys.argv) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() ~~~~~~~~~~~~~~~^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 416, in run_from_argv self.execute(*args, **cmd_options) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 457, in execute self.check(**check_kwargs) ~~~~~~~~~~^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/management/base.py", line 492, in check all_issues = checks.run_checks( app_configs=app_configs, ...<2 lines>... databases=databases, ) File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/checks/registry.py", line 89, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/checks/urls.py", line 16, in check_url_config return check_resolver(resolver) File "/opt/netbox/venv/lib/python3.13/site-packages/django/core/checks/urls.py", line 26, in check_resolver return check_method() File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/resolvers.py", line 531, in check for pattern in self.url_patterns: ^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/utils/functional.py", line 47, in __get__ res = instance.__dict__[self.name] = self.func(instance) ~~~~~~~~~^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/resolvers.py", line 718, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) ^^^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/utils/functional.py", line 47, in __get__ res = instance.__dict__[self.name] = self.func(instance) ~~~~~~~~~^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/resolvers.py", line 711, in urlconf_module return import_module(self.urlconf_name) File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 1026, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/netbox/netbox/netbox/urls.py", line 26, in <module> path('circuits/', include('circuits.urls')), ~~~~~~~^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django/urls/conf.py", line 39, in include urlconf_module = import_module(urlconf_module) File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 1026, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/opt/netbox/netbox/circuits/urls.py", line 4, in <module> from . import views File "/opt/netbox/netbox/circuits/views.py", line 2, in <module> from dcim.views import PathTraceView File "/opt/netbox/netbox/dcim/views.py", line 16, in <module> from dcim.ui import panels File "/opt/netbox/netbox/dcim/ui/panels.py", line 6, in <module> class SitePanel(panels.ObjectAttributesPanel): ...<10 lines>... gps_coordinates = attrs.GPSCoordinatesAttr() File "/opt/netbox/netbox/dcim/ui/panels.py", line 15, in SitePanel physical_address = attrs.AddressAttr('physical_address', map_url=True) File "/opt/netbox/netbox/netbox/ui/attrs.py", line 264, in __init__ self.map_url = get_config().MAPS_URL ~~~~~~~~~~^^ File "/opt/netbox/netbox/netbox/config/__init__.py", line 28, in get_config _thread_locals.config = Config() ~~~~~~^^ File "/opt/netbox/netbox/netbox/config/__init__.py", line 48, in __init__ self._populate_from_cache() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/opt/netbox/netbox/netbox/config/__init__.py", line 71, in _populate_from_cache self.config = cache.get('config') or {} ~~~~~~~~~^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 92, in get value = self._get(key, default, version, client) File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/cache.py", line 36, in _decorator raise e.__cause__ # noqa: B904 ^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/django_redis/client/default.py", line 298, in get value = client.get(key) File "/opt/netbox/venv/lib/python3.13/site-packages/redis/commands/core.py", line 1923, in get return self.execute_command("GET", name, keys=[name]) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/redis/client.py", line 657, in execute_command return self._execute_command(*args, **options) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/redis/client.py", line 663, in _execute_command conn = self.connection or pool.get_connection() ~~~~~~~~~~~~~~~~~~~^^ File "/opt/netbox/venv/lib/python3.13/site-packages/redis/utils.py", line 196, in wrapper return func(*args, **kwargs) File "/opt/netbox/venv/lib/python3.13/site-packages/redis/connection.py", line 2603, in get_connection connection.connect() ~~~~~~~~~~~~~~~~~~^^ File "/opt/netbox/venv/lib/python3.13/site-packages/redis/connection.py", line 846, in connect self.connect_check_health(check_health=True) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/opt/netbox/venv/lib/python3.13/site-packages/redis/connection.py", line 863, in connect_check_health raise ConnectionError(self._error_message(e)) redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused. ✖️ in line 76: exit code 76 (Unknown error): while executing command /opt/netbox/upgrade.sh ✖️ Installation failed in container 113 (exit code: 76) ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the not a script issue label 2026-02-05 04:27:25 +03:00
Author
Owner

@MickLesk commented on GitHub (Jan 12, 2026):

redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.

=> Your Redis is disabled or inactive?

systemctl status redis-server
ss -lntp | grep 6379
OR redis-cli ping

@MickLesk commented on GitHub (Jan 12, 2026): redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused. => Your Redis is disabled or inactive? systemctl status redis-server ss -lntp | grep 6379 OR redis-cli ping
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2310