Update Stuck

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vornado
Posts: 85
Joined: Wed Jun 13, 2018 9:17 am

Update Stuck

Post by vornado »

I'm running an update using the web UI. It seems to be stuck on

Code: Select all

Update in progress. Please wait. Update may take a few minutes.
The box that usually shows Linux commands being executed is empty. Should I restart it? The update worked fine on our development system.

Thanks.

Steve
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update Stuck

Post by ssax »

Please follow this guide here and see if it resolves it:

https://support.nagios.com/kb/article/n ... e-851.html

If you continue to have issues, try the Manual Download section from this guide:

https://assets.nagios.com/downloads/nag ... ctions.pdf

Let us know the results.

Thank you!
vornado
Posts: 85
Joined: Wed Jun 13, 2018 9:17 am

Re: Update Stuck

Post by vornado »

Thanks -- I had to do the update manually. Not sure what changed since the last successful UI update on 8/21/2019. I prefer the UI since it shows the history but at least there's a workaround.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Update Stuck

Post by ssax »

Ok, sounds good.

If you would like to figure it out next time to see what's causing the issue, do this:

Reset it again following the KB article:

https://support.nagios.com/kb/article/n ... -851.html​

Run this command as root (and leave it running):

Code: Select all

tail -Fn0 /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosxi/var/cmdsubsys.log /var/log/messages /usr/local/nagiosxi/var/eventman.log
Then try to upgrade again, once it fails, please send any output from the screen AND from the still running tail command above.

If you don't care and just want to get it upgraded, follow the "Manual Download" instructions from the guide below after SSHing into your system like you did before:

https://assets.nagios.com/downloads/nag ... tions.pdf​

If it fails in through the manual method, please send us the upgrade.log file that is generated during the upgrade from the directory you ran the ./upgrade command from so that we can troubleshoot further.
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: Update Stuck

Post by elinagios »

I think the new release update is a bit bugged. I have 2 environments with same problem. When i tailed the logs after starting upgrade from web UI i get same errors:
==> /usr/local/nagiosxi/var/cmdsubsys.log <==
PROCESSING COMMAND ID 172...
PROCESS COMMAND: CMD=1120, DATA=a:1:{i:0;s:61:"https://assets.nagios.com/downloads/nag ... est.tar.gz";}

==> /usr/local/nagiosxi/var/eventman.log <==
.
PROCESSED 0 EVENTS
.
==> /usr/local/nagiosxi/var/cmdsubsys.log <==
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 63031741 bytes) in /usr/local/nagiosxi/html/includes/utilsx.inc.php on line 179

These are Centos 7 environments.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Update Stuck

Post by benjaminsmith »

Hello @elinagios,
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 63031741 bytes) in /usr/local/nagiosxi/html/includes/utilsx.inc.php on line 179
The script is calling a curl command and running out of memory. Please follow the guide below to increase the PHP settings for the server and let us know if you an improvement.

https://support.nagios.com/kb/article/nagios-xi-optimizing-the-php-settings-file-611.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
elinagios
Posts: 146
Joined: Thu Feb 16, 2017 3:45 am

Re: Update Stuck

Post by elinagios »

For me increasing the limit helped.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update Stuck

Post by scottwilkerson »

elinagios wrote:For me increasing the limit helped.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked