Installing Older Version

I’m migrating gitlab to a new box. The old installation has an earlier version (7.2.1) than the current version (7.13.mumble) and the backup from the older version won’t load on the new host, which has a current install.

I don’t want to upgrade on the old box if I can help it. It’s production, and I’d rather make any mistakes on the new box.

Any insight on getting 7.2.1 CE installed on the new box, running Ubuntu? I grabbed the 7.2.1 deb file and installed it (dpkg -i gitlab_7.2.1-omnibus.1-1_amd64.deb) but gitlab-ctl reconfigure fails on Chef.

ERROR: undefined method `=’ for nil:NilClass
FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited…

The chef stack trace appears to be failing in generate_secrets

…gitlab.rb:67: in block (2 levels) in generate_secrets' ..gitlab.rb:66:in each’

So, is there anything in the recipie for installing an older version of gitlab that I’m missing?

If you’re able to totally blow away the older version it may be easier to just do an apt-get --purge to totally remove all the currently installed files

apt-get remove --purge gitlab

Then auto remove any other installed files apt-get autoremove and finally install the older GitLab package then.

Is there an omnibus installer for 7.2.1? I don’t see one at, which seems to have nothing older than 7.10.0. Installing from source looks painful.

Background: the existing host is running 7.2.1. I want to migrate that installation to a completely new host. It looks like the installation on the new host must have exactly the same version of gitlab to be able to restore a backup from the original host.

  1. Once installed, can I easily upgrade to the current version?

  2. Do I need to use the same /etc/gitlab/gitlab-secrets.json file? Ie, is that used as some sort of crypto key for sensitive database information, and it’s necessary to restore the backup?

You can use the archive list here is probably a good replacement for the above, outdated URL.