diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-04 21:06:48 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-07-04 21:06:48 +0300 |
commit | aaf680750110797265f2615498987f6ace18c743 (patch) | |
tree | ead13a75dfb6b0a4eec142a4986fe25ff0062816 /doc/update | |
parent | b036d50ca1cf5f5c105b84b7c1f622bf2483828d (diff) | |
parent | 58bb7032c6f92051b4dd10d9323cdb89d15dc6fe (diff) |
Merge branch 'dm-9-3-requires-mysql-trigger' into 'master'
Document that GitLab 9.3 requires the TRIGGER permission on MySQL
Closes #34358
See merge request !12573
Diffstat (limited to 'doc/update')
-rw-r--r-- | doc/update/8.9-to-8.10.md | 2 | ||||
-rw-r--r-- | doc/update/9.2-to-9.3.md | 17 |
2 files changed, 14 insertions, 5 deletions
diff --git a/doc/update/8.9-to-8.10.md b/doc/update/8.9-to-8.10.md index d6b2f11d49a..42132f690d8 100644 --- a/doc/update/8.9-to-8.10.md +++ b/doc/update/8.9-to-8.10.md @@ -156,7 +156,7 @@ See [smtp_settings.rb.sample] as an example. Ensure you're still up-to-date with the latest init script changes: sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab - + For Ubuntu 16.04.1 LTS: sudo systemctl daemon-reload diff --git a/doc/update/9.2-to-9.3.md b/doc/update/9.2-to-9.3.md index a2dc1dadcdc..097b996ec31 100644 --- a/doc/update/9.2-to-9.3.md +++ b/doc/update/9.2-to-9.3.md @@ -156,7 +156,16 @@ sudo -u git -H git checkout v$(</home/git/gitlab/GITALY_SERVER_VERSION) sudo -u git -H make ``` -### 10. Update configuration files +### 10. Update MySQL permissions + +If you are using MySQL you need to grant the GitLab user the necessary +permissions on the database: + +```bash +mysql -u root -p -e "GRANT TRIGGER ON \`gitlabhq_production\`.* TO 'git'@'localhost';" +``` + +### 11. Update configuration files #### New configuration options for `gitlab.yml` @@ -230,7 +239,7 @@ For Ubuntu 16.04.1 LTS: sudo systemctl daemon-reload ``` -### 11. Install libs, migrations, etc. +### 12. Install libs, migrations, etc. ```bash cd /home/git/gitlab @@ -256,14 +265,14 @@ sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production **MySQL installations**: Run through the `MySQL strings limits` and `Tables and data conversion to utf8mb4` [tasks](../install/database_mysql.md). -### 12. Start application +### 13. Start application ```bash sudo service gitlab start sudo service nginx restart ``` -### 13. Check application status +### 14. Check application status Check if GitLab and its environment are configured correctly: |