Site statuses and health
The lifecycle status shows where a site is in its set-up. The health ring shows what Fleet saw at its last check.
What it is
A site has two separate states. The lifecycle status says what Fleet is doing with the site or waiting for. The health status says what Fleet read from the site's public addresses. A site can be Active and Down at once: set up, but not answering. The status reference lists every status and what it allows.
How it works in Fleet
Lifecycle status. Each status names its next step on the tile and on the site page.
- Awaiting permissions: End User grants are outstanding. The tile says Send the link to the account owner.
- Creating site: Fleet creates the site's resources.
- Site creation failed: a step failed. Retry or Delete.
- Ready to deploy: the resources exist and no deploy has run. Deploy.
- Deploying: a deploy, rollback, restore or update is running. The tile names the job.
- Migrating: the site answers 503 while EmDash migrations run, for up to 60 minutes.
- Setup not finished: the site is deployed and EmDash still asks for its setup. Finish the EmDash setup.
- Active: deployed and set up, or linked.
- Reconnect needed: a connection the site uses was revoked or is no longer valid. Reconnect. See Connection needs reconnecting.
- Resource missing: Cloudflare says a Worker, database, bucket or namespace that Fleet recorded does not exist. Recreate or Unlink.
- Deleting: Fleet deletes the site's resources.
- Deletion incomplete: a deletion step failed. The remaining resources are listed, with Retry deletion.
Health status. The ring has one color and one label, always shown together.
- Gray, Awaiting first check: Fleet has not read the site yet. The first read runs within 5 minutes of the first deploy or the link.
- Green, Healthy: the last read succeeded, EmDash is set up, the site is current and no plugin update is waiting.
- Orange, Needs attention: Fleet found something to look at, and the site page names it. A site that answers but is one or more stable releases behind shows Update available. How Fleet checks a site's health lists the observations.
- Red, Down: three reads in a row ended in a connection failure, a timeout or a server error. A site that answers is never Down, however far behind it is.
Worker logs panel. Fleet does not show a Worker logs panel on any site yet, because it does not yet switch Workers Logs on in the sites it creates. Until it does, read a site's request logs in the Cloudflare dashboard. The Cloudflare documentation describes Workers Logs and its limits.
When Fleet shows the panel, it lists the last 100 invocation logs of the site's Worker. Fleet reads them from Cloudflare when you open the panel and stores none of them. Cloudflare keeps the logs for 7 days on Workers Paid and 3 days on Workers Free, and the panel states the retention of the site's account. The panel needs a Cloudflare connection that may read logs. Without one, it says what is missing and links to the Cloudflare dashboard. A linked site shows the link only.
No Fleet code runs on a site. Every status comes from the site's Cloudflare account, its public health addresses and, if you connect it, the optional site admin connection.
Rules and limits
- Other jobs for a site wait while one runs.
- A status that blocks an action says why on the site page. While a connection needs reconnecting, deploys and updates stop and health reads continue.
- Fleet sends no email when a site's health changes. The Activity view of the Logs tab records each change.
- The logs panel needs the
sites:readpermission and a dashboard session. An API token cannot read it.