Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#821377: gitlab: update fails

30 views
Skip to first unread message

Xavier Bestel

unread,
Apr 18, 2016, 5:10:03 AM4/18/16
to
Package: gitlab
Version: 8.5.8+dfsg-5
Severity: important

Dear Maintainer,

I have installed gitlab, launched it but didn't create an account
because I still need to setup a proper mail server.
Today an updtate appeared and it failed to apply. Here's the (end of)
aptitude's output:

Using dropzonejs-rails 0.7.1
Using jquery-turbolinks 2.1.0
Using devise-async 0.9.0
Using devise-two-factor 2.0.0
Bundle complete! 121 Gemfile dependencies, 253 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Running final rake tasks and tweaks...
gitlab_production database is not empty, skipping gitlab setup
fatal: Not a git repository (or any of the parent directories): .git
D, [2016-04-18T10:01:49.172936 #1302] DEBUG -- : ** [Raven] Event not
sent due to excluded environment: production
rake aborted!
TypeError: no implicit conversion of Pathname into String
/usr/share/gitlab/lib/tasks/migrate/add_limits_mysql.rake:1:in `<top
(required)>'
/usr/share/gitlab/Rakefile:10:in `<top (required)>'
(See full trace by running task with --trace)
dpkg: error processing package gitlab (--configure):
subprocess installed post-installation script returned error exit
status 1
Errors were encountered while processing:
gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)


HTH,
Xav


