Debian Bug report logs - #942633
gitlab ssh access broken with protobuf 3.10

version graph

Package: gitlab; Maintainer for gitlab is Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>; Source for gitlab is src:gitlab (PTS, buildd, popcon).

Reported by: Romain Bignon <romain@symlink.me>

Date: Sat, 19 Oct 2019 09:21:02 UTC

Severity: serious

Tags: fixed-upstream

Found in version gitlab/12.1.14-1

Fixed in version gitlab/12.8.6-1

Done: Pirate Praveen <praveen@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://gitlab.com/gitlab-org/gitaly/issues/2134

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Sat, 19 Oct 2019 09:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
New Bug report received and forwarded. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 19 Oct 2019 09:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Sat, 19 Oct 2019 11:09:53 +0200
Package: gitlab
Version: 12.1.14-1
Severity: important

Dear Maintainer,

During the installation of the package, this warning is displayed:

GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... FAIL. Please update gitlab-shell to 9.3.0 from 9.1.0

But currently the latest version of gitlab-shell available in
experimental is 9.1.0.

It is not possible anymore to interact with the repository through ssh:

$ git fetch
gitaly-upload-pack: fatal: error: %v
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
$

Server-side, this error is displayed in gitlab-shell logs:

time="2019-10-19T11:04:07+02:00" level=info msg="finished HTTP request" duration=0.014533625 gitaly_embedded=false method=POST pid=426 url="http://localhost:8080/api/v4/internal/allowed"
time="2019-10-19T11:04:07+02:00" level=info msg="executing git command" command="gitaly-upload-pack unix:/run/gitlab/sockets/private/gitaly.socket {\"repository\":{},\"gl_repository\":\"project-2\",\"gl_project_path\":\"romain/weboob\",\"gl_id\":\"key-3\",\"gl_username\":\"romain\",\"git_config_options\":[],\"git_protocol\":null}" pid=426 user="user with id key-3"
time="2019-10-19T11:04:07+02:00" level=error msg="error: %v" error="rpc error: code = InvalidArgument desc = Storage can not be found by name ''" pid=426

I don't know if the two issues are related, but there is a good chance.

The solution would be to package gitlab-shell 9.3.0 in experimental.

Best regards,

Romain

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gitlab depends on:
ii  asciidoctor                                             2.0.10-2
ii  bc                                                      1.07.1-2+b2
ii  bundler                                                 1.17.3-3
ii  bzip2                                                   1.0.8-2
ii  dbconfig-pgsql                                          2.0.13
ii  debconf [debconf-2.0]                                   1.5.73
ii  gitlab-common                                           12.1.14-1
ii  gitlab-workhorse                                        8.5.2+debian-1
ii  libjs-bootstrap4 [node-bootstrap]                       4.3.1+dfsg2-1
ii  libjs-pdf                                               1.5.188+dfsg-1
ii  libjs-popper.js [node-popper.js]                        1.14.6+ds2-2
ii  libjs-uglify                                            2.8.29-6
ii  lsb-base                                                11.1.0
ii  nginx                                                   1.16.1-2
ii  nginx-extras [nginx]                                    1.16.1-2
ii  node-autosize                                           4.0.2~dfsg1-3
ii  node-axios                                              0.19.0+dfsg-2
ii  node-brace-expansion                                    1.1.8-1
ii  node-cache-loader                                       2.0.1-2
ii  node-chart.js                                           2.7.3+dfsg-5
ii  node-core-js                                            2.4.1-2
ii  node-css-loader                                         1.0.1-1
ii  node-d3                                                 4.13.0-10
ii  node-d3-array                                           1.2.4-2
ii  node-d3-axis                                            1.0.12-2
ii  node-d3-brush                                           1.0.6-3
ii  node-d3-ease                                            1.0.5-2
ii  node-d3-scale                                           1.0.7-6
ii  node-d3-selection                                       1.4.0-5
ii  node-d3-shape                                           1.3.5-2
ii  node-d3-time                                            1.0.11-3
ii  node-d3-time-format                                     2.1.3-2
ii  node-d3-transition                                      1.2.0-4
ii  node-dateformat                                         3.0.0-1
ii  node-exports-loader                                     0.7.0-2
ii  node-file-loader                                        3.0.1-1
ii  node-fuzzaldrin-plus                                    0.5.0+dfsg-3
ii  node-glob                                               7.1.3-2
ii  node-imports-loader                                     0.8.0-2
ii  node-jed                                                1.1.1-1
ii  node-jquery                                             3.4.0+dfsg-1
ii  node-jquery-ujs                                         1.2.2-2
ii  node-jquery.waitforimages                               2.4.0+ds-1
ii  node-js-cookie                                          2.2.0-2
ii  node-jszip                                              3.2.2+dfsg-1
ii  node-jszip-utils                                        0.0.2+dfsg-1
ii  node-mousetrap                                          1.6.1+ds-1
ii  node-pikaday                                            1.8.0-1
ii  node-raven-js                                           3.22.1+dfsg-2
ii  node-raw-loader                                         1.0.0-2
ii  node-three-orbit-controls                               82.1.0-2
ii  node-three-stl-loader                                   1.0.6-2
ii  node-timeago.js                                         3.0.2+dfsg-5
ii  node-underscore                                         1.9.1~dfsg-1
ii  node-url-loader                                         2.0.1-1
ii  node-vue-resource                                       1.5.1+dfsg-5
ii  node-webpack-stats-plugin                               0.2.1-1
ii  node-worker-loader                                      2.0.0-2
ii  nodejs                                                  10.15.2~dfsg-2
ii  openssh-client                                          1:8.1p1-1
ii  postfix [mail-transport-agent]                          3.4.7-1
ii  postgresql-client                                       11+207
ii  postgresql-client-11 [postgresql-client]                11.5-3sid2
ii  postgresql-client-9.6 [postgresql-client]               9.6.10-0+deb9u1
ii  postgresql-contrib                                      11+207
ii  puma                                                    3.12.0-2+b1
ii  rake                                                    12.3.3-1
ii  redis-server                                            5:5.0.6-1
ii  ruby                                                    1:2.5.2
ii  ruby-ace-rails-ap                                       4.1.1-1
ii  ruby-acme-client                                        2.0.3-2
ii  ruby-activerecord-explain-analyze                       0.1.0-2
ii  ruby-acts-as-taggable-on                                6.0.0-3
ii  ruby-addressable                                        2.5.2-1
ii  ruby-akismet                                            2.0.0-1
ii  ruby-apollo-upload-server                               2.0.0~beta3-1
ii  ruby-asana                                              0.8.1-2
ii  ruby-asciidoctor-include-ext                            0.3.1-2
ii  ruby-asciidoctor-plantuml                               0.0.9-1
ii  ruby-attr-encrypted                                     3.1.0-2
ii  ruby-babosa                                             1.0.2-2
ii  ruby-base32                                             0.3.2-4
ii  ruby-batch-loader                                       1.4.1+dfsg.1-1
ii  ruby-bcrypt-pbkdf                                       1.0.1-1
ii  ruby-benchmark-ips                                      2.7.2-1
ii  ruby-benchmark-memory                                   0.1.2-2
ii  ruby-bootstrap-form                                     4.2.0-1
ii  ruby-browser                                            2.5.3-1
ii  ruby-carrierwave                                        1.3.1-2
ii  ruby-charlock-holmes                                    0.7.6-1
ii  ruby-chronic                                            0.10.2-3
ii  ruby-chronic-duration                                   0.10.6-1
ii  ruby-commonmarker                                       0.17.9-1+b1
ii  ruby-connection-pool                                    2.2.2-1
ii  ruby-creole                                             0.5.0-2
ii  ruby-default-value-for                                  3.2.0-1
ii  ruby-device-detector                                    1.0.1-2
ii  ruby-devise                                             4.6.2-1
ii  ruby-devise-two-factor                                  3.0.3-2
ii  ruby-diffy                                              3.2.1-1
ii  ruby-discordrb-webhooks                                 3.3.0-1
ii  ruby-doorkeeper                                         4.4.2-1
ii  ruby-doorkeeper-openid-connect                          1.5.5-1
ii  ruby-ed25519                                            1.2.4-1+b1
ii  ruby-email-reply-trimmer                                0.1.6-1
ii  ruby-escape-utils                                       1.2.1-1+b1
ii  ruby-excon                                              0.60.0-1
ii  ruby-faraday                                            0.15.4-3
ii  ruby-fast-blank                                         1.0.0-1+b1
ii  ruby-flipper [ruby-flipper-active-support-cache-store]  0.13.0-3
pn  ruby-flipper-active-record                              <none>
ii  ruby-flowdock                                           0.7.1-1
ii  ruby-fog-aliyun                                         0.3.2-3
ii  ruby-fog-aws                                            3.5.2-1
ii  ruby-fog-core                                           2.1.0-3
ii  ruby-fog-google                                         1.8.2-2
ii  ruby-fog-local                                          0.6.0-1
ii  ruby-fog-openstack                                      1.0.8-2
ii  ruby-fog-rackspace                                      0.1.6-2
ii  ruby-fogbugz                                            0.2.1-3
ii  ruby-font-awesome-rails                                 4.7.0.4-1
ii  ruby-fugit                                              1.3.3+gh-1
ii  ruby-gemojione                                          3.3.0-1
ii  ruby-gettext-i18n-rails                                 1.8.0-1
ii  ruby-gettext-i18n-rails-js                              1.3.0+dfsg-2
ii  ruby-gitaly [ruby-gitaly-proto]                         1.37.0+dfsg-1
ii  ruby-github-markup                                      1.7.0+dfsg-2
ii  ruby-gitlab-labkit                                      0.4.2-1
ii  ruby-gitlab-sidekiq-fetcher                             0.4.0-2
ii  ruby-gon                                                6.2.1-1
ii  ruby-google-api-client                                  0.28.4-1
ii  ruby-google-protobuf                                    3.10.0-1
ii  ruby-googleauth                                         0.8.0-2
ii  ruby-gpgme                                              2.0.19-1
ii  ruby-grape                                              1.1.0-2
ii  ruby-grape-entity                                       0.7.1-1
ii  ruby-grape-logging                                      1.7.0-1
ii  ruby-grape-path-helpers                                 1.1.0-1
ii  ruby-graphiql-rails                                     1.4.10-1
ii  ruby-graphql                                            1.8.4-1
ii  ruby-grpc                                               1.23.0-1
ii  ruby-hamlit                                             2.9.2-2
ii  ruby-hangouts-chat                                      0.0.5-2
ii  ruby-hashie-forbidden-attributes                        0.1.1-1
ii  ruby-health-check                                       2.6.0-1
ii  ruby-hipchat                                            1.5.2-3
ii  ruby-html-pipeline                                      2.8.4-1
ii  ruby-html2text                                          0.2.0-1
ii  ruby-httparty                                           0.17.0-1
ii  ruby-icalendar                                          2.4.1-2
ii  ruby-influxdb                                           0.2.3-2
ii  ruby-jira                                               1.5.0-1
ii  ruby-jquery-atwho-rails                                 1.5.4+dfsg-1
ii  ruby-js-regex                                           3.1.1-1
ii  ruby-jwt                                                2.1.0-1
ii  ruby-kaminari                                           1.0.1-4
ii  ruby-kgio                                               2.11.2-1+b1
ii  ruby-kubeclient                                         4.3.0-1
ii  ruby-licensee                                           8.9.2-1
ii  ruby-lograge                                            0.10.0-1
ii  ruby-loofah                                             2.2.3+dfsg-1
ii  ruby-mail-room                                          0.9.1-2
ii  ruby-memory-profiler                                    0.9.14-2
ii  ruby-method-source                                      0.9.2-1
ii  ruby-mimemagic                                          0.3.2+dfsg-1
ii  ruby-mini-magick                                        4.9.2-1.1
ii  ruby-nakayoshi-fork                                     0.0.4-1
ii  ruby-net-ldap                                           0.16.1-1
ii  ruby-net-ssh                                            1:5.2.0-1
ii  ruby-nokogiri                                           1.10.4+dfsg1-1
ii  ruby-ntlm                                               0.6.1-2
ii  ruby-oauth2                                             1.4.1-2
ii  ruby-octokit                                            4.13.0+gh-1
ii  ruby-omniauth                                           1.8.1-1
ii  ruby-omniauth-auth0                                     2.0.0-1
ii  ruby-omniauth-authentiq                                 0.3.3-1
ii  ruby-omniauth-azure-oauth2                              0.0.10-1
ii  ruby-omniauth-cas3                                      1.1.4-2
ii  ruby-omniauth-crowd                                     2.4.0-1
ii  ruby-omniauth-facebook                                  4.0.0-2
ii  ruby-omniauth-github                                    1.3.0-1
ii  ruby-omniauth-gitlab                                    1.0.2-1
ii  ruby-omniauth-google-oauth2                             0.6.0-1
ii  ruby-omniauth-kerberos                                  0.3.0-3
ii  ruby-omniauth-ldap                                      2.1.1-1
ii  ruby-omniauth-oauth2-generic                            0.2.2-1
ii  ruby-omniauth-openid-connect                            0.3.1-1
ii  ruby-omniauth-salesforce                                1.0.5-2
ii  ruby-omniauth-saml                                      1.10.0-1
ii  ruby-omniauth-shibboleth                                1.3.0-1
ii  ruby-omniauth-twitter                                   1.4.0-1
ii  ruby-omniauth-ultraauth                                 0.0.2-1.1
ii  ruby-org                                                0.9.12-2
ii  ruby-parser                                             3.11.0-1
ii  ruby-peek                                               1.0.1-1
ii  ruby-peek-gc                                            0.0.2-1
ii  ruby-peek-pg                                            1.3.0-1
ii  ruby-peek-rblineprof                                    0.2.0-1
ii  ruby-peek-redis                                         1.2.0-1
ii  ruby-pg                                                 1.1.3-3+b1
ii  ruby-posix-spawn                                        0.3.13-2+b1
ii  ruby-premailer-rails                                    1.10.3-1
ii  ruby-prof                                               0.17.0+dfsg-3+b1
ii  ruby-progressbar                                        1.9.0-2
ii  ruby-prometheus-client-mmap                             0.9.10-1
ii  ruby-rack                                               2.0.7-2
ii  ruby-rack-attack                                        4.4.1-1
ii  ruby-rack-cors                                          1.0.2-1
ii  ruby-rack-oauth2                                        1.9.3-2
ii  ruby-rack-proxy                                         0.6.1-2
ii  ruby-rails                                              2:5.2.3+dfsg-1
ii  ruby-rails-deprecated-sanitizer                         1.0.3-3
ii  ruby-rails-i18n                                         5.1.2-2
ii  ruby-rainbow                                            3.0.0-2
ii  ruby-raindrops                                          0.19.0-1+b2
ii  ruby-rbtrace                                            0.4.10-1+b1
ii  ruby-re2                                                1.1.1-2+b3
ii  ruby-recaptcha                                          4.11.1-2
ii  ruby-redcloth                                           4.3.2-3+b1
ii  ruby-redis                                              3.3.5-1
ii  ruby-redis-namespace                                    1.6.0-1
ii  ruby-redis-rails                                        5.0.2-3
ii  ruby-request-store                                      1.3.0-1
ii  ruby-responders                                         2.4.0-3
ii  ruby-rouge                                              3.8.0-1
ii  ruby-rqrcode-rails3                                     0.1.7-1
ii  ruby-rugged                                             0.28.1+ds-1
ii  ruby-sanitize                                           4.6.6-2
ii  ruby-sassc                                              2.0.1-2
ii  ruby-sassc-rails                                        2.1.2-3
ii  ruby-seed-fu                                            2.3.7-3
ii  ruby-sentry-raven                                       2.9.0-1
ii  ruby-settingslogic                                      2.0.9-3
ii  ruby-sidekiq                                            5.2.7+dfsg-1
ii  ruby-sidekiq-cron                                       1.1.0-3
ii  ruby-slack-notifier                                     1.5.1-2
ii  ruby-sprockets                                          3.7.2-1
ii  ruby-sshkey                                             2.0.0-1
ii  ruby-state-machines-activerecord                        0.5.1-2
ii  ruby-sys-filesystem                                     1.1.7-2
ii  ruby-task-list                                          2.2.0-1
ii  ruby-toml-rb                                            1.0.0-2
ii  ruby-truncato                                           0.7.11-1
ii  ruby-u2f                                                0.2.1-2
ii  ruby-uglifier                                           2.7.2+dfsg-2
ii  ruby-unf                                                0.1.4-2
ii  ruby-unf-ext                                            0.0.7.5-1+b1
ii  ruby-unicorn-worker-killer                              0.4.4-1
ii  ruby-validates-hostname                                 1.0.7-1
ii  ruby-version-sorter                                     2.2.4-1
ii  ruby-virtus                                             1.0.5-3
ii  ruby-vmstat                                             2.3.0-2+b1
ii  ruby-webpack-rails                                      0.9.11+git-1
ii  ruby-wikicloth                                          0.8.1+dfsg-4
ii  ruby-zip                                                1.2.2-1
ii  ucf                                                     3.0038+nmu1
ii  unicorn                                                 5.4.1-2
ii  webpack                                                 4.7.0-3
ii  yarnpkg                                                 1.13.0-3

