Hello,
after a distribution update (opensuse) and an update of Gitlab to 6.4.3 i
get several errors:
- fork does not work any more
- adding ssh keys seems to work on the ui, but the ssh key is not added to
the authorized_keys file and the key does not work
The webui works and present ssh keys work, too. Cloning, pushing via git
and ssh works, too. It seems, that the gitlab-shell is broken.
How can i fix gitlab-shell? Can i rebuild it somehow, so it can find
rake-10.1.0?
Output of bundle exec rake gitlab:gitlab_shell:check RAILS_ENV=production
Checking GitLab Shell ...
GitLab Shell version >= 1.7.9 ? ... OK (1.8.0)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ...
name / project ... ok
Running /home/git/gitlab-shell/bin/check
Could not find rake-10.1.0 in any of the sources
Run `bundle install` to install missing gems.
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u git -H editor /home/git/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
Checking GitLab Shell ... Finished
In log/sidekiq.log i see the same error from both faults:
2014-01-08T13:02:28Z 7780 TID-1cjgn4 INFO: Booting Sidekiq 2.17.0 with
redis options {:url=>"redis://localhost:6379", :namespace=>"resque:gitlab"}
2014-01-08T13:02:28Z 7780 TID-1cjgn4 INFO: Running in ruby 1.9.3p448
(2013-06-27) [i586-linux]
2014-01-08T13:02:28Z 7780 TID-1cjgn4 INFO: See LICENSE and the LGPL-3.0 for
licensing details.
2014-01-08T13:02:47Z 7780 TID-1mfo08 GitlabShellWorker
JID-f57c9a3e99724b625b955015 INFO: start
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in
`block in materialize': Could not find rake-10.1.0 in any of the sources
(Bundler::GemNotF
ound)
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in
`map!'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in
`materialize'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in
`specs'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in
`specs_for'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in
`requested_specs'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in
`requested_specs'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in
`setup'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler.rb:120:in `setup'
from
/usr/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in
`<top (required)>'
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
`require'
2014-01-08T13:02:47Z 7780 TID-1mfo08 GitlabShellWorker
JID-f57c9a3e99724b625b955015 INFO: done: 0.468 sec
2014-01-08T13:03:28Z 7780 TID-1mfo08 GitlabShellWorker
JID-0f9b5d7b71b9ccbbd3e96f65 INFO: start
....
Output of bundle exec rake gitlab:env:info RAILS_ENV=production
System information
System: openSUSE project 13.1
Current User: git
Using RVM: no
Ruby Version: 2.0.0p247
Gem Version: unknown
Bundler Version:1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.4.3
Revision: 38397db
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: https://url/gitlab
HTTP Clone URL: https://url/gitlab/some-project.git
SSH Clone URL: git@url:some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 1.8.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
Thank you,
Christian
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.