I have cloned our git lab server (Ubuntu 12.04) and started the upgrade process from 4.1 to 7.14. At which time I had planned to do a backup and restore to a new Ubuntu server running 14.04. Everything was going fine until I started the upgrade from 6.0 to 7.14.
When I attempt to fetch the new code, I got this:
sudo -u git -H git fetch --all
/home/git/gitlab# sudo -u git -H git fetch --all
error: Couldn’t resolve host ‘github.com’ while accessing https://github.com/gitlabhq/gitlabhq.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
error: Could not fetch origin
Warning: Permanently added ‘gitlab’ (ECDSA) to the list of known hosts.
I added a password for git user and get this:
fatal: ‘bds/gitlab.git’ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch self
I also seem to be having issues after upgrading Ruby according to the guide in the Master Branch and as I am now getting this:
service gitlab restart
Starting the GitLab Unicorn web server…
bundler: command not found: unicorn_rails
Install missing gem executables with
Starting the GitLab Sidekiq event dispatcher…
Could not find i18n-0.6.1 in any of the sources
bundle install to install missing gems.
I tried this:
As well as this:
Any help would be appreciated, though I’m starting to wonder if maybe a straight upgrade to 7.14 is not the best plan. Maybe I should consider upgrading to 6.0, then doing a backup and restore to version 6.0 on the new 14.04 server.