Application Move Problems¶
This page explains the messages that you can see during a move to another server, and what to do. For the reasons why a plan is refused, see Move Refusals and Warnings.
"This application is being moved to another server"¶
While a move runs, Appliku refuses actions that would change the application, its containers, its files or its databases. These actions answer with HTTP 409 and one of these messages:
| Message | Meaning |
|---|---|
| This application is being moved to another server. A deployment that builds new images cannot start until the move is in its hold: it would end the rollback option. … | Deploy Now, Save and Deploy, the API, the CLI or a git push (push-to-deploy) from the confirmation until the hold. A deployment that builds new images is refused: it would run in the hold and end the rollback option. Wait for the hold (the move page shows the progress), then deploy. In the hold a deployment ends the rollback option; use Finish now first if you do not need a rollback. A git push makes a failed deployment with this message. A Restart is possible: it waits in the queue. |
| A rollback of the move of this application runs now. A deployment that builds new images cannot start until the rollback ends. … | The same during a rollback. Wait for the end of the rollback. |
| This application is locked (a move to another server). Try again when it ends. | From the confirmation until the hold, the move locks the application. A restart does not fail: it waits in the queue and starts when the lock ends. Changes of the settings, the environment variables, the processes, the domains, the volumes, the cron jobs, the backups, the nginx configuration and the databases of the application are refused. |
| This application is being moved to another server. Try again when the move ends. | A change of the server, the cluster or the deployment mode of an application that has a move that is not finished. This is also refused in the hold. |
| This server is part of an application move. Try again when the move ends. | An action on one of the two servers of the move, for example a change of its SSH port. For a server delete, see A Server of the Move Is Gone. |
| An application move is in its cutover on this server. Try again in a few minutes. | The switch runs on this server now. |
The server is locked by an operation of application <name> (a move to another server). |
Another application on one of the two servers. Its deployments wait until the move ends. |
| This firewall rule belongs to an application move. It is removed when the move ends. | The move added a temporary firewall rule for its connection. |
| A datastore named in this migration belongs to an application that is being moved to another server. Try again when the move ends. | A database migration that uses a moved database. |
| This application has a move to another server that is not finished, or a move with open cleanup work. It cannot be deleted now. | The application delete. Wait until the move ends, or until its cleanup step ends. |
This name is still forwarded by an earlier move; it is free when the forwarder ends (<date>). |
You add a domain name that a forwarder of an earlier move still uses. Wait until the date, or remove the forwarders of that move. |
In the hold the lock ends: you can change and deploy the application again (but not change its server). Read Hold, Finish and Rollback first: some changes end the rollback option.
The Move Failed¶
The move page says "The move did not complete: <reason>. The application runs on the old server." When the move failed after the confirmation, the team gets a notification (also by e-mail). A plan that fails sends no notification.
When both servers are still there, a failure before the switch is safe: Appliku starts the application on the old server again (the page shows "Starting the application on the old server again" while it does this). Fix the reason, then click Make a new plan. When a server of the move is deleted or does not answer, the page says "The move ended: …" instead; see A Server of the Move Is Gone.
Common reasons:
- The connection between the two servers failed, for example "the firewall of the target server was not applied in 20 minutes", "the target server has no python3 (the move receiver needs it)", or the new server cannot be reached from the old server. Check the firewall and the network of the provider.
- "The plan is no longer true: … changed after the plan." Something changed between the plan and the confirmation. Check the new plan and confirm again.
- "The application could not be locked in 15 minutes (…). Confirm again later." A long deployment or another operation ran.
The Move Was Cancelled¶
The move page says "Cancelled: <reason>". Reasons include:
- "Cancelled by
<user>." Someone clicked Cancel the move. - The plan expired: a plan that is not confirmed in 24 hours ends.
- The move reached its deadline of 72 hours, for example because nobody confirmed a longer downtime.
The application stays on the old server. Click Make a new plan.
A Step Has an Error After the Switch¶
The page says "The application runs on the new server. Step <step> has an error: <error>." Appliku tries again by itself every minute, and support is told after 30 minutes. You can click Retry. When a step has an error for more than 30 minutes, the team gets a notification.
The Move Cannot Finish¶
- "The move cannot finish now: These steps have no evidence yet: …" The steps that forward the traffic, change the DNS, start the cron jobs or change the firewall did not complete. A common cause is that the old server does not answer. Try Finish now again later, or contact support.
- "The hold cannot end now:
<reason>Contact support." The hold ended more than 24 hours ago, and the automatic finish was refused. Contact support.
The Rollback Is Refused¶
| Message | Meaning |
|---|---|
The rollback option ended: deployment <id> built new images after the move; a rollback would run old code (a deployment ends the rollback option). |
A deployment that built new images ran in the hold. A rollback is not possible any more. The move finishes at the end of the hold, or now with Finish now. |
The rollback is refused: the application changed in the hold (<parts>). |
You changed the processes, the volumes or the databases of the application in the hold. |
| A rollback is possible only while the move is in its hold. / The hold of this move has ended; a rollback is not possible any more. | The move is finished. |
| A server of the move is part of another move or of a cleanup now. Try again later. | Another application moves on one of the two servers now. Try again when that move is in its hold. |
| The old server is deleted or does not answer. A rollback is not possible. Finish the move (Finish now). | A rollback needs the old server. Appliku checks every minute and finishes the move when its remaining work allows it. |
| The new server is deleted or does not answer. A rollback is not possible; Appliku ends the move and keeps the old copy. | See A Server of the Move Is Gone. |
Server <name> is not active. / A server of the move does not exist any more. |
The old server is off or deleted. A rollback needs it. |
| A job of the move is still running or its stop is not confirmed. Staff must check it first. / A server command on a server of the move did not report its end. Staff must check it. | Contact support. |
When the rollback fails after it started, the page says "The rollback did not complete. Appliku starts the application on the new server again; the move then goes back to its hold."
Messages That Name Staff¶
Some messages say that Appliku staff must check something first (for example "Staff must check it first"). Appliku support must check a server or a job before the move can continue. The page shows a Contact support link. Write to support@appliku.com with the application name and the move number.
A Server of the Move Is Gone¶
A server can stop for ever during a move: you delete it, it is destroyed at the provider, or it crashes. Appliku never keeps you locked in a move because of that. You do not need support.
Delete a server that is part of a move¶
When you remove a server that is part of a move, or that has the leftovers of a move (the old copy, forwarders, cleanup work), the Remove Server dialog shows a list: one line for each move, with what the delete does to it. For example (shortened):
- "The old copy of
<app>(kept for a rollback) is on this server. The move is finished when the server is deleted; a rollback is not possible after that." - "
<app>runs on this server since its move. After the delete it has no server. The old copy stays stopped on the old server." - "The old copy, a kept copy of the data or the forwarders of a move of
<app>are on this server. Appliku stops cleaning them; the custom domains whose DNS records still name this server stop working."
When the server has move leftovers, the dialog shows the list and the check box as soon as it opens. If the list changed after the dialog opened, a click on Remove Server deletes nothing and the dialog shows the new list; select the check box again.

