wtree Cloud

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 --purge

The 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-traefik

Remove the volumes:

docker volume remove -f w3panel w3panel-postgres

Remove the networks:

docker network remove -f w3panel-network
docker network remove -f ingress

If 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 leave

On every manager node, leave the swarm:

docker swarm leave --force

Clean 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 --force

Delete the configuration directory:

sudo rm -rf /etc/w3panel

Before 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.

On this page