forked from gitlabhq/gitlabhq
-
Notifications
You must be signed in to change notification settings - Fork 0
Update gitolite
riyad edited this page Nov 25, 2012
·
14 revisions
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 new gitolite. See https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md
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
That's all.