Migrations
BetaFix 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 see | What to do |
|---|---|
The https certificate is not one this machine trusts | Use 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 team | One run per team at a time. Wait, or stop it under Settings -> Deplo -> Migrations |
Dokploy refuses the API key or finds nothing
| What you see | What to do |
|---|---|
| The scan finds nothing | Check the panel address. The key reads only the organization it was created in |
Dokploy stopped accepting this API key | It 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 see | What to do |
|---|---|
Coolify's API is turned off on that instance | Turn it on in Coolify's Settings |
Coolify only accepts API calls from an allowed IP | Add this Deplo's address to that list |
This token cannot read values, cannot stop a service, does not carry the permissions this needs | Create a token with root, from an admin or owner of the team |
Coolify refused the token | It expired or was revoked. Create a new one under Keys & Tokens |
Coolify kept rate limiting Deplo | Something else uses its API. Wait, then run again |
would not answer for the team, project or environment shared variables | That Coolify is too old to share them. Copy those variables in by hand |
Another Deplo refuses the code or the token
| What you see | What to do |
|---|---|
This move code expired, or is already in use by another Deplo | A code works once, for an hour. Create a new one on the old Deplo |
That Deplo refused the token | It expired, was revoked, or comes from another Deplo. Create a new one on the old Deplo |
This token cannot stop what it would move | Add Start & stop apps and Start & stop databases to the token |
That Deplo is too old to hand itself over, or is newer than this one | Update 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 see | What to do |
|---|---|
| The copy stopped after 7 hours | Copy a huge volume over a slow link by hand |
is also mounted by another app | Nothing was written. Give each app its own directory, then Copy the data again |
| A single-file mount is refused | Update the destination server's agent, then Copy the data again |
| The review warns about the destination disk | It has under 5 GiB or 10% free. Free space, or pick another server |
| The report lists sockets, pipes, device files or symlinks | They are not copied. Recreate them if the app needs them |
Something is missing after the run
| What you see | What to do |
|---|---|
| An imported stack was not created, the report names a missing permission | An instance admin grants Publish ports or Bind server folders in Settings -> Users. Then import again |
| An image from a private registry does not pull | Add the registry the report names. See Docker image |
| Agent still installed on a source machine | Click Remove from Deplo, or run the printed command on it as root |
The takeover stops
| What you see | What 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 address | Open the tunnel it prints, like ssh -L 3001:localhost:3001 [email protected] |
| The server agent did not install | Run /opt/deplo/install.sh again, or the command under Settings -> Servers |
| The port move failed | The old panel is back on its ports. The step names what holds the port: free it, then Try again |
| Stuck on Moving the ports | Read /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?