Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #10698] Upgrading icinga2-ido-mysql from 2.3.11 to 2.4.0 yields Duplicate column name 'zone_object_id' #3696
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
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.
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
Update from my corner.
Updated by deneu on 2016-03-12 06:45:06 +00:00
Got the same error with actual 2.4.3 release:
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.