Stuck on installation after PostgreSQL conversion

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tboyer
Posts: 11
Joined: Thu Mar 24, 2011 12:10 pm

Stuck on installation after PostgreSQL conversion

Post by tboyer »

I'm trying to remove Postgres from one of our installations, following the absolutely excellent web page at https://support.nagios.com/kb/article.php?id=560. Existing instance running 5.5.8. Got through the conversion with no errors; I go to log in again and I'm being sent to nagiosxi/install.php. Click past the General System Settings page; get to Admin Account Settings, and getting an error when I click 'Finish Install' - 'Unable to get user id for admin account.'. Create the nagiosadmin account; try again - same thing.

Any suggestions on getting past this? Thanks...
tboyer
Posts: 11
Joined: Thu Mar 24, 2011 12:10 pm

Re: Stuck on installation after PostgreSQL conversion

Post by tboyer »

... and because I omitted it in the original post: RHEL6.10; physical server.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Stuck on installation after PostgreSQL conversion

Post by npolovenko »

Hello, @tboyer. Please run the following commands as root and then upload the support.txt file from the /tmp/ folder in this thread or send it to me in a personal message.
echo "show tables;" | mysql -u root -pnagiosxi nagiosxi > /tmp/support.txt
echo "SELECT * from xi_users\G;" | mysql -u root -pnagiosxi nagiosxi >> /tmp/support.txt
echo "SELECT * from xi_usermeta\G;" | mysql -u root -pnagiosxi nagiosxi >> /tmp/support.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tboyer
Posts: 11
Joined: Thu Mar 24, 2011 12:10 pm

Re: Stuck on installation after PostgreSQL conversion

Post by tboyer »

Completed. I will begin troubleshooting the conversion.
tboyer
Posts: 11
Joined: Thu Mar 24, 2011 12:10 pm

Re: Stuck on installation after PostgreSQL conversion

Post by tboyer »

OK, so: The PG to mysql conversion didn't work. It says it works; it looks like it works - but it tosses out a 193 byte file.

Grabbed the latest from Git, and that one *does* work. 140K file. However, going to Nagios says my license isn't valid.

Hunting for my license key now...
tboyer
Posts: 11
Joined: Thu Mar 24, 2011 12:10 pm

Re: Stuck on installation after PostgreSQL conversion

Post by tboyer »

Re-activated, and it looks kike all is good now. Thanks for the nudge in the right direction!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Stuck on installation after PostgreSQL conversion

Post by lmiltchev »

@tboyer, is it safe to lock this topic now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked