Gitlab-ce-11.10.4 installatin headache

Fresh CentOS 7 minimum installation,
Installed the RPM without problem.
Configured /etc/gitlab/gitlab.rb with “external_url”
Ran “gitlab-ctl reconfigure”

And it failed - like this:

[2019-05-09T07:17:02-04:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
* Mixlib::ShellOut::ShellCommandFailed occurred in chef run: bash[migrate gitlab-rails database] (gitlab::database_migrations line 51) had an
 error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash"  "/tmp/chef-script20190509-6897-2w85v7" ----
STDOUT: rake aborted!
URI::InvalidURIError: bad URI(is not URI?): 1.1.1.1:80  <---------------------------------- redacted IP of the proxy server
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb:5:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `require'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
STDERR: 
---- End output of "bash"  "/tmp/chef-script20190509-6897-2w85v7" ----
Ran "bash"  "/tmp/chef-script20190509-6897-2w85v7" returned 1
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: execute[clear the gitlab-rails cache] (gitlab::gitlab-rails line 401
) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/gitlab/bin/gitlab-rake cache:clear ----
STDOUT: 
STDERR: rake aborted!
URI::InvalidURIError: bad URI(is not URI?): 1.1.1.1:80  <---------------------------------- redacted IP of the proxy server
/opt/gitlab/embedded/service/gitlab-rails/config/application.rb:5:in `<top (required)>'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `require'
/opt/gitlab/embedded/service/gitlab-rails/Rakefile:5:in `<top (required)>'
/opt/gitlab/embedded/bin/bundle:23:in `load'
/opt/gitlab/embedded/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)
---- End output of /opt/gitlab/bin/gitlab-rake cache:clear ----
Ran /opt/gitlab/bin/gitlab-rake cache:clear returned 1

The “bad URI” was my http_proxy environment setting.

Ultimately, I had to unset all the proxy environment variables to get a successful run to create the initial database.

Any clues on this ?