-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing'), (900, 'stable'), (500, 'testing-updates'), (500, 'stable-updates'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (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.114
ii asciidoctor 1.5.4-1
ii bc 1.06.95-9+b1
ii bundler 1.11.2-1
ii debconf [debconf-2.0] 1.5.59
ii exim4 4.87-1
ii exim4-daemon-light [mail-transport-agent] 4.87-1
ii git 1:2.8.0~rc3-1
ii gitlab-shell 2.6.10-1
ii gitlab-workhorse 0.6.3-1
ii init-system-helpers 1.29
ii libjs-chartjs 1.0.2-1
ii libjs-clipboard 1.4.2-1
ii libjs-graphael 0.5+dfsg-1
ii libjs-jquery-cookie 11-1
ii libjs-jquery-history 11-1
ii libjs-jquery-nicescroll 3.6.6-1
ii nginx 1.9.10-1
ii nginx-full [nginx] 1.9.10-1
ii nodejs 4.3.1~dfsg-3
ii openssh-client 1:7.2p2-4
ii postgresql 9.5+173
ii postgresql-client 9.5+173
ii postgresql-client-9.5 [postgresql-client] 9.5.2-1
ii rake 10.5.0-2
ii redis-server 2:3.0.6-1
ii ruby 1:2.3.0+1
ii ruby-ace-rails-ap 3.0.3-2
ii ruby-activerecord-deprecated-finders 1.0.4-1
ii ruby-activerecord-session-store 0.1.1-3
ii ruby-acts-as-taggable-on 3.5.0-2
ii ruby-addressable 2.3.8-1
ii ruby-after-commit-queue 1.3.0-1
ii ruby-akismet 2.0.0-1
ii ruby-allocations 1.0.3-1+b2
ii ruby-asana 0.4.0-1
ii ruby-attr-encrypted 1.3.4-1
ii ruby-babosa 1.0.2-1
ii ruby-bootstrap-sass 3.3.5.1-3
ii ruby-browser 1.0.1-1
ii ruby-cal-heatmap-rails 3.5.1+dfsg-1
ii ruby-carrierwave 0.10.0+gh-2
ii ruby-charlock-holmes 0.7.3+dfsg-2+b2
ii ruby-coffee-rails 4.1.0-2
ii ruby-colorize 0.7.7-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 3.5.6-2
ii ruby-devise-async 0.9.0-1
ii ruby-devise-two-factor 2.0.0-1
ii ruby-diffy 3.0.6-1
ii ruby-doorkeeper 2.2.1-1
ii ruby-dropzonejs-rails 0.7.1-1
ii ruby-email-reply-parser 0.5.8-1
ii ruby-fog 1.34.0-3
ii ruby-fogbugz 0.2.1-2
ii ruby-font-awesome-rails 4.3.0.0-1
ii ruby-gemnasium-gitlab-service 0.2.6-1
ii ruby-github-linguist 4.7.2-2
ii ruby-github-markup 1.3.3+dfsg-1
ii ruby-gitlab-emoji 0.3.1-2
ii ruby-gitlab-flowdock-git-hook 1.0.1-1
ii ruby-gitlab-git 8.2.0-2
ii ruby-gollum-lib 4.1.0-3
ii ruby-gon 6.0.1-1
ii ruby-grape 0.13.0-1
ii ruby-grape-entity 0.5.0-1
ii ruby-haml-rails 0.9.0-4
ii ruby-hipchat 1.5.2-2
ii ruby-html-pipeline 1.11.0-1
ii ruby-httparty 0.13.5-1
ii ruby-influxdb 0.2.3-1
ii ruby-jquery-atwho-rails 1.3.2-2
ii ruby-jquery-rails 4.0.5-1
ii ruby-jquery-scrollto-rails 1.4.3+dfsg-1
ii ruby-jquery-turbolinks 2.1.0~dfsg-1
ii ruby-jquery-ui-rails 5.0.5-3
ii ruby-kaminari 0.16.3-1
ii ruby-mail-room 0.6.1-1
ii ruby-method-source 0.8.2-2
ii ruby-mousetrap-rails 1.4.6-5
ii ruby-nested-form 0.3.2-2
ii ruby-net-ssh 1:3.0.1-3
ii ruby-nokogiri 1.6.7.2-3
ii ruby-nprogress-rails 0.1.6.7-2
ii ruby-oauth2 1.0.0-2
ii ruby-octokit 3.8.0-1
ii ruby-omniauth 1.3.1-1
ii ruby-omniauth-azure-oauth2 0.0.6-1
ii ruby-omniauth-bitbucket 0.0.2-1
ii ruby-omniauth-cas3 1.1.3-1
ii ruby-omniauth-crowd 2.2.3-2
ii ruby-omniauth-facebook 3.0.0-1
ii ruby-omniauth-github 1.1.2-2
ii ruby-omniauth-gitlab 1.0.0-2
ii ruby-omniauth-google-oauth2 0.2.4-1
ii ruby-omniauth-kerberos 0.3.0-3
ii ruby-omniauth-ldap 1.0.5-1
ii ruby-omniauth-saml 1.5.0-1
ii ruby-omniauth-shibboleth 1.2.1-1
ii ruby-omniauth-twitter 1.2.1-1
ii ruby-org 0.9.12-1
ii ruby-paranoia 2.1.3-1
ii ruby-pg 0.18.4-1
ii ruby-rack-attack 4.3.1-1
ii ruby-rack-cors 0.4.0-1
ii ruby-rack-oauth2 1.2.1-2
ii ruby-rails 2:4.2.6-1
ii ruby-rails-deprecated-sanitizer 1.0.3-1
ii ruby-raphael-rails 2.1.2~dfsg-1
ii ruby-recaptcha 0.4.0-1
ii ruby-redcarpet 3.3.4-2
ii ruby-redcloth 4.2.9-5+b3
ii ruby-redis-namespace 1.5.2-3
ii ruby-redis-rails 4.0.0-1
ii ruby-request-store 1.3.0-1
ii ruby-responders 2.1.1-1
ii ruby-rouge 1.10.1-1
ii ruby-rqrcode-rails3 0.1.7-1
ii ruby-sanitize 2.1.0-2
ii ruby-sass-rails 5.0.4-1
ii ruby-seed-fu 2.3.5-1
ii ruby-select2-rails 3.5.9.3-2
ii ruby-sentry-raven 0.15.3-1
ii ruby-settingslogic 2.0.9-3
ii ruby-sidekiq 4.0.1+dfsg-2
ii ruby-sidekiq-cron 0.4.2-4
ii ruby-sinatra 1.4.7-3
ii ruby-six 0.2.0-3
ii ruby-slack-notifier 1.2.1-1
ii ruby-sprockets 3.3.0-1
ii ruby-state-machines-activerecord 0.3.0-1
ii ruby-task-list 1.0.2-2
ii ruby-tinder 1.10.1-1
ii ruby-turbolinks 2.5.3-2
ii ruby-uglifier 2.7.2-1
ii ruby-underscore-rails 1.8.2+dfsg-1
ii ruby-unf 0.1.4-1
ii ruby-unicorn-worker-killer 0.4.2-1
ii ruby-version-sorter 2.0.0+dfsg-2+b4
ii ruby-virtus 1.0.5-2
ii ruby-wikicloth 0.8.1+dfsg-3
ii ruby2.2 [ruby-interpreter] 2.2.4-1
ii ruby2.3 [ruby-interpreter] 2.3.0-5
ii ucf 3.0036
ii unicorn 4.9.0-2+b2

