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
[dev.icinga.com #10698] Upgrading icinga2-ido-mysql from 2.3.11 to 2.4.0 yields Duplicate column name 'zone_object_id' #3696
Comments
Updated by mfriedrich on 2015-11-25 14:14:14 +00:00
Are you using the snapshot repositories? |
Updated by Felicitus on 2015-11-25 20:05:18 +00:00 dnsmichi wrote:
No. |
Updated by falkowich on 2015-11-27 12:26:09 +00:00 I can confirm this as I tried to update the ubuntu version:
|
Updated by falkowich on 2015-11-27 12:53:00 +00:00 falkowich wrote:
Update from my corner. -- |
Updated by wladik on 2015-11-27 13:55:03 +00:00 I can confirm that this error also occurred on my instance, and for the first time I've typed wrong root password for MySQL server. Skipping upgrade when running again solved it. |
Updated by gbeutner on 2015-11-30 11:42:36 +00:00
formorer: Can you have a look at this please? |
Updated by mfriedrich on 2016-02-24 21:51:19 +00:00 Hi, any updates on this? Otherwise I'll close the issue. Kind regards, |
Updated by deneu on 2016-03-12 06:45:06 +00:00 Got the same error with actual 2.4.3 release: |
Updated by karlvanderschyff on 2016-04-05 06:28:05 +00:00 i can confirm that i also have the same problem upgrading with the packages 2.4.3 Duplicate column name 'zone_object_id' |
Updated by gbeutner on 2016-08-15 11:03:40 +00:00
As far as I can tell from two user installations where I've analyzed this problem the underlying cause for this issue is that those users used the 'mysql.sql' schema from the master branch when creating their database for 2.3.x - which at that point already contained changes for the 2.4 release. I.e. this is not a bug. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10698
Created by Felicitus on 2015-11-22 12:28:19 +00:00
Assignee: (none)
Status: Rejected (closed on 2016-08-15 11:03:40 +00:00)
Target Version: (none)
Last Update: 2016-08-15 11:03:40 +00:00 (in Redmine)
Hi,
I just performed an upgrade from 2.3.11 to 2.4.0 on Debian Jessie using the http://packages.icinga.org/debian repository.
I receive the following error during upgrade:
"mysql said: ERROR 1060 (42S21) at line 14: Duplicate column name 'zone_object_id' "
I'm not sure why this happens, it seems that the upgrade is done twice. I resolved the issue by removing all column additions in the SQL file.
As there is at least one more bug which looks similar (#9951), I believe the upgrade process should be changed.
The text was updated successfully, but these errors were encountered: