[DRE-maint] Bug#1019731: gitlab: failed to fetch comments in merge requests (500 Internal Server Error)

Antoine Le Gonidec debian at dotslashplay.it
Thu Nov 17 13:33:22 GMT 2022


On Thu, 22 Sep 2022 07:08:46 +0200 Maximilian Stein <m at steiny.biz> wrote:
> As discussed in the upstream Gitlab bug report [1], apparently the 
> package `ruby-activerecord` in version 6.1.6.1 
> (2:6.1.6.1+dfsg-3~fto11+1) is broken as it appears to contain file from 
> version 6.1.6 (specifically 
> /usr/share/rubygems-integration/all/gems/activerecord-6.1.6.1/lib/active_record/railtie.rb). 
> So, probably, that package needs to be fixed to get merge request 
> comments working again.
> 
> In the meantime, there is a workaround available for Gitlab [2].

Could you please give a bit more details about the workaround?

I tried copying config/initializers/rails_safe_load_yaml_patch.rb from upstream merge request !92400 to /etc/gitlab/initializers/rails_safe_load_yaml_patch.rb, but I still get the 500 error (after a full rebuild of the assets). So I guess I am missing a step.

I run gitlab 15.4.2+ds1-1~fto11+3 from bullseye-fasttrack.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221117/2fd90152/attachment.sig>


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