Failed upgrade from 5.3.2 to 5.6.10
-
mdlsupport
- Posts: 7
- Joined: Mon Jan 27, 2020 11:24 am
Failed upgrade from 5.3.2 to 5.6.10
Hi, I am running into a problem where the nagios upgrade completed but I am still at the same version of 5.3.2. I am trying to update to the latest 5.6.10. I have rebooted the host and the system still thinks it is at 5.3.2. The attachment is the full output from the console.
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Failed upgrade from 5.3.2 to 5.6.10
Hello @mdlsupport,
Did you perform the upgrade from the command line or from the web interface? The output of the log looks ok.
Nagios XI - Reset Upgrade Status In Web Interface
Otherwise, please send over the system profile. Thanks.
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
Did you perform the upgrade from the command line or from the web interface? The output of the log looks ok.
If the web interface is hanging on "Upgrade in Progress" message, then I would try to clear that out and refresh the page.Nagios XI Upgrade Complete!
--------------------------
You can access the Nagios XI web interface by visiting:
Nagios XI - Reset Upgrade Status In Web Interface
Otherwise, please send over the system profile. Thanks.
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdlsupport
- Posts: 7
- Joined: Mon Jan 27, 2020 11:24 am
Re: Failed upgrade from 5.3.2 to 5.6.10
Thank you for the help! I have sent the profile via a private message.
Moderator's Note: The profile has been shared with the support team.
Moderator's Note: The profile has been shared with the support team.
Re: Failed upgrade from 5.3.2 to 5.6.10
Did the upgrade log that was provided come from content that was shown on the screen or was an actual update.log created in /tmp/nagiosxi ? I ask because the contents look old - a timestamp in the log shows 2016-11-06 and that it was upgraded from 5.1.8. Maybe this was a log from the 5.1.8 to 5.3.2 upgrade?
I think it's worth another shot to upgrade the machine:
This should create a upgrade.log in /tmp/nagiosxi/. Please provide this if there are any problems.
I think it's worth another shot to upgrade the machine:
Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgradeAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Failed upgrade from 5.3.2 to 5.6.10
@mdlsupport Also, You maybe running into disk space issues as well. Please post the output to the following command:
Code: Select all
df -h /
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdlsupport
- Posts: 7
- Joined: Mon Jan 27, 2020 11:24 am
Re: Failed upgrade from 5.3.2 to 5.6.10
The logs provided were from the UI only. I have kicked off the upgrade and it is taking much longer than before. I will provide an update when it completes.
-
mdlsupport
- Posts: 7
- Joined: Mon Jan 27, 2020 11:24 am
Re: Failed upgrade from 5.3.2 to 5.6.10
It upgraded to 5.5 and asked for user input to continue. It upgrade to 5.6 and ask for user input to continue. However, it failed in the 5.6 upgrade, with the following last lines:
Installing 'dashlets/googlemapdashlet.zip'
TMPNAME: gIvDa
Archive: /tmp/nagiosxi/subcomponents/xidashlets/dashlets/googlemapdashlet.zip
3202296df3dc2320a5aa366dd8cbc1715367db3c
creating: googlemapdashlet/
inflating: googlemapdashlet/googlemapdashlet.inc.php
inflating: googlemapdashlet/thumbnail.jpg
googlemapdashlet
DASHLET NAME: googlemapdashlet
CMD=grep register_dashlet /usr/local/nagiosxi/tmp/gIvDa/googlemapdashlet/googlemapdashlet.inc.php | wc -l
1
OUT=1
Dashlet looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/gIvDa/googlemapdashlet /usr/local/nagiosxi/html/includes/dashlets/
CMD: rm -rf /usr/local/nagiosxi/tmp/gIvDa
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet
Done!
Installing 'dashlets/rss_dashlet.zip'
TMPNAME: nNHD6
Archive: /tmp/nagiosxi/subcomponents/xidashlets/dashlets/rss_dashlet.zip
9516d80a47aa2af87388f0f7c216c2e7380cd49b
creating: rss_dashlet/
creating: rss_dashlet/magpierss/
inflating: rss_dashlet/magpierss/AUTHORS
inflating: rss_dashlet/magpierss/CHANGES
inflating: rss_dashlet/magpierss/ChangeLog
inflating: rss_dashlet/magpierss/INSTALL
inflating: rss_dashlet/magpierss/NEWS
inflating: rss_dashlet/magpierss/README
inflating: rss_dashlet/magpierss/TROUBLESHOOTING
inflating: rss_dashlet/magpierss/cookbook
creating: rss_dashlet/magpierss/extlib/
inflating: rss_dashlet/magpierss/extlib/Snoopy.class.inc
inflating: rss_dashlet/magpierss/rss_cache.inc
inflating: rss_dashlet/magpierss/rss_fetch.inc
inflating: rss_dashlet/magpierss/rss_parse.inc
inflating: rss_dashlet/magpierss/rss_utils.inc
inflating: rss_dashlet/rss.jpg
inflating: rss_dashlet/rss_dashlet.css
inflating: rss_dashlet/rss_dashlet.inc.php
rss_dashlet
DASHLET NAME: rss_dashlet
CMD=grep register_dashlet /usr/local/nagiosxi/tmp/nNHD6/rss_dashlet/rss_dashlet.inc.php | wc -l
1
OUT=1
Dashlet looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/nNHD6/rss_dashlet /usr/local/nagiosxi/html/includes/dashlets/
CMD: rm -rf /usr/local/nagiosxi/tmp/nNHD6
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/dashlets/rss_dashlet
Done!
INSTALL: Dashlets installed/updated OK.
CREATE TYPE
CREATE SEQUENCE
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_05.sql:23: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "xi_mibs_pkey" for table "xi_mibs"
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_05.sql:23: NOTICE: CREATE TABLE / UNIQUE will create implicit index "xi_mibs_mib_name_key" for table "xi_mibs"
CREATE TABLE
ALTER TABLE
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
chmod: cannot access `/var/log/snmptt': No such file or directory
I will send you the logs via private message
Installing 'dashlets/googlemapdashlet.zip'
TMPNAME: gIvDa
Archive: /tmp/nagiosxi/subcomponents/xidashlets/dashlets/googlemapdashlet.zip
3202296df3dc2320a5aa366dd8cbc1715367db3c
creating: googlemapdashlet/
inflating: googlemapdashlet/googlemapdashlet.inc.php
inflating: googlemapdashlet/thumbnail.jpg
googlemapdashlet
DASHLET NAME: googlemapdashlet
CMD=grep register_dashlet /usr/local/nagiosxi/tmp/gIvDa/googlemapdashlet/googlemapdashlet.inc.php | wc -l
1
OUT=1
Dashlet looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/gIvDa/googlemapdashlet /usr/local/nagiosxi/html/includes/dashlets/
CMD: rm -rf /usr/local/nagiosxi/tmp/gIvDa
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/dashlets/googlemapdashlet
Done!
Installing 'dashlets/rss_dashlet.zip'
TMPNAME: nNHD6
Archive: /tmp/nagiosxi/subcomponents/xidashlets/dashlets/rss_dashlet.zip
9516d80a47aa2af87388f0f7c216c2e7380cd49b
creating: rss_dashlet/
creating: rss_dashlet/magpierss/
inflating: rss_dashlet/magpierss/AUTHORS
inflating: rss_dashlet/magpierss/CHANGES
inflating: rss_dashlet/magpierss/ChangeLog
inflating: rss_dashlet/magpierss/INSTALL
inflating: rss_dashlet/magpierss/NEWS
inflating: rss_dashlet/magpierss/README
inflating: rss_dashlet/magpierss/TROUBLESHOOTING
inflating: rss_dashlet/magpierss/cookbook
creating: rss_dashlet/magpierss/extlib/
inflating: rss_dashlet/magpierss/extlib/Snoopy.class.inc
inflating: rss_dashlet/magpierss/rss_cache.inc
inflating: rss_dashlet/magpierss/rss_fetch.inc
inflating: rss_dashlet/magpierss/rss_parse.inc
inflating: rss_dashlet/magpierss/rss_utils.inc
inflating: rss_dashlet/rss.jpg
inflating: rss_dashlet/rss_dashlet.css
inflating: rss_dashlet/rss_dashlet.inc.php
rss_dashlet
DASHLET NAME: rss_dashlet
CMD=grep register_dashlet /usr/local/nagiosxi/tmp/nNHD6/rss_dashlet/rss_dashlet.inc.php | wc -l
1
OUT=1
Dashlet looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/nNHD6/rss_dashlet /usr/local/nagiosxi/html/includes/dashlets/
CMD: rm -rf /usr/local/nagiosxi/tmp/nNHD6
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/dashlets/rss_dashlet
Done!
INSTALL: Dashlets installed/updated OK.
CREATE TYPE
CREATE SEQUENCE
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_05.sql:23: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "xi_mibs_pkey" for table "xi_mibs"
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_05.sql:23: NOTICE: CREATE TABLE / UNIQUE will create implicit index "xi_mibs_mib_name_key" for table "xi_mibs"
CREATE TABLE
ALTER TABLE
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
chmod: cannot access `/var/log/snmptt': No such file or directory
I will send you the logs via private message
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Failed upgrade from 5.3.2 to 5.6.10
Hello @mdlsupport,
It looks like you are missing the snmptt packages, run the following command ( if they are not installed):
Then try running the upgrade once more:
If it still fails, we should verify the repos are correct on the server.
Did you check the disk space as well (df -h)? Let me know. Thanks.
It looks like you are missing the snmptt packages, run the following command ( if they are not installed):
Code: Select all
yum install snmptt net-snmp net-snmp-perl -y
Code: Select all
cd /tmp/nagiosxi
./upgrade -f
Code: Select all
yum repolist
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mdlsupport
- Posts: 7
- Joined: Mon Jan 27, 2020 11:24 am
Re: Failed upgrade from 5.3.2 to 5.6.10
df -h /
Provided over 3 GB free
Provided over 3 GB free
-
mdlsupport
- Posts: 7
- Joined: Mon Jan 27, 2020 11:24 am
Re: Failed upgrade from 5.3.2 to 5.6.10
Upgrade completed this time. I have logged into the UI and it states 5.6.10. Thank you for the help!