Closed julioasoares closed 1 year ago
Hello, Julio!
If you open browser's console and toggle day/night mode -- do you see any errors? Also, if you try another browser (or incognito tab), with all extensions disabled -- does it change anything? Or it just works fine in the same browser but for other servers?
It works just fine for the other sites on the same browser. It behaves the same on edge or on Chrome with incognito window
Excellent! Could you now open browser console and see what errors do you get on switching dark/light modes?
four errors:
Is this instance in Cloudflare or behind other proxy? If so, could you tell more about DNS and proxy configuration for the instance that's having an issue?
DNS is just a direct A record on marcaria.com. No cloudfare. There is only nginx in front of it as reverse proxy to http://127.0.0.1:10000 The same is true for the other 'normal' webmins. Except!! these have apache reverse proxy... could it be something here?
server {
listen 443 ssl;
server_name panel.demimot.com;
ssl_certificate /home/user-data/ssl/panel.demimot.com.cert.pem;
ssl_certificate_key /home/user-data/ssl/panel.demimot.com.privkey.pem;
location / {
proxy_pass http://127.0.0.1:10000/;
}
location /.well-known/acme-challenge/ {
alias /home/user-data/ssl/lets_encrypt/webroot/.well-known/acme-challenge/;
}
}
Please follow this guide to setup Apache gateway for Webmin:
https://webmin.com/faq/#can-i-run-webmin-or-usermin-behind-reverse-proxy
I adjusted certificate paths, server name, etc. to suit my setup but all I get is a "502 bad gateway" error.
This is not the theme issue!
I adjusted certificate paths, server name, etc. to suit my setup but all I get is a "502 bad gateway" error.
This error indicates that Apache proxy did not receive a valid response from the Webmin backend server.
I have this one VPS instance where night mode would not ‘survive’ once we navigate or refresh pages. Additionaly the graphics on System Information show blurred and without colors in dark mode.
Toggling night/day mode works inconsistently (don’t always toggles) both with shortcut or icons and navigating to any tab or page will turn night mode off but leave the blurred graphics behind. If we refresh the page the graphics would come back normal (in day mode only).
I have 3 other VPS instances working fine. I know it probably means nothing but the only difference is that the other VPSs are all Intel Xeon VMs.
This is how it looks when "normal"
Then if toggling to night mode...
Toggling back...
If I refresh the page anytime it goes day mode with the normal (sharp and colored) graphics.
Thenak you