Versions of packages gitlab recommends:
ii  certbot  0.39.0-1
ii  gitaly   1.47.3+debian-1

gitlab suggests no packages.

-- debconf information:
* gitlab/database-type: pgsql
* gitlab/ssl: true
  gitlab/pgsql/changeconf: false
  gitlab/purge_data: true
  gitlab/install-error: abort
  gitlab/remove-error: abort
  gitlab/internal/skip-preseed: false
* gitlab/letsencrypt: false
  gitlab/missing-db-package-error: abort
  gitlab/upgrade-error: abort
  gitlab/pgsql/authmethod-admin: ident
  gitlab/remote/newhost: localhost
  gitlab/db/dbname: gitlab_production
  gitlab/pgsql/admin-user: postgres
  gitlab/purge: false
  gitlab/pgsql/method: TCP/IP
  gitlab/dbconfig-remove: true
  gitlab/pgsql/authmethod-user: password
* gitlab/dbconfig-install: true
  gitlab/upgrade-backup: true
  gitlab/dbconfig-upgrade: true
  gitlab/dbconfig-reinstall: false
* gitlab/fqdn: git.weboob.org
* gitlab/user: gitlab
  gitlab/db/app-user: gitlab@localhost
  gitlab/pgsql/manualconf:
* gitlab/remote/host: localhost
  gitlab/letsencrypt_email:
  gitlab/pgsql/no-empty-passwords:
  gitlab/passwords-do-not-match:
  gitlab/internal/reconfiguring: false
  gitlab/remote/port:



Message sent on to Romain Bignon <romain@symlink.me>:
Bug#942633. (Mon, 21 Oct 2019 14:06:06 GMT) (full text, mbox, link).


Message #8 received at 942633-submitter@bugs.debian.org (full text, mbox, reply):

From: Patrick Matthäi <pmatthaei@debian.org>
To: 942633-submitter@bugs.debian.org, 942633-subscribe@bugs.debian.org
Subject: Re: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Mon, 21 Oct 2019 15:47:47 +0200
[Message part 1 (text/plain, inline)]
Hi,

this friday I also tried to upgrade our setup from 11.5.10+dfsg-1 to
12.0.8 and 12.2.8-1, both with the result, that cloning about http still
works, but ssh was not useable anymore with the same error.

From the gitlab-shell log I just get:

time="2019-10-18T15:54:35+02:00" level=info msg="executing git command"
command="gitaly-upload-pack
unix:/run/gitlab/sockets/private/gitaly.socket
{\"repository\":{},\"gl_repository\":\"project-49\",\"gl_project_path\":\"customer/XXXXX\",\"gl_id\":\"key-44\",\"gl_username\":\"YYYYYYY\",\"git_config_options\":[],\"git_protocol\":null}"
pid=7378 user="user with id key-44"
time="2019-10-18T15:54:35+02:00" level=error msg="error: %v" error="rpc
error: code = InvalidArgument desc = Storage can not be found by name
''" pid=7378

And that with both versions (12.0 and 12.2). I tried also to fix it by
packaging gitlab-shell 9.3 for my own, but it didn't helped..

-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

  Blog: http://www.linux-dev.org/
E-Mail: pmatthaei@debian.org
        patrick@linux-dev.org
*/

[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Mon, 21 Oct 2019 15:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Mon, 21 Oct 2019 15:42:02 GMT) (full text, mbox, link).


Message #13 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org
Cc: pmatthaei@debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Mon, 21 Oct 2019 21:09:04 +0530
On Mon, 21 Oct 2019 15:47:47 +0200 =?UTF-8?Q?Patrick_Matth=c3=a4i?=
<pmatthaei@debian.org> wrote:
> Hi,
> 
> this friday I also tried to upgrade our setup from 11.5.10+dfsg-1 to
> 12.0.8 and 12.2.8-1, both with the result, that cloning about http still
> works, but ssh was not useable anymore with the same error.

I'm running the same version in https://git.fosscommunity.in and git
clone over ssh still works.

> From the gitlab-shell log I just get:
> 
> time="2019-10-18T15:54:35+02:00" level=info msg="executing git command"
> command="gitaly-upload-pack
> unix:/run/gitlab/sockets/private/gitaly.socket
> {\"repository\":{},\"gl_repository\":\"project-49\",\"gl_project_path\":\"customer/XXXXX\",\"gl_id\":\"key-44\",\"gl_username\":\"YYYYYYY\",\"git_config_options\":[],\"git_protocol\":null}"
> pid=7378 user="user with id key-44"
> time="2019-10-18T15:54:35+02:00" level=error msg="error: %v" error="rpc
> error: code = InvalidArgument desc = Storage can not be found by name
> ''" pid=7378

It could be a new option either in gitaly or gitlab configurations. Are
you using gitaly on the same server? Do you have the required version of
gitaly?

At least for Romain that seems to be the problem.

ii  gitaly   1.47.3+debian-1

$ apt policy gitaly
gitaly:
  Installed: 1.53.3+debian-1~bpo10+1
  Candidate: 1.53.3+debian-1~bpo10+1
  Version table:
 *** 1.53.3+debian-1~bpo10+1 500
        500 https://people.debian.org/~praveen/gitlab
buster-backports/main amd64 Packages
        100 /var/lib/dpkg/status

> And that with both versions (12.0 and 12.2). I tried also to fix it by
> packaging gitlab-shell 9.3 for my own, but it didn't helped..
> 
> -- 
> /*
> Mit freundlichem Gruß / With kind regards,
>  Patrick Matthäi
>  GNU/Linux Debian Developer
> 
>   Blog: http://www.linux-dev.org/
> E-Mail: pmatthaei@debian.org
>         patrick@linux-dev.org
> */
> 



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Mon, 21 Oct 2019 15:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Mon, 21 Oct 2019 15:54:03 GMT) (full text, mbox, link).


Message #18 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org
Cc: pmatthaei@debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Mon, 21 Oct 2019 21:21:06 +0530
[Message part 1 (text/plain, inline)]

On Mon, Oct 21, 2019 at 21:09, Pirate Praveen 
<praveen@onenetbeyond.org> wrote:
> At least for Romain that seems to be the problem.
> 
> ii  gitaly   1.47.3+debian-1
> 
> $ apt policy gitaly
> gitaly:
>   Installed: 1.53.3+debian-1~bpo10+1
>   Candidate: 1.53.3+debian-1~bpo10+1
>   Version table:
>  *** 1.53.3+debian-1~bpo10+1 500
>         500 <https://people.debian.org/~praveen/gitlab>
> buster-backports/main amd64 Packages
>         100 /var/lib/dpkg/status

This is actually a bug as minimum version for gitaly was not updated in 
gitlab.

[Message part 2 (text/html, inline)]

Changed Bug title to 'update minimum version of gitaly to >= 1.53.3' from 'gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged'. Request was from Pirate Praveen <praveen@onenetbeyond.org> to control@bugs.debian.org. (Mon, 21 Oct 2019 17:12:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Tue, 22 Oct 2019 13:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 22 Oct 2019 13:03:06 GMT) (full text, mbox, link).


Message #25 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org, pmatthaei@debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Tue, 22 Oct 2019 14:54:37 +0200
Hi,

On 21/Oct - 21:21, Pirate Praveen wrote:
> > At least for Romain that seems to be the problem.
> > 
> > ii  gitaly   1.47.3+debian-1
> > 
> > $ apt policy gitaly
> > gitaly:
> >   Installed: 1.53.3+debian-1~bpo10+1
> >   Candidate: 1.53.3+debian-1~bpo10+1
> >   Version table:
> >  *** 1.53.3+debian-1~bpo10+1 500
> >         500 <https://people.debian.org/~praveen/gitlab>
> > buster-backports/main amd64 Packages
> >         100 /var/lib/dpkg/status
> 
> This is actually a bug as minimum version for gitaly was not updated in
> gitlab.

1.47.3+debian-1 is the latest version available on Debian experimental.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Tue, 22 Oct 2019 13:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 22 Oct 2019 13:09:03 GMT) (full text, mbox, link).


Message #30 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: Romain Bignon <romain@symlink.me>
Cc: 942633@bugs.debian.org, pmatthaei@debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Tue, 22 Oct 2019 18:36:20 +0530
[Message part 1 (text/plain, inline)]

On Tue, Oct 22, 2019 at 14:54, Romain Bignon <romain@symlink.me> wrote:
> Hi,
> 
> On 21/Oct - 21:21, Pirate Praveen wrote:
>>  > At least for Romain that seems to be the problem.
>>  >
>>  > ii  gitaly   1.47.3+debian-1
>>  >
>>  > $ apt policy gitaly
>>  > gitaly:
>>  >   Installed: 1.53.3+debian-1~bpo10+1
>>  >   Candidate: 1.53.3+debian-1~bpo10+1
>>  >   Version table:
>>  >  *** 1.53.3+debian-1~bpo10+1 500
>>  >         500 <<https://people.debian.org/~praveen/gitlab>>
>>  > buster-backports/main amd64 Packages
>>  >         100 /var/lib/dpkg/status
>> 
>>  This is actually a bug as minimum version for gitaly was not 
>> updated in
>>  gitlab.
> 
> 1.47.3+debian-1 is the latest version available on Debian 
> experimental.

It seems 1.58.0+dfsg-1 build failed

https://buildd.debian.org/status/fetch.php?pkg=gitaly&arch=amd64&ver=1.58.0%2Bdfsg-1&stamp=1571598656&raw=0

[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Tue, 22 Oct 2019 13:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 22 Oct 2019 13:51:03 GMT) (full text, mbox, link).


Message #35 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Tue, 22 Oct 2019 19:18:02 +0530
On Tue, 22 Oct 2019 18:36:20 +0530 Pirate Praveen
<praveen@onenetbeyond.org> wrote:> It seems 1.58.0+dfsg-1 build failed
> 
> https://buildd.debian.org/status/fetch.php?pkg=gitaly&arch=amd64&ver=1.58.0%2Bdfsg-1&stamp=1571598656&raw=0
> 

This is building fine on my system. So uploaded binary included as work
around.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Tue, 22 Oct 2019 17:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 22 Oct 2019 17:03:07 GMT) (full text, mbox, link).


Message #40 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Tue, 22 Oct 2019 19:02:25 +0200
On 22/Oct - 19:18, Pirate Praveen wrote:
> This is building fine on my system. So uploaded binary included as work
> around.

Note that I see a newer version of gitlb available:

 root@weboob ~ # apt-cache policy gitlab
gitlab:
  Installed: 12.1.14-1
  Candidate: 12.1.14-1
  Version table:
     12.2.8-1 1
          1 http://ftp.de.debian.org/debian experimental/contrib amd64 Packages
 *** 12.1.14-1 100
        100 /var/lib/dpkg/status
     11.8.10+dfsg-1 -1
         -1 http://ftp.de.debian.org/debian unstable/contrib amd64 Packages

But it is not possible to install it as there are broken dependencies:

 root@weboob ~ # apt install gitlab/experimental
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '12.2.8-1' (Debian:experimental [all]) for 'gitlab'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gitlab : Depends: ruby-invisible-captcha (>= 0.12.1~) but it is not installable
          Depends: ruby-gitlab-sidekiq-fetcher (>= 0.5.1~) but 0.4.0-2 is to be installed
          Depends: ruby-redis (>= 4.0~) but 3.3.5-1 is to be installed
          Depends: ruby-gitlab-labkit (>= 0.4.2-2~) but 0.4.2-1 is to be installed
          Depends: ruby-statistics but it is not installable
          Depends: ruby-gitaly (>= 1.58~) but 1.37.0+dfsg-1 is to be installed
E: Unable to correct problems, you have held broken packages.

Do you think you'll be able to upload a newer fixed version of gitaly soon? Or
is there any workaround?

Romain



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Tue, 22 Oct 2019 17:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Tue, 22 Oct 2019 17:21:09 GMT) (full text, mbox, link).


Message #45 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: Romain Bignon <romain@symlink.me>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Tue, 22 Oct 2019 22:47:27 +0530
[Message part 1 (text/plain, inline)]

