Skip to content

Debug Toolbar not displaying #1383

@jscooksey

Description

@jscooksey

Current Behavior

Shows in debug but does not show toolbar
Seeing this in logs
GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 404

and the files do not exist in the container.
Have run build

Expected Behavior

To see the toolbar

Docker Compose Version

Docker Compose version v2.31.0-desktop.2

Docker Version

Client:
 Version:           27.4.0
 API version:       1.47
 Go version:        go1.22.10
 Git commit:        bde2b89
 Built:             Sat Dec  7 10:40:21 2024
 OS/Arch:           windows/amd64
 Context:           desktop-linux

Server: Docker Desktop 4.37.1 (178610)
 Engine:
  Version:          27.4.0
  API version:      1.47 (minimum version 1.24)
  Go version:       go1.22.10
  Git commit:       92a8393
  Built:            Sat Dec  7 10:38:57 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.21
  GitCommit:        472731909fa34bd7bc9c087e4c27943f9835f111
 runc:
  Version:          1.1.13
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

The git Revision

7ce715eabcf9ed24f550bdb1f29b988e3ea2896f

The git Status

On branch minder
Your branch is ahead of 'origin/minder' by 3 commits.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   env/netbox.env
        deleted:    netbox_export_at_378.sql
        modified:   plugin_requirements.txt

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        netbox_sql_2025-01-16.sql

no changes added to commit (use "git add" and/or "git commit -a")

Startup Command

docker compose up -d

NetBox Logs

