Nagios XI 5.6.1 Dark mode not working... This is purely cosmetic.
OK so I run two instances of Nagios XI.
The first runs: XI on Core 4.4.3 with a MySQL backend which is working and displaying Dark Mode fine...
The second runs: XI on Core 4.2.4 with a PostgreSQL backend running Mod Gearman, Dark Mode, or in fact any theme will not work, The only theme that will work in the Modern default theme.
Any ideas?
Nagios XI 5.6.1 Themes not working
-
danniiffxi
- Posts: 121
- Joined: Tue Jan 30, 2018 3:29 am
- Location: UK
Re: Nagios XI 5.6.1 Themes not working
Can you elaborate on this? What exactly is not working? The theme doesn't change, it is loading only on some pages, etc.? Some screenshots would be helpful.Nagios XI 5.6.1 Dark mode not working...
FYI, we were not able to reproduce the issue in-house. Themes worked fine in 5.6.1 with Nagios Core 4.2.4, and PostgreSQL. Is this a heavily customized system? Any custom (non-default) paths? Do you see any errors in the apache error log, when you load the Dark theme?
Code: Select all
tail -100 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
-
danniiffxi
- Posts: 121
- Joined: Tue Jan 30, 2018 3:29 am
- Location: UK
Re: Nagios XI 5.6.1 Themes not working
Hi lmiltchev
I noticed this morning when logging out of the system that the main login screen in dark

But when logging into the system all screen are displaying as the standard modern theme.

As for the log, I switched themes at 08:55am and the last log I had was from 08:53am, output below.
[root@nagiosprod ~]# tail -100 /var/log/httpd/error_log
[Wed May 08 08:53:02 2019] [error] [client 8.8.8.8] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
As for modifications, none, other than this being an older system we have not modified anything
I noticed this morning when logging out of the system that the main login screen in dark

But when logging into the system all screen are displaying as the standard modern theme.

As for the log, I switched themes at 08:55am and the last log I had was from 08:53am, output below.
[root@nagiosprod ~]# tail -100 /var/log/httpd/error_log
[Wed May 08 08:53:02 2019] [error] [client 8.8.8.8] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491
As for modifications, none, other than this being an older system we have not modified anything
Re: Nagios XI 5.6.1 Themes not working
OK, I suspect that you have your "global" theme set to Modern Dark, but your user's theme is NOT. This is why, when you try to log in, you see a dark background, but after you log in, the background changes.
Try the following - log in as your user, click on the username in the right-hand corner, select Modern Dark from the User Interface Theme drop-down menu (under the Account Preferences section), and click on Update Settings.
Did this help?
Try the following - log in as your user, click on the username in the right-hand corner, select Modern Dark from the User Interface Theme drop-down menu (under the Account Preferences section), and click on Update Settings.
Did this help?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
danniiffxi
- Posts: 121
- Joined: Tue Jan 30, 2018 3:29 am
- Location: UK
Re: Nagios XI 5.6.1 Themes not working
Perfect. thank you very much
All working
Re: Nagios XI 5.6.1 Themes not working
I am glad I could help! 
Be sure to check out our Knowledgebase for helpful articles and solutions!