diff options
author | Valeriy Sizov <vsv2711@gmail.com> | 2014-10-21 13:01:54 +0300 |
---|---|---|
committer | Valeriy Sizov <vsv2711@gmail.com> | 2014-10-21 13:01:54 +0300 |
commit | e73a4eeafb64d8f7bbaf01ac52d8b2dc3c2d916a (patch) | |
tree | 4864972a1e6767bc45c700c221133a8f370af711 /doc/update/7.3-to-7.4.md | |
parent | 62929caf29dd603397f613bc52ef5d43b2ac16be (diff) | |
parent | 35b1a036d79382c9311d4c6fac0cdbefb067e940 (diff) | |
download | gitlab-ce-e73a4eeafb64d8f7bbaf01ac52d8b2dc3c2d916a.tar.gz |
Merge pull request #8066 from bbodenmiller/patch-18
[7.4 rc fix] [doc] stop gitlab before mysql optimizations, run checks
Diffstat (limited to 'doc/update/7.3-to-7.4.md')
-rw-r--r-- | doc/update/7.3-to-7.4.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/update/7.3-to-7.4.md b/doc/update/7.3-to-7.4.md index e5ae39691bb..89f5cfe9649 100644 --- a/doc/update/7.3-to-7.4.md +++ b/doc/update/7.3-to-7.4.md @@ -130,6 +130,9 @@ More details can be found at the [integration documentation](../integration/goog Only applies if running MySQL database created with GitLab 6.7 or earlier. If you are not experiencing any issues you may not need the following instructions however following them will bring your database in line with the latest recommended installation configuration and help avoid future issues. Be sure to follow these directions exactly. These directions should be safe for any MySQL instance but to be sure make a current MySQL database backup beforehand. ``` +# Stop GitLab +sudo service gitlab stop + # Secure your MySQL installation (added in GitLab 6.2) sudo mysql_secure_installation @@ -191,6 +194,9 @@ mysql> \q # Set production -> username: git # Set production -> password: the password your replaced $password with earlier sudo -u git -H editor /home/git/gitlab/config/database.yml + +# Run thorough check +sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production ``` |