diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-26 08:27:19 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-26 08:27:19 -0700 |
commit | e8975207535decfca0f8bc53d3a91ece6be146dd (patch) | |
tree | 8ec79b043d9a532452245777d97c4c8d4260f400 | |
parent | 01c8aae8f25555788049fd3537cb3251bcb5801a (diff) | |
parent | c4bf88f96f31b0ff73939702b137f79383d28d1d (diff) | |
download | gitlab-ce-e8975207535decfca0f8bc53d3a91ece6be146dd.tar.gz |
Merge pull request #4904 from axilleas/master
Clear redis cache and precompile assets during update to 6.0. Fix #4874 #4840
-rw-r--r-- | doc/update/5.4-to-6.0.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/update/5.4-to-6.0.md b/doc/update/5.4-to-6.0.md index 7fe57a8ff3f..0869dd833f9 100644 --- a/doc/update/5.4-to-6.0.md +++ b/doc/update/5.4-to-6.0.md @@ -4,7 +4,7 @@ #### Global projects -We deprecated root(global) namespace for projects. +We deprecated root(global) namespace for projects. So you need to move all your global projects under group/users manually before update or they will be automatically moved to the owner namespace during the update. #### Teams @@ -62,7 +62,7 @@ cd /home/git/gitlab # MySQL sudo -u git -H bundle install --without development test postgres --deployment -#PostgreSQL +# PostgreSQL sudo -u git -H bundle install --without development test mysql --deployment sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production @@ -71,8 +71,12 @@ sudo -u git -H bundle exec rake migrate_global_projects RAILS_ENV=production sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production sudo -u git -H bundle exec rake migrate_inline_notes RAILS_ENV=production -sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production +# Clear redis cache +sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production +# Clear and precompile assets +sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production +sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production ``` ### 6. Update config files |