Gitlab-ctl reconfigure fails with

Hi all,

I am trying to run gitlab-ctl reconfigure from scratch but it fails with below error:
gitlab version: gitlab-ee.x86_64 14.3.2-ee.0.el7

Running handlers:
There was an error running gitlab-ctl reconfigure:
storage_directory[/var/opt/gitlab/.ssh] (gitlab::gitlab-shell line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/.ssh] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 34) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of stat --printf=’%U’ $(readlink -f /var/opt/gitlab/.ssh) ----
STDOUT:
STDERR: stat: missing operand
Try ‘stat --help’ for more information.
---- End output of stat --printf=’%U’ $(readlink -f /var/opt/gitlab/.ssh) ----
Ran stat --printf=’%U’ $(readlink -f /var/opt/gitlab/.ssh) returned 1

All the files inside the /opt/gitlab was provided git:git permisions and /etc/gitlab/gitlab.rb as root.

Any idea how to fix the issue?

Regards
bubunia2000ster