Closed Kami-no closed 8 years ago
Gitlab 8.10 has considerably changed the configuration. Have you checked that the path to the repository in gitlab.yml is correct?
If grep home/git /etc/gitlab/gitlab.yml
gives you a result, then you need to adjust the path, probably to /var/lib/git/repositories/
.
Did that do the trick?
It fixes the bug...
Okay, that's good. But it shows me that perhaps the ebuild should take care of that config change. After all, the path will always be /var/lib/git/repositories/
and never /home/git
. Maybe I'll add a patch to future ebuilds.
Thanks for reporting!
avalon ~ # emerge --config gitlab-ce
Configuring pkg...
Errno::ENOENT: No such file or directory @ realpath_rec - /home/git /opt/gitlab/config/initializers/6_validations.rb:6:in
realpath' /opt/gitlab/config/initializers/6_validations.rb:6:in
realpath' /opt/gitlab/config/initializers/6_validations.rb:6:infind_parent_path' /opt/gitlab/config/initializers/6_validations.rb:22:in
block in validate_storages' /opt/gitlab/config/initializers/6_validations.rb:19:ineach' /opt/gitlab/config/initializers/6_validations.rb:19:in
validate_storages' /opt/gitlab/config/initializers/6_validations.rb:29:in<top (required)>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:in
load' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:inblock in load' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:240:in
load_dependency' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:268:inload' /opt/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/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/notifications.rb:166:ininstrument' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:651:in
load_config_initializer' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:616:inblock (2 levels) in <class:Engine>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:615:in
each' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/engine.rb:615:inblock in <class:Engine>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:30:in
instance_exec' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:30:inrun' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:55:in
block in run_initializers' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:44:ineach' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:44:in
tsort_each_child' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/initializable.rb:54:inrun_initializers' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:352:in
initialize!' /opt/gitlab/config/environment.rb:5:in<top (required)>' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:in
require' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:inblock in require' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:240:in
load_dependency' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.7/lib/active_support/dependencies.rb:274:inrequire' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:328:in
require_environment!' /opt/gitlab/vendor/bundle/ruby/2.1.0/gems/railties-4.2.7/lib/rails/application.rb:457:in `block in run_tasks_blocks' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)emerge --info '=www-apps/gitlab-ce-8.10.2::fritteli'
,emerge -pqv '=www-apps/gitlab-ce-8.10.2::fritteli'
. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =gitlab-ce-8.10.2