Upgrade 5.4.1 Bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Upgrade 5.4.1 Bug

Post by askewdread »

Hi guys,

when upgrading to 5.4.1 i encountered an issue where i started getting error 500's part way through the upgrade which then broke the upgrade (and nagios in general)
looking at the httpd logs i could see that PHPMailerAutoload.php was giving a permission denied error...

looking at that file its ownership was root instead of nagios like it should have been

changing the ownership to nagios by running chown nagios.nagios PHPMailerAutoload.php fixed the issue however then running the upgrade from the website still wouldnt work
i then had to run /usr/local/nagiosxi/scripts/upgrade_to_latest.sh which reran the upgrade and finished without issues

Just incase anyone else hits this same issue :)
Last edited by dwhitfield on Mon Jan 30, 2017 1:22 pm, edited 1 time in total.
Reason: marking with green check mark
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Upgrade 5.4.1 Bug

Post by dwhitfield »

Thanks so much for posting your fix. I'm going to go ahead and lock this up.

If you are not @askewdread and you come to this, please start a new thread and tell us that you already tried this fix.
Locked