Upgrade to 2.3 says successful, but not showing new version

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Upgrade to 2.3 says successful, but not showing new version

Post by snapon_admin »

I just updated to 2.3 and the CLI says that it completed successfully, but then when I check for updates in the GUI it's still showing 2.2.3. What do?

Code: Select all

[root@lisl-ngna-01-pv nagiosna]# ./upgrade
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink                                                                                                                                                  |  11 kB     00:00     
 * base: centos.den.host-engine.com
 * epel: archive.linux.duke.edu
 * extras: mirror.net.cen.ct.gov
 * updates: centos.mirror.constant.com
http://centos.den.host-engine.com/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:49f0:d064:5::2: Network is unreachable"
Trying other mirror.
http://centos.mia.host-engine.com/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:49f0:d064:5::2: Network is unreachable"
Trying other mirror.
http://mirror.ancl.hawaii.edu/linux/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:f278:4101:12::a: Network is unreachable"
Trying other mirror.
http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2606:db00:0:2d5::10: Network is unreachable"
Trying other mirror.
http://mirror.cisp.com/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://mirror.dal10.us.leaseweb.net/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2606:9880:2100:b010::1531: Network is unreachable"
Trying other mirror.
http://mirror.us.oneandone.net/linux/distributions/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:f1c0:5c0:2::1:0: Network is unreachable"
Trying other mirror.
http://mirrors.maine.edu/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2610:48:100:820::ad: Network is unreachable"
Trying other mirror.
http://mirrors.mit.edu/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://mirrors.rcs.alaska.edu/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:f318:1f00:820::202: Network is unreachable"
Trying other mirror.
http://mirrors.vpsie.com/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
epel                                                                                                                                                           | 4.3 kB     00:00     
epel/primary_db                                                                                                                                                | 5.9 MB     00:05     
extras                                                                                                                                                         | 3.4 kB     00:00     
updates                                                                                                                                                        | 3.4 kB     00:00     
updates/primary_db                                                                                                                                             | 3.6 MB     00:00     
epel/group_gz                                                                                                                                                  | 150 kB     00:00     
Package cjkuni-uming-fonts-0.2.20080216.1-36.el6.noarch already installed and latest version
Package ibus-table-cangjie-1.2.0.20100210-1.el6.noarch is obsoleted by ibus-table-chinese-cangjie-1.4.6-1.el6.noarch which is already installed
Package wqy-zenhei-fonts-0.9.45-3.el6.noarch already installed and latest version
Package ibus-table-erbi-1.2.0.20090901-8.el6.noarch is obsoleted by ibus-table-chinese-erbi-1.4.6-1.el6.noarch which is already installed
Package ibus-table-wubi-1.2.0.20090715-8.el6.noarch is obsoleted by ibus-table-chinese-wubi-jidian-1.4.6-1.el6.noarch which is already installed
Package cjkuni-ukai-fonts-0.2.20080216.1-36.el6.noarch already installed and latest version
Warning: Group chinese-support does not have any packages.
Package vlgothic-fonts-20091202-2.el6.noarch already installed and latest version
Package ipa-gothic-fonts-003.02-4.2.el6.noarch already installed and latest version
Package ipa-mincho-fonts-003.02-3.1.el6.noarch already installed and latest version
Package ipa-pgothic-fonts-003.02-4.1.el6.noarch already installed and latest version
Package vlgothic-p-fonts-20091202-2.el6.noarch already installed and latest version
Package ipa-pmincho-fonts-003.02-3.1.el6.noarch already installed and latest version
Warning: Group japanese-support does not have any packages.
Warning: Group russian-support does not have any packages.
Package xorg-x11-fonts-75dpi-7.2-11.el6.noarch already installed and latest version
Package xorg-x11-fonts-Type1-7.2-11.el6.noarch already installed and latest version
Package libjpeg-turbo-1.2.1-3.el6_5.x86_64 already installed and latest version
Package dejavu-sans-fonts-2.33-1.el6.noarch already installed and latest version
Package dejavu-serif-fonts-2.33-1.el6.noarch already installed and latest version
Nothing to do
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.3.lin  
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
epel-release RPM installed OK
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.den.host-engine.com
 * epel: archive.linux.duke.edu
 * extras: mirror.net.cen.ct.gov
 * updates: centos.mirror.constant.com
