Hello,
Im trying to run Gitlab CE 8.9 on a CentOS 7 Installation.
I followed the Source-Installation tutorial (Because I use MySQL), and stopped at the point, where i should install gitlab-shell.
My Gitlab Installation is located at /opt/gitlab, so the cloned repository is stored at /opt/gitlab/gitlab, gitlab-workhorse at /opt/gitlab/gitlab-workhorse. the git user owns /opt/git as his home directory.
When I try to install gitlab shell, the following Error occures (im in /opt/gitlab/gitlab):
[root@vm246 gitlab]# sudo -u git -H bundle exec rake gitlab:shell:install[v3.0.0] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
WARNING: This version of GitLab depends on gitlab-shell 3.2.0, but you're running Unknown. Please update gitlab-shell.
rake aborted!
Errno::ENOENT: No such file or directory @ realpath_rec - /home/git
/opt/gitlab/gitlab/config/initializers/6_validations.rb:6:in `realpath'
/opt/gitlab/gitlab/config/initializers/6_validations.rb:6:in `realpath'
/opt/gitlab/gitlab/config/initializers/6_validations.rb:6:in `find_parent_path'
/opt/gitlab/gitlab/config/initializers/6_validations.rb:22:in `block in validate_storages'
/opt/gitlab/gitlab/config/initializers/6_validations.rb:19:in `each'
/opt/gitlab/gitlab/config/initializers/6_validations.rb:19:in `validate_storages'
/opt/gitlab/gitlab/config/initializers/6_validations.rb:29:in `<top (required)>'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:in `load'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:in `block in load'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:240:in `load_dependency'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:in `load'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:652:in `block in load_config_initializer'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/notifications.rb:166:in `instrument'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:651:in `load_config_initializer'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:615:in `each'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:615:in `block in <class:Engine>'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:30:in `instance_exec'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:30:in `run'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:55:in `block in run_initializers'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:44:in `each'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:44:in `tsort_each_child'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:54:in `run_initializers'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:352:in `initialize!'
/opt/gitlab/gitlab/config/environment.rb:5:in `<top (required)>'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:in `require'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:in `block in require'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:240:in `load_dependency'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:in `require'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:328:in `require_environment!'
/opt/gitlab/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => gitlab:shell:install => environment
(See full trace by running task with --trace)
Thank you for your time and your help,
Mw