Page 1 of 1

Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.4.12

Posted: Mon Feb 19, 2018 6:25 am
by ivan.lopezm
Hi.

We have an issue with the last Nagios update (5.4.12):

When i update the applications to the versions 5.4.11 or 5.4.12, all dashboards disappear from all users and only show the default welcome dashboard.

(see the attachments)

We need to restore a previous backup of Nagios XI to solve this issue.

We are currently unable to update the Nagios Version.

Data from Nagios:

System:
Nagios XI Version : 5.4.10
ip-192-168-255-11.eu-west-1.compute.internal 3.10.0-693.11.6.el7.x86_64 x86_64
CentOS Linux release 7.4.1708 (Core)
Gnome is not installed
Apache Information
PHP Version: 5.4.16
Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Server Name: dms.ict.nagios.elecnor-deimos.com
Server Address: 192.168.255.11
Server Port: 443
Date/Time
PHP Timezone: UTC
PHP Time: Mon, 19 Feb 2018 11:08:53 +0000
System Time: Mon, 19 Feb 2018 11:08:53 +0000
Nagios XI Data
License ends in: NOOONM

nagios (pid 21819) is running...
NPCD running (pid 1229).
ndo2db (pid 24201) is running...
CPU Load 15: 0.26
Total Hosts: 23
Total Services: 361
Function 'get_base_uri' returns: https://dms.ict.nagios.elecnor-deimos.com/nagiosxi/
Function 'get_base_url' returns: https://dms.ict.nagios.elecnor-deimos.com/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: https://dms.ict.nagios.elecnor-deimos.c ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: https://localhost/nagiosxi/backend/


Thanks.

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Mon Feb 19, 2018 4:23 pm
by npolovenko
Hello, @ivan.lopezm.

How did you upgrade the XI? Did you use a web interface or a console? Was it an upgrade on the same System, or did you use the backup-restore script?

Please run this command and show us the output:

Code: Select all

echo "select * from xi_usermeta where keyname = 'dashboards';" | mysql -uroot -pnagiosxi nagiosxi

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Tue Feb 20, 2018 3:00 am
by ivan.lopezm
Hi @npolovenko

I answers your questions:

How did you upgrade the XI? Did you use a web interface or a console?: Using the console and the upgrade manual (https://assets.nagios.com/downloads/nag ... nstall.pdf)

Was it an upgrade on the same System, or did you use the backup-restore script?: On the same system.

I upload the update log and the result of the query.

Thanks.

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Tue Feb 20, 2018 12:06 pm
by tgriep
Can you go to the Admin > System Settings menu, click on the User Defaults tab and post which Language is setup on the Nagios XI server?

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Tue Feb 20, 2018 12:22 pm
by ivan.lopezm
Hi.

Yes,the language is English.

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Tue Feb 20, 2018 3:19 pm
by lmiltchev
It seems like this may be a language setting issue (bug). We are currently looking into it and we will try and update the post with a solution.

Can you find a notice, similar to the one below in your apache logs?

Code: Select all

PHP Notice: unserialize(): Error at offset 1055 of 1351 bytes in

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Wed Feb 21, 2018 1:52 am
by ivan.lopezm
Hi.

Yes, I found a lot of errors.

Code: Select all

[Wed Feb 21 07:48:04.352803 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:04.352857 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:04.364833 2018] [:error] [pid 1380] [client 192.168.56.1:12309] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:04.364869 2018] [:error] [pid 1380] [client 192.168.56.1:12309] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:09.185828 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:09.185934 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:14.162378 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:14.162405 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi//includes/page-home-main.php?&=
[Wed Feb 21 07:48:15.653855 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/index.php?
[Wed Feb 21 07:48:15.653885 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/index.php?
[Wed Feb 21 07:48:15.954031 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:15.954060 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.021344 2018] [:error] [pid 2430] [client 192.168.56.1:12318] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.021437 2018] [:error] [pid 2430] [client 192.168.56.1:12318] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.161615 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.161653 2018] [:error] [pid 1382] [client 192.168.56.1:12307] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.193788 2018] [:error] [pid 2430] [client 192.168.56.1:12318] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.193822 2018] [:error] [pid 2430] [client 192.168.56.1:12318] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/
[Wed Feb 21 07:48:16.382123 2018] [:error] [pid 2431] [client 192.168.56.1:12319] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.382157 2018] [:error] [pid 2431] [client 192.168.56.1:12319] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.548185 2018] [:error] [pid 2431] [client 192.168.56.1:12319] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.548215 2018] [:error] [pid 2431] [client 192.168.56.1:12319] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.611860 2018] [:error] [pid 2297] [client 192.168.56.1:12320] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.611896 2018] [:error] [pid 2297] [client 192.168.56.1:12320] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.622751 2018] [:error] [pid 1387] [client 192.168.56.1:12321] PHP Notice:  unserialize(): Error at offset 73 of 3052 bytes in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 468, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=
[Wed Feb 21 07:48:16.622802 2018] [:error] [pid 1387] [client 192.168.56.1:12321] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/scheduledreporting/scheduledreporting.inc.php on line 490, referer: http://192.168.56.101/nagiosxi/dashboards/dashboard.php?&=

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Wed Feb 21, 2018 2:28 pm
by lmiltchev
We confirmed that this is a bug and opened an internal bug report on the issue (TASK ID 13051). Our developers will be looking into it as soon as they can. Thank you!

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Mon Feb 26, 2018 6:24 am
by ivan.lopezm
Hi.

What is the status of this issue?.

Thanks

Re: Dashboards disappeared - Up. from 5.4.10 to 5.4.11 or 5.

Posted: Mon Feb 26, 2018 12:13 pm
by kyang
Hello ivan.lopezm,

This bug is still currently being handled and looked at by our Developers. There is no exact ETA on when this will be fixed.

Thanks!