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.
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 underWhen 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 pressRedeploy, 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.
git@github.com:owner/repo.git form. Use the https:// form of
the same repository.
Redeploy again.
Contents: read-only on this repository, not on a different one.
The clone
PivoCloud could not clone your repository
The red panel reads:The repository is private, or PivoCloud cannot read it says
how.
Three different build-log sentences produce this same red panel:
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:- 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
Advancedsection, turn onPrivate repository, and paste the token into theFine-Grained Personal Access Tokenfield. The token needs exactly one permission on exactly one repository:Contents: read-only. Give it nothing else.
The repository URL does not look valid
The red panel reads: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: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:.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:
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:
railpack.json asks for build secrets, which PivoCloud
does not support:
The build ran out of time
The red panel names the limit your build was held to:30m0s, which means
30 minutes:
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: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.
/, 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:
EXPOSE line:
EXPOSE line:
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 server is busy right now
The red panel reads:If you see a line about APP_KEY in the deploy log of a Laravel app
A Laravel app cannot start without anAPP_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.
APP_KEY yourself and PivoCloud will never replace it.
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.
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 addressmy-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:
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 your app is running but its address is not ready on this page explains it:
What the red panel shows at the top of
this page explains the panel:
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 underPivoCloud 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 beginYour 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.Deploy or Redeploy. Your variables will be used by that deploy.
PivoCloud could not read your variables back.
When undoing a change fails
These come fromUndo 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.Domains tab to check your domains, then try again. If it fails again, give support the reference.
Moving the app to a new address.
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.Deploy to build it again.
When your own deploy is queued
A deploy of your app can wait for a build slot and showQueued. 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.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 titledPublic 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:
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 isbuild_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: pressStart 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’sBilling 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: pressDeploy 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 pressRedeploy. 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 readsKeeps 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 showsStopped 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 pressRedeploy. 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 underWhen 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.
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 beginsReference:, 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:docker build failed: in front of it. The panel shows the same two
sentences for all of them:
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:Deployment Failed on the Deployment logs tab. PivoCloud also records this
sentence for the deploy:
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
PressingRedeploy 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:- Your previous version keeps running. Nothing about the app changed.
- Nothing was charged for this push.
- The
Billingpage shows aCharge failed: not enough creditrow for the app. - PivoCloud does not send you an email about it.
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.
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.