Uninstall
Remove wtree Cloud, its Swarm services, volumes and configuration from a server.
Remove wtree Cloud from a server. This deletes the panel's data and can't be undone.
Quick removal
sudo wtree-cloud uninstall
sudo wtree-cloud uninstall --purgeThe first removes the services. --purge also deletes the database, volumes and configuration.
Manual removal
The cleanup in step 6 removes every unused Docker container, image, volume and build cache on the server, not only wtree Cloud's. Skip it if the server runs other workloads.
Remove the Swarm services:
docker service remove w3panel w3panel-traefik w3panel-postgres
docker container remove -f w3panel-traefikRemove the volumes:
docker volume remove -f w3panel w3panel-postgresRemove the networks:
docker network remove -f w3panel-network
docker network remove -f ingressIf you ran a cluster, run this on each worker node to remove its services and leave the swarm:
docker service rm $(docker service ls -q)
docker system prune -a -f
docker swarm leaveOn every manager node, leave the swarm:
docker swarm leave --forceClean up leftovers:
docker container prune --force
docker image prune --all --force
docker volume prune --all --force
docker builder prune --all --force
docker system prune --all --volumes --forceDelete the configuration directory:
sudo rm -rf /etc/w3panelBefore version 0.29.9, wtree Cloud also ran Redis. If you installed an older version and never updated, remove it with docker service remove w3panel-redis and docker volume remove -f w3panel-redis.
