You want to remove your existing Coolify installation, including all projects and data, and then perform a fresh reinstall to fix dashboard issues. This is essentially a "clean slate" approach.
Here's a detailed guide to doing that via SSH, keeping in mind the current date (June 17, 2025):
Crucial Warning: Data Loss Ahead!
This process will permanently delete all your existing Coolify projects, applications, databases, and configurations. There is no undo. If you have any data you wish to keep, you MUST back it up externally before proceeding.
Steps to Reset and Reinstall Coolify from SSH:
-
Connect to Your Server via SSH: Open your terminal and connect to your server.
Bashssh your_username@your_server_ipReplace
your_usernamewith your actual SSH username (e.g.,root,ubuntu,debian) andyour_server_ipwith the IP address or hostname of your server.
-
Become the Root User (Recommended): Coolify installation and uninstallation steps often require root privileges.
Bashsudo su -Enter your password if prompted.
-
Stop All Coolify-Related Docker Containers: It's essential to stop all running containers managed by Coolify to prevent issues during removal.
Bashdocker stop $(docker ps -q --filter "name=coolify" --filter "name=coolify-proxy" --filter "name=coolify-realtime")This command targets containers likely named with
coolify,coolify-proxy, andcoolify-realtime. If you have other containers that might be associated, you might need to adjust this. -
Remove All Coolify-Related Docker Containers: This will delete the stopped containers.
Bashdocker rm $(docker ps -a -q --filter "name=coolify" --filter "name=coolify-proxy" --filter "name=coolify-realtime") -
Remove Coolify Docker Volumes: This is the most critical step for data removal. Coolify stores its persistent data in Docker volumes. Removing them will delete your projects, databases, and configurations.
Bashdocker volume rm $(docker volume ls -q --filter "name=coolify" --filter "name=coolify-db" --filter "name=coolify_coolify-db" --filter "name=coolify_coolify-proxy-config")You might see some errors like "No such volume" if some volumes don't exist, which is fine.
-
Remove Coolify Docker Images (Optional but Recommended for a Super Clean Start): This will remove the Docker images Coolify uses. They will be re-downloaded during the fresh install.
Bashdocker rmi $(docker images -q --filter "label=com.coollabs.coolify=true") docker rmi coollabsio/coolify:latest docker rmi coollabsio/coolify-proxy:latestAgain, some errors are expected if images are not found.
-
Remove Coolify Data Directory: Coolify also uses a data directory on the host filesystem, typically
/data/coolify.Bashrm -rf /data/coolifyEXTREME CAUTION: This command is highly destructive. Double-check that you have typed
/data/coolifycorrectly and that you absolutely want to delete everything within it. -
Remove Coolify Docker Network (Optional): If you want to ensure the Docker network created by Coolify is also gone:
Bashdocker network rm coolify # Only if a network named 'coolify' exists -
Verify Cleanup (Optional): You can run these commands to ensure nothing Coolify-related is left:
Bashdocker ps -a --filter "name=coolify" docker volume ls --filter "name=coolify" ls -la /data/coolify # Should return "No such file or directory" or be empty -
Reinstall Coolify: Now that your system is clean, proceed with the fresh installation.
Bashcurl -fsSL https://cdn.coollabs.io/coolify/install.sh | sudo bashIf you are already logged in as
root, you can omitsudo.The installation script will:
- Install Docker if it's not present.
- Create the necessary
/data/coolifydirectory. - Download the latest Coolify Docker Compose files and configurations.
- Generate new SSH keys.
- Start Coolify's services via Docker Compose.
-
Access Your Fresh Coolify Dashboard: Once the installation script finishes, it should provide you with instructions. Typically, you can access your new Coolify dashboard by opening your web browser and navigating to:
http://your_server_ip:8000Replace
your_server_ipwith your server's actual IP address.You will then go through the initial setup process (creating the first user, setting up the host, etc.) as if it were a brand new Coolify installation. This fresh start should help resolve any dashboard-related issues you were experiencing.