rastopato commented on issue #11588: URL: https://github.com/apache/cloudstack/issues/11588#issuecomment-3267116140
> > ok, very first error is: 2025-09-08 17:33:19,365 ERROR [c.c.u.d.ScriptRunner] (main:[]) (logid:) Error executing: ALTER TABLE `cloud`.`kubernetes_cluster` ADD CONSTRAINT `fk_cluster__control_node_service_offering_id` FOREIGN KEY `fk_cluster__control_node_service_offering_id`(`control_node_service_offering_id`) REFERENCES `service_offering`(`id`) ON DELETE CASCADE 2025-09-08 17:33:19,369 ERROR [c.c.u.d.ScriptRunner] (main:[]) (logid:) java.sql.SQLException: Duplicate foreign key constraint name 'fk_cluster__control_node_service_offering_id' 2025-09-08 17:33:19,373 ERROR [c.c.u.DatabaseUpgradeChecker] (main:[]) (logid:) Unable to execute upgrade script java.sql.SQLException: Duplicate foreign key constraint name 'fk_cluster__control_node_service_offering_id' > > [@rastopato](https://github.com/rastopato) I guess it is not the first try, right ? when you try to upgrade again, you need to restore the db to the original state before upgrade It was from restored to original working state. I don't have time to try it again now, but later I will try and collect all logs. But I didn't have success 3 times on 2 different environments :( -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
