Commit d1648a6a2150c26c12a4f108040676a49627b8a0
1 parent
bf855d19
Exists in
spb-stable
and in
2 other branches
Ensure git user can create the database. Fix #175
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
doc/install/installation.md
... | ... | @@ -145,6 +145,7 @@ GitLab Shell is an ssh access and repository management software developed speci |
145 | 145 | # 5. Database |
146 | 146 | |
147 | 147 | We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](database_mysql.md). |
148 | +NOTE: because we need to make use of extensions you need at least pgsql 9.1. | |
148 | 149 | |
149 | 150 | # Install the database packages |
150 | 151 | sudo apt-get install -y postgresql-9.1 postgresql-client libpq-dev |
... | ... | @@ -153,7 +154,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da |
153 | 154 | sudo -u postgres psql -d template1 |
154 | 155 | |
155 | 156 | # Create a user for GitLab. |
156 | - template1=# CREATE USER git; | |
157 | + template1=# CREATE USER git CREATEDB; | |
157 | 158 | |
158 | 159 | # Create the GitLab production database & grant all privileges on database |
159 | 160 | template1=# CREATE DATABASE gitlabhq_production OWNER git; | ... | ... |