On Tue, Oct 22, 2019 at 19:02, Romain Bignon <romain@symlink.me> wrote:
> On 22/Oct - 19:18, Pirate Praveen wrote:
>>  This is building fine on my system. So uploaded binary included as 
>> work
>>  around.
> 
> Note that I see a newer version of gitlb available:
> 
>  root@weboob ~ # apt-cache policy gitlab
> gitlab:
>   Installed: 12.1.14-1
>   Candidate: 12.1.14-1
>   Version table:
>      12.2.8-1 1
>           1 <http://ftp.de.debian.org/debian> experimental/contrib 
> amd64 Packages
>  *** 12.1.14-1 100
>         100 /var/lib/dpkg/status
>      11.8.10+dfsg-1 -1
>          -1 <http://ftp.de.debian.org/debian> unstable/contrib amd64 
> Packages
> 
> But it is not possible to install it as there are broken dependencies:
> 
>  root@weboob ~ # apt install gitlab/experimental
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Selected version '12.2.8-1' (Debian:experimental [all]) for 'gitlab'
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  gitlab : Depends: ruby-invisible-captcha (>= 0.12.1~) but it is not 
> installable
>           Depends: ruby-gitlab-sidekiq-fetcher (>= 0.5.1~) but 
> 0.4.0-2 is to be installed
>           Depends: ruby-redis (>= 4.0~) but 3.3.5-1 is to be installed
>           Depends: ruby-gitlab-labkit (>= 0.4.2-2~) but 0.4.2-1 is to 
> be installed
>           Depends: ruby-statistics but it is not installable
>           Depends: ruby-gitaly (>= 1.58~) but 1.37.0+dfsg-1 is to be 
> installed
> E: Unable to correct problems, you have held broken packages.
> 
> Do you think you'll be able to upload a newer fixed version of gitaly 
> soon? Or
> is there any workaround?
> 
All those packages are available in experimental. I have updated 
https://wiki.debian.org/gitlab with these packages added to the list of 
pcakges needed from experimental.

> Romain

[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 23 Oct 2019 07:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 23 Oct 2019 07:45:03 GMT) (full text, mbox, link).


Message #50 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 23 Oct 2019 09:40:16 +0200
On 22/Oct - 22:47, Pirate Praveen wrote:
> All those packages are available in experimental. I have updated
> https://wiki.debian.org/gitlab with these packages added to the list of
> pcakges needed from experimental.

I've installed these packages and correctly upgraded gitlab and all
dependencies, even gitlab-shell, and the problem still exists…

What can I do to help debugging?

Romain



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 23 Oct 2019 09:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 23 Oct 2019 09:03:03 GMT) (full text, mbox, link).


Message #55 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: Romain Bignon <romain@symlink.me>, 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 23 Oct 2019 14:31:43 +0530
[Message part 1 (text/plain, inline)]

On Wed, Oct 23, 2019 at 09:40, Romain Bignon <romain@symlink.me> wrote:
> On 22/Oct - 22:47, Pirate Praveen wrote:
>>  All those packages are available in experimental. I have updated
>>  <https://wiki.debian.org/gitlab> with these packages added to the 
>> list of
>>  pcakges needed from experimental.
> 
> I've installed these packages and correctly upgraded gitlab and all
> dependencies, even gitlab-shell, and the problem still exists…
> 
> What can I do to help debugging?
> 

just share apt policy gitaly for confirmation and the error messages 
once more (after you restart gitaly and gitlab services).

> Romain
> 

[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 23 Oct 2019 13:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 23 Oct 2019 13:57:03 GMT) (full text, mbox, link).


Message #60 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 23 Oct 2019 15:54:43 +0200
On 23/Oct - 14:31, Pirate Praveen wrote:
> just share apt policy gitaly for confirmation and the error messages once
> more (after you restart gitaly and gitlab services).

gitaly:
  Installed: 1.58.0+dfsg-2
  Candidate: 1.58.0+dfsg-2
  Version table:
 *** 1.58.0+dfsg-2 100
          1 http://ftp.de.debian.org/debian experimental/main amd64 Packages
        100 /var/lib/dpkg/status
     1.20.0+debian-1+b1 -1
         -1 http://ftp.de.debian.org/debian unstable/main amd64 Packages

And the error message client side:

$ git fetch
gitaly-upload-pack: fatal: error: %v
fatal: Could not read from remote repository.

Server side:

time="2019-10-23T15:53:54+02:00" level=info msg="finished HTTP request" duration=0.03395727 gitaly_embedded=false method=POST pid=8834 url="http://localhost:8080/api/v4/internal/allowed"
time="2019-10-23T15:53:54+02:00" level=info msg="executing git command" command="gitaly-upload-pack unix:/run/gitlab/sockets/private/gitaly.socket {\"repository\":{},\"gl_repository\":\"project-2\",\"gl_project_path\":\"romain/weboob\",\"gl_id\":\"key-3\",\"gl_username\":\"romain\",\"git_config_options\":[],\"git_protocol\":null}" pid=8834 user="user with id key-3"
time="2019-10-23T15:53:54+02:00" level=error msg="error: %v" error="rpc error: code = InvalidArgument desc = Storage can not be found by name ''" pid=8834



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Sat, 02 Nov 2019 13:54:03 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Sat, 02 Nov 2019 13:54:03 GMT) (full text, mbox, link).


Message #65 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Sat, 2 Nov 2019 14:51:42 +0100
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?

Romain



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Mon, 11 Nov 2019 16:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Mon, 11 Nov 2019 16:48:03 GMT) (full text, mbox, link).


Message #70 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Mon, 11 Nov 2019 22:15:20 +0530
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@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).



Changed Bug title to 'ssh access fails with gitaly-upload-pack: fatal:' from 'update minimum version of gitaly to >= 1.53.3'. Request was from Pirate Praveen <praveen@onenetbeyond.org> to 942633-submit@bugs.debian.org. (Mon, 11 Nov 2019 16:48:03 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to '<https://gitlab.com/gitlab-org/gitaly/issues/2134>'. Request was from Pirate Praveen <praveen@onenetbeyond.org> to control@bugs.debian.org. (Mon, 11 Nov 2019 17:00:05 GMT) (full text, mbox, link).


Severity set to 'grave' from 'important' Request was from Pirate Praveen <praveen@onenetbeyond.org> to control@bugs.debian.org. (Mon, 11 Nov 2019 17:00:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 13 Nov 2019 18:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 13 Nov 2019 18:18:03 GMT) (full text, mbox, link).


Message #81 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 13 Nov 2019 23:44:49 +0530
On Mon, 11 Nov 2019 22:15:20 +0530 Pirate Praveen
<praveen@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@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.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Thu, 14 Nov 2019 02:21:07 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Thu, 14 Nov 2019 02:21:07 GMT) (full text, mbox, link).


Message #86 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Thu, 14 Nov 2019 07:45:56 +0530
[Message part 1 (text/plain, inline)]
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@onenetbeyond.org> wrote:
> On Mon, 11 Nov 2019 22:15:20 +0530 Pirate Praveen
> <praveen@onenetbeyond.org <mailto:praveen@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@symlink.me 
>> <mailto:romain@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

[Message part 2 (text/html, inline)]

Changed Bug title to 'gitlab ssh access broken with protobuf 3.10' from 'ssh access fails with gitaly-upload-pack: fatal:'. Request was from Pirate Praveen <praveen@onenetbeyond.org> to 942633-submit@bugs.debian.org. (Thu, 14 Nov 2019 02:21:07 GMT) (full text, mbox, link).


Severity set to 'serious' from 'grave' Request was from Pirate Praveen <praveen@onenetbeyond.org> to 942633-submit@bugs.debian.org. (Thu, 14 Nov 2019 02:21:08 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Thu, 14 Nov 2019 11:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Thu, 14 Nov 2019 11:15:03 GMT) (full text, mbox, link).


Message #95 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Thu, 14 Nov 2019 12:07:52 +0100
On 14/Nov - 07:45, Pirate Praveen wrote:
> <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

Great it works, thank you. Please tell us when the issue is fixed in the
experimental repository and that we can upgrade all versions from this
repository, as it is currently somewhat a hot fix.

Romain



Changed Bug forwarded-to-address to 'https://gitlab.com/gitlab-org/gitaly/issues/2134' from '<https://gitlab.com/gitlab-org/gitaly/issues/2134>'. Request was from Pirate Praveen <praveen@onenetbeyond.org> to control@bugs.debian.org. (Wed, 20 Nov 2019 10:21:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 20 Nov 2019 12:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 20 Nov 2019 12:09:03 GMT) (full text, mbox, link).


Message #102 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: 942633@bugs.debian.org, Romain Bignon <romain@symlink.me>
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 20 Nov 2019 17:36:40 +0530
On Thu, 14 Nov 2019 12:07:52 +0100 Romain Bignon <romain@symlink.me> wrote:
> Great it works, thank you. Please tell us when the issue is fixed in the
> experimental repository and that we can upgrade all versions from this
> repository, as it is currently somewhat a hot fix.

We are blocked in multiple projects to get a proper fix,

See https://github.com/grpc/grpc/issues/21226

1. protobuf needs to release version 3.11 (currently at 3.10.1),
then
2. grpc need to update its embedded copy of protobuf to this version,
then
3. gitlab and gitaly needs to update ruby-grpc-tools, ruby-grpc, protoc 
and protobuf to this version,
then
4. debian's version of protobuf and grpc should be updated to this version

So as a work around I have uploaded older versions of protobuf and grpc 
to my personal repo.

1. Add the following lines to your sources.list

deb https://people.debian.org/~praveen/protobuf/ experimental main contrib

2. Add my gpg keys to apt trusted keys

# wget https://people.debian.org/~praveen/gitlab/praveen.key.asc
# apt-key add praveen.key.asc
# apt update

3. Downgrade ruby-grpc, ruby-google-protobuf and update gitaly
# apt install ruby-google-protobuf=3.7.1-1 ruby-grpc=1.19.1-1
# apt install gitaly/experimental

Make sure gitaly version is at least 1.59.3+dfsg-2 (just uploaded, it 
will take some hours to show up in the archives)

4. Manually update Gemfile.lock and restart services.

# 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



Added tag(s) fixed-upstream. Request was from debian-bts-link@lists.debian.org to control@bugs.debian.org. (Thu, 21 Nov 2019 17:27:12 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 27 Nov 2019 08:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Romain Bignon <romain@symlink.me>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 27 Nov 2019 08:39:03 GMT) (full text, mbox, link).


Message #109 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Romain Bignon <romain@symlink.me>
To: Pirate Praveen <praveen@onenetbeyond.org>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 27 Nov 2019 09:34:19 +0100
Hi,

A new strange thing, I don't know if you encountered that, today at 6h32
packagekit run, tried to restart gitlab, and failed:

