Appearance
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
- Check the deployment log in Project Settings → Deployment History
- Check the environment — are you deploying to the right one (Dev/Staging/Prod)?
- Check pending schema migrations — schema changes require migrations to run
- 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
- Go to Project Settings → Deployment History
- Click Rollback on the previous stable version
- Validate the rollback in Preview
- 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)