Problems after upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kapital
Posts: 6
Joined: Wed Dec 14, 2016 1:20 am

Problems after upgrade

Post by kapital »

Hello.
We have problems after upgrade to latest version Nagios XI 5.3.4
When i trying add new server (linux or windows) Configuration Wizard works on step 1 & 2
But on step 3 we recieve empty screen (screenshot attached 3.jpg)
upgrade was installed manually
nagios server is VMWare template

httpd error log:

Code: Select all

[root@nagios~]# tail -f /var/log/httpd/error_log
[Mon Dec 26 10:32:52 2016] [error] [client ] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: http://nagios/nagiosxi/config/monitoringwizard.php
[Mon Dec 26 10:32:52 2016] [error] [client ] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: http://nagios/nagiosxi/config/monitoringwizard.php
[Mon Dec 26 10:37:03 2016] [error] [client] PHP Warning:  base64_decode() expects parameter 1 to be string, array given in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 3451, referer: http://nagios/nagiosxi/config/monitoringwizard.php?&=
[Mon Dec 26 10:38:59 2016] [error] [client ] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: http://nagios/nagiosxi/config/monitoringwizard.php
[Mon Dec 26 10:38:59 2016] [error] [client ] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: http://nagios/nagiosxi/config/monitoringwizard.php
[Mon Dec 26 10:41:42 2016] [error] [client ] PHP Warning:  base64_decode() expects parameter 1 to be string, array given in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 3451, referer: http://nagios/nagiosxi/config/monitoringwizard.php?&=
[Mon Dec 26 10:43:05 2016] [error] [client ] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 61, referer: http://nagios/nagiosxi/config/monitoringwizard.php
[Mon Dec 26 10:43:05 2016] [error] [client ] PHP Notice:  Undefined index: wizard in /usr/local/nagiosxi/html/includes/configwizards/windowsserver/windowsserver.inc.php on line 64, referer: http://nagios/nagiosxi/config/monitoringwizard.php
[Mon Dec 26 10:56:15 2016] [error] [client ] File does not exist: /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js, referer: http://nagios/
[Mon Dec 26 11:36:51 2016] [error] [client ] PHP Warning:  base64_decode() expects parameter 1 to be string, array given in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 3451, referer: http://nagios/nagiosxi/config/monitoringwizard.php?&=
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Problems after upgrade

Post by rkennedy »

Could you post the upgrade.log for us to look at? I just verified on my stock system, and the file does exist -

Code: Select all

[root@localhost libexec]# ls -l /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js
-rw-r----- 1 nagios nagios 95931 Nov 30 14:22 /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js
What information are you entering in the previous pages, anything with special characters of sort?

Code: Select all

[Mon Dec 26 10:41:42 2016] [error] [client ] PHP Warning:  base64_decode() expects parameter 1 to be string, array given in /usr/local/nagiosxi/html/includes/utilsl.inc.php on line 3451, referer: http://nagios/nagiosxi/config/monitoringwizard.php?&=
Former Nagios Employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Problems after upgrade

Post by dwhitfield »

rkennedy wrote: What information are you entering in the previous pages, anything with special characters of sort?
If you could post screenshots of those two pages, that might be helpful in determining if there is a different bug other than just special characters, but certainly special characters could be a potential cause.
kapital
Posts: 6
Joined: Wed Dec 14, 2016 1:20 am

Re: Problems after upgrade

Post by kapital »

Code: Select all

 ls -l /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js
ls: cannot access /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.11.2.min.js: No such file or directory
but seems there new version?

Code: Select all

ls -l /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.12.4.min.js
-rwxr-x--- 1 nagios nagios 97162 Dec 15 16:06 /usr/local/nagiosxi/html/includes/js/jquery/jquery-1.12.4.min.js
62 is a nagios IP address
no any special characters all just on standard page
You do not have the required permissions to view the files attached to this post.
kapital
Posts: 6
Joined: Wed Dec 14, 2016 1:20 am

Re: Problems after upgrade

Post by kapital »

also upgrade.log:
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Problems after upgrade

Post by dwhitfield »

If you go to Admin -> Manage Config Wizards (under System Extensions), what are the versions of your Linux and Windows wizards?

You should have Linux Server 1.5.3 and Windows Server 1.4.5. If either of those is not the case, you can click the blue "Check for Updates" at the top of the page.

Assuming you have the latest versions, what happens if you use https rather than http?
kapital
Posts: 6
Joined: Wed Dec 14, 2016 1:20 am

Re: Problems after upgrade

Post by kapital »

Good! Its worked when i used https... So we need always use https rather than http?
Also there was updates for:
Bulk Host Cloning and Import
Linux SNMP
NCPA
Postgres Server
SNMP
SNMP Walk
Network Switch / Router
Windows SNMP
Versions:
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Problems after upgrade

Post by rkennedy »

I would update the other wizards as well, can't hurt. Regarding the SSL - was your system setup to use HTTPS? If so, then that's the route you'll want to go. https://assets.nagios.com/downloads/nag ... s%20XI.pdf
Former Nagios Employee
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Problems after upgrade

Post by dwhitfield »

In addition to what @rkennedy said,
kapital wrote:So we need always use https rather than http?
That's certainly a option. Usually this is caused by the wizard being run under https. Just re-running the wizard under http should fix the issue.

I'll also mention that yesterday we released XI 5.4.0. There are a lot of important security updates. Instructions are at https://assets.nagios.com/downloads/nag ... nstall.pdf. If you look at the change log, you won't see a ton of entries, but you will see
- Upgraded Nagios Core to version 4.2.4 -JO
- Upgraded NDOUtils to version 2.1.2 -JO
- Upgraded NRDP to version 1.4.0 -JO
Those are where the bulk of the improvements are, and each of those have their own separate change logs, which I can link for you if you would like.
kapital
Posts: 6
Joined: Wed Dec 14, 2016 1:20 am

Re: Problems after upgrade

Post by kapital »

rkennedy wrote:I would update the other wizards as well, can't hurt. Regarding the SSL - was your system setup to use HTTPS? If so, then that's the route you'll want to go. https://assets.nagios.com/downloads/nag ... s%20XI.pdf
No special setup for HTTPS
dwhitfield wrote:In addition to what @rkennedy said,
kapital wrote:So we need always use https rather than http?
That's certainly a option. Usually this is caused by the wizard being run under https. Just re-running the wizard under http should fix the issue.

I'll also mention that yesterday we released XI 5.4.0. There are a lot of important security updates. Instructions are at https://assets.nagios.com/downloads/nag ... nstall.pdf. If you look at the change log, you won't see a ton of entries, but you will see
- Upgraded Nagios Core to version 4.2.4 -JO
- Upgraded NDOUtils to version 2.1.2 -JO
- Upgraded NRDP to version 1.4.0 -JO
Those are where the bulk of the improvements are, and each of those have their own separate change logs, which I can link for you if you would like.
Ok, i will comment after upgrade.
Locked