Hello,
Trying to upgrade from 5.4.13 to 5.5.0 and the following fails:
Starting nrpe
NRPE installed OK
Updating NRDP..
ALTER TABLE
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:11: ERROR: relation "xi_cmp_trapdata_trapdata_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:17: ERROR: relation "xi_cmp_trapdata_trapdata_log_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:34: ERROR: relation "xi_cmp_trapdata" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:54: ERROR: relation "xi_cmp_trapdata_log" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:61: ERROR: relation "xi_auth_tokens_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:75: ERROR: relation "xi_auth_tokens" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:82: ERROR: relation "xi_sessions_id_seq" already exists
psql:nagiosxi/nagiosxi-db/mods/pgsql/schema_03.sql:96: ERROR: relation "xi_sessions" already exists
Thoughts?
Thanks
Jeff
Upgrade fails from 5.4.13 to 5.5.0
Re: Upgrade fails from 5.4.13 to 5.5.0
If your upgrade hangs at:
most probably you will need to comment out a section of the code in the upgrade script that deals with Ajaxterm, and rerun the upgrade script from the command line. For more information, please see this post:
https://support.nagios.com/forum/viewto ... 08#p255370
Let us know if this helped. Thank you!
Code: Select all
NRPE installed OK
Updating NRDP..https://support.nagios.com/forum/viewto ... 08#p255370
Let us know if this helped. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade fails from 5.4.13 to 5.5.0
I re-ran the upgrade and attached a copy of the log. Can you take one more peek?
You do not have the required permissions to view the files attached to this post.
Re: Upgrade fails from 5.4.13 to 5.5.0
Run the following commands:
then rerun the upgrade script:
Let us know if the upgrade finish successfully this time. Thanks!
Code: Select all
cd /tmp/nagiosxi
touch mysql.5500.updatedCode: Select all
./upgradeBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade fails from 5.4.13 to 5.5.0
All,
Thanks for the responses. I was on vacation through 7/18 and it looks like a new revision is now out 5.5.1. I am now getting a message indicating that it cannot connect to the mirror sites. I will try again tomorrow and post my results.
Thanks for the responses. I was on vacation through 7/18 and it looks like a new revision is now out 5.5.1. I am now getting a message indicating that it cannot connect to the mirror sites. I will try again tomorrow and post my results.
Re: Upgrade fails from 5.4.13 to 5.5.0
Sure, let us know. Try:
first. Were you able to update?
Are you using a proxy?
Code: Select all
yum clean all
yum updateAre you using a proxy?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Upgrade fails from 5.4.13 to 5.5.0
Great let us know how it goes and if you have any errors.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.