Saturday, 13 June 2015

Upgrading GitLab from 6.7.4 (2f5b6e1) to 7.11

I bit of fun with this particular install (which is has come to be an expectation in regards to installing or updating GitLab:
  1. We found out that the update removed the ability to change the target merge branch, once a merge request is created. More: 
  2. Towards the end of the install, the instructions actually disappeared and I could only find the 7.12 instructions. (
  3. In step 3, (sudo -u git -H git checkout 7-12-stable),we had to stash in order to checkout:
  4. There was an error in step 4,(sudo apt-get install nodejs), which I barely noticed, and I had to install nodejs a little differently on debian:
  5.  I accidently followed mysql instructions in step 5, (sudo -u git -H bundle install --without development test postgres --deployment),  and immediately realized it, then ran the postgres instructions. "Gems in the groups development, test, postgres and aws were not installed." Unfortunately, it saved the --without setting and excluded postgresql as well. That led to another error later on in the install. You can fix this by deleting the bundle I believe.
  6. I got the error: not writable directory for pid=/home/git/gitlab/tmp/pids/ not writable, but I just needed to chown that as it belonged to root.
  7. HTTP Push failed (SSH Push was fine), due to having the another ruby version. I changed a symlink to fix it: ln -fs /usr/local/bin/ruby /usr/bin/ruby

No comments:

Post a comment