Skip to Content

Migrations

Beta

Fix the migration wizard from Dokploy, Coolify or another Deplo, the takeover and the data copy.

Beta

This feature is currently beta/experimental and subject to change. It is not recommended for production. Try it out and share your feedback on our GitHub.

Find the message the wizard, the report or the installer shows. The steps are in Migrations.

Connect refuses the old panel's address

What you seeWhat to do
The https certificate is not one this machine trustsUse the panel's plain http address, like http://203.0.113.10:3000
but nothing is running behind it (a 502, or a Cloudflare 521)The old panel is down behind its proxy. Start it, or use the panel's own address
already has a migration running in this teamOne run per team at a time. Wait, or stop it under Settings -> Deplo -> Migrations

Dokploy refuses the API key or finds nothing

What you seeWhat to do
The scan finds nothingCheck the panel address. The key reads only the organization it was created in
Dokploy stopped accepting this API keyIt hit its rate limit or was revoked. Raise or turn off its rate limit under Settings -> Profile -> API/CLI in Dokploy, then run again. What already came across is skipped

Coolify refuses the token

What you seeWhat to do
Coolify's API is turned off on that instanceTurn it on in Coolify's Settings
Coolify only accepts API calls from an allowed IPAdd this Deplo's address to that list
This token cannot read values, cannot stop a service, does not carry the permissions this needsCreate a token with root, from an admin or owner of the team
Coolify refused the tokenIt expired or was revoked. Create a new one under Keys & Tokens
Coolify kept rate limiting DeploSomething else uses its API. Wait, then run again
would not answer for the team, project or environment shared variablesThat Coolify is too old to share them. Copy those variables in by hand

Another Deplo refuses the code or the token

What you seeWhat to do
This move code expired, or is already in use by another DeploA code works once, for an hour. Create a new one on the old Deplo
That Deplo refused the tokenIt expired, was revoked, or comes from another Deplo. Create a new one on the old Deplo
This token cannot stop what it would moveAdd Start & stop apps and Start & stop databases to the token
That Deplo is too old to hand itself over, or is newer than this oneUpdate the older one under Settings -> Deplo -> Updates, then connect again

A source machine is stuck on Waiting for the agent

  • The row never turns Connected: the command did not run on that machine, or the machine cannot reach this Deplo. See A server hasn't connected to Deplo yet.
  • This address is Cloudflare's, not the machine's: type the machine's own IP in the Install row.
  • Adding the machine is refused: its agent belongs to another Deplo. Uninstall that agent first.
  • One machine stops answering mid-run: its services are named in the report and blocked from deploying. The other machines are still copied.

A volume arrives empty

The app refuses to deploy until you click Copy the data again or Deploy anyway.

What you seeWhat to do
The copy stopped after 7 hoursCopy a huge volume over a slow link by hand
is also mounted by another appNothing was written. Give each app its own directory, then Copy the data again
A single-file mount is refusedUpdate the destination server's agent, then Copy the data again
The review warns about the destination diskIt has under 5 GiB or 10% free. Free space, or pick another server
The report lists sockets, pipes, device files or symlinksThey are not copied. Recreate them if the app needs them

Something is missing after the run

What you seeWhat to do
An imported stack was not created, the report names a missing permissionAn instance admin grants Publish ports or Bind server folders in Settings -> Users. Then import again
An image from a private registry does not pullAdd the registry the report names. See Docker image
Agent still installed on a source machineClick Remove from Deplo, or run the printed command on it as root

The takeover stops

What you seeWhat to do
install.sh --yes still asks about replacing the old panel--yes never answers it. Answer it, or set DEPLO_TAKEOVER=dokploy or DEPLO_TAKEOVER=coolify
The installer prints an ssh -L command instead of an addressOpen the tunnel it prints, like ssh -L 3001:localhost:3001 [email protected]
The server agent did not installRun /opt/deplo/install.sh again, or the command under Settings -> Servers
The port move failedThe old panel is back on its ports. The step names what holds the port: free it, then Try again
Stuck on Moving the portsRead /var/log/deplo-takeover.log, then run the installer again: the takeover resumes. Stay on the http address meanwhile

A move between Deplos stops with some apps failed

  • Fix the reason shown, then Try again. Only the failed and waiting apps run again.
  • One keeps failing: Skip it and add it by hand.
  • The old Deplo is gone mid-move: Finish without the old Deplo. Apps whose data never came across are left out.

Did this page help you?

On this page