Page 1 of 1
Update Stuck
Posted: Fri Sep 27, 2019 1:33 pm
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
Re: Update Stuck
Posted: Fri Sep 27, 2019 2:01 pm
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!
Re: Update Stuck
Posted: Fri Sep 27, 2019 2:26 pm
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.
Re: Update Stuck
Posted: Fri Sep 27, 2019 3:00 pm
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.
Re: Update Stuck
Posted: Wed Oct 02, 2019 2:53 am
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.
Re: Update Stuck
Posted: Wed Oct 02, 2019 11:12 am
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
Re: Update Stuck
Posted: Thu Oct 03, 2019 12:53 am
by elinagios
For me increasing the limit helped.
Re: Update Stuck
Posted: Thu Oct 03, 2019 7:53 am
by scottwilkerson
elinagios wrote:For me increasing the limit helped.
Great!
Locking thread