Package: gitlab
Version: 11.8.0-1
Severity: grave
Tags: a11y
Justification: renders package unusable

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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 /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gitlab depends on:
ii  asciidoctor                               1.5.8-1
ii  bc                                        1.07.1-2+b1
ii  bundler                                   1.17.3-2
ii  bzip2                                     1.0.6-9
ii  dbconfig-pgsql                            2.0.11
ii  debconf [debconf-2.0]                     1.5.71
ii  gitlab-common                             11.8.0-1
ii  gitlab-shell                              8.4.3+dfsg1-1
ii  gitlab-workhorse                          7.6.0+debian-1+b20
ii  libjs-uglify                              2.8.29-6
ii  lsb-base                                  10.2018112800
ii  nginx                                     1.14.2-2
ii  nginx-extras [nginx]                      1.14.2-2
ii  nodejs                                    10.15.2~dfsg-1
ii  npm                                       5.8.0+ds6-4
ii  openssh-client                            1:7.9p1-9
ii  postfix [mail-transport-agent]            3.3.2-4
ii  postgresql-client                         11+200
ii  postgresql-client-11 [postgresql-client]  11.2-2
ii  postgresql-contrib                        11+200
ii  rake                                      12.3.1-3
ii  redis-server                              5:5.0.3-4
ii  ruby                                      1:2.5.1
ii  ruby-ace-rails-ap                         4.1.1-1
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-asana                                0.8.1-1
ii  ruby-asciidoctor-plantuml                 0.0.8-1
ii  ruby-attr-encrypted                       3.1.0-1
ii  ruby-babosa                               1.0.2-2
ii  ruby-base32                               0.3.2-3
ii  ruby-batch-loader                         1.2.2-1
ii  ruby-bcrypt-pbkdf                         1.0.0-2
ii  ruby-bootstrap-form                       2.7.0-1
ii  ruby-browser                              2.5.3-1
ii  ruby-carrierwave                          1.3.1-1
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
ii  ruby-connection-pool                      2.2.2-1
ii  ruby-creole                               0.5.0-2
ii  ruby-default-value-for                    3.1.1-2
ii  ruby-device-detector                      1.0.1-2
ii  ruby-devise                               4.5.0-2
ii  ruby-devise-two-factor                    3.0.3-1
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.2-1
ii  ruby-ed25519                              1.2.4-1
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.13.1-2
ii  ruby-fast-blank                           1.0.0-1+b1
ii  ruby-flipper                              0.13.0-3
pn  ruby-flipper-active-record                <none>
pn  ruby-flipper-active-support-cache-store   <none>
ii  ruby-flowdock                             0.7.1-1
ii  ruby-fog-aliyun                           0.3.2-3
ii  ruby-fog-aws                              3.3.0-5
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.1.7-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
pn  ruby-gitaly-proto                         <none>
ii  ruby-github-markup                        1.7.0+dfsg-2
ii  ruby-gitlab-sidekiq-fetcher               0.4.0-1
ii  ruby-gon                                  6.2.1-1
ii  ruby-google-api-client                    0.28.4-1
ii  ruby-google-protobuf                      3.6.1.3-1
ii  ruby-googleauth                           0.8.0-1
ii  ruby-gpgme                                2.0.18-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.16.1-1
ii  ruby-hamlit                               2.9.2-2
ii  ruby-hangouts-chat                        0.0.5-1
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.16.2+dfsg1-2
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-1
ii  ruby-mail-room                            0.9.1-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
ii  ruby-nakayoshi-fork                       0.0.4-1
ii  ruby-net-ldap                             0.16.1-1
ii  ruby-net-ssh                              1:5.1.0-1
ii  ruby-nokogiri                             1.10.1+dfsg1-1
ii  ruby-ntlm                                 0.6.1-2
ii  ruby-oauth2                               1.4.1-1
ii  ruby-octokit                              4.13.0-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.0.4-2
ii  ruby-omniauth-oauth2-generic              0.2.2-1
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-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
ii  ruby-posix-spawn                          0.3.13-2+b1
ii  ruby-premailer-rails                      1.9.7-1
ii  ruby-prof                                 0.17.0+dfsg-3+b1
ii  ruby-progressbar                          1.9.0-2
ii  ruby-prometheus-client-mmap               0.9.4-1
ii  ruby-rack                                 2.0.6-3
ii  ruby-rack-attack                          4.4.1-1
ii  ruby-rack-cors                            1.0.2-1
ii  ruby-rack-oauth2                          1.9.2-1
ii  ruby-rack-proxy                           0.6.1-2
ii  ruby-rails                                2:5.2.2+dfsg-6
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
ii  ruby-re2                                  1.1.1-2+b3
ii  ruby-recaptcha                            4.11.1-1
ii  ruby-redcarpet                            3.4.0-4+b1
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.3.0-1
ii  ruby-rqrcode-rails3                       0.1.7-1
ii  ruby-rugged                               0.27.4+ds-1
ii  ruby-sanitize                             4.6.6-2
ii  ruby-sass                                 3.5.6-1
ii  ruby-sass-rails                           5.0.6-2
ii  ruby-seed-fu                              2.3.7-2
ii  ruby-select2-rails                        3.5.9.3-2
ii  ruby-sentry-raven                         2.7.4-1
ii  ruby-settingslogic                        2.0.9-3
ii  ruby-sidekiq                              5.2.3+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                               1.9.0-1
ii  ruby-state-machines-activerecord          0.5.1-2
ii  ruby-sys-filesystem                       1.1.7-2
ii  ruby-task-list                            2.0.0-2
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
ii  ruby-unicorn-worker-killer                0.4.4-1
ii  ruby-validates-hostname                   1.0.7-1
ii  ruby-version-sorter                       2.1.0+dfsg-1+b2
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

