[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:23:26 UTC 2016


Hi,

On Sun, 12 Jun 2016 10:05:00 +0100 Johannes Schauer <josch at debian.org> wrote:
> 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)

investigating this further, it seems that /usr/share/gitlab-shell/config.yml
has been replaced by a symbolic link to /etc/gitlab-shell/config.yml. The
content of /usr/share/gitlab-shell/config.yml has been deleted.

How should I fill my /etc/gitlab-shell/config.yml?

I found this:

http://sources.debian.net/src/gitlab-shell/3.0.0-2/debian/gitlab-shell-config.yml

But if I use that file as /etc/gitlab-shell/config.yml, then I get:

root at 22gitlab:~# /usr/share/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files: 
	/var/lib/gitlab/repositories: OK
	/usr/share/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: /usr/lib/ruby/2.3.0/socket.rb:1207:in `__connect_nonblock': No such file or directory - connect(2) for /var/run/redis/redis.sock (Errno::ENOENT)
	from /usr/lib/ruby/2.3.0/socket.rb:1207:in `connect_nonblock'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/connection/ruby.rb:205:in `connect'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/connection/ruby.rb:256:in `connect'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:336:in `establish_connection'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:101:in `block in connect'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:293:in `with_reconnect'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:100:in `connect'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:364:in `ensure_connected'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:221:in `block in process'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:306:in `logging'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:220:in `process'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis/client.rb:120:in `call'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis.rb:149:in `block in ping'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis.rb:58:in `block in synchronize'
	from /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis.rb:58:in `synchronize'
	from /usr/lib/ruby/vendor_ruby/vendor/redis/lib/redis.rb:148:in `ping'
	from /usr/share/gitlab-shell/bin/check:41:in `<main>'


Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160612/ce084900/attachment.sig>


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