Document how to complete remove all EGroupware data from a host system (apt remove egroupware-docker does NOT!)

Ralf Becker 2024-09-08 09:55:20 +02:00
parent f480b434d1
commit bb46aa0d78

@ -251,6 +251,17 @@ systemctl status mariadb
docker-compose up -d
```
# Completely removing EGroupware installation
> Deinstalling egroupware-docker does on purpose NOT remove any data from your system!
If you want to remove all data (database and files), you have to use the following commands:
```
apt|yum|zyper remove egroupware-{docker,colabora-key,rocketchat,guacamole} # only if you have not already done so
for volume in $(docker volume ls|grep egroupware-docker); do docker volume rm -f $volume; done
rm -rf /var/lib/egroupware /etc/egroupware-*
```
> The above procedure is also necessary if a clear reinstall fails e.g. `docker logs -f egroupware` shows it can not access the database.
# Docker on Btrfs
Running Docker on a Btrfs partition causes a problem: Old images are not deleted and the partition fills up over time.
Here is a (long) thread on this topic: