GUI issues after 5.6.12 -> 5.7.1 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sib
Posts: 111
Joined: Thu Dec 11, 2014 8:06 am

Re: GUI issues after 5.6.12 -> 5.7.1 upgrade

Post by sib »

What is the state on this? It has not been working for a long time

Code: Select all

# cat /etc/my.cnf
[mysqld]
innodb_file_per_table=1

datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/Systemd

[mysqld_safe]
log-error=/var/log/mariadb/mariadb.log
pid-file=/var/run/mariadb/mariadb.pid

#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: GUI issues after 5.6.12 -> 5.7.1 upgrade

Post by benjaminsmith »

Hi @sib,

The database configuration file looks ok. At this point, I would recommend downgrading the backend database utility to the previous version, see the instructions below. Let me know if you need any assistance.

Downgrade Instructons (Local Database)

Code: Select all

systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:

Code: Select all

#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:

Code: Select all

systemctl start nagios
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!
sib
Posts: 111
Joined: Thu Dec 11, 2014 8:06 am

Re: GUI issues after 5.6.12 -> 5.7.1 upgrade

Post by sib »

Hi

what is the downgrade procedure for RPM installs?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: GUI issues after 5.6.12 -> 5.7.1 upgrade

Post by benjaminsmith »

Hi @Sib,

As long as you have the development packages on the server, it would be the same process used on the standard installs, as follow:

Downgrade Instructons (Local Database)

Code: Select all

systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:

Code: Select all

#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:

Code: Select all

systemctl start nagios
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!
sib
Posts: 111
Joined: Thu Dec 11, 2014 8:06 am

Re: GUI issues after 5.6.12 -> 5.7.1 upgrade

Post by sib »

Hi

This "solved" the issue. I hope it will be fixed in 5.7.3?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: GUI issues after 5.6.12 -> 5.7.1 upgrade

Post by benjaminsmith »

Hi Sib,
This "solved" the issue. I hope it will be fixed in 5.7.3?
Glad to hear that helped resolve the issue for now. I should have more information on the next release late next week.
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!
Locked