Flyway: `Validate failed: Migrations have failed validation. Detected applied migration not resolved locally`.
IntermediateTroubleshootingDeployment, Kubernetes and GitOps Failures
Answer
Likely causes → A migration applied in the DB is missing from the artifact, often by a branch mismatch.
Diagnose → flyway info.
Fix → Restore the missing migration file; do not edit applied ones; use repair only deliberately.
Prevent → Ship migrations in the same artifact as the code.
More on Deployment, Kubernetes and GitOps Failures
`kubectl rollout status` hangs: `Waiting for deployment "app" rollout to finish: 1 old replicas are pending termination...`AdvancedPods in `CrashLoopBackOff` right after deploy.Beginner`ImagePullBackOff` with `manifest for registry/app:1.4.2 not found`.BeginnerHelm: `Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress`.AdvancedHelm: `Error: rendered manifests contain a resource that already exists. Unable to continue with install`.IntermediateArgo CD app stuck `Progressing` forever.Intermediate