Deploys and builds
Fix a failed build or deploy, an app that does not answer, a push that does not deploy, and a full disk.
Find what the build log, the app or the panel says, then apply the fix next to it.
The build fails
The last lines of the build log usually name the fix. The fields are in Settings -> Deployments: see Build settings.
| In the build log | Fix |
|---|---|
No start command detected | Set Start command |
Railpack does not recognise this folder | Set Root directory, or add a Dockerfile |
Node.js 25 is not available | Pin a released Node.js version, or the variable the message names |
The code needs Node 22 and the build used Node 20 | Pick a Node.js version in that range |
The repository's lockfile does not match its package.json | Commit an updated lockfile, or set Install command |
command not found or Cannot find module | Set Build command, Root directory or Framework |
The build needed more than 2.9 GB of memory | Build on a bigger build server |
GitHub refused a download with its rate limit | Connect the GitHub App, or retry in an hour |
pull access denied or unauthorized | Add the registry. GHCR needs a classic token |
Every build is slow? Turn Build cache back on, in Settings -> Advanced.
The build passes but the deploy fails
The app shows Error until a deploy succeeds.
| In the build log | Fix |
|---|---|
keeps restarting or stopped right after it started | It crashes on start, usually on a missing variable or an unreachable database |
The start command runs a program that is not in the image | Fix Start command |
listens only on 127.0.0.1 | Make the app listen on 0.0.0.0 |
never listened on port 3000 | Check that it starts a web server |
was stopped: out of memory | Raise its Memory limit |
health check fails | Check the health check's path and port |
The Logs tab shows a notice
| Notice | Fix |
|---|---|
This container is in a restart loop | The error is in the output below |
This container is running but failing its healthcheck | Check the path, the port, and that curl or wget is in the image |
This container is not running | Read its last lines, then Start |
web has no container on the host, or No logs yet | Redeploy |
Deplo stopped this container after 10 restarts | Fix the error, then Start. See Automatic restarts |
| Not answering · restarts paused | Read its logs. Restarts resume after your next deploy |
- Restarts with no error at all: it goes past its Memory limit. Raise it.
- Empty while the app runs: it logs to a file. Log to stdout.
The app does not answer
- The free
deplo.siteaddress works? Then see Domains and TLS. - A Docker image answers 502? Fix the domain's Application port in Domains.
- A Compose app answers nothing? Check the domain's Container, and that the service has
expose: ["3000"]. A service withnetwork_mode:cannot get a domain.
Cannot resolve host
could not translate host name "orders-db" to address: Name or service not knownOr the deploy log says DATABASE_URL points at orders-db, which lives in Shop / Production and is not reachable from here.
Apps reach each other by name only in the same Environment, on the same server. Move one next to the other, or use a published port. See Which apps can reach each other.
A push does not start a deploy
- Deploy on push is on, on the Releases card of Settings -> Deployments.
- The push is on the Source card's branch, and Watch paths match a changed file.
Deplo could not add the push webhookon the Source card: it lists the missing token access, and the webhook URL to add by hand.- A plain Git URL has no webhook: use the deploy hook. It answers
405to a browser: send aPOST. See Automatic deployments.
A repository is missing or does not clone
| What you see | Fix |
|---|---|
No repositories accessible to this App. | Configure repository access on GitHub, and add it |
This repository will not clone | It left the GitHub App's selection: Manage, in its menu on Settings -> Git, and add it back |
Deplo is missing access on GitHub | Update on GitHub, then accept the change on each installation |
Authentication failed while cloning | The token expired. Edit the connection on Settings -> Git with a new one |
This token is missing access | Replace it with one that has the scopes it needs |
commit 4abcdef is no longer in the repository | A force push removed it. Deploy another commit |
A deploy waits in the queue
- Another deploy runs on that server. Wait, or raise its Deploys at once in Server settings. A build server's queue is shared the same way.
- The server is offline. See Servers and agents.
No space left on device
Settings -> Servers, the server, then Free up disk space in its menu. See Docker cleanup.
After a cleanup, an app rolls back only to its Rollbacks kept, and a redeploy pulls its image again.
Saved, but nothing changed
Variables, build settings, resources and storage apply on the next deploy: click Redeploy. Still nothing? Rebuild container, in Settings -> Advanced.
A variable is missing or has the wrong value
- Old value, or none: redeploy. A shared variable must be added too: Environment, the arrow next to Add, then Shared.
- Not the value Deplo shows: a preview override, a shared variable or the compose file sets the same name. See Which value wins.
- Empty in the browser: only prefixed names, like
NEXT_PUBLIC_orVITE_, reach it. ADockerfilealso needs anARGline.
Rollback is greyed out or missing
- Greyed out: you lack Roll back apps, or no earlier build is left.
- Missing: the deployment failed, is a preview or is live. A Docker image or a Compose app has none.
This deployment's image is no longer kept on the server: raise Rollbacks kept.
The bug survived the rollback? It is in a variable or the data: only the code goes back.
Replicas and resource limits
An App that keeps data on its own disk runs one copy: it has a Volume, a Bind or a published port. Move the data to a database.This server's Docker is older than version 25: update Docker on that server.- The deploy fails on the storage option: clear Disk quota in Settings -> Resources.
Compose and templates
| What you see | Fix |
|---|---|
| Names already in use | Rename and deploy |
web is already answered by Shop on that network | Rename the service or its hostname: |
traefik is a name Deplo's own infrastructure uses | Rename the service or its hostname: |
A deploy refused with no longer has permission | Someone with Configure Traefik or Bind server folders saves the file again |
pull access denied for an image never in a registry | Add --pull missing to Extra compose flags, in Settings -> Advanced |
| One container of a template keeps restarting | A required variable is blank. Read that container's logs |
Upload and Deploy button errors
Most messages name their fix. The others:
archive contains a symlink: replace the link with the real file.acme/app isn't a public GitHub repository, or it doesn't exist.: make it public, or fix the link afterrepo=.
Pull request previews
- No Pull requests tab: turn on Deploy pull requests. The app must deploy from GitHub.
- A fork's preview never deploys: click Review and deploy on Needs approval, or check Fork pull requests.
- Grey and Stopped: past Live previews. Only Redeploy preview brings it back.
- Gone: its target branch or label changed, or it idled past Destroy after.
- It writes to the production database: give
DATABASE_URLa preview override.
A published port is refused
port is already allocated: a Compose stack's ownports:, or a program Deplo did not start, holds it.- The section is read-only: an instance admin grants Publish ports in Settings -> Users.
Security updates cannot check an image
Its server is too low on disk space to check an image.: run Free up disk space. Any other
reason: nothing to do, the app is not affected.
Did this page help you?