There was an error while loading. Please reload this page.
2 parents 2ec550f + 4ea0bfa commit 0089610Copy full SHA for 0089610
templates/postgres.template.yml
@@ -92,7 +92,12 @@ run:
92
echo Run "./launcher enter app"
93
echo Run "cd /shared/postgres_backup && sudo -u postgres pg_dump discourse > backup.db"
94
echo
95
- echo Undo the base_image and postgres template from your container config
+ if [ "$PG_MAJOR_OLD" = "9.2" ]; then
96
+ echo Undo the base_image in your container config
97
+ fi
98
+ if [ "$PG_MAJOR_OLD" = "9.3" ]; then
99
+ echo Undo the postgres template in your container config
100
101
echo Run: "./launcher stop app"
102
echo Run: "sudo mv /var/discourse/shared/standalone/postgres_data /var/discourse/shared/standalone/postgres_data_old"
103
echo Run: "./launcher rebuild app"
0 commit comments