New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors can occur upgrading from 0.8.x due to incorrectly detected data source profile id #3319
Comments
Do me a favour, run the following: SELECT id FROM data_source_profiles ORDER BY `default` DESC LIMIT 1 |
SELECT id FROM data_source_profiles ORDER BY data_source_profiles never existed in the original 0.8 db |
That should have been inserted by an earlier upgrade though (1.0.0 I would imagine). |
OK, so looking at the v1.0.0 upgrade function, it attempts to look at |
If possible, I would like a dump of the 0.8.8 database emailed to developers@cacti.net so I can do a proper step through and see occurs. |
yes data_template_data_rra exists in the 0.8 db, ill email you a mysqldump of the 0.8 db too. |
Thanks, I'll take a look tonight. |
This was resolved as of the merging of the fetch branch into the 1.2.x branch and will be resolved as a part of the 1.2.11 release. In the mean time, just download the 1.2.x branch ad restart the upgrade. |
* Errors upgrading 0.8.x to latest Cacti due to incorrectly detected data source profile id * This issue was detected and resovled in the fetch branch and merged into 1.2.x branch.
same as issue #1002
The database upgrade fails. Here are the failed statements (and internal db version). Everything goes ok till upgrade to db version 1.0.5
version 1.0.5
[Fail]
UPDATE data_template_data SET data_source_profile_id = WHERE data_source_profile_id = 0
Here, obviously, there is stg missing before the WHERE. All other errors (below) seem legit syntax.
set setmode as #1002 (comment) and retested same result?
Thanks
The text was updated successfully, but these errors were encountered: