forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Update Gitolite
riyad edited this page Jan 7, 2013
·
1 revision
In GitLab 2.9.x there was a bug which can lead to bad consequences such as #1754 or #1709. That solves them. Also that steps related to users who wants to update gitolite v2 to v3.
2. Install Gitolite from scratch. See the Gitolite section in the Installation Guide.
sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_keys RAILS_ENV=production
sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production
sudo cp ./lib/hooks/post-receive /home/git/.gitolite/hooks/common/post-receive
sudo chown git:git /home/git/.gitolite/hooks/common/post-receive
sudo -u gitlab -H bundle exec rake gitlab:check RAILS_ENV=production
That's all.