Missing setting 'repos_path' in 'gitlab_shell' section?
I just upgraded gitlab-omnibus 6.8.2 to the gitlab-ce-8.10.1 on a Redhat 6.8 VM. I followed https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/update/README.md#updating-from-gitlab-66-and-higher-to-the-latest-version
The gitlab-ctl reconfigure output says:
Error executing action `run` on resource 'bash[migrate gitlab-rails database]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20160729-7422-17nf25b" ----
STDOUT: rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
Missing setting 'repos_path' in 'gitlab_shell' section in /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/settingslogic-2.0.9/lib/settingslogic.rb:189:in `missing_key'
The same error persists after I add the following line in the /etc/gitlab/gitlab.rb file and did the reconfigure and restart. It seems reconfigure does not take this.
gitlab_rails['gitlab_shell_repos_path'] = "/var/opt/gitlab/git-data/repositories"
The /var/opt/gitlab/gitlab-rails/etc/gitlab.yml does not have the repos_path entry in the gitlab_shell section. I guess it is obsolete after 6.8.2 because it was there.
Note that the database host changed from localhost to /var/opt/gitlab/postgresql, and password is removed in the database.yml.
I did have configured LDAP and HTTPS in the gitlab.rb file inherited from the old version. and I do see a 500 page in the https://mydomain. gitlab-ctl status seems to be OK
run: nginx: (pid 14636) 12665s; run: log: (pid 993) 797949s
run: postgresql: (pid 14642) 12664s; run: log: (pid 996) 797949s
run: redis: (pid 14650) 12664s; run: log: (pid 995) 797949s
run: sidekiq: (pid 19197) 5677s; run: log: (pid 994) 797949s
run: unicorn: (pid 22568) 12s; run: log: (pid 997) 797949s
Am I skipping any essentials between versions for the upgrade? Any help will be appreciated.