Page 1 of 1
Reinstall XI + keep config
Posted: Wed Jun 01, 2016 1:21 pm
by nbdstl
My installation of NagiosXI has trouble upgrading through the GUI, and the system has been reporting "The update did not complete successfully. Please try updating manually." for some time now. I have attempted several updates through the GUI since this message began appearing, and have also done manual updates from source. The from-source updates appear to complete successfully, but the error message has never gone away.
I would like to completely uninstall and reinstall my Nagios XI software, but want to keep the configuration and historical event information.
The original install of the Nagios XI software was done when PostgreSQL was still in use, and the PostgreSQL server process is still running. I would also like to get rid of PostgreSQL, if that can be done.
Is there a procedure for doing this?
Re: Reinstall XI + keep config
Posted: Wed Jun 01, 2016 4:23 pm
by lmiltchev
The from-source updates appear to complete successfully, but the error message has never gone away.
Can you show us a screenshot of the error? Does the error go away when you click on the "back" button? What is the version of Nagios XI that you are upgrading from/to?
I would also like to get rid of PostgreSQL, if that can be done.
On a new, fresh install PostgreSQL won't be used. The problem is that even if you manually imported configs, you would lose some of the settings... For example, you can import contacts, but not users as they were stored in PostgreSQL (on the old server). You will need to recreate the users manually as on the new server, this info will be stored in MySQL. If you have many users, this could be a tedious process...
If you were able to upgrade successfully, I would recommend keeping your Nagios XI instance "as is" in order to avoid complications.
Re: Reinstall XI + keep config
Posted: Wed Jun 01, 2016 11:05 pm
by nbdstl
Screenshot.jpg
The error is permanent. It has persisted across multiple source upgrades and many browser sessions.
There are only a few users on the system, re-creating them is not a problem if it will make PostgreSQL go away.
Re: Reinstall XI + keep config
Posted: Thu Jun 02, 2016 10:12 am
by rkennedy
This is an issue we're aware of. Does it show 5.2.8 in the lower left bar that states what version you're running?
As Ludmil mentioned - it will go away if you are able to run a clean install and migrate over your configuration files. If you install onto Centos7 it will install with mariadb by default.
Re: Reinstall XI + keep config
Posted: Fri Jun 03, 2016 5:01 pm
by nbdstl
Nagios XI 5.2.8.
The system is already CentOS 7, I was an early adopter.
So what's the procedure for dumping & restoring my config and service/performance data so I can uninstall the damaged installation and do a fresh install from source?
Re: Reinstall XI + keep config
Posted: Sun Jun 05, 2016 11:42 pm
by Box293
nbdstl wrote:Nagios XI 5.2.8.
The system is already CentOS 7, I was an early adopter.
So what's the procedure for dumping & restoring my config and service/performance data so I can uninstall the damaged installation and do a fresh install from source?
Honestly, I don't think you need to go this far. There is nothing wrong with your installation, it's just the method being used in XI to update via the GUI is not working in every customer scenario and we are actively trying to improve it.