GitHub user rastopato 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](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 :(

GitHub link: 
https://github.com/apache/cloudstack/discussions/11672#discussioncomment-14439996

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to