Comments (5)
I can't reproduce the problem with the image from Docker Hub. Are you using the correct FROM
tag in your Dockerfile-Plugins
?
from netbox-docker.
Here's the content of Dockerfile-Plugins
FROM netboxcommunity/netbox:latest
COPY ./plugin_requirements.txt /opt/netbox/
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /opt/netbox/plugin_requirements.txt
# These lines are only required if your plugin has its own static files.
COPY configuration/configuration.py /etc/netbox/config/configuration.py
COPY configuration/plugins.py /etc/netbox/config/plugins.py
RUN SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
from netbox-docker.
Hi @tobiasge, FYI, I've cleaned down all my images and upgraded Docker Desktop to the latest version 4.30 (on Window 11 Pro) and pulled and rebuilt netbox.
If I use https://localhost I get the issue as described.
I have found that if I connect directly using http://localhost:8000 I don't get the issue and dark mode stays on.
I'm using the recommended setup for Caddy from the wiki TLS
Here's the section from the Caddy file for localhost.
0.0.0.0, ::0, localhost {
reverse_proxy netbox:8080
encode gzip zstd
tls /etc/ssl/private/localhost.crt /etc/ssl/private/localhost.key
log {
level error
}
}
There were no issues previoulsy with dark mode using TLS until I upgraded to Netbox 4.0.0 (and Netbox-docker 2.9.0) this morning.
from netbox-docker.
Might also be related to netbox-community/netbox#16003
from netbox-docker.
Hi @tobiasge, thanks for pointing that out, I'm not getting the issue this morning and I haven't made any changes. I can only assume that the setmode.js has expired from the cache overnight.
I think that this can be closed, as the fix will be in Fixes #16003: Enable cache busting on upgrade for setmode.js
Below is a screen shot from the debugger for reference. The above fix will add a version number like netbox.js
from netbox-docker.
Related Issues (20)
- HTTPS Error when I try to install some plugins.
- Issues with REMOTE_AUTH_BACKEND variable and social_core for SSO HOT 1
- Issue after upgrading to latest version HOT 5
- Support for Podman
- Change default port to avoid conflict with Portainer, other services HOT 3
- Database is not reindexed on upgrade from 4.0.3 to 4.0.5
- Install Package Nginx Signature GPG error for version 4.0.3
- Apt update in container fails because of invalid signature HOT 1
- Ubuntu 23.10 end of support HOT 2
- Can't use LDAP auth with docker-compose.override.yml HOT 1
- Add In ui_editable and ui_visible To Custom_Fields.yml HOT 1
- Scheduled script not scheduled anymore after re-creating the container. HOT 2
- ARM64 build in release is failing HOT 1
- Docker image is not available for version 3.0 HOT 1
- Release 3.0.0 Issue - Reading RDB base file on AOF loading...Can't handle RDB format version 12 HOT 2
- Release 3.0.0 pulls netbox 4.0.11 and not 4.1.0 as advertised HOT 3
- Database migration fails when upgrading to version 3.0.1 HOT 2
- Upgrade fails from 2.9.1 (Netbox 4.0.11) to 3.0.1 (Netbox 4.1.0) HOT 4
- Error upgrading from 4.0.11 (2.9.1) to 4.1.0 (3.0.1) HOT 2
- Fails to start on download latest version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-docker.