Move Refusals and Warnings¶
When you move an application to another server, Appliku checks the application and the two servers twice:
- Before the plan (fast checks of Appliku's own data). A refusal here stops the plan at once. The Move to another server tab shows these reasons next to each server, or instead of the server list.
- In the plan (Appliku reads the two servers). A refusal here is a blocker in the plan: the plan shows it under Fix these and make a new plan, and you cannot confirm.
Each refusal and warning has a code (in the API: refusals, preview.blockers, preview.warnings) and a text. In the texts below, <…> is a value of your application or server. In the server checks, <role> is source (the old server) or target (the new server).
Checks Before the Plan¶
The application¶
| Code | Text | What to do |
|---|---|---|
app_deleted |
The application is deleted. | — |
app_cluster |
Only an application in server mode can move to another server. | A cluster application cannot move with this feature. |
app_no_server |
The application has no server. | Select a server in Build Settings and deploy. |
app_in_move |
The application already has a move in progress. | Open the move from the Move to another server tab. |
deployment_running |
A deployment of the application is running. | Wait until the deployment ends. |
release_unresolved |
A release command of the application is not finished. | Wait until the release command ends. |
platform_drain |
A platform update is in progress. Try again later. | Try again later. |
source_not_capable |
The source server cannot run background jobs that Appliku needs for the move. | Contact support. |
The servers¶
| Code | Text | What to do |
|---|---|---|
target_missing |
The target server was not found in this team. | Select a server of this team. |
same_server |
The application is already on this server. | Select another server. |
target_has_datastore |
Datastore <names> of the application is on this server. A move to the server of its datastore is not available. Choose another server. |
Select another server. |
<role>_other_team |
The <role> server is not a server of this team. |
Both servers must be in the team of the application. |
<role>_not_active |
The <role> server is not active (status: <status>). |
Wait until the server is active. |
<role>_setup |
The <role> server setup is not finished. |
Wait until the setup ends, or retry the setup. |
<role>_cluster_node |
The <role> server is a cluster node. |
Select a standalone server. |
<role>_build_server |
The <role> server is a cluster build server. |
Select another server. |
<role>_host_key |
The <role> server has a changed SSH host key. Accept or reject it on the server page first. |
See SSH Host Key. |
<role>_nuke |
Nuke and Revive runs on the <role> server. |
Wait until it ends. |
<role>_busy |
The <role> server: <reason>. |
Another operation runs on the server. Wait until it ends. |
source_in_move, target_in_move |
The <role> server is part of another move. |
One move per server at a time. Wait until the other move is in its hold. |
Blockers in the Plan¶
Servers and reads¶
| Code | Text | What to do |
|---|---|---|
host_nginx |
A server of the move uses the host nginx. This kind of move is not available yet. | Both servers must use the dockerized nginx. Contact support for an older server. |
nginx_migration |
An nginx migration runs on this server. Start a new plan when it ends. | Wait, then make a new plan. |
cross_arch_read |
The read of the source server for the other CPU architecture was not complete. Start a new plan. Or: The databases of datastore <name> were not read for the dump and restore that a move to another CPU architecture needs. Start a new plan. |
Make a new plan. If it stays, check Docker and the network of the old server. |
arch_unknown |
The CPU architecture of a server of the move could not be read. Start a new plan. | Make a new plan. |
dump_count |
More than 20 datastores need a dump and restore. This move is not possible. | Move fewer databases with the application, or select a server with the same architecture. |
elasticsearch_empty |
Datastore <name> (Elasticsearch) cannot move to a server with another CPU architecture yet. |
Select a server with the same architecture. |
no_commit |
Appliku cannot find the (full) commit of the running deployment. Deploy the application (again) first. Or: The running deployment has no branch. Deploy the application first. | Deploy the application, then make a new plan. |
process_image_arch |
Process <name>: the running image cannot be used on the new server (…), or a later Restart would pull an image with no variant for the new architecture. |
Use an image with a variant for both architectures (a multi-platform image). |
shared_image |
One image runs in two roles (the application, a process or a datastore). This kind of move cannot map it. | Only on a move between architectures. Use a separate image for each role: build the application from its own Dockerfile, and give a process another image than a datastore (for example another tag). |
datastore_image_arch |
Datastore <name>: no image of the same version for the new architecture (…). Or: the Postgres version of the datastore could not be read. |
PostGIS databases (postgis, postgis-16-34) have no arm64 image: select a server with the same architecture. An old MySQL 8.0 version can have no arm64 image: update MySQL first. Else contact support. |
source_docker, target_docker |
Docker does not answer on the source (target) server. | Check Docker on the server. |
target_sudo |
Appliku cannot run sudo on the target server. | Check the server setup. |
source_read_incomplete, target_read_incomplete |
The read of the source (target) server was not complete (…). Start a new plan. | Make a new plan. If it stays, check the server. |
scan_incomplete |
The scan of the folders on the source server was not complete. Start a new plan. | Make a new plan. |
plan_old |
The plan was made by an older version. Start a new plan. | Make a new plan. |
target_space |
The target server does not have enough free disk space or inodes. | For each filesystem of the new server, the plan adds the data that lands there, the biggest file once more, the images once for the staging folder and twice for the Docker folder, and takes 1.2 × that + 5 GB. It also checks the free inodes, with a safety margin. The plan shows the need and the free space per path. Free space or use a bigger server. |
firewall_limit |
The target server would have <n> firewall rules; the limit is <limit>. Delete rules on the target first. |
Delete firewall rules on the new server. |
rsync_pair |
The rsync versions of the servers (…) are not a tested pair. Tested versions: … | Contact support. |
app_user |
The user 'app' was not found on a server of the move. | Check the server setup. |
app_uid_scan |
The owners of the application folders on the source server could not be checked. Start a new plan. | Make a new plan. |
app_uid_ambiguous |
More than <n> entries change their owner. … / … The user 'app' has another uid or gid on the target server; change the mode or the owner first. |
The user app has another uid on the two servers. Fix the named files, or contact support. |
target_leftover |
The target server already has <thing> of this application. Remove it first. / … the staged copy of move N. Appliku removes it after <date> UTC, or now with "Remove the old copy now" of move N. |
Remove the leftover on the new server (for example from an earlier copy). For the staged copy of an earlier failed or cancelled move, click Remove the old copy now on the page of that move (or appliku apps move cleanup-now --move N), then make a new plan after the removal. |
target_copy_open |
An earlier move did not finish the stop of its copy on the target server. | Wait for the cleanup, or contact support. |
Application settings¶
| Code | Text | What to do |
|---|---|---|
nginx_updates_off |
Nginx updates are off for this application. The move writes the Appliku nginx configuration on both servers and cannot copy files that were changed by hand. Put your own nginx lines into the custom nginx configuration of the application, turn on nginx updates, deploy the application (or use Save and Apply on the Nginx tab when it is there) and check the application. Then make a new plan. | Move your own nginx lines into the custom nginx configuration, turn on Update Nginx Configuration on Deploy on the Nginx tab, and deploy. |
no_restart_source |
The application has no deployment that Restart can use. Deploy the application first. | Deploy the application. |
image_gone |
The image <id> of the running deployment is not on the source server any more. Redeploy the application first. |
Deploy the application. |
image_unknown |
The image <id> of the plan is not on the source server. |
Deploy the application, then make a new plan. |
one_off_container |
The application has <n> 'one_off' service containers on the source server; the move needs exactly one. Deploy or restart the application first. |
Deploy or restart the application. |
process_image |
Process <name> runs image <image>, but its setting is <image>. Deploy the application first. / Process <name> (image <image>) has no container (has containers with different images) on the source server, so the move cannot copy its image. Deploy or restart the application first. |
Deploy or restart the application. |
custom_port_taken |
Port <port> of process <name> is in use on the target server. |
Free the port on the new server, or change the port of the process. |
value_names_endpoint |
<name> names the external address of a datastore that moves. Use the database variable or the private URL in it first. |
Use a From Database environment variable or the private URL. |
webport_rows |
the application has <n> port rows on the source server … Staff must find the port … |
Contact support. |
Databases¶
| Code | Text | What to do |
|---|---|---|
third_server_state |
The server <server> of datastore <name> is not active (status: <status>). Or: Appliku cannot connect to the server <server> of datastore <name>. |
Wait until the database server is active and answers. |
third_cluster_node |
Datastore <name> is on a cluster node. This move is not available. |
Contact support. |
third_external |
Datastore <name> on server <server> has external connections off. The new server cannot reach it. Turn them on first. |
Turn on external connections of the database. |
third_probe |
Appliku cannot check datastore <name> from the new server. |
This database type has no connection check. Contact support. |
third_firewall |
The server of datastore <name> has no managed firewall. Turn on the Appliku firewall of the server first. |
Turn on the Appliku firewall of the database server. |
third_target_ip |
The new server has no IPv4 address. Appliku cannot allow it on server <server>. |
Select a server with an IPv4 address. |
third_rule_pending |
The firewall rule of an earlier move on server <server> is not removed yet. Try again in a few minutes. |
Make a new plan in a few minutes. |
datastore_container |
Datastore <name> has <n> containers on the source server; the move needs exactly one. |
Redeploy the database. |
datastore_pin |
The saved image of datastore <name> is not the image that its container runs. Redeploy the datastore first. |
Redeploy the database. |
datastore_data_missing |
The data folder <path> is not on the source server. |
Contact support. |
datastore_method |
Datastore <name>: No method for this type on another CPU architecture. |
Only on a move between architectures. Select a server with the same architecture. |
datastore_port_unplanned |
Datastore <name> publishes port(s) <ports> that have no port reservation on the source server. Contact support. |
Contact support. |
preload_unknown |
The settings of datastore <name> could not be read. |
Check that the database runs, then make a new plan. |
pg_cron |
Datastore <name> preloads pg_cron. This kind of move is not available yet. |
— |
Dump and restore¶
Only for a database that you selected for dump and restore. Select Copy the data folder for it, or fix the cause, then make a new plan.
| Code | Text | What to do |
|---|---|---|
dump_type |
Datastore <id> cannot move by dump and restore. |
Only Postgres and MySQL databases can. |
dump_read |
The databases of datastore <name> could not be read (…). Check that the datastore runs, then start a new plan. |
Check that the database runs, then make a new plan. |
dump_space |
The old server does not have enough free disk space for the dump (about <n> MB in /var/lib/appliku). |
The dump needs 1.2 × the database size + 5 GB on the old server. Free space. |
tablespace |
Datastore <name> has a tablespace. Dump and restore cannot move it. |
Copy the data folder. |
dump_db_count |
Datastore <name> has more than 500 databases. |
Copy the data folder. |
db_not_connectable |
Datastore <name> has a database that does not allow connections. Dump and restore cannot read it. |
Allow connections, or copy the data folder. |
template0_open |
template0 of datastore <name> allows connections. Data in it would not move. Contact support. |
Contact support. |
template_changed |
template1 of datastore <name> is larger than 64 MB. Data in it would not move. Contact support. |
Contact support. The test after the confirmation also fails when template1 differs from a new database. |
prepared_xacts |
Datastore <name> has a prepared transaction. Commit or roll it back first. |
Run COMMIT PREPARED or ROLLBACK PREPARED. |
subscription |
Datastore <name> has a logical replication subscription. Dump and restore does not move its state. |
Copy the data folder. |
replication_slot |
Datastore <name> has a replication slot. Dump and restore does not move it. |
Drop the slot, or copy the data folder. |
role_name |
Datastore <name> has a role name with characters that dump and restore does not support (letters, digits, _ . @ - only). |
Rename the role, or copy the data folder. |
mysql_root_changed |
The root accounts of datastore <name> have other grants than a new MySQL server. Dump and restore cannot move them. |
Copy the data folder. |
mysql_replication |
Datastore <name> has a replication channel. Dump and restore does not move it. |
Copy the data folder. |
mysql_persisted_scheduler |
Datastore <name> sets the event scheduler with SET PERSIST. Remove it with RESET PERSIST event_scheduler (use --event-scheduler in the configuration), or copy the data folder. |
Run RESET PERSIST event_scheduler, or select Copy the data folder. |
mysql_db_name |
Datastore <name> has a database whose name starts with '-'. Rename it first. |
Rename the database. |
Files and mounts¶
| Code | Text | What to do |
|---|---|---|
scan_error |
The folder <path> could not be read completely. / The mount table of the source server could not be read. |
Check the folder on the old server, then make a new plan. |
mount_below |
A filesystem is mounted below <path> (…). The move copies one filesystem only. |
Remove the mount, or contact support. |
symlink_outside |
<n> symbolic links in <path> point outside the copied folders (…). The move copies the link, not the data. |
Replace the links with the data, or remove them. |
special_files |
<n> device or special files are in <path> (…). They are not copied. |
Remove these files. |
other_writer |
Container <name> has a writable mount of <path>, inside or above a folder that moves. Stop or change it first. |
Stop or change the other container. |
containers_read |
The containers of the source server could not be read. | Make a new plan. |
unmoved_mount |
<mount> (container <name>, at <path>) is a mount of a datastore container outside its folder. The move cannot accept it. / … does not move and cannot be accepted: its content is lost when the container stops. / … overlaps a folder that moves. The move cannot accept it. |
Remove or change the mount. Other mounts outside the application folder are not blockers: they are listed under Not moved and you accept them. See What Moves and What Does Not. |
Domains and certificates¶
| Code | Text | What to do |
|---|---|---|
custom_domain_name |
The custom domain(s) <names> cannot move (not a plain hostname). Delete them first. |
Delete the wildcard or other domain, then add it again after the move. |
ssl_renewal_per_target |
The certificate renewal of the old server needs the per-target renewal. Contact support. | Contact support. |
forward_open |
An earlier move of this application still forwards traffic from the target server. Remove the forwarders first. | Open the earlier move and click Remove the forwarders. |
source_certificate |
The source server has no certificate for the default subdomain. / The certificate of the default subdomain on the source server is valid for less than <n> days (the hold and a rollback need it). Renew it first. |
Renew the certificate (with 7 days of hold, it must be valid for 14 more days). A disabled default subdomain is not checked. |
Warnings¶
A warning does not stop the move. Read it and act after the move when it asks you to.
| Code | Text |
|---|---|
app_locked |
The application is locked by another operation now. The move can start only after it ends. |
default_subdomain_disabled |
The default subdomain stays disabled. The move does not copy its certificate and no server answers visitors of that name. The move copies the certificates of the custom domains and checks the application through the first custom domain that has a certificate on the old server. |
no_check_name |
The default subdomain is disabled and the application has no custom domain. The move checks the application only through its containers (no check through a domain name). |
custom_domains |
Custom domains need a DNS change to the new IP address <ip>: <names>. |
custom_domain_certificate |
The move copies the certificate of each custom domain that has a valid certificate on the old server to the new server; the old server forwards these names until their DNS records name the new server. A custom domain with no valid certificate on the old server is not forwarded: it works after its DNS record names the new server, which then gets its certificate. |
datastore_not_moved |
Datastore <name> is not on the source server and does not move. |
datastore_stays |
Datastore <name> stays on server <server>. The application keeps its address. Appliku checks the connection from the new server before the switch. |
third_rule |
The move adds a firewall rule on server <server> for port <port> from the new server <ip>. The rule stays after the finish. A cancel or a rollback removes it. |
database_url_value |
<variables> hold a database URL. If the application connects to a database on another server by a URL, allow the new server IP <ip> on that database server before the switch. |
database_url_datastore |
Variable <var> uses datastore <name> of application <app> on server <server>. Then one of: "Allow the new server IP <ip> on server <server> before the switch when a firewall rule limits port <port>." or "A private name works only on its own server." |
moves_empty |
Datastore <name> (rabbitmq) moves empty: its queued messages are not copied. |
external_url |
The external URL of datastore <name> changes (new IP address, maybe a new port). |
external_url_consumer |
Datastore <name>: <a place that uses the external URL> |
other_app_env |
Env var <var> of app <app> points at datastore <name>, which moves. Change it after the move. |
env_points_to_source |
Env var <var> points at datastore <name>, which stays on the source server. A container name does not work from the new server. |
applications_network |
Other applications stay on the source server. A call between applications by container name (Docker network) does not work after the move. |
other_deployments_wait |
During the move (from the confirmation on), deployments of other applications on the two servers wait. |
target_old_os |
The target server runs Ubuntu <version>. This server no longer gets standard security updates. |
app_no_containers |
No container of the application was found on the source server. |
app_dir_missing |
The application folder does not exist on the source server. |
datastore_not_running |
Datastore <name> has no container on the source server. |
backup_third_server |
Backup #<id> runs on server <name>; its job gets the new address after the move. (A backup with a custom connection URL keeps its URL: change it yourself.) |
cross_arch_rebuild |
The app is built again on the new server from commit <sha>. A build is not always identical (unpinned dependencies, newer base images). The build uses the environment variables of now, before the move. |
cross_arch_volumes |
Files in volumes that are programs for the old architecture (for example a virtualenv or node_modules kept in a volume) do not run on the new one. SQLite and normal data files are not affected. |
external_image |
Process <name> uses the image <image>. The exact image is kept until the next prune; a later Restart pulls the reference. |
owner_map |
The owner of <n> entries changes from uid <a> to uid <b> (…). The content of volumes and databases keeps its owners. |
symlinks_copied |
<n> symbolic links with a target that does not exist on the source host are copied as links. |
Refusals of the Confirmation¶
| Text | What to do |
|---|---|
| Type the name of the application to confirm the move. | Type the exact name. |
Accept each item that is not moved: <keys>. |
Tick each item under Not moved. |
| The plan expired. Start a new plan. | A plan is valid for 24 hours. Make a new plan. |
| The plan has blockers. Fix them and start a new plan. | Fix the blockers, then make a new plan. |
| One of the two servers is already part of another move. | Wait until the other move is in its hold. |
An nginx migration runs on server <name> (nginx_migration). Try again when it ends. |
Wait. |
A Nuke and Revive runs on server <name>. |
Wait until it ends. |
A Nuke and Revive on server <name> did not end with a known result; Appliku support must check the server first. |
Contact support. |
| Moving an application to another server is not available for this team. | The move is not available for your team yet. |
After the confirmation, Appliku reads the servers again. When something changed after the plan, the move page says "The plan is no longer true: … changed after the plan. A new plan is made now; check the new preview and confirm again."