Skip to main content

What the red panel shows

When a deploy fails, a red panel at the top of the app page explains what happened. It holds two sentences and a link:
  • the first sentence says what happened;
  • the second says what to do next;
  • the link, What this means and what to do, opens this page at the entry for that failure.
When the cause is on PivoCloud’s side, or PivoCloud could not identify it, the panel also shows a line that begins Reference:. That is a short code you give to PivoCloud support, and it is explained under PivoCloud has no recorded cause. A cause you can fix yourself, such as a missing Dockerfile or a repository PivoCloud cannot read, carries no reference, because support has nothing to add to what the panel already tells you. The same explanation appears wherever the console reports the failure: on the Deployment logs tab under Deployment Failed, and in the message under your variables after a save that failed. A deploy that a newer push replaced reads Replaced rather than failed, and shows no red panel. The build log underneath is the build’s own output. PivoCloud shows it in full and blanks only the values of your app’s variables. It is the place to look for what your own Dockerfile did, and this page does not try to explain it line by line. Between the lines of your own build output, PivoCloud writes a few plain steps of its own: starting your app, checking that it answers on its port, and how the deploy ended. Internal details never appear in those lines. The steps are quoted under What PivoCloud writes in your deploy log, further down. Every sentence the panel can show is quoted below, word for word, under the failure it belongs to. Search this page for the sentence you were shown and it takes you to the right entry.

What is on this page, and what is not

This page is the index of the messages that stop a deploy: the ones that leave your app undeployed and put a red panel on the app page, plus the ones that refuse a deploy before it starts. It is an index of those. It is not an index of everything PivoCloud can tell you. The messages shown when another action on your app fails, such as saving variables or stopping the app, are under When saving variables or another app action fails. The page also explains the answers your AI agent can give when you ask it why an app is not working. Those are in the section What your AI agent can tell you about an app, further down. Each answer there has its own heading, because your agent sends you a link straight to it. Two families of message are deliberately not here. The build agent’s own rejections of a repository URL. PivoCloud checks your repository URL when you save the app and again when you press Redeploy, so a URL it will not accept is refused at that moment and never reaches a build. What you read is the wording of that check, and that wording is quoted on this page. There is no second set of sentences from the build to look for. Failures that leave your app running but not reachable at its public address. These do not fail the deploy at all. Your app is up; only its address is not connected yet. They appear in the card titled Public URL on the app’s Domains tab, not in the deployment logs. They are explained under When your app is running but its address is not ready.

Before the build starts: Redeploy refused because of the repository

When you press Redeploy, PivoCloud checks your repository before it builds anything. If that check fails, nothing is built and nothing is charged. The answer carries Repository validation failed and one of the eight sentences below, and the sentence is the part worth reading.
The URL is not in a shape PivoCloud can use. Copy it out of your browser’s address bar on the repository page rather than typing it.
You gave the git@github.com:owner/repo.git form. Use the https:// form of the same repository.
The URL points somewhere that is not GitHub. GitHub is the only host PivoCloud builds from today.
PivoCloud asked GitHub for the repository and GitHub did not show it. From the outside, a private repository and a repository that was never there look the same, which is why one sentence covers both.
You told PivoCloud the repository is private and then gave it no way to read it. This one is exact: attach credentials.
The owner or the repository name does not resolve. Check the spelling of both, and check the repository has not been renamed or deleted. Two more sentences arrive in the same place.
PivoCloud could not reach GitHub at all. Nothing is wrong with your repository or your token. Wait a minute and press Redeploy again.
The token was read and GitHub refused it. Check it has not expired and that it grants Contents: read-only on this repository, not on a different one.

The clone

PivoCloud could not clone your repository

The red panel reads:
Your repository does not have to be public. PivoCloud deploys private repositories, and The repository is private, or PivoCloud cannot read it says how. Three different build-log sentences produce this same red panel:
The first means GitHub did not show the repository: check the owner and the repository name, and check whether it is private. The third is the catch-all, carrying the raw exit code, and its cause is in the lines above it in the build log. What the agent’s answer says. All three give the same answer, clone_failed, and it lists which one it was. It gives the same advice as the panel: check the repository URL and name, and if they are right, wait a minute and press Redeploy. A badly formed URL lands in the second one. If your repository URL is not merely wrong but malformed, the clone fails in a way that is reported as a network problem. So if you read the network sentence and your connection is fine, read the repository URL character by character before you look at anything else.

The repository is private, or PivoCloud cannot read it

The red panel reads:
The build log for the same failure reads:
What it really means: PivoCloud reached GitHub, offered whatever credential it has for this app, and GitHub said no. Either there is no credential, or the one attached does not open this repository. What to do, and what not to do. Do not make your repository public. PivoCloud deploys private repositories and there are two supported ways to let it read yours.
  • Connect the PivoCloud GitHub App and pick the repository from the list. This is the shorter path and there is nothing to renew.
  • Or attach a fine-grained personal access token. On the app form, open the Advanced section, turn on Private repository, and paste the token into the Fine-Grained Personal Access Token field. The token needs exactly one permission on exactly one repository: Contents: read-only. Give it nothing else.
A token is a password. Paste it into that field and nowhere else, and never commit one to your repository.

The repository URL does not look valid

