GitLab 7.9 adds nodejs as a dependency. GitLab 7.6 adds libkrb5-dev as a dependency (installed by default on Ubuntu and OSX). GitLab 7.2 adds pkg-config and cmake as dependency. Please check the dependencies in the installation guide.
from /home/git/gitlab/lib/gitlab/upgrader.rb:74:in `upgrade'
from /home/git/gitlab/lib/gitlab/upgrader.rb:22:in `execute'
from -e:7:in `<main>'
解决办法
1
2
3
Open /home/git/gitlab/lib/gitlab/upgrader.rbineditor
Replace all #{Gitlab.config.git.bin_path} by git and save
Run upgrader.rb as usual
I have the same problem upgrading from 8.5.1 to 8.5.5. Replacing Gitlab.config.git.bin_path with git fixed it. This is the search and replace command to run in vi: %s/#{Gitlab.config.git.bin_path}/git/g
3. Start application
1
2
sudo service gitlab start
sudo service nginx restart
4. Check application status
Check if GitLab and its dependencies are configured correctly:
You’ve read through the entire guide and probably already did all the steps one by one. Below is a one line command with step 1 to 5 for the next time you upgrade. Please replace X.X.X with the latest GitLab release.