For app publishers

Deploys & logs

Every deploy with its build log, and the running container’s logs.

What this is

A deploy is the moment cyantula takes a version of your app and puts it online. This page lists every deploy, so you can see when the app last changed and whether it worked. A log is a diary the app or the deploy writes while it works, line by line. When something breaks, the log usually says why.

You can also put an earlier version of the app back online in a few seconds if a new one misbehaves.

Where to find it

  1. Open the Apps page and click your app.
  2. Click the card Build & deploy, then Deploys & logs.

It is in the Simple view. The Last deploy figure on the app page also takes you here.

What you see

The page has two cards.

Runtime logs. What your app wrote while it was running. Read this when the app is up but does the wrong thing.

  • A search box. You can type words to find, a phrase in quotes, or a word with a minus in front to leave out lines that contain it.
  • A list to choose which output to show: Both outputs, stdout only or stderr only. An app writes normal messages to one stream (stdout) and error messages to another (stderr). Lines from the error stream are marked err.
  • A list to choose how much to fetch: Last 200 lines, Last 500 lines, Last 1,000 lines or Last 2,000 lines.
  • A Live box. When ticked, the log refreshes by itself every few seconds.
  • A Refresh button.
  • A row of filters by importance: All, Errors, Warnings, Info, Debug and Other, each with the number of lines it holds.
  • The log itself, oldest line first, with the time of each line.
  • Under it: how many lines are shown, clear filters (when a filter is on) and Copy.
  • If your app has a dev address, a list on the right called The live app / The dev address chooses whose log you read.

Deploy history. A table with one row per deploy:

  • When: the date and time it started.
  • Where: live for the app your colleagues use, or the name of another address, such as the dev address.
  • Commit: a short code that names the exact version of the code. A commit is one saved step in the code's history.
  • Trigger: what started the deploy.
  • Attempts: how many tries the deploy needed.
  • Status: succeeded, failed or needs env (it is waiting for a value the app needs). A live pill marks the version that is online right now.
  • Restore and Log buttons on the right of a row.

How to read the log of a deploy

  1. In Deploy history, find the row you want.
  2. Click Log on that row.
  3. A section called Build log opens under the table. It shows what cyantula did to build and start that version.
  4. Click Close when you are done.

If the log is empty it says (empty log). When a deploy failed, the last lines of its build log usually say why.

How to look for a problem in the running app

  1. In Runtime logs, click Errors to show only error lines.
  2. Type a word in the search box to narrow them down.
  3. Tick Live if you want to watch new lines arrive while you try something in the app.
  4. Click Copy to copy what you see, for example to paste into your AI agent.

You know it worked when the line under the log says how many lines match, for example "3 of 500 lines match".

How to put an earlier version back (restore)

Use this when a new version broke something and you need the old one online fast.

  1. In Deploy history, find the version that worked.
  2. Click Restore on its row.
  3. A window asks Put the version from … back online? It tells you the version restarts from the copy cyantula already built, so it is live in seconds, and that your values, database and files stay as they are. Click Restore this version.
  4. A message says Rolling back — the earlier version goes live in a few seconds. The row of that version gets the live pill.

Restore only appears on recent successful versions. It is greyed out while the app is busy deploying.

How to put a new version live

  1. When changes are ready, the app page shows a bar called A new version of this app is available.
  2. Click Deploy new version.
  3. A message says Deploy started — the new version goes live shortly. A new row appears in Deploy history, and the status next to the app name follows it.

Approving a change with Approve & go live under Changes starts a deploy for you.

When something looks wrong

  • No deploys yet. The app has not been deployed. Publish it first, or click Deploy new version on the app page.
  • A deploy with the status failed: click Log on its row and read the last lines. If the app was already running, the version that was live before keeps serving. Nobody is moved to the broken one.
  • A deploy with the status needs env: the app asks for a value it does not have. Open What this app needs and fill in the values marked needs a value.
  • No runtime logs — this app is …, so there is nothing running to print any. The app is not running, so there is nothing to read. Look at the build log of the last deploy instead.
  • The app has not printed anything yet. The app is running but has written nothing. This is normal for a quiet app.
  • No line in the last … matches these filters. Click clear filters.
  • Your deploy is waiting for the app to finish. The app said it is busy, for example with a long job. Nothing was interrupted. Two buttons are offered: Don’t deploy drops the deploy, and Deploy anyway goes ahead and interrupts what the app is doing. cyantula tries again by itself and tells you when it stops waiting.
  • Not yet — … after you click deploy: the same thing. The app asked for the deploy to wait. It goes live by itself as soon as the app is free.
  • The status next to the app name says failed: the last deploy did not come up. See the build log as above.

Good to know

  • Only people who manage the app can deploy and restore.
  • cyantula never puts a new version live on its own. You, or an approval you made, start every deploy.
  • Restore changes the code only. Values, databases and uploaded files stay as they are now. To get earlier data back, use Backups.
  • Restoring needs no rebuild, which is why it takes seconds.
  • The runtime log shows the latest lines the app wrote, up to the number you pick.