http://centos.den.host-engine.com/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:49f0:d064:5::2: Network is unreachable"
Trying other mirror.
http://centos.mia.host-engine.com/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2001:49f0:d064:5::2: Network is unreachable"
Trying other mirror.
http://mirror.ancl.hawaii.edu/linux/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:f278:4101:12::a: Network is unreachable"
Trying other mirror.
http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2606:db00:0:2d5::10: Network is unreachable"
Trying other mirror.
http://mirror.cisp.com/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://mirror.dal10.us.leaseweb.net/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2606:9880:2100:b010::1531: Network is unreachable"
Trying other mirror.
http://mirror.us.oneandone.net/linux/distributions/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:f1c0:5c0:2::1:0: Network is unreachable"
Trying other mirror.
http://mirrors.maine.edu/CentOS/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2610:48:100:820::ad: Network is unreachable"
Trying other mirror.
http://mirrors.mit.edu/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
http://mirrors.rcs.alaska.edu/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:f318:1f00:820::202: Network is unreachable"
Trying other mirror.
http://mirrors.vpsie.com/centos/6.9/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "couldn't connect to host"
Trying other mirror.
Package php-mcrypt-5.3.3-5.el6.x86_64 already installed and latest version
Package php-ldap-5.3.3-49.el6.x86_64 already installed and latest version
Nothing to do
The database was migrated successfully.
NagiosNA backend stopped.
NagiosNA backend started...

Nagios Network Analyzer Upgrade Complete!

You can access the Nagios Network Analyzer web interface by visiting:
    http://10.245.128.169/nagiosna/
You do not have the required permissions to view the files attached to this post.
kyang

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by kyang »

Hi @snapon_admin,

Did you just do a ./upgrade without installing the latest tar? Follow these steps to upgrade your Network Analyzer through the CLI.

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

I did have a 2.2.3, then I just ran the ./upgrade command, and it didn't work just as yours.

So I followed the doc, and it worked!

Let me know if this helps.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by snapon_admin »

I did follow that doc but I'll look again..
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by snapon_admin »

Yep that's definitely the exact procedure I followed.
kyang

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by kyang »

Ah okay, have you tried rebooting the system?

Try that and see if anything changes. Currently trying to find a way of pinpointing your problem.

Let us know what happens!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by tgriep »

After the reboot, can you run the following command and post it here?

Code: Select all

cat /var/www/html/nagiosna/naversion
This will show us what version of NNA is installed on the server.

Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by snapon_admin »

Rebooted and still saying version 2.2.3, even with that command.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by tgriep »

Lets clear out the yum errors from when you tried to upgrade by running the following as root.

Code: Select all

yum clean all
Then run the upgrade again as it looks like it didn't really do the upgrade.
To verify that you are installing the latest version and the NNA install is extracted to the /tmp folder, you can run the following command.

Code: Select all

cat /tmp/nagiosna/nagiosna/basedir/html/naversion
If it is 2.3.0, it should output this.

Code: Select all

VERSION=230
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by snapon_admin »

Ok, so the one that was downloaded was apparently 2.2.3, I re-ran the get and got the right version so I'm upgraded now, but now I'm getting a 404 whenever I go to any page except the main one, and on the main page nothing is displaying. This is moderately critical so urgency on getting this corrected would be appreciated.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Upgrade to 2.3 says successful, but not showing new vers

Post by snapon_admin »

I'm also trying to restore from the backup I made but I'm not sure that completed properly either, this is what's in /store/backups/nagiosna:

Code: Select all

[root@lisl-ngna-01-pv ~]# ll /store/backups/nagiosna/
total 8
drwxrwxr-x 3 nna nnacmd 4096 Sep 14 11:38 1500047530
drwxrwxr-x 3 nna nnacmd 4096 Sep 14 11:39 1505398957
Those should be tar'd no? What do?
Locked