Add instructions for users that do not want to upgrade at the moment.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Tue, 17 Apr 2018 05:44:27 +0000 (13:44 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Tue, 17 Apr 2018 05:44:27 +0000 (13:44 +0800)
templates/postgres.template.yml

index b1337ebf2e4b7ab8df4aae932ccf67db3f02de64..63c1eaddedf7f1ae2b3466b265d8c6db354c2da5 100644 (file)
@@ -67,6 +67,8 @@ run:
          if [ "$free_disk" -lt "$required" ]; then
           echo "WARNING: Upgrading PostgresSQL would require an addtional $(numfmt --to=si $(($required - $free_disk))) of disk space"
           echo "Please free up some space, or expand your disk, before continuing."
+          echo ''
+          echo 'To avoid upgrading change "templates/postgres.template.yml" TO "templates/postgres.9.5.template.yml" in containers/app.yml'
           exit 1
          fi