...
Dashlets installed/updated OK
ALTER TABLE
ALTER TABLE
UPDATE 6
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
ALTER TABLE
CREATE SEQUENCE
CREATE TABLE
ERROR 1142 (42000) at line 39: ALTER command denied to user 'nagiosql'@'xxx.xxx.xxx.xxx' for table 'tbl_lnkServiceToHost'
5.2.9 Upgrade to 5.3 Error.
5.2.9 Upgrade to 5.3 Error.
No support required as I was testing on Dev and already rolled back. But FYI, I ran the Web GUI Update for 5.3 and it did not complete successfully with the following error log.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: 5.2.9 Upgrade to 5.3 Error.
I was not able to recreate the issue. My upgrade from the web UI (5.2.9 to 5.3.0) completed with no issues.
Have you limited nagiosql user to not allow altering the table? What is the output of the following command?
Have you limited nagiosql user to not allow altering the table? What is the output of the following command?
Code: Select all
echo "show grants for 'nagiosql'@'localhost';" | mysql -t -uroot -pnagiosxi nagiosqlYou do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: 5.2.9 Upgrade to 5.3 Error.
Code: Select all
------------------------+
| GRANT USAGE ON . TO 'nagiosql'@'xxx.xxx.xxx.xxx' IDENTIFIED BY PASSWORD '*124773959909A94DDF2A7F78DD067589D4092EE7' |
| GRANT ALL PRIVILEGES ON `nagiosqldev`.* TO 'nagiosql'@'xxx.xxx.xxx.xxx' |
+------------------------------------------------------------------------------------------------------------------+
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: 5.2.9 Upgrade to 5.3 Error.
Can you please update your upgrade script to on line 828 to use cfg__db_info__nagiosql__pwd instead of cfg__db_info__nagiosxi__pwd
This fix has been applied to the current tarball also, so you can also download the tarball. You will want to comment out the lines on 822 and 824 so that it doesn't try to re-run those mysql/psql upgrades or it may error out agian.
This fix has been applied to the current tarball also, so you can also download the tarball. You will want to comment out the lines on 822 and 824 so that it doesn't try to re-run those mysql/psql upgrades or it may error out agian.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: 5.2.9 Upgrade to 5.3 Error.
Would it be best to upgrade using the tarball instead of the Web GUI so lint like this is cleaned up?jomann wrote:Can you please update your upgrade script to on line 828 to use cfg__db_info__nagiosql__pwd instead of cfg__db_info__nagiosxi__pwd
This fix has been applied to the current tarball also, so you can also download the tarball. You will want to comment out the lines on 822 and 824 so that it doesn't try to re-run those mysql/psql upgrades or it may error out agian.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: 5.2.9 Upgrade to 5.3 Error.
In this instance, since you already started the upgrade and it failed - I would recommend doing it from the CLI this time, just to make sure you get it upgraded.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: 5.2.9 Upgrade to 5.3 Error.
So, trying this again with the tarball. Seems the upgrade script assumes a local database (IP of host), where in our case it is remote. Thus the same error occurs.
Is this attributed to what you suggested above, we need to still comment out 822/824 in the new tarball regardless?
Is this attributed to what you suggested above, we need to still comment out 822/824 in the new tarball regardless?
Please advise.This fix has been applied to the current tarball also, so you can also download the tarball. You will want to comment out the lines on 822 and 824 so that it doesn't try to re-run those mysql/psql upgrades or it may error out agian.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
Re: 5.2.9 Upgrade to 5.3 Error.
Yes, since your DB has already been upgraded.Is this attributed to what you suggested above, we need to still comment out 822/824 in the new tarball regardless?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: 5.2.9 Upgrade to 5.3 Error.
5.3.1 should be out this week. At this point, it probably makes sense to just wait to upgrade, unless there is something very specific you need from 5.3.0.
Re: 5.2.9 Upgrade to 5.3 Error.
Will 5.3.1 have a sanity check to avoid this, or will commenting lines 822/824 still be required?dwhitfield wrote:5.3.1 should be out this week. At this point, it probably makes sense to just wait to upgrade, unless there is something very specific you need from 5.3.0.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2