Skip to content

Deploy Issues ​

Deployment failing, stuck, or app down after publishing.

Symptoms ​

  • Publish action returns an error
  • Deployment stuck at a step for more than 10 minutes
  • App was working, deploy ran, now app is down or returning 500 errors
  • New version deployed but changes aren't visible

Diagnosis checklist ​

  1. Check the deployment log in Project Settings → Deployment History
  2. Check the environment — are you deploying to the right one (Dev/Staging/Prod)?
  3. Check pending schema migrations — schema changes require migrations to run
  4. Check environment variables — is every required variable set for this environment?

Solutions ​

Publish returns an error ​

  • Read the error message in the deployment log carefully
  • Common causes:
    • Missing required environment variable → Add it in Runtime Settings → Environment Variables
    • Invalid configuration → Validate settings and retry
    • Permission denied → Ensure your user has the "Deploy" role on this project

Deployment stuck ​

  • Wait up to 10 minutes before acting (some steps take longer on first deploy)
  • If still stuck after 10 minutes: cancel the deployment and retry
  • If cancellation is not available: escalate

App down after publishing ​

  1. Go to Project Settings → Deployment History
  2. Click Rollback on the previous stable version
  3. Validate the rollback in Preview
  4. Investigate the root cause before deploying again

Common causes:

  • New script with a runtime error → Check and fix the script in Editor Mode
  • Database migration failure → See Database & Migrations
  • Missing environment variable → Set it in Runtime Settings

Changes not visible after deploy ​

  • Hard refresh the browser (Ctrl+Shift+R / Cmd+Shift+R)
  • Check you are viewing the correct environment URL
  • If using a CDN: purge the cache for the domain
  • Confirm the deployment completed successfully (check Deployment History)

© Madrix Software. All rights reserved.