Skip to Content

Remove or uninstall

Remove a server from Deplo and clean up the machine, or uninstall Deplo itself.

Remove server makes Deplo forget a server. The machine keeps its agent and its containers until you run the command Deplo gives you.

Remove a server

Open Remove server

Settings -> Servers, the server, then Remove server in its menu (three dots, top right).

Move what still uses it

The dialog lists what is still on the server, from every team:

  • Apps and Databases: Move to another server. They redeploy there with their data.
  • Backup destinations: Remove. Tick Also delete the backup files to clear them from the disk.

Remove server stays off until the list is empty.

Remove it

Click Remove server.

Clean up the machine

Finish the cleanup on edge-2 shows the uninstall command. Run it on that machine, as root. It removes the agent and its proxy. Your data stays, unless you add --purge-data.

Uninstall Deplo

On the machine Deplo runs on, as root:

curl -fsSL https://deplo.example.com/uninstall.sh | sudo bash -s -- --yes

It removes Deplo and keeps your data in /opt/deplo. The other flags, to delete data and backups too: Installers.

--purge-data deletes DEPLO_SECRET

It deletes /opt/deplo, and .env with it. Copy /opt/deplo/.env first if you may ever restore a backup.

Moving Deplo rather than ending it? See Move from another Deplo.

Good to know

  • The machine Deplo runs on can't be removed from the panel. Uninstall Deplo instead.
  • A removed server's apps keep running, unmanaged, until you run the uninstall command.
  • The panel is down? The script is also at https://deplo.build/uninstall.sh.

Something wrong? See Servers and agents.

Did this page help you?

On this page