Use this guide when your Astro Private Cloud (APC) control plane or data plane Pods are not progressing to a healthy state after an upgrade.
cannot patch "astronomer-houston" with kind Deployment and references to environment variable ordering.--cascade=orphan to preserve running Pods, then retry the Helm upgrade:minimumAstroRuntimeVersion is set to 3.1-2 or higher in the override config.astronomer-bootstrap secret connection string does not include a database name suffix (for example, /main on AWS RDS or /postgres on AKS), causing connection failures. Verify the correct database name by logging in to your database.astronomer-bootstrap secret so connection ends with /<database_name>, then run a Helm upgrade.astronomer namespace (or the namespace where you install APC).Cause: The upgrade includes a migration that adds a unique constraint to the Workspace.label column. If your database contains workspaces with duplicate labels, the migration fails with Prisma error P3009. Once the migration is marked as failed, all subsequent migrations are blocked, preventing Houston from starting.
Symptoms: Houston database migration pods fail with Error: P3009 and the message migrate found failed migrations in the target database. Houston API and worker pods enter CrashLoopBackOff.
Solution:
Connect to your Houston database and check for duplicate workspace labels:
Resolve the duplicates by renaming one of the workspace labels. Use the workspace ID as a suffix to guarantee uniqueness:
Verify the failed migration did not partially apply by checking whether the unique constraint already exists:
If the unique constraint on label is not present, delete the failed migration record so it can be retried. Back up your database before making this change.
Re-run the Helm upgrade:
Cluster and Deployment tables exist.