Read the list, select I understand: the move ends and these leftovers are not cleaned by Appliku., then click Remove Server. Force Remove Server (for a server that still hosts datastores) also works after this confirmation. With the API, read the list first with GET /api/team/{team_path}/server_list/{server_id}/move_leftovers (an empty move_leftovers list: no confirmation is necessary), then send the query parameter confirm_move_cleanup with the comma-separated token values of that list (or true for any list) with the delete; without it, or when the list changed since you read it (this check needs the token values; true confirms any list), the API answers 409 with the current list in move_leftovers.
Before you delete the old server of a move with custom domains, change their DNS records to the new server: the forwarders on the old server stop with it.
A delete in Appliku does not stop the machine. If the machine still runs, the copy of the application on it keeps running; stop or destroy it yourself.
A cloud server (DigitalOcean, Hetzner, AWS) has no Remove Server button. Destroy the machine at the provider. Appliku normally checks the provider every 4 hours; opening the server page can detect the delete sooner. This needs working provider credentials in Appliku. Without them, the 7-day rule below applies.
What happens to the move¶
Appliku checks every minute. When it sees that a server is deleted, the move ends or continues without it (some moves need more time to stop their work first):
| When | The old server is gone | The new server is gone |
|---|---|---|
| Before the confirmation | The move fails. Make a new plan. | The same. |
| From the confirmation to the switch | The move ends. The application has no server. The data copied to the new server is kept. | The move is cancelled, or Appliku starts the application on the old server again. |
| After the switch, in the hold | The move is finished (a rollback is not possible). | The move ends. The application ran on the new server and may not run now. The stopped old copy on the old server is kept. |
| During a rollback, before it switches the servers | Appliku starts the application on the new server again, then finishes the move. | The move ends; the old copy is kept. |
| During a rollback, after it switched the servers | The move ends; the stopped copy on the new server is kept. | The rollback continues; the application runs on the old server. |
The move page shows the result and the reason (for a move that ended: "The move ended: …"). Appliku sends a notification when it ends, cancels or recovers a confirmed move.
The kept copy¶
When a move ends because a server is gone, the copy on the other server is kept: the stopped old copy on the old server, the stopped copy on the new server after a rollback, or the data that was copied to the new server. It can be the last copy of your application and its data. The move page shows it under Kept copy: the server, the folders of its files on that server, and the date when Appliku removes it.
- Start the old copy: when the new server is gone after the switch, Appliku starts the stopped old copy on the old server and makes it the application again (like a rollback without the new server). The application, its databases, DNS, nginx and cron jobs go to the old server. The old copy runs the code and the data of the time of the move, with the current settings; you must tick "The data written on the new server since the move is lost." The start uses the same steps as a rollback, and the move page shows them. If the new server still runs but only does not answer to Appliku, both copies can run and write data at the same time until it answers again: stop or destroy it at the provider first. When the start fails before the switch, Appliku stops the old copy again and keeps it; you can try again. If the start is abandoned, or does not end in 24 hours, before the switch, the old copy can be left running without Appliku managing it as the application (the move page says "it may run"): check it on the old server and stop it before you deploy the application again. "Start the old copy" is possible only for the newest move of the application: a new plan (also one that you cancel) ends this option; to keep the data in that case, copy the files from the folders on the move page first. With the API:
POST moves/{move_id}/start-old-copywith{"accept_data_loss": true}. With the CLI:appliku apps move start-old-copy. - Start the copy on the new server: when the old server is gone after a rollback, Appliku starts the stopped copy on the new server and makes it the application again. The application, its databases, DNS, nginx and cron jobs go to the new server. The copy runs the code of the move and the data saved when the rollback stopped it, with the current settings; you must tick "The data written on the old server since the rollback started the old copy is lost." If the old server still runs but only does not answer to Appliku, both copies can run and write data at the same time: stop or destroy it at the provider first, and do not use Force Remove on its Appliku server record before the copy started (it deletes the datastore records that the start needs). The move page shows the steps. When the start fails before the switch, Appliku stops the copy again and keeps it on the new server; you can try again. If the start is abandoned, or does not end in 24 hours, before the switch, the copy on the new server can be left running without Appliku managing it as the application: check it on the new server and stop it before you deploy the application again. As for Start the old copy, this is possible only for the newest move of the application: a new plan (also one that you cancel) ends this option. With the API and the CLI it is the same action as Start the old copy (
kept_start_homein the move detail istarget). - Remove the kept copy: removes the kept copy now. Type the name of the application to confirm. This cannot be undone. Appliku does not remove a copy that may run (it was started again), a copy on the server where the application runs now, or a copy with no complete record of its containers and folders; remove such a copy yourself on the server (the move page lists its folders). When there are several copies, the action removes the copies that it can remove and names the others in the move log. With the API:
POST moves/{move_id}/remove-kept-copywith{"confirm_name": "<application name>"}. With the CLI:appliku apps move remove-kept-copy. - Automatic removal: Appliku removes a kept old copy on the old server 30 days after the move ended, and never earlier than 48 hours after the notification of day 28 went out by e-mail or Telegram (a team with no such recipient keeps the copy until it removes it). The team gets a notification (also by e-mail, also when the team got many e-mails that day) on day 7, 21 and 28. Start the old copy stops the automatic removal (also when the start fails). Appliku does not remove automatically a copy that may run (the old copy started by a rollback), the copy on the new server after a rollback, or the copied data on the new server: these stay until you remove them or delete the application.
| Message | Meaning |
|---|---|
| The new server answers again; the application can run there. Deploy it, or delete the server first. | The new server is back. The application can run there again. |
The application is on server <name> now. Appliku does not start the old copy over it. |
You changed the server of the application after the move ended. |
The datastore records <ids> of the application were deleted or changed (a Force Remove of the new server deletes them). … |
Appliku cannot start the old copy as the application. Copy the files from the folders on the move page, or remove the kept copy. |
| The processes (or volumes) of the application changed after the move; the old copy does not have them. … | Change them back (for example remove a process that you added), or remove the kept copy. |
| The kept copy is the staged data on the new server (files only). … | Appliku cannot start this kind of copy. Copy the files from the folders on the move page, or remove the kept copy. |
| The move ended before the switch; the application was not moved. … | The data is in the folders of the old server that the move page lists (the move stopped the application there for the switch). Copy the files back. Appliku does not remove this copy by itself. |
Move <id> of application <name> uses the old server now (a move or its cleanup). … |
Another move uses the old server. Try again when it has ended. |
The application is on server <name> now. Its containers can be the kept copy; Appliku does not remove it there. |
A deployment on that server can use the stopped containers of the kept copy again. Appliku does not remove it. |
| A job of the move on the old server still runs or its stop is not confirmed. … | Try again later. |
When you delete the application, Appliku requests the removal of its kept copies if it still manages that cleanup.
Abandon the move¶
Abandon the move ends a move that waits for a server or a step. It is possible when:
- a server of the move does not answer (for 30 minutes, or it is off or deleted), for example a cloud server whose provider credentials are not valid any more;
- or a step of the move has had an error for more than 2 hours, or has waited for more than 24 hours with no error;
- or a start of the old copy runs.
Appliku then stops waiting: the move ends now, or at the latest in one hour (the running jobs of the move end first). No data is deleted: the copies of the application are kept as described above, and the application stays where it runs now. Steps that did not complete (for example DNS, cron jobs or the firewall) are not done by the end: deploy the application to write them again. The cleanup on a server that does not answer continues when it answers again. If that server answers again, the copy of the application on it can start again by itself; stop it yourself.
Abandon is refused while the server that holds the stopped application does not answer: the old server during the switch, or the new server during a rollback. Its data is on that server. Wait until the server answers (the move then continues or starts the application there again), or delete the server. While the old server stops the application for the switch and the new server does not answer, Appliku first starts the application on the old server again; Abandon is possible after that. When that start (the recovery) itself has had an error for more than 2 hours, or has waited for more than 24 hours, Abandon is possible at once: the move ends, the folders of the stopped application are listed as a kept copy, and you deploy the application again.
A host key mismatch does not count as "does not answer": accept the new host key on the server page, then the server answers again. With the API: POST moves/{move_id}/abandon. With the CLI: appliku apps move abandon.
A server that does not answer¶
A server that does not answer for 7 days (or that your provider reports as off for 7 days) counts as gone: the move continues or ends as in the table, and Appliku stops the cleanup work on that server (what is left on it is not removed; a kept copy stays listed). A move that does not end within 24 hours after Appliku saw a gone server is ended, and its copies are kept. You do not need to wait: use Abandon the move. If the server comes back, its old containers can start again; stop them yourself.
The Site of a Custom Domain Does Not Work After the Move¶
- Certificate error in the browser after you changed the DNS record to the new server: the move page shows the certificate state per hostname. A custom domain that had no valid certificate on the old server gets its certificate on the new server only after its DNS record names the new server; keep the record on the new server and wait until the certificate is ready (Appliku tries again with longer waits).
- The site does not answer on the old address after the switch: the custom domain had no valid certificate on the old server, so the old server does not forward it (the move log names such domains). Change its DNS record to the new server; the new server then gets its certificate.
- The move stopped with "the new server already has a certificate of
<name>that ends in less than 7 days": Appliku does not replace a certificate on the new server that still works. Make a new plan after the time in the message. - The site stopped after some weeks: the forwarders end at the latest 30 days after the finish. Change the DNS record (or the proxy origin) to the IP address of the new server.
See Custom Domains, Forwarders and DNS.
Data Is Missing on the New Server¶
When the plan listed a mount under Not moved and you accepted it, the new container has no such mount, or a new, empty volume. The data stays on the old server. See What Moves and What Does Not to find it.