Versions of packages gitlab recommends:
ii  certbot  0.31.0-1
ii  gitaly   1.12.0+debian-1

gitlab suggests no packages.

There was a lot of problems when upgraded gitlab.

1. NoMethodError: undefined method `rails5?' for Gitlab:Module

Running final rake tasks and tweaks...
gitlab_production database is not empty, skipping gitlab setup
rake aborted!
NoMethodError: undefined method `rails5?' for Gitlab:Module
................
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
dpkg: error processing package gitlab (--configure):
 installed gitlab package post-installation script subprocess returned error 
exit status 1

Resolved this deleting the following initializers:

/etc/gitlab/initializers/active_record_array_type_casting.rb
/etc/gitlab/initializers/active_record_avoid_type_casting_in_uniqueness_validator.rb
/etc/gitlab/initializers/active_record_locking.rb
/etc/gitlab/initializers/application_controller_renderer.rb
/etc/gitlab/initializers/ar5_batching.rb
/etc/gitlab/initializers/ar5_pg_10_support.rb

The changelog doesn't tell nothing of them. Them are not in actual release and 
eists in old release. 
All this initializers contain line like:
# Remove this initializer when upgraded to Rails 5.0
unless Gitlab.rails5?

Ok...removed manualy, but suggest to rwite in readme, upgrade instructions, etc.

2. Directly inheriting from ActiveRecord::Migration is not supported. Please 
specify the Rails release the migration was written for

WARNING: This version of GitLab depends on gitlab-shell 8.4.4, but you're 
running 8.4.3. Please update gitlab-shell.
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

Directly inheriting from ActiveRecord::Migration is not supported. Please 
specify the Rails release the migration was written for:

  class AddFirstDayOfWeekToUserPreferences < ActiveRecord::Migration[4.2]
/usr/share/gitlab/vendor/gems/activerecord-5.1.6.1/lib/active_record/migration.rb:525:in
 `inherited'
/usr/share/gitlab/db/migrate/20181027114222_add_first_day_of_week_to_user_preferences.rb:3:in
 `<main>'

That err resolved putting [4.2] version in
20181027114222_add_first_day_of_week_to_user_preferences.rb
20181028120717_add_first_day_of_week_to_application_settings.rb
like this:
class AddFirstDayOfWeekToApplicationSettings < ActiveRecord::Migration[4.2]

Resolution - to correct 2 files.

Alter install and configure cannot start because:

3. unicorn cannot start because tracing - in CE doc tracing is disabled by 
default...but seems not.

