Merge pull request #44 from mrckndt/move_upgrade_script

Rename script to avoid further confusion
pull/52/head
Elisabeth Kulzer 2021-10-12 16:01:44 +02:00 committed by GitHub
commit 3270c21826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -2,11 +2,11 @@
Because it is more complicated to check the available disk space for various disk formatting options provided by different linux distributions, the script does currently not check for if there is enough disk space.
Please check manually before executing this script!
## Upgrading from mattermost-docker
## Upgrading Postgres
```
$ export PATH_TO_MATTERMOST_DOCKER=path/to/mattermost-docker
$ ./scripts/upgrade-from-mattermost-docker.sh
$ ./scripts/upgrade-postgres.sh
```
Environment variables for upgrading:
@ -31,5 +31,5 @@ You can overwrite any of these variables before running this script with:
```
$ export VAR_NAME_FROM_ABOVE=yourValue
$ export PATH_TO_MATTERMOST_DOCKER=path/to/mattermost-docker
$ ./scripts/upgrade-from-mattermost-docker.sh
$ ./scripts/upgrade-postgres.sh
```

View File

@ -10,7 +10,7 @@ set -o errexit
# 1. Edit the variables below to match your environment. This uses default variables and assumes you're on 5.31.0.
# If you're wanting to use another version of Postgres/Mattermost , update the variables as desired.
# 2. run 'sudo bash upgrade-from-mattermost-docker.sh' replace upgrade.sh with what you've named the file.
# 2. run 'sudo bash upgrade-postgres.sh' replace upgrade.sh with what you've named the file.
# This may take some time to complete as it's migrating the database to Postgres 13.6 from 9.4