Commit 55b5d17a authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'patch-10' into 'master'

add missing sudo skip-auto-migration

## What does this MR do?

Fixes minor documentation issue where adding `skip-auto-migration` file does not work because `sudo` is not used.

See merge request !7435
parents 26cf3e47 3a1b21fe
...@@ -102,7 +102,7 @@ If you use a cloud-managed service, or provide your own PostgreSQL: ...@@ -102,7 +102,7 @@ If you use a cloud-managed service, or provide your own PostgreSQL:
1. Exit the database prompt by typing `\q` and Enter. 1. Exit the database prompt by typing `\q` and Enter.
1. Exit the `gitlab-psql` user by running `exit` twice. 1. Exit the `gitlab-psql` user by running `exit` twice.
1. Run `sudo gitlab-ctl reconfigure` a final time. 1. Run `sudo gitlab-ctl reconfigure` a final time.
1. Run `touch /etc/gitlab/skip-auto-migrations` to prevent database migrations 1. Run `sudo touch /etc/gitlab/skip-auto-migrations` to prevent database migrations
from running on upgrade. Only the primary GitLab application server should from running on upgrade. Only the primary GitLab application server should
handle migrations. handle migrations.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment