Skip to Content

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 logFix
No start command detectedSet Start command
Railpack does not recognise this folderSet Root directory, or add a Dockerfile
Node.js 25 is not availablePin a released Node.js version, or the variable the message names
The code needs Node 22 and the build used Node 20Pick a Node.js version in that range
The repository's lockfile does not match its package.jsonCommit an updated lockfile, or set Install command
command not found or Cannot find moduleSet Build command, Root directory or Framework
The build needed more than 2.9 GB of memoryBuild on a bigger build server
GitHub refused a download with its rate limitConnect the GitHub App, or retry in an hour
pull access denied or unauthorizedAdd 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 logFix
keeps restarting or stopped right after it startedIt crashes on start, usually on a missing variable or an unreachable database
The start command runs a program that is not in the imageFix Start command
listens only on 127.0.0.1Make the app listen on 0.0.0.0
never listened on port 3000Check that it starts a web server
was stopped: out of memoryRaise its Memory limit
health check failsCheck the health check's path and port

The Logs tab shows a notice

NoticeFix
This container is in a restart loopThe error is in the output below
This container is running but failing its healthcheckCheck the path, the port, and that curl or wget is in the image
This container is not runningRead its last lines, then Start
web has no container on the host, or No logs yetRedeploy
Deplo stopped this container after 10 restartsFix the error, then Start. See Automatic restarts
Not answering · restarts pausedRead 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

  1. The free deplo.site address works? Then see Domains and TLS.
  2. A Docker image answers 502? Fix the domain's Application port in Domains.
  3. A Compose app answers nothing? Check the domain's Container, and that the service has expose: ["3000"]. A service with network_mode: cannot get a domain.

Cannot resolve host

could not translate host name "orders-db" to address: Name or service not known

Or 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 webhook on 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 405 to a browser: send a POST. See Automatic deployments.

A repository is missing or does not clone

What you seeFix
No repositories accessible to this App.Configure repository access on GitHub, and add it
This repository will not cloneIt left the GitHub App's selection: Manage, in its menu on Settings -> Git, and add it back
Deplo is missing access on GitHubUpdate on GitHub, then accept the change on each installation
Authentication failed while cloningThe token expired. Edit the connection on Settings -> Git with a new one
This token is missing accessReplace it with one that has the scopes it needs
commit 4abcdef is no longer in the repositoryA 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_ or VITE_, reach it. A Dockerfile also needs an ARG line.

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 seeFix
Names already in useRename and deploy
web is already answered by Shop on that networkRename the service or its hostname:
traefik is a name Deplo's own infrastructure usesRename the service or its hostname:
A deploy refused with no longer has permissionSomeone with Configure Traefik or Bind server folders saves the file again
pull access denied for an image never in a registryAdd --pull missing to Extra compose flags, in Settings -> Advanced
One container of a template keeps restartingA 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 after repo=.

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_URL a preview override.

See Pull request previews.

A published port is refused

  • port is already allocated: a Compose stack's own ports:, 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?

On this page