Page 1 of 1

Upgrade Fails

Posted: Mon Dec 11, 2023 8:19 am
by wagnbeu0
We are running Nagiox 5.11.3 on Centos7. When doing an upgrade using the command line updater as described:
wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
chmod 755 upgrade.sh
./upgrade.sh
we receive the following error:
Done!
INSTALL: Dashlets installed/updated OK.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
We wanted to update our installation because all servers updating NCPA Client from 2.4.1 to NCPA 3.0.0 are getting now ERROR500 Messages and cannot connect anymore. HOw can we solve both errors?

Re: Upgrade Fails

Posted: Mon Dec 11, 2023 10:39 am
by gwesterman
Hi @wagnbeu0,

If you changed your root mysql password, make sure you change the one in xi-sys.cfg (/usr/local/nagiosxi/var/xi-sys.cfg) to match. This doc goes over all of the lines and files you have to change and commands you have to run to change your database passwords.

Let us know if this helps!

Thank you!