Helllo,
Is there comprehensive documentation available on how to uninstall discourse instance via command line?
This is required to do a clean install once again.
Helllo,
Is there comprehensive documentation available on how to uninstall discourse instance via command line?
This is required to do a clean install once again.
According to the official installation guide, discourse lives inside its own docker container.
So, you simply need to stop the container and remove /var/discourse folder.
cd /var/discourse./launcher stop app./launcher destroy appcd /varsudo rm -rf discourseEs wäre schön, einen Abschnitt Deinstallation in der Installations- oder einer anderen Anleitung aufzunehmen.
Da der empfohlene Weg, Dinge zu tun, darin besteht, Discourse auf einer frischen Installation zu installieren, die für nichts anderes verwendet wird, besteht die Art und Weise, wie die meisten Leute deinstallieren, darin, die virtuelle Maschine zu zerstören.
Diese Anweisungen sind absichtlich nur für den einen, am weitesten verbreiteten Fall.
Absolut, “Deinstallieren” ist so 2000er Jahre ![]()
Eine interessante Sache: Wenn ich die App stoppen und zerstören möchte, versucht sie, ein weiteres Basis-Image herunterzuladen. Was zum Teufel? ![]()
:/var/discourse> sudo ./launcher stop app
x86_64 arch detected.
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
2.0.20220818-0047: Pulling from discourse/base
Digest: sha256:7734701087766821ffb2ddcef423754798bd345c2ac0d550131c6e6905c268e8
Status: Downloaded newer image for discourse/base:2.0.20220818-0047
docker.io/discourse/base:2.0.20220818-0047
You have less than 5GB of free space on the disk where /var/lib/docker is located. You will need more space to continue
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-var 9.8G 4.9G 4.4G 53% /var
Would you like to attempt to recover space by cleaning docker images and containers in the system? (y/N)y
If the cleanup was successful, you may try again now
Was ich getan habe:\n\n1. sudo rm -rf discourse
2. Den Docker-Container finden, der Discourse enthält, ihn beenden und dann entfernen.\n\nLass mich wissen, ob ich noch etwas tun muss. ![]()
Ja. ./launcher hält sich und das Discourse-Basis-Image auf dem neuesten Stand. Wenn Sie mit Docker vertraut sind, können Sie einfach docker stop app;docker rm app ausführen, wie Sie es getan haben.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.