Weilbyte / PVEDiscordDark

A Discord-like dark theme for the Proxmox Web UI.
MIT License
2.54k stars 240 forks source link

Not working on 7.1.12? #128

Closed otto2704 closed 2 years ago

otto2704 commented 2 years ago

Hi! I am on PVE 7.1.12 now and it seems that the dark mode does not work anymore. Tried installing online and offline, the script runs without any errors, but web interface stays white :-( Maybe I did something wrong?

Weilbyte commented 2 years ago

Have you tried clearing browser cache?

otto2704 commented 2 years ago

yes, even tried a different browser....

Weilbyte commented 2 years ago

Odd. Please share contents of /usr/share/pve-manager/index.html.tpl

otto2704 commented 2 years ago

of course, file enclosed... index.html.tpl.zip

Weilbyte commented 2 years ago

Right, it seems to be missing some stuff that the installer should have appended to it. Are you running the script as root?

otto2704 commented 2 years ago

of course as root.... argh... idiotic me... did not see, that the script also needs an install parameter :-( without parameters the script just exits without any error... maybe you could add something like this for the future (just in case that there are other idiots like me): parse_cli() { if [ $# = 0 ]; then usage; exit 1; fi .... Or should the script do something if called without parameters?

Weilbyte commented 2 years ago

Oh 😅 Will look into adding an error message if no arguments are provided