@@ -324,12 +325,19 @@ with a full description at the [Omnibus GitLab issue tracker](https://gitlab.com
To upgrade the PostgreSQL version, make sure that:
- You're currently running the latest version of GitLab and it is working.
- If you recently upgraded, `sudo gitlab-ctl reconfigure` ran successfully before you proceed.
- You have sufficient disk space for two copies of your database. **Do not attempt to upgrade unless you have enough free space available.** Check your database size using `sudo du -sh /var/opt/gitlab/postgresql/data` (or update to your database path) and space available using `sudo df -h`. If the partition where the database resides does not have enough space, you can pass the argument `--tmp-dir $DIR` to the command. GitLab 13.3 includes an automatic check of the available disk space and aborts the upgrade operation if the requirements are not met.
- You're running the latest version of GitLab and it's working.
- If you recently upgraded, you ran `sudo gitlab-ctl reconfigure` successfully before you proceed.
- You have sufficient disk space for two copies of your database.
**Do not attempt to upgrade unless you have enough free space available.**
Once you have confirmed that the above checklist is satisfied,
you can proceed with the upgrade:
- Check your database size using `sudo du -sh /var/opt/gitlab/postgresql/data`(or update to your
database path).
- Check the space available using `sudo df -h`. If the partition where the database resides does
not have enough space, you can pass the argument `--tmp-dir $DIR` to the command.
GitLab 13.3 includes an automatic check of the available disk space and aborts the upgrade if
the requirements are not met.
After you confirm that the above checklist is satisfied, you can proceed with the upgrade:
```shell
sudo gitlab-ctl pg-upgrade
Loading
Loading
@@ -354,9 +362,9 @@ Run `gitlab-ctl pg-upgrade -h` to see the full list.
1. Starts the remaining services and removes the deploy page.
1. If any errors are detected during this process, it reverts to the old version of the database.
Once the upgrade is complete, verify everything is working as expected.
After the upgrade is complete, verify that everything is working as expected.
**Once you have verified that your GitLab instance is running correctly**,
**After you have verified that your GitLab instance is running correctly**,