Closed theS1LV3R closed 2 weeks ago
@theS1LV3R can you please double-check, I run debug toolbar all day and just retried it, pip installed clean and cleared caches and it was fine.
I forgot to mention that I am running with Docker, if that affects anything. However I am using the standard netbox Docker image.
But I have now retried, and still failed to load CSS and JS. I'll attempt a fresh install with the toolbar and update further. Would be weird if it occurred in docker but not otherwise.
The debug toolbar loads successfully when running the dev server as per the installation instructions. Is this maybe a docker specific issue in this case?
Reason for attempting to load the debug toolbar in the docker container is to investigate some slowness we're experiencing in our installation at my company that doesn't seem to be caused by hardware limitations, so we were hoping the debug toolbar may point us in the right direction.
@theS1LV3R sounds like a docker issue as it loads successfully using the default install. I'd suggest opening up a discussion (https://github.com/netbox-community/netbox/discussions) as there are a lot in the community running under docker and they could help debug it. Closing this issue.
Deployment Type
Self-hosted
NetBox Version
v4.0.8
Python Version
3.11
Steps to Reproduce
INTERNAL_IPS
to the correct IPs andDEBUG
to true to allow the toolbar to be loadedExpected Behavior
Toolbar loads with correct styling and functionality
Observed Behavior
HTML loads correctly, and requests are made by the browser to load css and js as well, however netbox returns a 404 and fails the loading.
Requests are made to
/static/debug_toolbar/css/toolbar.css
,/static/debug_toolbar/css/print.css
and/static/debug_toolbar/js/toolbar.js
, all three returns the same 404.