"gitlab-ctl reconfigure" fails after upgrade from 9.0 to 9.0.1

I made an upgrade to the latest version of gitlab.

When I run the command “gitlab-ctl reconfigure” (without any change to /etc/gitlab/gitlab.rb, I get the following error:

Any idea?

Thanks

Looks like you have a error in your /etc/gitlab/gitlab.rb file.

Rename your existing gitlab.rb file to gitlab.rb.old

# cd /etc/gitlab
# mv gitlab.rb gitlab.rb.old
# touch gitlab.rb
# gitlab-ctl reconfigure

If that works, then the problem is in your local gitlab.rb file.

I recommend downloading a template copy of the file from https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/files/gitlab-config-template/gitlab.rb.template and saving it as gitlab.rb.template to your machine.

Create a new file with JUST what you need in the file. Should be as few changes as needed to get your system up and running. Double and Triple check that you’re not missing a quote somewhere.

1 Like

Right, the config file got an extra carriage return leading to a misconfiguration.

Thanks for your support.

This post help me for identify error and Resolved my issue.
Thanks Aram