GitHub user weizhouapache added a comment to the discussion: Management Server fails to start on new install
> 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 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 GitHub link: https://github.com/apache/cloudstack/discussions/11672#discussioncomment-14439995 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
