From bb46aa0d78cd02f50a75d7e636135ddcded5b6a2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 8 Sep 2024 09:55:20 +0200 Subject: [PATCH] Document how to complete remove all EGroupware data from a host system (apt remove egroupware-docker does NOT!) --- Update-recommendations-and-troubleshooting.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Update-recommendations-and-troubleshooting.md b/Update-recommendations-and-troubleshooting.md index 8e9a3fe..0a1c8af 100644 --- a/Update-recommendations-and-troubleshooting.md +++ b/Update-recommendations-and-troubleshooting.md @@ -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: