Package: gitlab
Version: 10.7.5+dfsg-2~bpo9+1
Severity: normal

Dear Maintainer,

the gitlab.postinst script fails to enable the pg_trgm extension if
there is no locally running postgresql database:

Setting up gitlab (10.7.5+dfsg-2~bpo9+1) ...
Creating/updating gitlab user account...
Making gitlab owner of /var/lib/gitlab...
Creating runtime directories for gitlab...
Updating file permissions...
Configuring hostname and email...
Configuring nginx with HTTPS...
Configuring gitlab with HTTPS...
Updating gitlab_url in gitlab-shell configuration...
Registering /usr/lib/tmpfiles.d/gitlab.conf via ucf
/etc/systemd/system/gitlab-mailroom.service.d/override.conf already
/etc/systemd/system/gitlab-unicorn.service.d/override.conf already exist
/etc/systemd/system/gitlab-sidekiq.service.d/override.conf already exist
/etc/systemd/system/gitlab-workhorse.service.d/override.conf already
Registering /etc/gitlab-shell/config.yml via ucf
Registering /etc/gitlab/gitlab.yml via ucf
Registering /etc/gitlab/gitlab-debian.conf via ucf
dbconfig-common: writing config to /etc/dbconfig-common/gitlab.conf
dbconfig-common: flushing administrative password
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
                connections on Unix domain socket
                dpkg: error processing package gitlab (--configure):
                 subprocess installed post-installation script returned
                 error exit status 2

I chose to not manage the postgresql database by dbconfig because I am using
an externally running database. In that case this command should not be run.

-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (600, 'stable'), (550, 'proposed-updates'), (500, 'oldstable'), 
(450, 'oldstable-proposed-updates'), (420, 'testing'), (200, 'unstable'), (160, 
'experimental'), (150, 'oldoldstable'), (140, 'oldoldstable-proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gitlab depends on:
ii  adduser                                    3.115
ii  apache2 [httpd]                            2.4.25-3+deb9u4
ii  asciidoctor                      
ii  bc                                         1.06.95-9+b3
ii  bundler                                    1.13.6-2
ii  dbconfig-pgsql                             2.0.9~bpo9+1
ii  debconf [debconf-2.0]                      1.5.61
ii  git                                        1:2.17.1-1~bpo9+1
ii  gitlab-shell                               7.1.2+dfsg-2~bpo9+1
ii  gitlab-workhorse                           4.2.1+debian-2~bpo9+1
ii  init-system-helpers                        1.48
ii  lsb-base                                   9.20161125
ii  nodejs                                     8.11.1~dfsg-2~bpo9+1
ii  npm                                        1.4.21+ds-2~bpo9+1
ii  openssh-client                             1:7.4p1-10+deb9u3
ii  postfix [mail-transport-agent]             3.1.8-0+deb9u1
ii  postgresql-client                          9.6+181+deb9u1
ii  postgresql-client-9.6 [postgresql-client]  9.6.7-0+deb9u1
ii  postgresql-contrib                         9.6+181+deb9u1
ii  rake                                       12.3.1-1~bpo9+1
ii  redis-server                               5:4.0.9-2~bpo9+1
ii  ruby                                       1:2.3.3
ii  ruby-ace-rails-ap                          4.1.1-1
ii  ruby-acts-as-taggable-on                   5.0.0-2~bpo9+1
ii  ruby-addressable                           2.5.2-1~bpo9+1
ii  ruby-akismet                               2.0.0-1
ii  ruby-allocations                           1.0.3-1+b2
ii  ruby-arel                                  6.0.4-1~bpo9+1
ii  ruby-asana                                 0.6.0-1~bpo9+1
ii  ruby-asciidoctor-plantuml                  0.0.8-1~bpo9+1
ii  ruby-asset-sync                            2.2.0-2~bpo9+1
ii  ruby-attr-encrypted                        3.1.0-1~bpo9+1
ii  ruby-babosa                                1.0.2-2
ii  ruby-base32                                0.3.2-3
ii  ruby-batch-loader                          1.2.1-1~bpo9+1
ii  ruby-bcrypt-pbkdf                          1.0.0-1~bpo9+1
ii  ruby-bootstrap-form                        2.7.0-1~bpo9+1
ii  ruby-bootstrap-sass              
ii  ruby-browser                               2.2.0-2
ii  ruby-carrierwave                           1.2.2-1~bpo9+1
ii  ruby-charlock-holmes                       0.7.5-1~bpo9+1
ii  ruby-chronic                               0.10.2-3
ii  ruby-chronic-duration                      0.10.6-1
ii  ruby-commonmarker                          0.17.9-1~bpo9+1
ii  ruby-connection-pool                       2.2.0-1
ii  ruby-creole                                0.5.0-2
ii  ruby-d3-rails                              3.5.6+dfsg-1
ii  ruby-default-value-for                     3.0.1-1
ii  ruby-devise                                4.4.3-1~bpo9+1
ii  ruby-devise-two-factor                     3.0.0-2
ii  ruby-diffy                                 3.1.0-1~bpo9+1
ii  ruby-doorkeeper                            4.3.1-1~bpo9+1
ii  ruby-doorkeeper-openid-connect             1.3.0-1~bpo9+1
ii  ruby-dropzonejs-rails                      0.7.1-1
ii  ruby-email-reply-trimmer                   0.1.6-1~bpo9+1
ii  ruby-escape-utils                          1.2.1-1~bpo9+1
ii  ruby-excon                                 0.60.0-1~bpo9+1
ii  ruby-faraday                               0.13.1-2~bpo9+1
ii  ruby-fast-blank                            1.0.0-1~bpo9+1
ii  ruby-flipper                               0.13.0-3~bpo9+1
pn  ruby-flipper-active-record                 <none>
pn  ruby-flipper-active-support-cache-store    <none>
ii  ruby-fog-aliyun                            0.2.0-1~bpo9+1
ii  ruby-fog-aws                               2.0.1-1~bpo9+1
ii  ruby-fog-core                              1.45.0-2~bpo9+1
ii  ruby-fog-google                            1.3.3-2~bpo9+1
ii  ruby-fog-local                             0.3.0-1
ii  ruby-fog-openstack                         0.1.6-4
ii  ruby-fog-rackspace                         0.1.1-4
ii  ruby-fogbugz                               0.2.1-3
ii  ruby-font-awesome-rails          
ii  ruby-gemnasium-gitlab-service              0.2.6-1
ii  ruby-gemojione                             3.3.0-1~bpo9+1
ii  ruby-gettext-i18n-rails                    1.8.0-1~bpo9+1
ii  ruby-gettext-i18n-rails-js                 1.3.0+dfsg-1~bpo9+1
ii  ruby-gitaly                                0.99.0+dfsg-2~bpo9+1
ii  ruby-github-linguist                       5.3.3-1~bpo9+1
ii  ruby-github-markup                         1.6.3-1~bpo9+1
ii  ruby-gitlab-flowdock-git-hook              1.0.1-4~bpo9+1
ii  ruby-gollum-lib                            4.2.7-2~bpo9+1
ii  ruby-gollum-rugged-adapter                 0.4.4-2~bpo9+1
ii  ruby-gon                                   6.1.0-1
ii  ruby-google-api-client                     0.19.8-1~bpo9+1
ii  ruby-google-protobuf                       3.6.0~rc2-2~bpo9+1
ii  ruby-gpgme                                 2.0.16-1~bpo9+1
ii  ruby-grape                                 1.0.2-1~bpo9+1
ii  ruby-grape-entity                          0.7.1-1~bpo9+1
ii  ruby-grape-logging                         1.7.0-1~bpo9+1
ii  ruby-grape-route-helpers                   2.1.0-3~bpo9+1
ii  ruby-grpc                                  1.11.0+debian-1~bpo9+1
ii  ruby-hamlit                                2.8.7-2~bpo9+1
ii  ruby-hashie-forbidden-attributes           0.1.1-1~bpo9+1
ii  ruby-health-check                          2.6.0-1~bpo9+1
ii  ruby-hipchat                               1.5.2-3
ii  ruby-html-pipeline                         2.8.0-1~bpo9+1
ii  ruby-html2text                             0.2.0-1~bpo9+1
ii  ruby-httparty                              0.15.6-1~bpo9+1
ii  ruby-influxdb                              0.2.3-1
ii  ruby-jira                                  1.4.3-1~bpo9+1
ii  ruby-jquery-atwho-rails                    1.3.2-2
ii  ruby-jwt                                   1.5.6-1~bpo9+1
ii  ruby-kaminari                              1.0.1-4~bpo9+1
ii  ruby-kgio                                  2.11.2-1~bpo9+1
ii  ruby-kubeclient                            3.0.0-2~bpo9+1
ii  ruby-licensee                              8.9.2-1~bpo9+1
ii  ruby-lograge                               0.5.0-1~bpo9+1
ii  ruby-loofah                                2.2.2-1~bpo9+1
ii  ruby-mail-room                             0.9.1-2~bpo9+1
ii  ruby-method-source                         0.8.2-2
ii  ruby-mousetrap-rails                       1.4.6-6
ii  ruby-net-ldap                              0.16.1-1~bpo9+1
ii  ruby-net-ssh                               1:4.2.0-2~bpo9+1
ii  ruby-nokogiri                              1.8.2-1~bpo9+1
ii  ruby-ntlm                                  0.6.1-2~bpo9+1
ii  ruby-oauth2                                1.4.0-3~bpo9+1
ii  ruby-octokit                               4.8.0-1~bpo9+1
ii  ruby-omniauth                              1.8.1-1~bpo9+1
ii  ruby-omniauth-auth0                        2.0.0-0+deb9u1
ii  ruby-omniauth-authentiq                    0.3.1-1~bpo9+1
ii  ruby-omniauth-azure-oauth2                 0.0.9-2~bpo9+1
ii  ruby-omniauth-cas3                         1.1.4-2~bpo9+1
ii  ruby-omniauth-crowd                        2.2.3-2
ii  ruby-omniauth-facebook                     4.0.0-2
ii  ruby-omniauth-github                       1.1.2-2
ii  ruby-omniauth-gitlab                       1.0.2-1
ii  ruby-omniauth-google-oauth2                0.5.3-1~bpo9+1
ii  ruby-omniauth-kerberos                     0.3.0-3
ii  ruby-omniauth-ldap                         2.0.4-2~bpo9+1
ii  ruby-omniauth-oauth2-generic               0.2.2-1~bpo9+1
ii  ruby-omniauth-saml                         1.10.0-1~bpo9+1
ii  ruby-omniauth-shibboleth                   1.2.1-1
ii  ruby-omniauth-twitter                      1.4.0-1~bpo9+1
ii  ruby-org                                   0.9.12-2
ii  ruby-parser                                3.8.2-1
ii  ruby-peek                                  1.0.1-1~bpo9+1
ii  ruby-peek-gc                               0.0.2-1~bpo9+1
ii  ruby-peek-host                             1.0.0-1~bpo9+1
ii  ruby-peek-performance-bar                  1.3.0-1~bpo9+1
ii  ruby-peek-pg                               1.3.0-1~bpo9+1
ii  ruby-peek-rblineprof                       0.2.0-1~bpo9+1
ii  ruby-peek-redis                            1.2.0-1~bpo9+1
ii  ruby-peek-sidekiq                          1.0.3-2~bpo9+1
ii  ruby-pg                                    0.19.0-2~bpo9+1
ii  ruby-posix-spawn                           0.3.13-2~bpo9+1
ii  ruby-premailer-rails                       1.9.7-1~bpo9+1
ii  ruby-prof                                  0.17.0+dfsg-3~bpo9+1
ii  ruby-prometheus-client-mmap                0.9.1-1~bpo9+1
ii  ruby-rack-attack                           4.4.1-1~bpo9+1
ii  ruby-rack-cors                             1.0.1-2~bpo9+1
ii  ruby-rack-oauth2                           1.4.0-1
ii  ruby-rack-proxy                            0.6.1-2~bpo9+1
ii  ruby-rack-test                             0.7.0-1~bpo9+1
ii  ruby-rails                                 2:4.2.10-1~bpo9+1
ii  ruby-rails-deprecated-sanitizer            1.0.3-2
ii  ruby-rails-dom-testing                     1.0.6-2~bpo9+1
ii  ruby-rails-i18n                            4.0.9-1~bpo9+1
ii  ruby-rainbow                               2.2.2-1~bpo9+1
ii  ruby-raindrops                             0.19.0-1~bpo9+1
ii  ruby-rbnacl [ruby-rbnacl-libsodium]        5.0.0-3~bpo9+1
ii  ruby-re2                                   1.1.1-2~bpo9+1
ii  ruby-recaptcha                             3.2.0-2
ii  ruby-redcarpet                             3.4.0-4~bpo9+1
ii  ruby-redcloth                              4.3.2-3~bpo9+1
ii  ruby-redis                                 3.3.3-1~bpo9+1
ii  ruby-redis-namespace                       1.5.2-3
ii  ruby-redis-rails                           5.0.2-3~bpo9+1
ii  ruby-request-store                         1.3.0-1
ii  ruby-responders                            2.3.0-1
ii  ruby-rouge                                 2.2.1-1~bpo9+1
ii  ruby-rqrcode-rails3                        0.1.7-1
ii  ruby-rufus-scheduler                       3.4.2-1~bpo9+1
ii  ruby-rugged                                0.27.0-1~bpo9+1
ii  ruby-sanitize                              2.1.0-2
ii  ruby-sass-rails                            5.0.6-1
ii  ruby-seed-fu                               2.3.7-1~bpo9+1
ii  ruby-select2-rails               
ii  ruby-sentry-raven                          2.7.2-1~bpo9+1
ii  ruby-settingslogic                         2.0.9-3
ii  ruby-sidekiq                               5.0.4+dfsg-2~bpo9+1
ii  ruby-sidekiq-cron                          0.6.3-4~bpo9+1
ii  ruby-sidekiq-limit-fetch                   3.4.0-3~bpo9+1
ii  ruby-slack-notifier                        1.5.1-1~bpo9+1
ii  ruby-sprockets                             3.7.0-1
ii  ruby-sshkey                                1.9.0-1~bpo9+1
ii  ruby-state-machines-activerecord           0.5.1-2~bpo9+1
ii  ruby-sys-filesystem                        1.1.7-2
ii  ruby-task-list                             2.0.0-2~bpo9+1
ii  ruby-toml-rb                               1.0.0-1~bpo9+1
ii  ruby-truncato                              0.7.9-2~bpo9+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                     
ii  ruby-unicorn-worker-killer                 0.4.4-1
ii  ruby-validates-hostname                    1.0.7-1~bpo9+1
ii  ruby-version-sorter                        2.1.0+dfsg-1
ii  ruby-virtus                                1.0.5-3
ii  ruby-vmstat                                2.3.0-2~bpo9+1
ii  ruby-webpack-rails                         0.9.11-2~bpo9+1
ii  ruby-wikicloth                             0.8.1+dfsg-4
ii  ucf                                        3.0036
ii  unicorn                                    5.4.0-1~bpo9+1

Versions of packages gitlab recommends:
pn  certbot  <none>
pn  gitaly   <none>

gitlab suggests no packages.

-- debconf information excluded

Pkg-ruby-extras-maintainers mailing list

Reply via email to