[DRE-maint] Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged

Pirate Praveen praveen at onenetbeyond.org
Thu Nov 14 02:15:56 GMT 2019


Control: retitle -1 gitlab ssh access broken with protobuf 3.10
Control: severity -1 serious

On ബു, Nov 13, 2019 at 23:44, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> On Mon, 11 Nov 2019 22:15:20 +0530 Pirate Praveen
> <praveen at onenetbeyond.org <mailto:praveen at onenetbeyond.org>> wrote:
>>  Control: retitle -1 ssh access fails with gitaly-upload-pack: fatal:
>>  error: %v
>>  On Sat, 2 Nov 2019 14:51:42 +0100 Romain Bignon <romain at symlink.me 
>> <mailto:romain at symlink.me>> wrote:
>>  > Hello,
>>  >
>>  > The problem is still here, and is so not related to compatibility 
>> between
>>  > versions of gitlab/gitlab-shell/gitality…
>>  >
>>  > Is there anything I can do to find the origin of this issue?
>> 
>>  Fortunately or unfortunately the same error hit my instance as 
>> well. I'm
>>  digging deeper into it now.
>> 
>>  As a workaround you can use https access till we fix this (only ssh
>>  access is affected).
> 
> Found the root cause to be ruby-google-protobuf update from 3.7 to 
> 3.10.
> But to actually get it work is tricky.
> 
> If we downgrade ruby-google-protobuf to 3.7.1, then gitaly fails to 
> build.

<https://people.debian.org/~praveen/gitlab/> has protobuf 3.7 and grpc 
1.19. You need to downgrade both and use gitaly 1.59.3+dfsg-1~bpo10+2 
(which allows these versions).

And because of 
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944698> you may need 
to regenrate Gemfile.lock

# cd /usr/share/gitlab
# sudo -u gitlab truncate -s0 Gemfile.lock
# sudo -u gitlab bundle install --local
# systemctl restart gitlab-sidekiq
# systemctl restart gitlab gitaly

I had to use a separate repo with protobuf 3.10 and grpc 1.23 -> 
https://people.debian.org/~praveen/protobuf/ to build gitaly

I'm keeping this bug open till we can use same version of protobuf for 
both gitaly build and gitlab. I have opened 
https://gitlab.com/gitlab-org/gitaly/issues/2164 to work with upstream 
on this

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20191114/e81f7aa1/attachment.html>


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