Nov 27 06:32:18 weboob dbus-daemon[464]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.10456' (uid=0 pid=28562 comm="/usr/bin/gdbus call --system --dest org.freedeskto")
Nov 27 06:32:18 weboob systemd[1]: Starting PackageKit Daemon...
Nov 27 06:32:18 weboob PackageKit: daemon start
Nov 27 06:32:18 weboob dbus-daemon[464]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Nov 27 06:32:18 weboob systemd[1]: Started PackageKit Daemon.
Nov 27 06:32:18 weboob gitlab-workhorse[20628]: git.weboob.org 46.229.168.139 - - [2019/11/27:06:32:18 +0100] "GET /P4ncake/devel/tree/6f5f41fe574ad35b11e024b7c10bb2950d0689b2 HTTP/1.1" 200 40794 "" "Mozilla/5.0 (compatible; SemrushBot/6~bl; +http://www.semrush.com/bot.html)" %!f(int64=108)
Nov 27 06:32:19 weboob systemd[1]: Reloading.
Nov 27 06:32:19 weboob systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Nov 27 06:32:19 weboob systemd[1]: Configuration file /etc/systemd/system/postfix.service.d/override.conf is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Nov 27 06:32:19 weboob systemd[1]: /lib/systemd/system/gitlab-sidekiq.service:18: Ignoring unknown escape sequences: "for i in 4 4 4 4 4 4 4 4; do sleep $i; (ps -h -o command -p $MAINPID | grep -q -P "sidekiq \d\.\d\.\d") && exit 0; done"
Nov 27 06:32:19 weboob systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
Nov 27 06:32:20 weboob systemd[1]: Reloading.
Nov 27 06:32:20 weboob systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Nov 27 06:32:20 weboob systemd[1]: Configuration file /etc/systemd/system/postfix.service.d/override.conf is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Nov 27 06:32:20 weboob systemd[1]: /lib/systemd/system/gitlab-sidekiq.service:18: Ignoring unknown escape sequences: "for i in 4 4 4 4 4 4 4 4; do sleep $i; (ps -h -o command -p $MAINPID | grep -q -P "sidekiq \d\.\d\.\d") && exit 0; done"
Nov 27 06:32:20 weboob systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
Nov 27 06:32:20 weboob systemd[1]: Reloading.
Nov 27 06:32:20 weboob systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Nov 27 06:32:20 weboob systemd[1]: Configuration file /etc/systemd/system/postfix.service.d/override.conf is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Nov 27 06:32:20 weboob systemd[1]: /lib/systemd/system/gitlab-sidekiq.service:18: Ignoring unknown escape sequences: "for i in 4 4 4 4 4 4 4 4; do sleep $i; (ps -h -o command -p $MAINPID | grep -q -P "sidekiq \d\.\d\.\d") && exit 0; done"
Nov 27 06:32:20 weboob systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
Nov 27 06:32:20 weboob gitaly[20604]: time="2019-11-27T06:32:20+01:00" level=error msg="lstat /var/lib/gitlab/repositories/+gitaly/cache: no such file or directory" storage=default
Nov 27 06:32:20 weboob systemd[1]: Reloading.
Nov 27 06:32:21 weboob systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Nov 27 06:32:21 weboob systemd[1]: Configuration file /etc/systemd/system/postfix.service.d/override.conf is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.
Nov 27 06:32:21 weboob systemd[1]: /lib/systemd/system/gitlab-sidekiq.service:18: Ignoring unknown escape sequences: "for i in 4 4 4 4 4 4 4 4; do sleep $i; (ps -h -o command -p $MAINPID | grep -q -P "sidekiq \d\.\d\.\d") && exit 0; done"
Nov 27 06:32:21 weboob systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
Nov 27 06:32:21 weboob systemd[1]: Stopped target GitLab Service.
Nov 27 06:32:21 weboob systemd[1]: Stopping GitLab Service.
Nov 27 06:32:21 weboob systemd[1]: gitlab.service: Succeeded.
Nov 27 06:32:21 weboob systemd[1]: Stopped GitLab Services.
Nov 27 06:32:21 weboob systemd[1]: Stopping GitLab Services...
Nov 27 06:32:21 weboob systemd[1]: Stopping Gitlab mailroom Worker...
Nov 27 06:32:21 weboob systemd[1]: Stopping GitLab Sidekiq Worker...
Nov 27 06:32:21 weboob systemd[1]: Stopping Gitlab Workhorse handles slow HTTP requests for Gitlab....
Nov 27 06:32:21 weboob gitlab-sidekiq[20644]: 2019-11-27T05:32:21.133Z 20644 TID-goijjrii4 INFO: Shutting down
Nov 27 06:32:21 weboob gitlab-sidekiq[20644]: 2019-11-27T05:32:21.133Z 20644 TID-goin08v3c INFO: Scheduler exiting...
Nov 27 06:32:21 weboob gitlab-sidekiq[20644]: 2019-11-27T05:32:21.133Z 20644 TID-goijjrii4 INFO: Terminating quiet workers
Nov 27 06:32:21 weboob gitlab-sidekiq[20644]: 2019-11-27T05:32:21.135Z 20644 TID-goin0a0a0 INFO: Scheduler exiting...
Nov 27 06:32:21 weboob systemd[1]: gitlab-workhorse.service: Succeeded.
Nov 27 06:32:21 weboob systemd[1]: Stopped Gitlab Workhorse handles slow HTTP requests for Gitlab..
Nov 27 06:32:21 weboob systemd[1]: gitlab-mailroom.service: Succeeded.
Nov 27 06:32:21 weboob systemd[1]: Stopped Gitlab mailroom Worker.
Nov 27 06:32:21 weboob systemd[1]: Stopping GitLab Unicorn Server...
Nov 27 06:32:21 weboob systemd[1]: gitlab-unicorn.service: Succeeded.
Nov 27 06:32:21 weboob systemd[1]: Stopped GitLab Unicorn Server.
Nov 27 06:32:21 weboob gitlab-sidekiq[20644]: 2019-11-27T05:32:21.635Z 20644 TID-goijjrii4 INFO: Pausing to allow workers to finish...
Nov 27 06:32:23 weboob gitlab-sidekiq[20644]: 2019-11-27T05:32:23.639Z 20644 TID-goijjrii4 INFO: Bye!
Nov 27 06:32:23 weboob systemd[1]: gitlab-sidekiq.service: Succeeded.
Nov 27 06:32:23 weboob systemd[1]: Stopped GitLab Sidekiq Worker.
Nov 27 06:32:23 weboob systemd[1]: Stopping Advanced key-value store...
Nov 27 06:32:24 weboob systemd[1]: redis-server.service: Succeeded.
Nov 27 06:32:24 weboob systemd[1]: Stopped Advanced key-value store.
Nov 27 06:32:24 weboob systemd[1]: Starting Advanced key-value store...
Nov 27 06:32:24 weboob systemd[1]: redis-server.service: Can't open PID file /run/redis/redis-server.pid (yet?) after start: No such file or directory
Nov 27 06:32:24 weboob systemd[1]: Started Advanced key-value store.
Nov 27 06:32:24 weboob systemd[1]: Starting GitLab Sidekiq Worker...
Nov 27 06:32:24 weboob systemd[1]: gitlab-unicorn.service: Ignoring invalid environment assignment 'for i in $(grep -v '#' /etc/gitlab/gitlab-debian.conf | cut -d=-f 1)': /etc/default/gitlab                                                 
Nov 27 06:32:24 weboob systemd[1]: gitlab-unicorn.service: Ignoring invalid environment assignment 'export app_user=${gitlab_user}': /etc/default/gitlab                                                                                       
Nov 27 06:32:24 weboob systemd[1]: Started GitLab Unicorn Server.
Nov 27 06:32:24 weboob systemd[1]: Started Gitlab mailroom Worker.
Nov 27 06:32:24 weboob systemd[1]: Started Gitlab Workhorse handles slow HTTP requests for Gitlab..
Nov 27 06:32:24 weboob gitlab-workhorse[28833]: time="2019-11-27T06:32:24+01:00" level=info msg=Starting version="gitlab-workhorse (unknown version)"                                                                                          
Nov 27 06:32:24 weboob gitlab-unicorn[28831]: fatal: not a git repository (or any of the parent directories): .git
Nov 27 06:32:24 weboob gitlab-unicorn[28831]: fatal: not a git repository (or any of the parent directories): .git
Nov 27 06:32:24 weboob gitlab-unicorn[28831]: bundler: failed to load command: unicorn_rails (/usr/local/bin/unicorn_rails)                                                                                                                    
Nov 27 06:32:24 weboob gitlab-unicorn[28831]: Bundler::GemNotFound: Could not find gem 'rubyzip (>= 1.2.2, ~> 1.2)' in any of the gem sources listed in your Gemfile.                                                                          
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:287:in `block in verify_gemfile_dependencies_are_found!'                                                       
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:255:in `each'                                                                                                  
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:255:in `verify_gemfile_dependencies_are_found!'                                                                
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:49:in `start'                                                                                                  
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:22:in `resolve'                                                                                                
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:258:in `resolve'                                                                                             
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:170:in `specs'                                                                                               
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:237:in `specs_for'                                                                                           
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:226:in `requested_specs'                                                                                     
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:108:in `block in definition_method'                                                                             
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:20:in `setup'                                                                                                   
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler.rb:107:in `setup'                                                                                                          
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/setup.rb:20:in `<top (required)>'                                                                                          
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
Nov 27 06:32:24 weboob gitlab-unicorn[28831]:   /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
Nov 27 06:32:24 weboob systemd[1]: gitlab-unicorn.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 06:32:24 weboob systemd[1]: gitlab-unicorn.service: Failed with result 'exit-code'.
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: fatal: not a git repository (or any of the parent directories): .git
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: fatal: not a git repository (or any of the parent directories): .git
Nov 27 06:32:24 weboob gitlab-sidekiq[28829]: fatal: not a git repository (or any of the parent directories): .git
Nov 27 06:32:24 weboob gitlab-sidekiq[28829]: fatal: not a git repository (or any of the parent directories): .git
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:287:in `block in verify_gemfile_dependencies_are_found!': Could not find gem 'rubyzip (>= 1.2.2, ~> 1.2)' in any
of the gem sources listed in your Gemfile. (Bundler::GemNotFound)
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:255:in `each'                                                                                          
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:255:in `verify_gemfile_dependencies_are_found!'                                                        
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:49:in `start'                                                                                          
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/resolver.rb:22:in `resolve'                                                                                        
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:258:in `resolve'                                                                                     
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:170:in `specs'                                                                                       
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:237:in `specs_for'                                                                                   
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/definition.rb:226:in `requested_specs'                                                                             
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:108:in `block in definition_method'                                                                     
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/runtime.rb:20:in `setup'                                                                                           
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler.rb:107:in `setup'                                                                                                  
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/share/rubygems-integration/all/gems/bundler-1.17.3/lib/bundler/setup.rb:20:in `<top (required)>'                                                                                  
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'                                                                                                                
Nov 27 06:32:24 weboob gitlab-mailroom[28832]: #011from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'                                                                                                                
Nov 27 06:32:24 weboob systemd[1]: gitlab-mailroom.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 06:32:24 weboob systemd[1]: gitlab-mailroom.service: Failed with result 'exit-code'.

I had to install manually rubyzip with gem at the right version to fix gitlab.

To understand, packagekit has updated something?

Romain



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>:
Bug#942633; Package gitlab. (Wed, 27 Nov 2019 09:03:06 GMT) (full text, mbox, link).


Acknowledgement sent to Pirate Praveen <praveen@onenetbeyond.org>:
Extra info received and forwarded to list. Copy sent to Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>. (Wed, 27 Nov 2019 09:03:06 GMT) (full text, mbox, link).


Message #114 received at 942633@bugs.debian.org (full text, mbox, reply):

From: Pirate Praveen <praveen@onenetbeyond.org>
To: Romain Bignon <romain@symlink.me>
Cc: 942633@bugs.debian.org
Subject: Re: Bug#942633: gitlab: Experimental gitlab requires gitshell 9.3.0 but only 9.1.0 is packaged
Date: Wed, 27 Nov 2019 14:30:40 +0530

On 2019, നവംബർ 27 2:04:19 PM IST, Romain Bignon <romain@symlink.me> wrote:
>Hi,
>
>A new strange thing, I don't know if you encountered that, today at
>6h32
>packagekit run, tried to restart gitlab, and failed:

It'd be a good idea to turn off unattended upgrades in unstable. 
                          
>Nov 27 06:32:24 weboob gitlab-unicorn[28831]: Bundler::GemNotFound:
>Could not find gem 'rubyzip (>= 1.2.2, ~> 1.2)' in any of the gem
>sources listed in your Gemfile.                                    

ruby-zip was updated to 2.0.0.