2025-01-27 19:15:30 ↩️ Skip creating the superuser
2025-01-27 19:15:33 🧬 loaded config '/etc/netbox/config/configuration.py'
2025-01-27 19:15:33 🧬 loaded config '/etc/netbox/config/extra.py'
2025-01-27 19:15:33 🧬 loaded config '/etc/netbox/config/logging.py'
2025-01-27 19:15:33 🧬 loaded config '/etc/netbox/config/plugins.py'
2025-01-27 19:15:33 ✅ Initialisation is done.
2025-01-27 19:15:33 ⏳ Waiting for control socket to be created... (1/10)
2025-01-27 19:15:33 2025/01/27 08:15:33 [info] 107#107 discovery started
2025-01-27 19:15:33 2025/01/27 08:15:33 [notice] 107#107 module: python 3.12.3 "/usr/lib/unit/modules/python3.12.unit.so"
2025-01-27 19:15:33 2025/01/27 08:15:33 [info] 7#7 controller started
2025-01-27 19:15:33 2025/01/27 08:15:33 [notice] 7#7 process 107 exited with code 0
2025-01-27 19:15:33 2025/01/27 08:15:33 [info] 109#109 router started
2025-01-27 19:15:33 2025/01/27 08:15:33 [info] 109#109 OpenSSL 3.0.13 30 Jan 2024, 300000d0
2025-01-27 19:15:34 ⚙️ Applying configuration from /etc/unit/nginx-unit.json
2025-01-27 19:15:34 2025/01/27 08:15:34 [info] 112#112 "netbox" prototype started
2025-01-27 19:15:34 2025/01/27 08:15:34 [info] 113#113 "netbox" application started
2025-01-27 19:15:36 2025/01/27 08:15:36 [info] 151#151 "netbox" application started
2025-01-27 19:15:36 ✅ Unit configuration loaded successfully
2025-01-27 19:15:36 2025/01/27 08:15:36 [notice] 7#7 process 105 exited with code 0
2025-01-27 19:15:43 2025/01/27 08:15:43 [info] 181#181 "netbox" application started
2025-01-27 19:15:45 127.0.0.1 - - [27/Jan/2025:08:15:45 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:15:51 127.0.0.1 - - [27/Jan/2025:08:15:51 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:15:51 127.0.0.1 - - [27/Jan/2025:08:15:51 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:16:07 127.0.0.1 - - [27/Jan/2025:08:16:07 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:16:22 127.0.0.1 - - [27/Jan/2025:08:16:22 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:16:31 172.172.0.1 - - [27/Jan/2025:08:16:31 +0000] "GET / HTTP/1.1" 200 151458 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/setmode.js?v=4.2.2 HTTP/1.1" 200 1314 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/netbox-external.css?v=4.2.2 HTTP/1.1" 200 367126 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/netbox.css?v=4.2.2 HTTP/1.1" 200 554811 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/netbox.js?v=4.2.2 HTTP/1.1" 200 391058 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/django-htmx.js HTTP/1.1" 200 741 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/logo_netbox_bright_teal.svg HTTP/1.1" 200 5156 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 172.172.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /static/logo_netbox_dark_teal.svg HTTP/1.1" 200 5159 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:38 127.0.0.1 - - [27/Jan/2025:08:16:38 +0000] "GET /login/ HTTP/1.1" 200 16956 "-" "curl/8.5.0"
2025-01-27 19:16:42 172.172.0.1 - - [27/Jan/2025:08:16:42 +0000] "GET /static/netbox_touch-icon-180.png HTTP/1.1" 200 6832 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:15:33 2025/01/27 08:15:33 [warn] 7#7 Unit is running unprivileged, then it cannot use arbitrary user and group.
2025-01-27 19:15:33 2025/01/27 08:15:33 [info] 7#7 unit 1.34.1 started
2025-01-27 19:16:42 172.172.0.1 - - [27/Jan/2025:08:16:42 +0000] "GET /static/netbox.ico HTTP/1.1" 200 1481 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:43 172.172.0.1 - - [27/Jan/2025:08:16:43 +0000] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:43 172.172.0.1 - - [27/Jan/2025:08:16:43 +0000] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:45 172.172.0.1 - - [27/Jan/2025:08:16:45 +0000] "GET /static/Inter-Regular-373XMOLM.woff2?v=3.18 HTTP/1.1" 200 98844 "http://localhost:8000/static/netbox-external.css?v=4.2.2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:45 172.172.0.1 - - [27/Jan/2025:08:16:45 +0000] "GET /static/materialdesignicons-webfont-7OXPFKOV.woff2?v=7.4.47 HTTP/1.1" 200 403216 "http://localhost:8000/static/netbox-external.css?v=4.2.2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:45 172.172.0.1 - - [27/Jan/2025:08:16:45 +0000] "GET /static/Inter-Italic-RW2ZALTO.woff2?v=3.18 HTTP/1.1" 200 106852 "http://localhost:8000/static/netbox-external.css?v=4.2.2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:45 172.172.0.1 - - [27/Jan/2025:08:16:45 +0000] "GET /static/Inter-MediumItalic-P7H6BBYU.woff2?v=3.18 HTTP/1.1" 200 112168 "http://localhost:8000/static/netbox-external.css?v=4.2.2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:45 172.172.0.1 - - [27/Jan/2025:08:16:45 +0000] "GET /static/Inter-Medium-JV63DMR7.woff2?v=3.18 HTTP/1.1" 200 105616 "http://localhost:8000/static/netbox-external.css?v=4.2.2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:45 172.172.0.1 - - [27/Jan/2025:08:16:45 +0000] "GET /static/Inter-SemiBold-UMRILHOG.woff2?v=3.18 HTTP/1.1" 200 105980 "http://localhost:8000/static/netbox-external.css?v=4.2.2" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:47 172.172.0.1 - - [27/Jan/2025:08:16:47 +0000] "GET /core/changelog/?per_page=25&embedded=True HTTP/1.1" 200 21532 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:50 172.172.0.1 - - [27/Jan/2025:08:16:50 +0000] "GET / HTTP/1.1" 200 151458 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:50 172.172.0.1 - - [27/Jan/2025:08:16:50 +0000] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:50 172.172.0.1 - - [27/Jan/2025:08:16:50 +0000] "GET /static/debug_toolbar/js/toolbar.js HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:50 172.172.0.1 - - [27/Jan/2025:08:16:50 +0000] "GET /static/debug_toolbar/css/print.css HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:50 172.172.0.1 - - [27/Jan/2025:08:16:50 +0000] "GET /static/debug_toolbar/css/toolbar.css HTTP/1.1" 404 54 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:51 172.172.0.1 - - [27/Jan/2025:08:16:51 +0000] "GET /core/changelog/?per_page=25&embedded=True HTTP/1.1" 200 21532 "http://localhost:8000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0"
2025-01-27 19:16:53 127.0.0.1 - - [27/Jan/2025:08:16:53 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:17:09 127.0.0.1 - - [27/Jan/2025:08:17:09 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:17:24 127.0.0.1 - - [27/Jan/2025:08:17:24 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:17:40 127.0.0.1 - - [27/Jan/2025:08:17:40 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:17:55 127.0.0.1 - - [27/Jan/2025:08:17:55 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:18:11 127.0.0.1 - - [27/Jan/2025:08:18:11 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:18:30 127.0.0.1 - - [27/Jan/2025:08:18:30 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:18:45 127.0.0.1 - - [27/Jan/2025:08:18:45 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:18:47 🧬 loaded config '/etc/netbox/config/configuration.py'
2025-01-27 19:18:47 🧬 loaded config '/etc/netbox/config/extra.py'
2025-01-27 19:18:47 🧬 loaded config '/etc/netbox/config/logging.py'
2025-01-27 19:18:47 🧬 loaded config '/etc/netbox/config/plugins.py'
2025-01-27 19:18:49 2025/01/27 08:18:49 [notice] 112#112 app process 151 exited with code 0
2025-01-27 19:19:00 127.0.0.1 - - [27/Jan/2025:08:19:00 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:19:16 127.0.0.1 - - [27/Jan/2025:08:19:16 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:19:31 127.0.0.1 - - [27/Jan/2025:08:19:31 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:19:46 127.0.0.1 - - [27/Jan/2025:08:19:46 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"
2025-01-27 19:20:02 127.0.0.1 - - [27/Jan/2025:08:20:02 +0000] "GET /login/ HTTP/1.1" 200 16955 "-" "curl/8.5.0"

Content of docker-compose.override.yml

services:
  netbox:
    build:
      context: .
      dockerfile: Dockerfile-Plugins
    ports:
      - "8000:8080"
    networks:
      - dockernet
  netbox-worker:
    build:
      context: .
      dockerfile: Dockerfile-Plugins
    networks:
      - dockernet
  netbox-housekeeping:
    build:
      context: .
      dockerfile: Dockerfile-Plugins
    networks:
      - dockernet
  postgres:
    ports:
      - "5433:5432"
    networks:
      - dockernet
  redis:
    networks:
      - dockernet
  redis-cache:
    networks:
      - dockernet

networks:
  dockernet:
    external: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions