I'm researching the process of migrating GitLab from an old server to a new server. One of the first things I need to do is determine which installation GitLab is in (Omnibus vs. source), and I'm unable to tell.
This post (omnibus or source - can't decide which one to use for gitllab backup/restore) mentions looking for a .git file in the GitLab root folder (/home/git/gitlab) - I don't see a .git file there. So, by that comment the installation was Omnibus.
However, looking at this post (Checking of GitLab version), I'm unable to run:
sudo gitlab-rake gitlab:env:info
(shown for Omnibus installation)
But I can run:
bundle exec rake gitlab:env:info RAILS_ENV=production
(shown for source installation)
I'm seeing conflicting answers. How can I tell which installation GitLab is in?
In any case, when I run the last command, I get the following results (if it helps):
System information System: Debian 7.10 Current User: git Using RVM: no Ruby Version: 2.0.0p247 Gem Version: 2.0.3 Bundler Version:1.7.2 Rake Version: 10.1.0
GitLab information Version: 6.0.2 Revision: 10b0b8f Directory: /home/git/gitlab DB Adapter: mysql2 URL: http://107.178.218.39 HTTP Clone URL: http://107.178.218.39/some-project.git SSH Clone URL: [email protected]:some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 1.7.0 Repositories: /home/git/repositories/ Hooks: /home/git/gitlab-shell/hooks/ Git: /usr/bin/git