>I had to install manually rubyzip with gem at the right version to fix
>gitlab.
>
>To understand, packagekit has updated something?

This should be fixed in latest version of gitlab.

>Romain

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



Reply sent to Pirate Praveen <praveen@debian.org>:
You have taken responsibility. (Thu, 26 Mar 2020 12:24:05 GMT) (full text, mbox, link).


Notification sent to Romain Bignon <romain@symlink.me>:
Bug acknowledged by developer. (Thu, 26 Mar 2020 12:24:05 GMT) (full text, mbox, link).


Message #119 received at 942633-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 942633-close@bugs.debian.org
Subject: Bug#942633: fixed in gitlab 12.8.6-1
Date: Thu, 26 Mar 2020 12:20:44 +0000
Source: gitlab
Source-Version: 12.8.6-1
Done: Pirate Praveen <praveen@debian.org>

We believe that the bug you reported is fixed in the latest version of
gitlab, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 942633@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pirate Praveen <praveen@debian.org> (supplier of updated gitlab package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 26 Mar 2020 17:25:38 +0530
Source: gitlab
Architecture: source
Version: 12.8.6-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Pirate Praveen <praveen@debian.org>
Closes: 942633
Changes:
 gitlab (12.8.6-1) experimental; urgency=medium
 .
   [ Sruthi Chandran ]
   * New upstream version 12.8.6
   * Update embedded module versions
   * Remove embedded doorkeeper as it is available in experimental
   * Deleted patches already applied upstream - 0488-relax-rdoc.patch,
     0670-allow-doorkeepr-4_3.patch, 0770-bump-node-d3.patch
   * Refresh patches
 .
   [ Pirate Praveen ]
   * Add ruby-stackprof as dependency
   * Drop unused patch files
   * Drop patch to lower minimum ruby version (already satsfied in buster)
   * Removed now unused d3 modules from dependencies
   * Tighten dependency on ruby-method-source and ruby-grape
   * Cherry pick patch from upstream merge request to support grape 1.3
   * Fix protobuf compatibility issue with patch (Closes: #942633)
   * Tighten dependency on ruby-rack and ruby-rails
Checksums-Sha1:
 67b3490d084c27b3e14d1fc91a91eec292026a52 3827 gitlab_12.8.6-1.dsc
 e390c501c2fc7151fae513dee6e258abc5e35c0c 107994 gitlab_12.8.6.orig-derailed-benchmarks.tar.gz
 942802797a2b2fe9eaeda9201f7aab523398a3e0 60811 gitlab_12.8.6.orig-elasticsearch-model.tar.gz
 59ed12f1366b37dd6cfe492cf22f2c312ce40386 4255484 gitlab_12.8.6.orig-elasticsearch-rails.tar.gz
 2e241f72dfa80489beba2e473b1fa04fddfed71f 3755 gitlab_12.8.6.orig-faraday-middleware-aws-signers-v4.tar.gz
 aacfb7721bc0bd05de4b3b4291e5b4da3d49179a 88783952 gitlab_12.8.6.orig.tar.gz
 522a22e3c5e37d3594e8aee4251049fd42116d06 83908 gitlab_12.8.6-1.debian.tar.xz
 334a3609a6310926fc895a70086c776012dc6ed7 8910 gitlab_12.8.6-1_amd64.buildinfo
Checksums-Sha256:
 8d431050553409f1fa8fc4db1b80180485906d0f3ee513301e9746699e3d5627 3827 gitlab_12.8.6-1.dsc
 865bf3c44c94c034d0160fa11d523767e2ad93adddb26912f6fa816e7028b0ac 107994 gitlab_12.8.6.orig-derailed-benchmarks.tar.gz
 2a941205948d46f6e2898efcf654374273df1352d51ceb1275353297b6291515 60811 gitlab_12.8.6.orig-elasticsearch-model.tar.gz
 cfa52e8c11647e4f776953f59fcdc821d55065a4afbf19505c8a25fda7d545de 4255484 gitlab_12.8.6.orig-elasticsearch-rails.tar.gz
 243a41b9cdaa3608437eb698df3c8f10ca412483f9d034f123246fddf25dfb2c 3755 gitlab_12.8.6.orig-faraday-middleware-aws-signers-v4.tar.gz
 6a4435f08c247ecfca8ff29257da15223d206e003ece4acc5e07454544e4b96f 88783952 gitlab_12.8.6.orig.tar.gz
 d1f87c18a782b8c12d8f1fe89d76fe0fcff68f885c19a70e3875e2accb557280 83908 gitlab_12.8.6-1.debian.tar.xz
 63966c279334134004fd529928f1c2f3f70c88a6362d776588a8dde331c15b47 8910 gitlab_12.8.6-1_amd64.buildinfo
Files:
 f5f53c9b2c31f5f9053f04f8c45ca671 3827 net optional gitlab_12.8.6-1.dsc
 86272733445219b43964f8c427f55a7a 107994 net optional gitlab_12.8.6.orig-derailed-benchmarks.tar.gz
 26325adc0c160cad7b465f4629c82ad2 60811 net optional gitlab_12.8.6.orig-elasticsearch-model.tar.gz
 bb2d2fab33c50b0cada8a5ab54146e4e 4255484 net optional gitlab_12.8.6.orig-elasticsearch-rails.tar.gz
 16d290ed265b6d0e686ba38043bae007 3755 net optional gitlab_12.8.6.orig-faraday-middleware-aws-signers-v4.tar.gz
 1eae463f1c9fd008d951411bda95e1b8 88783952 net optional gitlab_12.8.6.orig.tar.gz
 094b5b318bfeab01b6c1a408080e99f5 83908 net optional gitlab_12.8.6-1.debian.tar.xz
 d1110e7633c005e2acbbc85622635966 8910 net optional gitlab_12.8.6-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE0whj4mAg5UP0cZqDj1PgGTspS3UFAl58mlwACgkQj1PgGTsp
S3Wh9xAApEYK/nVBATSm0hqjZ5zndfhLvD6JxCxQYDya8zi/bD/N8dIeGx6mfd2Z
kzXXoHX34xW1s8KpQsFj2sDJQHOOXzWzo+f6nZPN3i2a9e3BIsrFJrcTh8UqcO/I
9lDO5xdEywE1s5iDE6V7+DlmMJXJBSBKUz172CR5nypum57O8BKfjVW/gtHf+WjW
/xJeJt7reiBlT4KPor+ZUdNu3NmxOOK/A3TZfqtx0H3jhvZYhZbWxe7YIClRZVgB
ra0XpdHWxaihe868CDxNPltpEljEEDwVq8o76n7Dl2oD7QDebLkXoG9dw0v1XBky
Krw1xyXsf8UTNcYbv8qqI5V5YDz7GqhI9EtT8mwWuACTB8ml5aKpJ1Mkqa3HZgqG
y0OlCCf8mYOuZfI7tG4jF9QlOE0WQzrKk/NIUd9Yk8kcSgR3tAhsa9SjKYBXaF/d
W/QlsFtWDdFs/uTGbChzrgjcBR8xrFX69VgWQFutU2O37rt+iJF3XMKSGq6dw83F
A02JW5yY8DjkG/ODbL5KJA4Ymkth12xtjKn32qVQ3JtSYII1H6XsTTslnx0armhl
tJ/D9o33dz/lOn2z29iVF3Os2cpoaokLHR+mww5zMpIFY1Q9tBOHgmsLQCPj7UqF
I8HppNGRNm0HaHBN9nxxX+7lvjnQqSAV9w58O73u/98kaPtM7pU=
=nS7M
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 12 Aug 2020 07:26:22 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 12 09:25:37 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.