From 11aa78a5f94449df6b2bd01bb1ce7f6a4ff65e9a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 25 May 2017 22:34:10 -0600 Subject: [PATCH 1/3] docs: Flesh out uninstallation documentation [ci skip] --- docs/getting-started/uninstalling.md | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 docs/getting-started/uninstalling.md diff --git a/docs/getting-started/uninstalling.md b/docs/getting-started/uninstalling.md new file mode 100644 index 000000000..809ba6b52 --- /dev/null +++ b/docs/getting-started/uninstalling.md @@ -0,0 +1,55 @@ +# Uninstalling + +While we hate to see you go, if you need to uninstall Dokku, the following may help you out: + +## Arch Installation + +```shell +# purge dokku from your system +yaourt -Rsn dokku +``` + +## CentOS Installation + + +```shell +# uninstall dokku +yum remove dokku herokuish +``` + +## Debian Installation + +```shell +# purge dokku from your system +apt-get purge -y --force-yes dokku herokuish + +# remove any dependencies that are no longer necessary +apt-get -y --force-yes autoremove +``` + +## Makefile Installation + +This is a manual deletion process, and as it is not a recommended installation method, there is currently no automated uninstallation. + +All service plugins should be unlinked from applications, stopped, and destroyed. + +All applications should be stopped, and all docker containers and images deleted: + +```shell +# stop all applications +dokku --quiet apps | xargs dokku ps:stop + +# cleanup containers and images +dokku cleanup +``` + +The following user/group must be deleted: + +- user: `dokku` +- group: `dokku` + +The following directories must be deleted: + +- `~dokku` +- `/var/lib/dokku` +- `/var/log/dokku` From 4f602976300090f4689f70107fd965c224f6c315 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 25 May 2017 22:35:19 -0600 Subject: [PATCH 2/3] docs: link to uninstalling documenation --- docs/template.html | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/template.html b/docs/template.html index 84b26c22f..ffc6ec793 100644 --- a/docs/template.html +++ b/docs/template.html @@ -111,6 +111,7 @@ Getting Started Getting Started with Dokku Upgrading Dokku + Uninstalling Dokku Troubleshooting Getting Help From af71b1b4b321ebb38df6b6b5f1d62a10b0ddd013 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 25 May 2017 22:35:52 -0600 Subject: [PATCH 3/3] chore: remove extra whitespace [ci skip] --- docs/getting-started/uninstalling.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/getting-started/uninstalling.md b/docs/getting-started/uninstalling.md index 809ba6b52..d5c8bc379 100644 --- a/docs/getting-started/uninstalling.md +++ b/docs/getting-started/uninstalling.md @@ -11,7 +11,6 @@ yaourt -Rsn dokku ## CentOS Installation - ```shell # uninstall dokku yum remove dokku herokuish