Versions of packages gitlab recommends:
ii letsencrypt 0.4.1-1

gitlab suggests no packages.

-- Configuration Files:
/etc/gitlab/gitlab-debian.conf changed:
RAILS_ENV=production
DB=postgres
gitlab_user=gitlab
gitlab_app_root=/usr/share/gitlab
gitlab_data_dir=/var/lib/gitlab
gitlab_scripts=/usr/lib/gitlab/scripts
gitlab_yml_private=/var/lib/gitlab/gitlab.yml
gitlab_yml=/etc/gitlab/gitlab.yml
gitlab_debian_conf_private=/var/lib/gitlab/gitlab-debian.conf
gitlab_debian_conf=/etc/gitlab/gitlab-debian.conf
gitlab_nginx_log=/var/log/gitlab
gitlab_ssl_path=/etc/gitlab/ssl
gitlab_shell_root=/usr/share/gitlab-shell
gitlab_shell_log=/var/log/gitlab-shell
gitlab_log_dir=/var/log/gitlab
gitlab_pid_path=/run/gitlab
nginx_user=www-data
nginx_conf_example=/usr/share/doc/gitlab/nginx.conf.example
nginx_ssl_conf_example_gz=/usr/share/doc/gitlab/nginx.ssl.conf.example.gz
nginx_site_private=/var/lib/gitlab/nginx.conf
GITLAB_HOST=pcxav
GITLAB_EMAIL_FROM="no-reply@pcxav"
GITLAB_EMAIL_DISPLAY_NAME="Gitlab"
GITLAB_EMAIL_REPLY_TO="no-reply@pcxav"


-- debconf information:
* gitlab/fqdn: pcxav
* gitlab/ssl: false
gitlab/letsencrypt: false

Xavier Bestel

unread,
Apr 18, 2016, 6:10:02 AM4/18/16
to
Now even after a purge I can't reinstall gitlab.
Same error:

Bundle complete! 121 Gemfile dependencies, 253 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Running final rake tasks and tweaks...
gitlab_production database is not empty, skipping gitlab setup
fatal: Not a git repository (or any of the parent directories): .git
Precompiling assets...
fatal: Not a git repository (or any of the parent directories): .git
Failed to start gitlab.target: Unit gitlab.target is masked.
dpkg: erreur de traitement du paquet gitlab (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
 gitlab

Pirate Praveen

unread,
Jun 2, 2016, 12:30:04 PM6/2/16
to
On Mon, 18 Apr 2016 10:10:04 +0200 Xavier Bestel <xavier...@free.fr>
wrote:
> rake aborted!
> TypeError: no implicit conversion of Pathname into String
> /usr/share/gitlab/lib/tasks/migrate/add_limits_mysql.rake:1:in `<top
> (required)>'

are you using mysql?

We have tested so far only with postgresql.
signature.asc

Hanspeter Kunz

unread,
Jun 3, 2016, 7:10:02 PM6/3/16
to
On Don, 2016-06-02 at 21:51 +0530, Pirate Praveen wrote:
> On Mon, 18 Apr 2016 10:10:04 +0200 Xavier Bestel <xavier.bestel@free.
> fr>
> wrote:
> > rake aborted!
> > TypeError: no implicit conversion of Pathname into String
> > /usr/share/gitlab/lib/tasks/migrate/add_limits_mysql.rake:1:in
> > `<top
> > (required)>'
>
> are you using mysql?

I see exactly the same error as Xavier, and yes, I am using mysql.

Best,
Hp

> We have tested so far only with postgresql.
>
> > /usr/share/gitlab/Rakefile:10:in `<top (required)>'
> > (See full trace by running task with --trace)
> > dpkg: error processing package gitlab (--configure):
> >  subprocess installed post-installation script returned error exit
> > status 1
> > Errors were encountered while processing:
> > gitlab
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
>
--
Hanspeter Kunz University of Zurich
Systems Administrator Department of Informatics
Email: hk...@ifi.uzh.ch Binzmühlestrasse 14
Tel: +41.(0)44.63-56714 Office 2.E.07
http://www.ifi.uzh.ch CH-8050 Zurich, Switzerland

Spamtraps: hkunz...@ailab.ch hkunz...@ifi.uzh.ch
---
Would ye both eat your cake and have your cake?
-- John Heywood
0 new messages