Deployment troubleshooting
Published
Updated
🔧
Fix git deployment problems.
A fortrabbit deployment can fail in three places: the push to GitHub, the step from GitHub to fortrabbit, or the build. Find the place first: is the commit on GitHub, is there a deployment in the dashboard, and what does its deploy log say?
Get ready
For a first setup, check the basics:
- New to Git? Read the Git intro first
- Read the deployment intro
- Have the fortrabbit GitHub app installed with GitHub
- Have an environment connected to a repo at GitHub
Repo missing
The repo does not show up when creating an app or changing its repo. Most often it belongs to a GitHub account other than the connected one, see which repos show up.
GitHub connectivity errors
git push shows an error, or the commit does not show up on GitHub. The problem sits between the local machine and GitHub:
Transit errors
The commit is on GitHub, but no deployment shows up in the dashboard:
- Is the fortrabbit GitHub App installed for the account or organization that owns the repo?
- Did the push go to the branch connected to the environment?
- Is the deployment trigger set to push to deploy? With manual deployment, pushes never deploy.
- Is the deployment permission set to connected developers only? Then a push from a GitHub account without a developer connection is skipped without notice.
Deployment errors
A deployment shows up in the dashboard, but it failed. The deploy log names the failed command. A failed build leaves the previous code live, a failed post deploy command comes after the new code went live. A deploy file with an error fails the deployment before the build.