Reinstall XI + keep config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nbdstl
Posts: 16
Joined: Fri Apr 24, 2015 9:11 am

Reinstall XI + keep config

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reinstall XI + keep config

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
nbdstl
Posts: 16
Joined: Fri Apr 24, 2015 9:11 am

Re: Reinstall XI + keep config

Post 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.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Reinstall XI + keep config

Post 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.
Former Nagios Employee
nbdstl
Posts: 16
Joined: Fri Apr 24, 2015 9:11 am

Re: Reinstall XI + keep config

Post 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?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Reinstall XI + keep config

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked