Error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource:

Hi all,

I have changed the gitlab storage path in gitlab.rb file and when i run the gitlab-ctrl reconfigure command i am getting bellow error in the end. (gitlab login is working !)

There was an error running gitlab-ctl reconfigure:

storage_directory[/media/ccadmin/f9d7556b-00b3-485c-b869-e481f0cc7848/git-data] (gitlab::gitlab-rails line 46) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /media/ccadmin/f9d7556b-00b3-485c-b869-e481f0cc7848/git-data] (/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 /media/ccadmin/f9d7556b-00b3-485c-b869-e481f0cc7848/git-data) ----
STDOUT:
STDERR: stat: missing operand
Try ‘stat --help’ for more information.
---- End output of stat --printf=’%U’ $(readlink -f /media/ccadmin/f9d7556b-00b3-485c-b869-e481f0cc7848/git-data) ----
Ran stat --printf=’%U’ $(readlink -f /media/ccadmin/f9d7556b-00b3-485c-b869-e481f0cc7848/git-data) returned 1


Can someone please help me in this regard