FS#49186 - [gitlab-shell] Gitlab self-check fails.
Attached to Project:
Community Packages
Opened by Thom Wiggers (twiggers) - Tuesday, 03 May 2016, 09:39 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 27 May 2016, 14:56 GMT
Opened by Thom Wiggers (twiggers) - Tuesday, 03 May 2016, 09:39 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 27 May 2016, 14:56 GMT
|
Details
Description:
Gitlab-shell self-check (part of gitlab) fails. This is the output for: su - git -s /bin/sh -c "cd '/usr/share/webapps/gitlab'; bundle-2.1 exec rake gitlab:check RAILS_ENV=production" Running /usr/share/webapps/gitlab-shell/bin/check Ignoring RedCloth-4.2.9 because its extensions are not built. Try: gem pristine RedCloth --version 4.2.9 Ignoring allocations-1.0.4 because its extensions are not built. Try: gem pristine allocations --version 1.0.4 Ignoring bcrypt-3.1.10 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.10 Ignoring charlock_holmes-0.7.3 because its extensions are not built. Try: gem pristine charlock_holmes --version 0.7.3 Ignoring escape_utils-1.1.0 because its extensions are not built. Try: gem pristine escape_utils --version 1.1.0 Ignoring eventmachine-1.0.8 because its extensions are not built. Try: gem pristine eventmachine --version 1.0.8 Ignoring http_parser.rb-0.5.3 because its extensions are not built. Try: gem pristine http_parser.rb --version 0.5.3 Ignoring kgio-2.10.0 because its extensions are not built. Try: gem pristine kgio --version 2.10.0 Ignoring mysql2-0.3.20 because its extensions are not built. Try: gem pristine mysql2 --version 0.3.20 Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2 Ignoring pg-0.18.4 because its extensions are not built. Try: gem pristine pg --version 0.18.4 Ignoring posix-spawn-0.3.11 because its extensions are not built. Try: gem pristine posix-spawn --version 0.3.11 Ignoring raindrops-0.15.0 because its extensions are not built. Try: gem pristine raindrops --version 0.15.0 Ignoring redcarpet-3.3.3 because its extensions are not built. Try: gem pristine redcarpet --version 3.3.3 Ignoring rinku-1.7.3 because its extensions are not built. Try: gem pristine rinku --version 1.7.3 Ignoring rugged-0.24.0 because its extensions are not built. Try: gem pristine rugged --version 0.24.0 Ignoring unf_ext-0.0.7.2 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.2 Ignoring unicorn-4.9.0 because its extensions are not built. Try: gem pristine unicorn --version 4.9.0 Ignoring version_sorter-2.0.0 because its extensions are not built. Try: gem pristine version_sorter --version 2.0.0 Could not find rake-10.5.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 /usr/share/webapps/gitlab-shell/config.yml Please fix the error above and rerun the checks. |
This task depends upon
Came from aur and gitlab is f**ked after pacaur -Syu
But that's not the problem. I uninstalled gitlab and started from new but now i'm not able to get gitlab-shell to run so gitlab is pretty useless..
Is there any progress on fixing this problem?
This command:
sudo sed -i 's:#!/usr/bin/env ruby:\0-2.1:g' /usr/share/webapps/gitlab/bin/* /usr/share/webapps/gitlab-shell/bin/*
fixed it for me. (Just don't run it twice!)
Gitlab-shell however throws this error anyway:
[code]
gitlab-shell self-check failed
Try fixing it:
Make sure GitLab is running;
Check the gitlab-shell configuration file:
sudo -u gitlab -H editor /usr/share/webapps/gitlab-shell/config.yml
Please fix the error above and rerun the checks.
[/code]
but this might be a configuration error on my side.
gitlab_url had to be reverted from https://localhost:8080 to http://localhost:8080 (changed it because of https part in wiki)
and in the redis: section i had to edit it liek this:
# Redis settings used for pushing commit notices to gitlab
redis:
bin: /usr/bin/redis-cli
host: 127.0.0.1
port: 6379
# pass: redispass # Allows you to specify the password for Redis
database: 0
#socket: /var/run/redis/redis.sock # Comment out this line if you want to use TCP
namespace: resque:gitlab
Now gitlab-shell is works when checked... now i only have to get the upload directory check working, and everything is like bevore migrating to community. (at least i hope)