I, [2019-03-14T06:50:21.875720 #8048]  INFO -- : Refreshing Gem list
/usr/share/gitlab/lib/gitlab.rb:41: warning: already initialized constant 
Gitlab::VERSION
/usr/share/gitlab/config/initializers/2_app.rb:6: warning: previous definition 
of VERSION was here
WARNING: This version of GitLab depends on gitlab-shell 8.4.4, but you're 
running 8.4.3. Please update gitlab-shell.
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in
 `require': No such file to load -- opentracing.rb (LoadError)
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in
 `block in require'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:258:in
 `load_dependency'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in
 `require'
        from /usr/share/gitlab/lib/gitlab/tracing/common.rb:3:in `<main>'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in
 `require'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in
 `block in require_with_bootsnap_lfi'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/loaded_features_index.rb:65:in
 `register'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in
 `require_with_bootsnap_lfi'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in
 `require'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in
 `block in require'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:258:in
 `load_dependency'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:292:in
 `require'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:379:in
 `block in require_or_load'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:36:in
 `block in load_interlock'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies/interlock.rb:12:in
 `block in loading'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/concurrency/share_lock.rb:149:in
 `exclusive'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies/interlock.rb:11:in
 `loading'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:36:in
 `load_interlock'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:357:in
 `require_or_load'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:335:in
 `depend_on'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/active_support.rb:61:in
 `block in depend_on'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/active_support.rb:8:in
 `without_bootsnap_cache'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/active_support.rb:61:in
 `rescue in depend_on'
        from 
/usr/lib/ruby/vendor_ruby/bootsnap/load_path_cache/core_ext/active_support.rb:58:in
 `depend_on'
        from 
/usr/share/gitlab/vendor/gems/activesupport-5.1.6.1/lib/active_support/dependencies.rb:251:in
 `require_dependency'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/engine.rb:476:in 
`block (2 levels) in eager_load!'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/engine.rb:475:in `each'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/engine.rb:475:in 
`block in eager_load!'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/engine.rb:473:in `each'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/engine.rb:473:in 
`eager_load!'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/engine.rb:354:in 
`eager_load!'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/application/finisher.rb:67:in
 `each'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/application/finisher.rb:67:in
 `block in <module:Finisher>'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/initializable.rb:30:in 
`instance_exec'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/initializable.rb:30:in 
`run'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/initializable.rb:59:in 
`block in run_initializers'
        from /usr/lib/ruby/2.5.0/tsort.rb:228:in `block in tsort_each'
        from /usr/lib/ruby/2.5.0/tsort.rb:350:in `block (2 levels) in 
each_strongly_connected_component'
        from /usr/lib/ruby/2.5.0/tsort.rb:431:in 
`each_strongly_connected_component_from'
        from /usr/lib/ruby/2.5.0/tsort.rb:349:in `block in 
each_strongly_connected_component'
        from /usr/lib/ruby/2.5.0/tsort.rb:347:in `each'
        from /usr/lib/ruby/2.5.0/tsort.rb:347:in `call'
        from /usr/lib/ruby/2.5.0/tsort.rb:347:in 
`each_strongly_connected_component'
        from /usr/lib/ruby/2.5.0/tsort.rb:226:in `tsort_each'
        from /usr/lib/ruby/2.5.0/tsort.rb:205:in `tsort_each'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/initializable.rb:58:in 
`run_initializers'
        from 
/usr/share/gitlab/vendor/gems/railties-5.1.6.1/lib/rails/application.rb:353:in 
`initialize!'
        from /usr/share/gitlab/config/environment.rb:6:in `<top (required)>'
        from config.ru:23:in `require'
        from config.ru:23:in `block in <main>'
        from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
        from /usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
        from config.ru:1:in `new'
        from config.ru:1:in `<main>'
        from /usr/lib/ruby/vendor_ruby/unicorn.rb:56:in `eval'
        from /usr/lib/ruby/vendor_ruby/unicorn.rb:56:in `block in builder'
        from /usr/bin/unicorn_rails:139:in `block in rails_builder'
        from /usr/lib/ruby/vendor_ruby/unicorn/http_server.rb:795:in 
`build_app!'
        from /usr/lib/ruby/vendor_ruby/unicorn/http_server.rb:139:in `start'
        from /usr/bin/unicorn_rails:209:in `<main>'


From thhe gitlab doc:
GitLab uses the GITLAB_TRACING environment variable to configure distributed 
tracing. The same configuration is used for all components (e.g., Workhorse, 
Rails, etc).
When GITLAB_TRACING is not set, the application will not be instrumented, 
meaning that there is no overhead at all.
To enable GITLAB_TRACING, a valid “configuration-string” value should be set


I don't have env var set, so there is a problem in the code.
In changelog: "Remove tracing group from Gemfile" - but this seems not no be 
sufficient.

Please resolve the dependency and disable by default tracing.

4. GitLab Shell version >= 8.4.4 ? ... FAIL. Please update gitlab-shell to 
8.4.4 from 8.4.3

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 8.4.4 ? ... FAIL. Please update 
gitlab-shell to 8.4.4 from 8.4.3
Running /usr/share/gitlab-shell/bin/check
Check GitLab API access: FAILED: Failed to connect to internal API
gitlab-shell self-check failed
  Try fixing it:
  Make sure GitLab is running;
  Check the gitlab-shell configuration file:
  sudo -u gitlab -H editor /usr/share/gitlab-shell/config.yml
  Please fix the error above and rerun the checks.

Checking GitLab Shell ... Finished

Please update gitlab-shell to 8.4.4 - dependency problem.

5. Expects gitlab socket directory
The problem is reported here: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918070 is not resolved yet.

Last comment with a temporary solution is mine.

6. the 11.6 last experimental package in my oppinion was relative ok version - 
in conlict with redmine...but I think that normal cicle is to move exp to 
unstable, not replace exp with new ver.

New ver in exp is welcome.

Conclusion: there are pct. 1 and 2 that can be writed in doc and not major 
problems, but 3,4,5 is major problems.

If I can help whith smtng...let me know.

Dragos

Reply via email to