You are not logged in.

#1 2016-01-14 17:28:31

valevalorin
Member
Registered: 2015-10-16
Posts: 13

[Solved] Gitlab Installation Stopped Working After pacman -Syu

Yesterday I did a pacman -Syu so I could install letsencrypt (my package db was really out of date). In the process my ruby version got updated and now my gitlab service fails to start.

Running :

 sudo -u gitlab bundle exec rake gitlab:check RAILS_ENV=production 

from the wiki I got some warnings concerning native extensions:

Ignoring RedCloth-4.2.9 because its extensions are not built.  Try: gem pristine RedCloth --version 4.2.9
Ignoring bcrypt-3.1.10 because its extensions are not built.  Try: gem pristine bcrypt --version 3.1.10
Ignoring charlock_holmes-0.6.9.4 because its extensions are not built.  Try: gem pristine charlock_holmes --version 0.6.9.4
Ignoring escape_utils-0.2.4 because its extensions are not built.  Try: gem pristine escape_utils --version 0.2.4
Ignoring eventmachine-1.0.9.1 because its extensions are not built.  Try: gem pristine eventmachine --version 1.0.9.1
Ignoring hitimes-1.2.3 because its extensions are not built.  Try: gem pristine hitimes --version 1.2.3
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 nokogiri-1.6.7.1 because its extensions are not built.  Try: gem pristine nokogiri --version 1.6.7.1
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.4 because its extensions are not built.  Try: gem pristine redcarpet --version 3.3.4
Ignoring rinku-1.7.3 because its extensions are not built.  Try: gem pristine rinku --version 1.7.3
Ignoring rugged-0.22.2 because its extensions are not built.  Try: gem pristine rugged --version 0.22.2
Ignoring timfel-krb5-auth-0.8.3 because its extensions are not built.  Try: gem pristine timfel-krb5-auth --version 0.8.3
Ignoring unf_ext-0.0.7.1 because its extensions are not built.  Try: gem pristine unf_ext --version 0.0.7.1
Ignoring unicorn-4.8.3 because its extensions are not built.  Try: gem pristine unicorn --version 4.8.3
Ignoring version_sorter-2.0.0 because its extensions are not built.  Try: gem pristine version_sorter --version 2.0.0

but I don't think this is causing my issue.

But right after that I see

Could not find rake-10.5.0 in any of the sources
Run `bundle install` to install missing gems.
gitlab-shell self-check failed

I've tried installing the gem globally and as the gitlab user and it still remains unfound. It was after that that I released it's probably a versioning thing and it's looking under the wrong ruby version so I tried forcing it in the gemfile:

#Gemfile
ruby '2.1.0' #the previous version I was running

After running the above check command again, before anything even happens it says something along the lines of "you specified 2.1.0 but are using 2.1.7" and quits out.
So I was like cool, whatever and changed my gemfile to :

#Gemfile
ruby '2.1.7'

Then after running the command it when through the normal checks but instead of getting the "rake missing" error I got "you specified 2.1.7 but are using 2.3.0" in the output where previously it had output the missing rake error.

I'm at a lose of what to do next. Anyone have any idea of how to fix this?

Last edited by valevalorin (2016-01-15 14:28:51)

Offline

#2 2016-01-15 14:29:13

valevalorin
Member
Registered: 2015-10-16
Posts: 13

Re: [Solved] Gitlab Installation Stopped Working After pacman -Syu

A simple systemctl daemon-reload fixed this for reasons unbeknownst to me.

Offline

Board footer

Powered by FluxBB