The red panel reads:
What PivoCloud could not do is read the URL as a GitHub HTTPS address. Your repository does not have to be public. The build log sentence that pairs with this panel is:
Without the clone prefix, the same sentence reads:
In practice you are unlikely to be shown either of them for a malformed URL. A URL that is badly formed rather than merely wrong is reported as a network problem instead, so the sentence you actually meet is the network one, under PivoCloud could not clone your repository. Both are quoted here so that a paste of either lands on this entry. The sentences shown when the same URL is refused before a deploy starts are more specific, and they are the ones to act on. They are quoted under Before the build starts: Redeploy refused because of the repository.

The build

PivoCloud could not find a Dockerfile to build

The red panel reads:
The build log names the path itself, with your own paths in it, and this is the version worth reading. It begins with No Dockerfile at followed by the file it looked for, then (build context: followed by the directory it looked inside, so a whole instance reads like “No Dockerfile at <path> (build context: <dir>).” There is a second form of this failure. If the path you gave points at something that is not a file, a directory of that name for example, the log says “Dockerfile path <path> is not a regular file (build context: <dir>).” instead. Same cause, different mistake: the first means nothing is there, the second means something is there and it cannot be built. PivoCloud does not require a Dockerfile at your repository root. What failed is the path it actually resolved, which is the one printed in the log. Two settings decide that path, and one of them is wrong. Root directory is the directory the build can see, and it defaults to your repository root. Dockerfile path is the file to build, relative to Root directory, and it defaults to Dockerfile. Both live on the app page. Compare the path printed in the log against what you set. A Dockerfile at api/Dockerfile with Root directory left blank needs Dockerfile path set to api/Dockerfile. The same file with Root directory set to api needs Dockerfile path set to Dockerfile. How the two combine, with a worked example, is on what your repository needs. The log then hands you the answer. After that sentence it appends Dockerfiles found in this repository: and lists the ones it did find, each in quotes. Compare that list against the path it says it was looking for and the mistake is usually obvious. That list is taken from your whole repository, not only from inside the Root directory you chose. That is deliberate, and it is the single most useful thing in the message: the commonest cause of this failure is a Dockerfile that exists and simply sits outside the directory you pointed the build at. If your Dockerfile is in that list but the build still could not find it, the two settings are the thing to change, not your repository. The list stops at ten entries and does not tell you that it stopped. Add up what the message does show you: the paths it printed, plus the number in its own and N more note if it carries one. If that total reaches ten, read the list as a sample and search your repository for the rest. That and N more note counts only the entries the message dropped to stay inside its own size limit. It never counts the ones the search stopped looking for at ten. A list below ten did not hit that limit. It is still not a promise that your repository holds nothing else. The search behind it is bounded. It looks only a few directory levels down from the repository root, it never descends into the directories a build generates or vendors into, and on a very large repository it stops early. node_modules and dist are two examples of the directories it skips rather than the whole set, and the set is a platform detail that can change. If the Dockerfile you expected is not in the list, check whether it sits deeper than that or inside one of those generated directories. Then set Dockerfile path to it directly instead of waiting for the list to name it. PivoCloud also records this sentence against the deploy with docker build failed: in front of it, so if support quotes it that way, everything above still applies. What to do: fix whichever of the two settings is wrong, then redeploy. The button on the app page reads Redeploy. Nothing else needs changing and you do not need to push a commit for the new settings to take effect.

The build itself failed

The red panel reads:
This panel stays general on purpose. The build ran and something inside your own Dockerfile failed: a package that would not install, a compile error, a command that returned non-zero. PivoCloud has no opinion about what your build does, so it has nothing to add. Read the build log from the bottom upwards. The last command that ran before the failure is the one to look at. If your repository uses symlinks, special files or a .dockerignore, read Can my repository contain symlinks? for how PivoCloud treats them during the build. One build message is yours to fix and lands here too. When PivoCloud cannot use your .dockerignore file, the build log shows this sentence, and PivoCloud records it with docker build failed: in front of it:
Open that file, check that every line is a valid pattern, fix the line that is not, and redeploy. The other build messages, about starting the build or sending your code to it, are on PivoCloud’s side, and the panel treats them that way. They are under PivoCloud has no recorded cause, with the advice to redeploy once. If your app has no Dockerfile. PivoCloud builds some apps without a Dockerfile. Only some machines do this for now, so you may never see what follows. On such a build, the first line of the build log reads Building with Railpack, then the version PivoCloud uses, then , because this app has no Dockerfile in its root directory. If the build log ends with one of these two sentences, PivoCloud could not tell how to build or start your app:
A third sentence says your railpack.json asks for build secrets, which PivoCloud does not support:
For all three the red panel reads:
Two more sentences are on PivoCloud’s side, not yours, and your code does not need to change. Redeploy once. If the same sentence comes back, contact PivoCloud support:
For this sentence, the build log lines under “The repository analysis printed this before it stopped:” say what stopped the analysis. Read them before you redeploy, and include them if you write to support.

The build ran out of time

The red panel names the limit your build was held to:
When PivoCloud cannot read the limit, the first sentence leaves the number out:
The build log carries the same fact. It writes the limit as 30m0s, which means 30 minutes:
Press Redeploy, and keep pressing it until the build completes. This is not a retry in the hopeful sense. The layers your build already finished are kept, so the next attempt does not repeat them: it starts where the previous one stopped and reaches a later stage. Repeat and it eventually gets all the way through. Note what this does not promise. A build that runs out of time runs for the whole limit every time, because the limit is what ends it, so two failed attempts take the same wall-clock time even though the second did more work. What changes between attempts is how far the build gets, not how long you wait. The attempt that finally completes is the short one. You do not have to hit the limit to find out what it is. The first lines of every build log carry a line beginning Build limit for this deployment: , followed by the limit for that deployment and the time it would be cancelled. So you can read your budget before you start waiting for it. If your build keeps running out of time, the thing to change is the Dockerfile, not the settings: order it so the slow, rarely-changing steps come first and are cached, and copy your source in as late as possible.

Starting your app

The container started but your app did not answer

The red panel reads:
The build log can carry a longer sentence written by the build step:
The port PivoCloud probes is the one your Dockerfile declares with EXPOSE. Your container started and PivoCloud could not reach your app on that port. What counts as started. PivoCloud asks your app for its home page (/), using your app’s own public address as the host name, and it does not follow redirects. Any answer below 500 counts as started: a page, a redirect, a login screen, even a 404 or a 401. An answer of 500 or more, or no answer at all, does not. So a Django or Laravel app that refuses unknown host names is judged on the answer a visitor gets, and an app that redirects every request to https is judged on the redirect. When the deploy goes live on a 4xx answer. If your home page answers with a status from 400 to 499, PivoCloud puts the deploy live and writes one warning line in the deploy log, so a page that is missing is not silent. The numbers in the examples on this page are examples; your log shows your own app’s values.
If the 404 is not what you meant, check that your app serves a page at /, then redeploy. When the deploy fails, the last line says why. The build log ends with one of these sentences, each naming what PivoCloud saw. The first three are for every app. They carry numbers that are examples here. If your app answered with an error status, the app is running and listening, and the fix is in the app, not in its port:
If your app stopped before it answered, the problem is in how it starts:
This sentence also covers an app that starts, crashes and is started again while PivoCloud is checking it. When a deploy fails this check, PivoCloud stops the new app instead of letting it restart over and over, and keeps it so its logs stay readable. Fix the cause, then deploy again. If your app is listening, but on a port other than the one PivoCloud asked on, the sentence names both. For an app built from a Dockerfile it points at the first EXPOSE line:
When PivoCloud saw no listening port at all for a Dockerfile app, you get the long sentence quoted above. If you see a sentence about the Listen port or the PORT variable. Only some machines build apps that have no Dockerfile, so you may never see these two. They are the same answers for such an app, which has a Listen port setting instead of an EXPOSE line:
That is a contract with a few sharp edges: which EXPOSE line is read, what happens when there is no EXPOSE line at all, and why ENV PORT in the Dockerfile makes things worse. All of it is on what your repository needs. This message is also emitted for almost any failure to start, not only for a port mistake. If your EXPOSE line and your listening port already agree, your app is crashing on boot instead, and the reason is in the container logs. When your agent asks why the app is not working, the facts behind its answer include start_check. running means PivoCloud recorded that your app was still running but never answered. not_recorded means it recorded nothing about the state of your app, for example on an attempt made before this was recorded. unavailable means PivoCloud could not read that record just now, so the answer is not certain, and asking again later may give a better one. If PivoCloud recorded that your app had exited at the start check, the answer is the app exited right after it started instead of this one.

We could not load your app’s settings

The red panel reads:
The deploy log ends with a longer sentence:
Before a deploy starts your new version, PivoCloud reads your app’s settings: its variables and the variables of a database linked to it. This time it could not read them, so it stopped. Nothing was started and nothing was stopped: the version that was running before the deploy is still running, with the settings it had. What to do: wait a few minutes and deploy again. A stopped database does not cause this message: it has its own, under the database attached to the app is not running. If the deploy keeps failing after that, contact PivoCloud support and give them the reference shown with the message.

The server is busy right now

The red panel reads:
The deploy log or the app page can carry a longer sentence:
PivoCloud starts your new version next to the one that is serving, and only then switches traffic to it. For a short time both run together, so the machine needs room for both. This time it did not have it. Nothing about your app changed and the version that was serving is still serving. This can follow a deploy, a change to your variables, a restart or a return to an earlier version. What to do: wait a few minutes and try the same action again. If it keeps failing, contact PivoCloud support and give them the reference shown with the message.

If you see a line about APP_KEY in the deploy log of a Laravel app

A Laravel app cannot start without an APP_KEY variable. When your Laravel app has none, PivoCloud makes one the first time the app is deployed and saves it in the app’s variables, so you do not have to type it. The deploy log tells you what happened, in one of three lines.
This is the normal first deploy. You do not have to do anything. You can see the variable in the app’s variables, and the history shows that PivoCloud wrote it. Laravel uses the key to encrypt sessions and other saved data, so keep it. If you want your own key, set APP_KEY yourself and PivoCloud will never replace it.
Someone deleted the APP_KEY variable after PivoCloud made it. PivoCloud does not make a second key, because anything saved with the first one would stop working. Add APP_KEY back in the app’s variables with the value you had, then redeploy. If you have no copy of it, set a new key yourself, knowing that sessions and data encrypted with the old key cannot be read again.
PivoCloud could not make the key this time, and the deploy went on without it. A Laravel app with no key answers with an error, so the start check may fail after this line. Redeploy to try again, or add APP_KEY in the app’s variables yourself.

What PivoCloud writes in your deploy log

Between the lines of your own build output, the deploy log holds a few short lines that PivoCloud writes itself. They say what is happening to your app: it is starting, PivoCloud is checking that it answers, and how the deploy ended. They are plain on purpose. They never show PivoCloud’s internal steps, and they never repeat or change your own build output. The examples below use port 3000, attempt 3 with 40 seconds left, HTTP status 500, the address my-app.pivocloud.app and 3 variables. Your log shows your own app’s values in the same places. The steps of a deploy. PivoCloud starts your app, then checks that it answers on the port your Dockerfile declares with EXPOSE:
When PivoCloud cannot tell which port that is, the two lines about the check read without a port:
When your app has not answered yet. PivoCloud checks again and again until the time it waits runs out. Each time your app has not given a successful answer, the log gets one of two lines. Each carries the number of the attempt and the seconds PivoCloud still waits, and your app’s own port when PivoCloud can tell which port that is. The first means nothing answered on that port yet:
The second means your app did answer, but with an error status, a status of 500 or more. Any answer below 500 counts as started:
When PivoCloud cannot tell which port that is, the same two lines read without a port:
These lines are normal while a slow app is still starting, so one of them alone is not a problem. If the last attempt fails too, the deploy fails with the answer under The container started but your app did not answer. The place to look is your app’s own logs and its environment variables: a port that does not match the EXPOSE line, or a variable your app needs and does not have, are the usual causes. When your settings could not be loaded. If PivoCloud cannot read your app’s settings at the moment of a deploy, the deploy stops before it touches the version that is running, and the log ends with this line. The section We could not load your app's settings on this page explains it:
When the database linked to your app was deleted. If the database an app was linked to has been deleted, the deploy goes on with the app’s other settings, and the log says why the database’s variables are not there:
The app starts without the database’s variables, so it may fail its start check if it needs them. Detach the deleted database from the app, or attach another one, and deploy again. When the database attached to your app is not running. A deploy, restart or variable change made while the database is not running stops before your running app is touched. The log and the failed deploy say which database:
When the name cannot be shown, the sentence reads:
When the database attached to your app is still starting. After a top-up or a resume, the database can take a moment to come up. The log says so once, then the deploy waits and goes on by itself as soon as the database runs:
When the name cannot be shown, the line reads:
If the database is still not running after the wait, the deploy stops before your running app is touched, and the failed deploy says:
When the name cannot be shown, the sentence reads:
How the deploy ended. One of these three lines closes a deploy. Your app is running and its address is connected:
Your app is running, but its address is not connected yet. The Public URL card on the app’s Domains tab says what happens next, and the section When your app is running but its address is not ready on this page explains it:
The deploy did not finish. The red panel at the top of the app page says what happened and what to do, and the section What the red panel shows at the top of this page explains the panel:
When you change your environment variables. Saving variables starts your app again with them. The log says how many it starts with, and then how it went:
When your app is started again without a change. Starting an app that was stopped, resuming one that was suspended, and changing the plan all start your app again without touching its variables, so the log does not mention them:
When you return an app to an earlier version, the log shows three lines of its own. The first says the return has begun, the second says the app is running the version you chose, and the third says the app could not be returned and is still running as before:
When some of these lines are hidden. Some deploys show one line in place of PivoCloud’s own steps: deploys that were run before these plain lines existed, and deploys that ran while PivoCloud was being updated. Your own build output is never hidden by it:

When another action on your app fails

Saving variables, stopping or starting the app, changing its address, setting up custom domains and deleting it all run in the background after you press the button. When one of them fails, the console shows the same kind of explanation as for a deploy: two sentences and a link to this entry, and a reference when the cause is on PivoCloud’s side or could not be identified. That reference is the same one a failed deploy shows. What it is and what to send with it are explained under PivoCloud has no recorded cause.

When saving variables or another app action fails

Your variables are saved first and applied to the running app afterwards, so most of the messages below begin Your variables are saved. That first sentence is good news: nothing you typed was lost. What failed is the step that makes the running app use them.

After you save variables

The new container did not become healthy.
The new container started with your new variables but did not pass PivoCloud’s health check in time. PivoCloud put your previous container back, so visitors still reach your app. Look at your app logs for why it does not start with the new values, fix that, and save again. The new container could not be started.
The most common cause is an app that has never deployed successfully, so there is no built version to start with the new variables yet. Fix the repository connection if it needs it, then press Deploy or Redeploy. Your variables will be used by that deploy. PivoCloud could not read your variables back.
Nothing about your app changed. The cause is on PivoCloud’s side. Try again, and if it fails again, give support the reference. PivoCloud could not read which port your running app uses.
Nothing about your app changed. The cause is on PivoCloud’s side. Try again, and if it fails again, give support the reference. PivoCloud could not resolve the app’s address.
This is a problem on PivoCloud’s side and it repeats on every attempt, so saving again will not help. Give support the reference. PivoCloud could not run the apply step.
This is a platform configuration problem, not a problem with your variables. Give support the reference. Traffic did not switch over to the new container.
Your app is still reachable on its previous container, with its previous variables. Save again, and if it fails again, give support the reference. Your app did not start listening in time.
What your repository needs explains how the port is chosen. Another apply was already running.
Two saves overlapped. Wait for the first to finish, then check that your variables are what you expect. The apply did not complete, for a reason PivoCloud did not name.
Give support the reference. It lets them find what happened without asking you to describe it.

When undoing a change fails

These come from Undo in Recent changes, below the variables editor. They are shown in the undo dialog, except the last one, which is a short notice on the page. Variables are only changed when the undo is confirmed, so none of these leaves the variables half changed. If the variables changed while the dialog was open, for example from another tab, the dialog does not fail. It reads the up-to-date list again and shows it with a notice. Check the list, then confirm again. Nothing was written by the first click. A deploy or another change is running. A deploy or another change is running for this app. Try again when it finishes. The app is busy with a deploy, a restart or another change to its variables, possibly one an agent made. Wait for it to finish, then undo again. PivoCloud could not check what the undo would change. We could not check what this undo would change. Close this and try again. The dialog could not read the preview, so it shows no list and Undo change stays off. Close it and open it again. Nothing was changed. PivoCloud refused the undo. We could not undo this change. Nothing was changed. Try again. The request reached PivoCloud and was refused, so your variables are as they were. Try again. If it fails again, reload the page and check the entry in Recent changes. PivoCloud could not confirm the undo. We could not confirm the undo. Reload the page to see the current variables. The request may have been applied, but the answer did not reach your browser, for example because your connection dropped. This message does not say that nothing changed, because that may not be true. Reload the page and read Recent changes: a new entry Undone by you means the undo happened. If there is none, undo again. Your browser sent the undo from an address PivoCloud does not accept. The undo dialog can say that your browser sent the request from an address PivoCloud does not accept, and that nothing changed. The exact sentence is on How do I see, change and cut off my AI agents?. Nothing was changed. Open the console from its normal address, reload the page, and undo again. The change can no longer be undone. This change can no longer be undone. The entry was among the 20 most recent changes when the page loaded, and newer changes have pushed it out since. The page reads the list again. Variables are not lost: only the way back to that older state is gone.

Stopping, starting, moving or deleting the app

Deleting the app.
The deletion started and did not finish. Give support the reference so they can finish it. Setting up custom domains.
Open the Domains tab to check your domains, then try again. If it fails again, give support the reference. Moving the app to a new address.
Try the change again, and if it fails again, give support the reference. Starting the app again.
Check the app’s state in the console and try again. If it fails again, give support the reference. Stopping the app.
Try Stop again, and if it fails again, give support the reference.

After you go back to an earlier version

The earlier version could not be restored.
Try the version again, and if it fails again, give support the reference. The earlier version is no longer kept.
PivoCloud keeps only a few recent versions of your app, and this one was removed. It will not be offered again. Pick another version from the list, or deploy your code again. The earlier version could not be verified.
Your app is unchanged. Try again, and if it happens again, give support the reference. PivoCloud could not read the app’s version right now.
This says nothing about your code, so you do not need to deploy again. It can also appear after you save variables or start the app again. Wait a minute and try once more, and if it fails again, give support the reference. The app has no version to start from.
The app was never deployed successfully, or its built version was removed. Press Deploy to build it again.

When your own deploy is queued

A deploy of your app can wait for a build slot and show Queued. It starts on its own, and nothing needs fixing. While it waits, the actions below are unavailable, and the console explains why with a sentence that starts This app has a deploy queued. and names what you tried. Every one means the same: the deploy runs by itself, and the action is available once it has run. Stopping the app. This app has a deploy queued. You can stop it once that deploy has run. Starting the app. This app has a deploy queued. You can start it once that deploy has run. Restarting the app. This app has a deploy queued. You can restart it once that deploy has run. Changing the app’s plan. This app has a deploy queued. You can change its plan once that deploy has run. Rolling the app back. This app has a deploy queued. You can roll it back once that deploy has run. Returning to the version you rolled back from. This app has a deploy queued. You can return to this version once that deploy has run. Saving variables. This app has a deploy queued. You can save its variables once that deploy has run. The More actions menu carries the shorter form, This app has a deploy queued. More actions are available once that deploy has run. Nothing you typed is lost while you wait. Open the Deployments tab to watch the queued deploy start.

When the cause is on PivoCloud’s side

These four apply to any of the actions above. A problem on PivoCloud’s side that repeats.
Do not try again: the cause is on PivoCloud’s side and a retry will fail the same way. Give support the reference. A reason PivoCloud could not identify.
Give support the reference. A platform update interrupted the action twice.
PivoCloud updates itself from time to time and restarts an interrupted action once on its own. When the update interrupts it a second time, the action is stopped. Your app did not cause this. Do the action again if the console still offers it, and if it fails again, give support the reference. A platform recovery interrupted the action.
Sometimes PivoCloud has to recover its own systems. An action that was in progress at that moment is set aside, and the message cannot say how far it got. Look at your app in the console to see where it stands, do the action again if the console still offers it, and if it fails again, give support the reference. PivoCloud lost track of the action.
PivoCloud waits a set time for an action to report back. When nothing arrives in that time, it ends the action so your app is no longer blocked and you can act on it again. It cannot say how far the action got before it went quiet, so look at your app in the console first, do the action again if the console still offers it, and if it fails again, give support the reference.

When your app is running but its address is not ready

After a deploy, PivoCloud connects your app to its public address. Your app can be running while that step has not finished. The card titled Public URL on the app’s Domains tab shows where this stands. It is a card on the Domains tab, not on the Overview tab. A yellow message means the address is still being set up. Your app is running and nothing is wrong. No reference is shown, because there is nothing for PivoCloud support to look up. The message reads:
With this next step:
When the yellow message goes away. The message records how your last deploy left the address, and PivoCloud does not clear it by itself. It stays until your next successful deploy replaces it, even if the secure address starts working before then. If you want the message to show the current state, deploy your app again. A red message means PivoCloud could not connect your app to its public address. Your app is still running. The cause is on PivoCloud’s side, not in your code, so nothing in your repository needs to change. PivoCloud tries again by itself. The message reads:
With this next step:
When the red message goes away. Once your app is connected to its public address, PivoCloud notices on its own and the red message clears, usually within a minute. You do not need to do anything. There are two cases where it does not clear. One is a deploy that changed your app’s address and could not update the connection while it ran. PivoCloud does not replace a connection that already exists, so it leaves that one as it is and the red message stays. The other is a deploy that changed your app’s port while PivoCloud could not reach the part of its own system that holds your address, so it could neither update the connection nor remove the old one. In both cases, deploy your app again, and the deploy puts the connection right. The reference that starts with a- is shown with the red message only. It identifies your app for PivoCloud support, so give it to them when you write. It is not shown with the yellow message, because the yellow message needs no support.

What your AI agent can tell you about an app

If you connected an AI agent, you can ask it why an app is not working. It asks PivoCloud and gets back one answer: a short sentence, how sure PivoCloud is, the facts behind it, the next step to take, and a link to the entry on this page that explains it. The answer is worked out from what PivoCloud recorded about your app. Nothing is called live while the agent asks, and the answer never contains an env var value or a line from your logs. How to connect an agent is on connecting your AI agent. Every answer also lists what PivoCloud could look at and what it could not. A signal that could not be read is named in the answer, so an agent never takes silence for a clean result. Logs and a live call to your app’s address are not looked at today, and are always in that list. Many answers are explained under the failure they describe, higher on this page. A build that failed is build_failed, under The build itself failed. A container that started but did not give a good answer to the start check is app_not_answering, under The container started but your app did not answer. A repository PivoCloud could not clone is clone_failed, one it cannot read is repo_access_lost, and a repository URL that is not valid is invalid_repo_url. A missing Dockerfile is dockerfile_missing, a build that ran out of time is build_timeout, and a deploy that a platform update interrupted twice is deploy_interrupted_by_platform. Each of them sits under the heading that explains that failure. The answers that have no failure message of their own are explained below. When a deploy failed but the version you had before is still running, the answer says so, and your app is still serving visitors.

The app is suspended because the wallet could not pay

The renewal of this app could not be paid from your wallet, so PivoCloud suspended it. This is the first thing an agent looks at, because a suspended app explains everything else: it is not running, whatever its last deploy did. What to do: top up your wallet in the console. Suspended databases come back first, then apps, oldest first, as far as the balance goes. You do not need to redeploy.

The app was stopped from the console

Someone stopped this app from the console, so it is not running. A stopped app does nothing on purpose: it is not a failure, and nothing is wrong with your code or with PivoCloud. The answer gives the time it was stopped. What to do: press Start on the app in the console. You do not need to redeploy.

The app has expired

This app was set not to renew, and its paid period ended, so PivoCloud stopped it. The answer gives the time the period ended. Your settings, variables and plan are kept. What to do: open the app’s Billing tab in the console and turn the Auto-renewal switch back on, and make sure your wallet can pay for the plan. Then press Redeploy. Redeploying with the switch still off does not help: the app runs again for a short time and then expires again, because it is still set not to renew.

A deploy is still running

The latest deploy of this app has not finished, so the new version is not up yet. The answer gives the stage the deploy is at and its id. What to do: wait for the deploy to finish. You can also ask your agent to follow that deploy and tell you when it ends. When your agent follows a deploy, it is told its stage in plain words, how long it has been running against the build limit, and when to ask again. The limit covers the whole deploy, not only the build step. Until PivoCloud has recorded the limit of the current attempt, the limit and the deadline are not shown. Once a deploy is past its deadline the agent keeps asking at the normal pace for that stage, rather than asking every second.

The app has never been deployed

The app exists, but no deploy was ever started for it, so there is nothing running. This is not a failure. An app that failed to deploy is not this: it gets the answer for its failure. What to do: press Deploy on the app in the console.

The app exited right after it started

PivoCloud started your container and it stopped again straight away, before the start check could succeed. The answer carries the exit code your app ended with. The deployment log of that attempt has one line from the start check that says whether the app was still running or had exited, and with which code. What to do: open the app’s logs in the console and read the last lines your app printed before it stopped. Check the start command in your Dockerfile and that your app has everything it needs to boot, then press Redeploy. An exit code of 1 usually means your app raised an error. 137 usually means it was stopped for using too much memory.

The app keeps crashing

The status badge reads Keeps crashing. PivoCloud shows it when your app crashed and was started again several times within a few minutes. The app is up for a moment and then gone, so a single look at it can show it as running. The badge stays until the app has run for a while without crashing. A redeploy, a plan change or a restart you ask for starts the count fresh. Your own stop, restart or redeploy never counts as a crash. If the health history shows that the app runs out of memory, read the next entry, The app ran out of memory, because memory is then the cause. What to do: open the app’s log history (the History view) and read the last lines before each crash. The cause is inside your app, so fix it there and press Redeploy.

The app ran out of memory

The health history shows Stopped because it ran out of memory. when your app used more memory than its plan gives it, and PivoCloud stopped it. It shows It runs out of memory each time it starts. when this happens again and again. The message names the memory your app’s plan gave it at that moment. An older entry keeps the figure of its time, so it can differ from your plan today. The badge may read Keeps crashing at the same time. An app that runs out of memory each time it starts is also an app that keeps crashing. Sometimes only a process inside your app is stopped, not the app itself. The log history then shows A process inside your app was stopped because the app reached its ... of memory (or A process inside your app was stopped because the app reached its memory limit when no figure was recorded). The app keeps running in that case. What to do: reduce the memory your app uses, or change to a plan with more memory. Press the Change plan button on the message, or open More actions and then Change plan. If your app is already on the plan with the most memory, reduce its memory use.

PivoCloud recorded the app as unhealthy

The app was deployed and was running, and the health check PivoCloud keeps on it then recorded its container as not running. That is all the record says: it does not say why the container is gone. A crash in your app can cause it, and so can something outside your code, such as the container being stopped or a restart of the machine it ran on. The answer gives the time of that check. It is the last recorded check, not a call made at the moment you asked. If your app ran out of memory, the health history shows the out-of-memory sentence instead of Container exited unexpectedly, and that entry explains it. A crash your app recovers from by itself is recorded too. When your app’s process exits and PivoCloud starts it again straight away, the app’s health history (click the status badge on the app page) shows Container exited unexpectedly at the time of the crash, then Container recovered after the next health check, usually within a minute. What to do: open the app’s logs in the console to see whether the app exited because of an error. If it did, fix that in your app and press Redeploy. If the logs show nothing wrong, press Redeploy anyway, because the container may have been stopped from outside your code. If a database is attached and not running, the answer is about the database instead, because it is the cause to fix first.

PivoCloud recorded a problem with the app’s address

The app is running and its health check shows no problem, but PivoCloud recorded that its public address is not ready: a problem for the red status, still being set up for the yellow one. Visitors may not reach it yet. The answer gives the status PivoCloud recorded, and never the detail of the problem. What to do: it depends on the status PivoCloud recorded. For the red status, PivoCloud retries the address automatically. If it is still not working after 10 minutes, contact PivoCloud support. For the yellow status, no action is needed, and the answer says the address is still being set up. PivoCloud does not clear the yellow status by itself: if you want it to show the current state, deploy your app again, because the next successful deploy replaces it. What the address panel shows, and when its messages go away, is under When your app is running but its address is not ready.

The database attached to the app is not running

The database attached to this app is not running, for example because it was suspended when the wallet could not pay. An app that cannot reach its database often looks unhealthy or restarts over and over, and the database is the cause to fix first. What you see. It depends on where you were when you asked.
  • Saving environment variables while the database is not running: the yellow message above the editor says nothing was saved. It names the database:
  • Saving environment variables while the database is still starting: the same place, and it asks you to wait a minute:
  • Restart, Start, Change plan, Deploy or Rollback while the database is not running: the console refuses at once and shows the sentence that the deploy log carries, which is quoted under the heading for the deploy log lines above. A deploy or restart that was already on its way when the database stopped ends in the red panel below, and its log shows the same sentences.
  • Deploy or restart while the database is still starting: it is not refused. It waits up to 2 minutes for the database, writes a line in the deploy log to say so, and then goes on, or stops with the sentence for a database that was still starting after 2 minutes.
What to do: open the database in the console and see why it is not running. A database that was suspended because the wallet could not pay runs again once you top up your wallet. If the app should run without that database, open the app, go to its Environment tab and use Detach Database. Then try again. Do not redeploy while the database is stopped, because the deploy would fail again before it touches the running app, which keeps running with the settings it has. The red panel names the database:
When the database was still starting, PivoCloud waited up to 2 minutes for it before it gave up, and the red panel says so:
When the name of the database cannot be shown, the first sentence leaves it out:
When a database is not running, your agent’s list of env var names does not include the names that database would add. They are listed again once it runs.

PivoCloud found nothing wrong on its side

The last health check PivoCloud recorded found your app healthy. The answer gives the time of that check. It is the last recorded check, not a call made at the moment you asked, so it does not prove the app answers right now. What to do: if the app still misbehaves, the cause is inside the app. Open its logs in the console, and ask your agent to look at the code and the configuration rather than at the platform.

PivoCloud has no recorded cause

Nothing PivoCloud recorded explains the problem, so it does not guess. This is also the honest answer for states that have no entry of their own on this page, such as an app that is restarting or a failure PivoCloud does not recognise. The answer names the facts it did find, for example the status of the app and of its latest deploy, and lists every signal it could not read. What to do: open the app in the console and read its deployment history and its logs. The reference. When the cause is on PivoCloud’s side, or PivoCloud could not identify it, the red panel carries a line that begins Reference:, and your agent’s answer names the same code. It looks like d- followed by 8 letters and digits, for example d-3f9a1c2e. It points at the one deploy or action that failed, so support can find it without asking you to describe it. A cause you can fix yourself, such as a missing Dockerfile, has no reference. A deploy that a platform update interrupted twice carries one. When you contact PivoCloud support, send three things: the reference, the name of your app, and roughly when the failure happened. You do not need to copy anything from the build log. The reference gives nobody access to your app. It only tells support which deploy to look at.

What the red panel says for a deploy that lands here

Four panels share this entry. Read the first sentence to find yours. A reason PivoCloud could not identify. The deploy failed with text that PivoCloud does not recognise, so it does not guess a cause:
Redeploy once. If the same message comes back, contact PivoCloud support with the reference. A problem on PivoCloud’s side that repeats on every attempt. PivoCloud did not give the deploy something it needed, such as a public address. Redeploying will not help:
Nothing in your code needs to change. Contact PivoCloud support with the reference. A problem on PivoCloud’s side that may pass. PivoCloud’s own build step could not start the build, or could not send your code to it, before your code was built. The build log shows one of these sentences, and PivoCloud records each with docker build failed: in front of it. The panel shows the same two sentences for all of them:
PivoCloud could not hand your code to the build:
PivoCloud could not package your repository for the build:
A file in your repository changed while PivoCloud was packaging it:
The build lost its connection to the PivoCloud build service:
The connection to the build was lost while its output was being read:
PivoCloud could not open the connection it needs to fetch your base image:
PivoCloud could not set up the build of your code because of a fault on its side:
What to do: redeploy once. If any of these messages comes back on the second try, contact PivoCloud support and give them the reference shown with the panel. A deploy that a platform recovery interrupted. Sometimes PivoCloud has to recover its own systems. A deploy that was in progress at that moment is set aside, and the panel cannot say how far it got:
Look at the app in the console to see which version is running. If it is not the one you expect, deploy again. If that fails too, contact PivoCloud support with the reference. A deploy that PivoCloud lost track of. PivoCloud waits a set time for a deploy to report back. When nothing arrives in that time, it ends the deploy so your app is no longer blocked, and the panel cannot say how far the deploy got:
Look at the app in the console to see which version is running. If it is not the one you expect, deploy again. If that fails too, contact PivoCloud support with the reference. A deploy whose details PivoCloud hid. PivoCloud blanks your app’s values (for example the values of your environment variables) out of everything it shows you about a deploy. When it could not load those values, it cannot tell which words to blank, so it hides the whole message instead. The panel then falls back to the first case above, a reason PivoCloud could not identify. PivoCloud records this sentence for the failed deploy:
And a line in the deploy log reads:
Nothing is wrong with your code because of these two messages. The details were hidden because PivoCloud could not load the app’s values to blank them, so deploy again to see the reason.

A platform update interrupted your deploy

PivoCloud updates itself from time to time. If that happens while your deploy is running, PivoCloud lets the deploy finish first whenever it can. When it cannot, your deploy starts again from the beginning, once, on its own. It is the same deploy, so it keeps its place in your deployment history and you do not need to press anything. If you saw this line in your build log, nothing is needed from you:
Only if the update interrupts the deploy a second time in a row does it stop. The deploy then fails, and the red panel reads:
The panel carries a reference, because the cause is on PivoCloud’s side. If your app has no running version, the panel is at the top of the page. If the version you had before is still running, your app stays running and no red panel appears at the top of the page, and the same explanation is under Deployment Failed on the Deployment logs tab. PivoCloud also records this sentence for the deploy:
Your code did not cause this, and there is nothing to fix in it. Do not change your Dockerfile or your settings because of this message. Press Redeploy and the deploy starts fresh. If it fails again, contact PivoCloud support and give them the reference. What this does to your credit is in the next section.

When Redeploy or the other buttons refuse

Pressing Redeploy can come back eight different ways. This is the list for that one button. The other buttons on the app page have their own answers, and this is not every response the platform can give you. The already-deploying answer is swallowed, so pressing Redeploy during a deploy does nothing visible. No message, no error, nothing changes on screen. If Redeploy appears to do nothing at all, a deploy is already running: open the Deployments tab and watch it there rather than pressing the button again. The same in-progress refusal is worded two ways, depending on which control you pressed. From Redeploy you get the sentence in the table. From Stop, Start, Restart or Change plan you get A deployment is in progress for this app. Try again in a moment. instead. The two sentences are the same condition and the same advice: wait a moment, then try again. Start answers the in-progress sentence too, while a deploy, a restart or a stop is still running for the app. Wait for that job to finish (the Deployments tab shows a deploy), then press Start again.

An empty wallet now has its own message

Failed to trigger deployment is the sentence PivoCloud falls back to when it has nothing more specific. It no longer means a credit problem. When your wallet does not cover the charge for a deploy, the console now says Your wallet balance is too low, beside the button, with the price, your balance and the amount that is missing. An app with a monthly price is charged when it is first deployed, not when it is created, or when a paid month has ended and a new one starts. If the balance does not cover that charge the deploy is refused and no money moves. What to do: press Top up in the notice, then press the button again once the top-up is credited. The page when an action is refused for credit has the detail. If you still read Failed to trigger deployment, the cause is something else, not your wallet. Inside a paid month, redeploying takes no further payment, so a redeploy can never fail for lack of credit. A push to your repository follows the same rule. See a push that was not deployed for lack of credit.

A push that was not deployed for lack of credit

A push to your connected repository can arrive when your wallet does not cover the app’s monthly price. PivoCloud then deploys nothing. The deployment history shows one failed row for that push, and the console explains it with these two sentences:
What this means for you:
  • Your previous version keeps running. Nothing about the app changed.
  • Nothing was charged for this push.
  • The Billing page shows a Charge failed: not enough credit row for the app.
  • PivoCloud does not send you an email about it.
What to do: open your wallet and add credit. Then push again, or press Redeploy in the console.

What happens to your credit when a deploy fails

Only the deploy that made a charge is refunded. It is refunded automatically and in full, you do not have to ask, and it happens only when no earlier version of your app is still running. In practice that is a first deploy that fails. A failed update keeps the month you already paid for. Two cases follow from that:
  • A deploy that paid for a new month fails while an earlier version keeps running. You keep the month, because that earlier version is what you are being served.
  • A deploy fails inside a month you already paid. Nothing is charged and nothing is refunded.
Your app shows Running when the previous version still serves, because the update stopped before replacing it. It shows Failed when the previous version was already stopped. Either way the month is kept. You can fix the problem and deploy again, or roll back, at no extra charge until the month ends. When a first deploy is refunded, the next deploy that succeeds charges again. The refund cancels the month you paid for, so the paid month starts when your app actually runs rather than when you first tried. A wallet showing a debit, then a credit, then a second debit for the same app is one month paid for, not two. A deploy that a platform update interrupts twice follows the same rule. If your previous version is still running when the deploy stops, your app keeps running, and nothing is refunded and nothing is charged again. If nothing was running, the deploy counts as a failed deploy and the refund described above applies. The single automatic restart of an interrupted deploy never charges you a second time.