Fix ordering in 8.5-to-8.6 update guide
[ci skip]
This commit is contained in:
parent
25c2349200
commit
aff1058c61
1 changed files with 21 additions and 19 deletions
|
@ -105,35 +105,37 @@ via [/etc/default/gitlab].
|
|||
[Apache templates]: https://gitlab.com/gitlab-org/gitlab-recipes/tree/master/web-server/apache
|
||||
[/etc/default/gitlab]: https://gitlab.com/gitlab-org/gitlab-ce/blob/8-6-stable/lib/support/init.d/gitlab.default.example#L37
|
||||
|
||||
### 8. Updates for PostgreSQL Users
|
||||
|
||||
Starting with 8.6 users using GitLab in combination with PostgreSQL are required
|
||||
to have the "pg_trgm" extension enabled for all GitLab databases. If you're
|
||||
using GitLab's Omnibus packages there's nothing you'll need to do manually as
|
||||
this extension is enabled automatically. Users who install GitLab without using
|
||||
Omnibus (e.g. by building from source) have to enable this extension manually.
|
||||
To enable this extension run the following SQL command as a PostgreSQL super
|
||||
user for _every_ GitLab database:
|
||||
|
||||
CREATE EXTENSION IF NOT EXISTS pg_trgm;
|
||||
|
||||
Certain operating systems might require the installation of extra packages for
|
||||
this extension to be available. For example, users using Ubuntu will have to
|
||||
install the "postgresql-contrib" package in order for this extension to be
|
||||
available.
|
||||
|
||||
#### Init script
|
||||
|
||||
Ensure you're still up-to-date with the latest init script changes:
|
||||
|
||||
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
|
||||
|
||||
### 8. Start application
|
||||
### 8. Updates for PostgreSQL Users
|
||||
|
||||
Starting with 8.6 users using GitLab in combination with PostgreSQL are required
|
||||
to have the `pg_trgm` extension enabled for all GitLab databases. If you're
|
||||
using GitLab's Omnibus packages there's nothing you'll need to do manually as
|
||||
this extension is enabled automatically. Users who install GitLab without using
|
||||
Omnibus (e.g. by building from source) have to enable this extension manually.
|
||||
To enable this extension run the following SQL command as a PostgreSQL super
|
||||
user for _every_ GitLab database:
|
||||
|
||||
```sql
|
||||
CREATE EXTENSION IF NOT EXISTS pg_trgm;
|
||||
```
|
||||
|
||||
Certain operating systems might require the installation of extra packages for
|
||||
this extension to be available. For example, users using Ubuntu will have to
|
||||
install the `postgresql-contrib` package in order for this extension to be
|
||||
available.
|
||||
|
||||
### 9. Start application
|
||||
|
||||
sudo service gitlab start
|
||||
sudo service nginx restart
|
||||
|
||||
### 9. Check application status
|
||||
### 10. Check application status
|
||||
|
||||
Check if GitLab and its environment are configured correctly:
|
||||
|
||||
|
|
Loading…
Reference in a new issue