From 0babde74f382727878a2531203b4dba1c9f46a0e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 19 Aug 2017 19:03:20 -0400 Subject: [PATCH] docs: update uninstallation docs to clarify which subcommand to use for listing applications [ci skip] --- docs/getting-started/upgrading.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/upgrading.md b/docs/getting-started/upgrading.md index 951380b4f..b062113c7 100644 --- a/docs/getting-started/upgrading.md +++ b/docs/getting-started/upgrading.md @@ -23,9 +23,19 @@ Before upgrading, check the migration guides to get comfortable with new feature If Dokku was installed via `apt-get install dokku` or `bootstrap.sh` (most common), upgrade with: ```shell +# update your local apt cache sudo apt-get update -dokku --quiet apps:list | xargs -L1 dokku ps:stop # stops each running app + +# stop each running app +# for 0.8.1 and newer versions, use +dokku --quiet apps:list | xargs -L1 dokku ps:stop +# for older versions, use +dokku --quiet apps | xargs -L1 dokku ps:stop + +# update dokku and it's dependencies sudo apt-get install -qq -y dokku herokuish sshcommand plugn + +# rebuild all of your applications dokku ps:rebuildall # rebuilds all applications ```