Update appears to be stuck (it's not) BUT.....
Posted: Tue Oct 01, 2024 2:36 pm
UPDATE: since updating Nagios XI to version 2024R1.2.2, I can no longer get to the UI in a browser using a URL with the server name. I must use the IP address instead. With the server name, I get "Invalid Host Header" on a white page
In the UI for updating Nagios, There is a text box that display the upgrade log. The log did not get to the end where it typically says:
Nagios XI Upgrade Complete!
---------------------------
You can access the Nagios XI web interface by visiting:
http://##.##.##.##/nagiosxi/
Above the text box was the indicator showing that the update was in progress. It seemed stuck at
Installing 'wizards/windowswmi.zip'
When I closed and re-opened the Nagios browser window, I got a white screen with "Invalid Host Header" in the upper left corner. I restored from the backup that the update created and tried again with the same result. Then I tried again with a backup made earlier and let it run a bit longer. While checking things on the Linux server, I stumbled across the upgrade.log file in a tmp folder. I displayed the contents with 'cat' and it looked like the update had completed, though the UI still showed that it was in progress. I opened another instance of Nagios XI in a new tab and ran 'Check for updates' and the complete log was in the text box. The first two times, I must have interrupted the update prematurely.
Anyway, if you could figure out why the text box stopped being updated with the log file contents, that would be great. I should mentioned that this issue occurred on two servers (DR and dev).
Steve
In the UI for updating Nagios, There is a text box that display the upgrade log. The log did not get to the end where it typically says:
Nagios XI Upgrade Complete!
---------------------------
You can access the Nagios XI web interface by visiting:
http://##.##.##.##/nagiosxi/
Above the text box was the indicator showing that the update was in progress. It seemed stuck at
Installing 'wizards/windowswmi.zip'
When I closed and re-opened the Nagios browser window, I got a white screen with "Invalid Host Header" in the upper left corner. I restored from the backup that the update created and tried again with the same result. Then I tried again with a backup made earlier and let it run a bit longer. While checking things on the Linux server, I stumbled across the upgrade.log file in a tmp folder. I displayed the contents with 'cat' and it looked like the update had completed, though the UI still showed that it was in progress. I opened another instance of Nagios XI in a new tab and ran 'Check for updates' and the complete log was in the text box. The first two times, I must have interrupted the update prematurely.
Anyway, if you could figure out why the text box stopped being updated with the log file contents, that would be great. I should mentioned that this issue occurred on two servers (DR and dev).
Steve