sp cleanup

Remove the entire ServicePlus installation from your server.

Usage

bash
sp cleanup
This is a destructive, irreversible operation. It removes all ServicePlus containers, volumes, databases, SSL certificates, and configuration from your server. Always run sp export first if you want to keep your data.

What it removes

  • All Docker containers (Mautic, MySQL, n8n, PostgreSQL, Cal.com, PocketBase, Adminer)
  • All Docker volumes (database files, uploaded files, configurations)
  • Apache virtual host configurations
  • SSL certificates for all service subdomains
  • The encrypted ServicePlus configuration file
  • The license binding (your serial key is released for reuse on another server)

When to use cleanup

  • Moving to a new server — export first, then cleanup, then restore on the new server
  • Decommissioning — shutting down a project permanently
  • Failed setup — if sp setup was interrupted and left things in a broken state
  • Starting over — clean slate before a fresh sp setup

License release

After cleanup, your serial key is automatically released. You can use it to set up a new deployment. Note: if you do not run cleanup before decommissioning a server (e.g., you simply destroy the VPS), contact support to manually release your serial key.