Hello,
I noticed that a new update is available (5R1.0) and when I attempt to upgrade from web interface I get an error that the update failed and try to manually update. I'm trying to find the logs for this failed update to see where I can start troubleshooting this issue. Where would it be located?
Thanks,
--Berto
Upgrade Issue through Web Interface
Re: Upgrade Issue through Web Interface
Well the update outputs the error and creates an upgrade.log. Can you copy in the lines here where the upgrade is failing?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Upgrade Issue through Web Interface
Hello,
Here is the output of the upgrade.log file.
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup..tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
--Berto
Here is the output of the upgrade.log file.
---- Starting Nagios XI Backup ----
No entry for terminal type "unknown";
using dumb terminal settings.
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up NRDP...
tar: Removing leading `/' from member names
Backing up MySQL databases...
Backing up PostgresQL databases...
Backing up logrotate config files...
Backing up Apache config files...
Compressing backup...
===============
BACKUP COMPLETE
===============
Backup stored in /store/backups/nagiosxi/autoupgrade_backup..tar.gz
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
--Berto
Re: Upgrade Issue through Web Interface
I have the same issue.
Re: Upgrade Issue through Web Interface
What was the output when you tried to do it manually? It seems like it's getting stuck downloading the tarball.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Upgrade Issue through Web Interface
Hello,
I think I might have discovered my issue. I think it's my corporate proxy that's causing me the issue, let me see if that's really it and I'll post back.
--Berto
I think I might have discovered my issue. I think it's my corporate proxy that's causing me the issue, let me see if that's really it and I'll post back.
--Berto
Re: Upgrade Issue through Web Interface
Alright great! Let us know if you get it working or not. I did just test the file to make sure that it was located in the correct spot and that XI is looking for the right file. Also note that it uses https to connect and download the tarball.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Upgrade Issue through Web Interface
Hello,
Well the problem was the proxy as I had to use the ---no-check-certificate for wget. After downloading the latest nagios xi tar file and changing the upgrade script for wget it started upgrading, but I have ran into another problem. I uploaded the upgrade.log file but this is the error I saw;
Installing new XI templates...
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=******' -O nagiosql.login--2015-10-01 22:13:23-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-10-01 22:13:23 ERROR 403: Forbidden.
NAGIOSQL LOGIN FAILED!
--Berto
Well the problem was the proxy as I had to use the ---no-check-certificate for wget. After downloading the latest nagios xi tar file and changing the upgrade script for wget it started upgrading, but I have ran into another problem. I uploaded the upgrade.log file but this is the error I saw;
Installing new XI templates...
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=******' -O nagiosql.login--2015-10-01 22:13:23-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-10-01 22:13:23 ERROR 403: Forbidden.
NAGIOSQL LOGIN FAILED!
--Berto
You do not have the required permissions to view the files attached to this post.
Re: Upgrade Issue through Web Interface
Did you configure your proxy according to our recommendations? Did you exclude localhost in the "/etc/wgetrc"?
https://support.nagios.com/wiki/index.p ... th_Proxies
https://support.nagios.com/wiki/index.p ... th_Proxies
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade Issue through Web Interface
Hello,
Yes I have exclude localhost in the /etc/wgetrc file. I've uploaded the wgetrc file so you can take a look.
--Berto
Yes I have exclude localhost in the /etc/wgetrc file. I've uploaded the wgetrc file so you can take a look.
--Berto
You do not have the required permissions to view the files attached to this post.