Manage your app
Your app’s page in the console carries everything you do to an app after it is created. Seven controls, and two separate places logs appear. Some of them change what you are charged and some of them do not. Two of the confirmations tell you so, the rest say nothing about money at all, and you only read the two after you have already pressed the control. So each control below gets two answers in the same order: what it does, then what it does to your bill. This page covers all seven controls and both log surfaces. Controls appear here in the order the console renders them: the buttons in the app header first, then the ones inside theMore actions menu at the end of that row.
Two buttons in that row do not act on the running app and are not covered here.
Edit opens the app’s settings. Top up to resume appears only when an app has
been suspended for lack of credit, and it takes you to your wallet.
Deploy and Redeploy
The first button in the header. On an app that has never deployed it readsDeploy. Once a deployment exists it reads Redeploy, and while a build is
running it reads Deploying… and cannot be pressed.
Pressing it builds your repository again from your deploy branch and starts the
result as a new version. Your app keeps serving the old version while the new one
builds, so a failed build changes nothing. Once the build succeeds, the new
version starts next to the one that is running and takes over only after it
answers. Your app keeps answering the whole time. The new version gets up to 5
minutes to start.
While a redeploy runs, the status stays as it is and a small
New version deploying label shows beside it.
If the new version does not start, the previous version keeps running. The
Deployments tab shows the failed deploy with the reason, and one line at the
top of the app page says Your last deploy failed: with the reason, then
The previous version is still running. The line stays until your next
successful deploy. Your AI agent sees the same through get_app. Fix the cause and press
Redeploy again, or press Roll back to this on a version in the Deployments
tab (see Roll back an app). If the reason is that the server is
busy, see the server is busy right now. If
PivoCloud could not load your settings, see
we could not load your app’s settings.
What it does to your bill: nothing, on an app that has already been charged
for the current period. No new charge, no refund, and the paid period runs on
exactly as before. You can redeploy as often as you like. A deploy started by a
push to your repository is billed the same way as this button.
A first deploy is the exception, and it is the only one. An app with a monthly
price is charged when it first deploys, not when you create it. If your wallet
cannot cover that first charge, the deploy is refused and no money moves.
Stop
While your app is running, aStop button sits beside Redeploy in the same
row. Pressing it opens a short confirmation headed Stop this app?, and the
button that carries it out reads Stop app.
Your app goes offline. Its address stops answering, its container is stopped,
and nothing about your repository, your settings or your environment variables
changes. It is a pause, not a deletion.
What it does to your bill: stopping stops the charge. A stopped app leaves
the billing run entirely, so nothing at all accrues while it is stopped. The
confirmation says the same thing before you press it, and it is right.
Start
Once your app is stopped,Start takes the place of Stop in the same row. It
brings the container back on the plan the app is currently on.
What it does to your bill, and this is the good news the console never tells
you: starting again moves the end of your paid period forward by exactly
the time the app spent stopped. The start of the period does not move. A pause
therefore costs you no paid time at all: whatever you had left when you stopped
is what you have left when you start.
An app that has never been charged has no paid period to move, so starting it
changes nothing.
Restart
In theMore actions menu. It bounces your app’s container in place: same
image, same build, no rebuild and no clone. Use it when your app is misbehaving
rather than when your code has changed. For new code, use Redeploy.
What it does to your bill: nothing. A running app’s paid period keeps
running straight through a restart.
Change plan
In theMore actions menu. It opens a dialog listing the plans you can move to,
with your current one marked, and your wallet balance beside them.
What it does to your bill: nothing at the moment you change it. No charge,
no refund, no proration. The new price applies from your next billing cycle, and
the dialog says the same thing where you press the button.
What happens straight away is the resource limits. A running app restarts
briefly to take up the new ones, so expect a few seconds of downtime. A stopped
app records the new plan and takes up its limits the next time you start it.
While your deploy is queued
When your app’s own deploy showsQueued (see
reading the deployment history), stop, start, restart, change plan,
saving variables and rolling back are unavailable. The buttons are greyed out and
each one says why when you point at it. They come back once that deploy has run.
Your inputs on the Environment tab stay editable, only the save waits.
If you press one before the page has caught up, the console refuses it with a
sentence that names the action. Those sentences are listed on
why did my deploy fail, under the heading about a queued
deploy. A plan change is the one exception: it is accepted rather than refused.
Delete
Last in theMore actions menu, on its own below a divider. It opens a
confirmation naming your app and warning that the action cannot be undone. Your
container, your image, your deployment logs, the app’s log history and the app’s
own record all go. The log history is erased before the delete is reported done.
What it does to your bill, and the confirmation now says so: billing ends
immediately, and the paid remainder of the current period is not refunded.
Both halves are true at once. You stop being charged from the moment you
delete, and the days you have already paid for are not credited back to your
wallet.
A new app starts with no paid period of its own. So if you delete an app and
create a new one afterwards, even with the same name and the same repository,
its first deploy charges the full plan price again. That is a second payment
for a plan you already paid for once. If an app’s deploy failed, fix the cause
and press Deploy again from the app page instead of deleting and re-creating
it.
If what you want is to stop paying for an app you may come back to, Stop is
the control for that, not Delete. A stopped app is not charged, and the paid
time you have left waits for you.
If your app was on a pivocloud.app address, that address stops answering
within a few minutes of the delete. The name stays yours, and nobody else can
take it (see the note on names you stop using in Deploy).
Where your logs are
There is noLogs control. Open the Deployments tab and you get two sub-tabs,
Deployment logs and Runtime logs. They are different places and neither one
contains the other.
Deployment logsis the build. It is everything that happened while PivoCloud cloned your repository and built your image, and the panel beneath the sub-tab is headedDeployment Logs. If a deploy never produced a running container, the reason is here.Runtime logsis your app talking, once it is running. It is what your process writes while it serves traffic. If your app started and then crashed, the reason is here. It has aLiveview and aHistoryview.Historykeeps 7 days of lines, with a range and a search box. How it works, and what it blanks and never keeps, is on how long are my app’s logs kept.
Runtime logs, not in the build output. A
build that failed leaves Runtime logs empty, because nothing ever ran.
Below both, a Deployment History section lists your recent deployments so you
can see which attempt is which. Each row shows its commit, and the history marks
which deployment is live. How to read it is on
how do I deploy my first app.
A restart, a stop and a start also appear there, as Restarted, Stopped and Started,
and the row says who asked. by you means you pressed the button in the console. For an
AI agent the row says by, the agent’s name in quotes and the connection’s name in
parentheses. If you revoked that connection since, the line ends with (revoked).
What an agent can do to an app is on What can an agent with Operate do?.
What it does to your bill: nothing. Reading either log costs nothing and
changes nothing about your app.
If Redeploy seems to do nothing
PressingRedeploy while a deploy is already running produces no feedback at
all. No message, no error, nothing moves on screen. The refusal is real, but the
console does not show it to you, so the natural reaction is to press again.
Open the Deployments tab instead and watch the deploy that is already running.
When it finishes, Redeploy works normally again.
If a delete is refused
An app cannot be deleted while a deploy is running. The failure you get back says only that the delete did not work, with nothing to suggest that waiting would fix it, and it is the whole of the explanation you are given. It is a timing refusal and nothing more. Open theDeployments tab, wait for
the running deploy to finish, then delete.
Stop, Start, Restart and Change plan are refused the same way while another
change to the app is still in flight, and there the message does tell you to try
again in a moment. Wait a few seconds and press the control again.
An app you have not deployed yet
A brand new app looks different from the one described above, and none of it is a fault. The first button readsDeploy rather than Redeploy, because there is nothing
to redeploy yet. There are no logs: Deployment logs has no build to show and
Runtime logs has no container to stream from. Deployment History is empty.
Stop is absent, because an app that is not running cannot be stopped.
All of that resolves itself the moment your first deploy runs.
When we move your app
Sometimes we move an app to another of our servers. While the move runs, the status of the app reads “Maintenance in progress”. This is what to expect.- Actions that change your app are refused until the move ends. A move usually takes a few minutes, but it can take longer, and a move that needs us to step in stays in maintenance until we finish it. The refused actions are Deploy, Roll back, Restart, Start, Stop, change plan, change the address, change the repository settings (branch and access token), change or undo environment variables, attach or detach a database, add or remove a custom domain, and Delete. Each one answers with this sentence: “This app is under maintenance. Try again in a few minutes.” Nothing is wrong with your app. The page refreshes by itself, and the status goes back to what it really is when the move ends. You do not need to do anything.
- The app keeps its state. A running app stays running, a stopped app stays stopped and a suspended app stays suspended.
- Your address, your domains and your history stay the same. See custom domains and logs.
- A move is never charged. It changes nothing on your bill.
- Visitors may notice a brief interruption. We keep the old copy of your app serving while the new one starts, so a visitor should not notice anything, but we do not promise there will be no gap. We measure any interruption we cause.
- A scheduled task inside your app may run twice. For a short time two copies of your app run side by side. A background job or a scheduled task that you run inside the app can therefore run twice in that time. If it must run once, make it safe to repeat.