Troubleshooting

did not go live, or deploy to cap: the app was built but did not start

The build passed, but the app shows Failed with a reason that starts with deploy to cap or ends with did not go live.

The build finished. The failure happened afterwards, when LILY placed the app on a machine or started it.

What you see

✗ copperfox  failed  11m44s  selected owner has no fresh eligible Carrier state: Cap cn-815a…: it is not ready
✗ copperfox  failed  2m53s  closed by operator: … please redeploy

The reason can also start with deploy to cap:. When the app was placed but did not start, it reads:

copperfox did not go live on the cap: exited with code 1

In the console, the reason is in the action bar of the app:

The action bar of an app that did not go live

In plain words: a cap is LILY's name for a machine that runs apps, and the Carrier is the part of LILY that runs apps on it.

Why it happens

ReasonWhat failedWhose side
deploy to cap: …, Cap … is not ready, closed by operatorLILY could not place the build on a machineLILY
<slug> did not go liveThe app was placed and started, but did not answerUsually the app

Fix it

The reason names a cap or an operator. Deploy again. Nothing in your code needs to change.

Open the app and select Try again or Redeploy in the action bar.

lly redeploy copperfox

The reason is did not go live. Read what the app printed when it started:

Open the app, select the Log tab and switch to App.

lly attach copperfox

Then check these three things:

  • The app listens on 0.0.0.0, not on localhost or 127.0.0.1.
  • The app listens on the port LILY has for it. The Network tab and lly network copperfox show the port.
  • Every variable the app needs at start has a value. See Set environment variables.

If it is still not working

Send a report through Feedback & Reports in the console sidebar. Include the full message, the project and app name, and the time it happened.

On this page