diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-29 16:27:47 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-07-04 10:28:50 -0500 |
commit | 58bb7032c6f92051b4dd10d9323cdb89d15dc6fe (patch) | |
tree | be93f413f4ae91e4a825f346341087929c5339ab /doc/update/9.2-to-9.3.md | |
parent | 6205e45727db4d6720b7c3dc6ce010872b4f1628 (diff) | |
download | gitlab-ce-58bb7032c6f92051b4dd10d9323cdb89d15dc6fe.tar.gz |
Document that GitLab 9.3 requires the TRIGGER permission on MySQLdm-9-3-requires-mysql-trigger
Diffstat (limited to 'doc/update/9.2-to-9.3.md')
-rw-r--r-- | doc/update/9.2-to-9.3.md | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/update/9.2-to-9.3.md b/doc/update/9.2-to-9.3.md index 8fbcc892fd5..3e3dda722b6 100644 --- a/doc/update/9.2-to-9.3.md +++ b/doc/update/9.2-to-9.3.md @@ -157,7 +157,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` @@ -231,7 +240,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 @@ -257,14 +266,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: |