Updating Turnkey version of GitLab

I downloaded the GitLab turnkey for VMware. It fired up with 7.11.4 with a big red warning saying update asap
I read the instructions on how to add the gitlab repo and then ran sudo apt-get update followed by sudo apt-get install gitlab-ce.
It ran the full update process and appeared to succeed. I then restarted the VM to be sure. When I logged in, it still reported version 7.11.4.
I ran the update commands again and received the following output.

root@gitlab ~# sudo apt-get install gitlab-ce Reading package lists... Done Building dependency tree Reading state information... Done gitlab-ce is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So it appears I have the latest version installed, but logging in does not show it as updated…weird?

did you resolve this?

HI guys,

Sorry I missed this. FWIW I only closely monitor the TurnKey forums[1] so that’s the best place to post if you want some input from me! :slight_smile: Posting upstream (i.e. GitLab in this case) is often a good idea, but for future reference I suggest you post upstream as well as on our forums.

[1] https://www.turnkeylinux.org/forum/

With regards to our GitLab appliance, as you’ve (sort of) discovered, we don’t install from the repo (we do a source install). Perhaps we should consider using the repo to install? As to the appliance you used, you must have missed our .v14.1 release[2] (which included GitLab 8.3.x). As of 28th May[3] our appliance was rebuilt with the latest version (at the time - 8.8-rc1).

[2] https://www.turnkeylinux.org/blog/14.1-bugfixes-maintenance-and-more
[3] https://www.turnkeylinux.org/blog/gitlab-privilege-escalation

As for upgrading, currently, you need to manually update GitLab. It is documented in the GitLab docs (e.g. here[4]), but obviously they are generic instructions which cover most possibilities. We have taken just the bits relevant to the TurnKey build and written them up[5]. I have personally tested them and they appear to work fine (although I didn’t have any data in mine).

[4] https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/update/6.x-or-7.x-to-7.14.md
[5] https://github.com/turnkeylinux/tracker/wiki/Upgrade-GitLab-in-v14.0-and-v14.1-appliances

Hopefully this info is helpful to somone!

Regards,
Jeremy
TurnKey Linux

I ended up starting from scratch with Turnkey core, then adding omnibus on top