[DRE-maint] Bug#1008932: gitlab-sidekiq cannot find graphiql-rails

Pirate Praveen praveen at onenetbeyond.org
Tue Apr 5 10:02:30 BST 2022



2022, ഏപ്രിൽ 5 2:05:50 PM IST, Pirate Praveen <praveen at onenetbeyond.org>ൽ എഴുതി
>
>
>2022, ഏപ്രിൽ 4 10:07:06 PM IST, Maximilian Stein <m at steiny.biz>ൽ എഴുതി
>>Package: gitlab
>>Version: 14.7.7+ds1-2~fto11+2
>>Severity: normal
>>
>>Dear Maintainer,
>>
>>Recently, I tried to upgrade Gitlab to 14.7.7+ds1-2~fto11+2.
>>Unfortunately, gitlab-sidekiq does not start afterwards but fails as
>>it cannot find graphiql-rails:
>>
>>    gitlab-sidekiq[8334]: Could not find gem 'graphiql-rails (~> 1.8)' in any of the gem sources listed in your Gemfile
>>
>>However, in /var/lib/gitlab/.gem/gems (I fixed the owner as described
>>in the wiki), the gem is present (in directory graphiql-rails-1.8.0).
>>Unfortunately, I cannot uninstall the apt package ruby-graphiql-rails
>>(version 1.4.10-1) as gitlab still depends on it.
>>
>>So, I assumed that Gitlab finds the graphiql-rails package installed
>>by apt. After I had updated the Gemfile to require version 1.4 of
>>graphiql-rails, I can indeed successfully start gitlab-sidekiq.
>>
>>With this, Gitlab starts again, however some features do not work.
>>Most notably, I cannot merge a morge request anymore.
>>
>>Thanks for your support!
>
>As a workaround you can install graphiql-rails as root using gem command. Since /var/lib/gitlab/.gem is not in GEM_PATH the installed gem is not found by gitlab-sidekiq. We will have to set GEM_PATH globally. I will check.

Run 'gem env gempath' and set GEM_PATH variable with this value and /var/lib/gitlab/.gem added in /etc/gitlab/gitlab-debian.conf

I will try to do this automatically too.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



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