[DRE-maint] Bug#827100: gitlab-shell/bin/check cannot find /usr/share/gitlab-shell/config.yml

Johannes Schauer josch at debian.org
Sun Jun 12 09:05:00 UTC 2016


Package: gitlab
Version: 8.8.2+dfsg-3
Severity: normal

Hi,

I just upgraded my gitlab from 8.5.8+dfsg-4 to 8.8.2+dfsg-3. I noticed
the following:

root at 22gitlab:~# /usr/share/gitlab-shell/bin/check
/usr/lib/ruby/2.3.0/psych.rb:471:in `initialize': No such file or directory @ rb_sysopen - /usr/share/gitlab-shell/config.yml (Errno::ENOENT)
	from /usr/lib/ruby/2.3.0/psych.rb:471:in `open'
	from /usr/lib/ruby/2.3.0/psych.rb:471:in `load_file'
	from /usr/lib/ruby/vendor_ruby/gitlab_config.rb:8:in `initialize'
	from /usr/lib/ruby/vendor_ruby/gitlab_logger.rb:13:in `new'
	from /usr/lib/ruby/vendor_ruby/gitlab_logger.rb:13:in `<top (required)>'
	from /usr/lib/ruby/vendor_ruby/gitlab_net.rb:7:in `require_relative'
	from /usr/lib/ruby/vendor_ruby/gitlab_net.rb:7:in `<top (required)>'
	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/gitlab-shell/bin/check:5:in `<main>'

I guess I'm missing some symlinks that were introduced?

Looking at the Debian changelog I see the entry:

  * Move gitlab-shell's config.yml to /etc

Unfortunately, that doesn't give me any hints as to what I have to do to
fix the above situation.

I know that you do not support upgrades from one version to the next
within unstable. But it would at least be great if you would document
somewhere what manual steps to take when upgrading, for example by
writing these instructions down next to the change in the Debian
changelog.

Thanks!

cheers, josch



More information about the Pkg-ruby-extras-maintainers mailing list