Skip to content
Snippets Groups Projects
Commit 6c1c2842 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #4895 from axilleas/clear-cache

 Clear redis cache and precompile assets during update to 6.0. Fix #4874 #4840
parents b1bb3701 6046fd4d
No related branches found
No related tags found
1 merge request!4948CentOS 6.4 install GitLab 6 0 stable ssh Auth fail
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
@@ -71,6 +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
 
# 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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment