Skip to content
Snippets Groups Projects
Commit becb6fec authored by Evan Read's avatar Evan Read
Browse files

Merge branch 'database-verify-psql-version' into 'master'

Updated 6. Database to verify psql version first.

See merge request gitlab-org/gitlab!42660
parents 94ca7fd7 ad5b9255
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -311,13 +311,20 @@ sudo adduser --disabled-login --gecos 'GitLab' git
## 6. Database
 
NOTE: **Note:**
Starting from GitLab 12.1, only PostgreSQL is supported. Since GitLab 13.0, we require PostgreSQL 11+.
Starting from GitLab 12.1, only PostgreSQL is supported. Since GitLab 13.0, we [require PostgreSQL 11+](requirements.md#postgresql-requirements).
 
1. Install the database packages:
 
```shell
sudo apt-get install -y postgresql postgresql-client libpq-dev postgresql-contrib
```
1. Verify the PostgreSQL version you have is supported by the version of GitLab you're
installing:
```shell
psql --version
```
 
1. Start the PostgreSQL service and confirm that the service is running:
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment