Bug#856432: Can't be reproduced

2017-03-02 Thread Joshua Clayton
Balalsankar,

Thanks for testing.

my install attempt has been on a long lived VM that was recently upgraded.

postgres 9.1, 9.4 and the respective postgres clients were still installed.

After purging those, and reinstalling postgreSQL 9.6, the reinstall still failed

I removed everything aptitude listed under locally installed or obsolete

...purged everything with gitlab in the name...

apt install gitlab...

Had to remove a /usr/local/bin/rake that was installed somehow I don't recall

uninstall apache, apache passenger, everything apache...

(after uninstalling apache, nginx is pulled in and installed)

... uninstall gitlab and reinstall again.

Remove nginx default site.
 
...and everything is copacetic! Yay!

Wow that was painful, but it would work on a clean install.
Maybe this could be improved, but its working

On 03/01/2017 12:39 AM, Balasankar C wrote:
> Hi,
>
> I tried reproducing this bug in a Stretch image using docker and was unable 
> to do so. GitLab was installed and configured without any issues. See the log 
> for the complete installation details. I installed gitlab-8.13.11+dfsg-4 from 
> unstable.
>
> PS: I was on docker, which restricted automatic starting of postgresql 
> service. So I first installed postgresql and started the service and then 
> installed gitlab.
>
> Regards
> Balasankar C



Bug#856432: gitlab --configure looks for postgres 9.1, but 9.6 is installed

2017-02-28 Thread Joshua Clayton
Package: gitlab
Version: 8.13.11+dfsg-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

gitlab installs, but will not complete configuration, because (at least)
it is looking for a wrong version of a postgresql extension. 
Possibly also incompatible with latest postgresql

Create database if not present
Make gitlab user owner of gitlab database...
ALTER DATABASE
Grant all priveleges to gitlab user...
GRANT
ERROR:  could not openextension control file 
"/usr/share/postgresql/9.1/extension/pg_trgm.control": No such file or directory
dpkg: error processing package gitlab (--configure):
 subprocess installed post-installation script returned error exit status 1


Tried adding a symlink from /usr/share/postgresql/9.1 -> 9.6
(I have no idea whether this is a valid thing to do in this case)

Then the error changes to 

Create database if not present
Make gitlab user owner of gitlab database...
ALTER DATABASE
Grant all priveleges to gitlab user...
GRANT
ERROR:  syntax error at or near "PARALLEL"
dpkg: error processing package gitlab (--configure):
 subprocess installed post-installation script returned error exit status 1


First encountered on stretch/testing.
Symptoms exactly the same with sid

Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (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
ii  asciidoctor   1.5.4-2
ii  bc1.06.95-9+b2
ii  bundler   1.13.6-2
ii  debconf [debconf-2.0] 1.5.60
ii  git   1:2.11.0-2
ii  gitlab-shell  3.6.6-4
ii  gitlab-workhorse  0.8.5+debian-3
ii  init-system-helpers   1.47
ii  libjs-chartjs 1.0.2-1
ii  libjs-clipboard   1.4.2-1
ii  libjs-fuzzaldrin-plus 0.3.1+git.20161008.da2cb58+dfsg-4
ii  libjs-graphael0.5+dfsg-1
ii  libjs-jquery-cookie   11-3
ii  libjs-jquery-history  11-3
ii  libjs-jquery-nicescroll   3.6.6-1
ii  lsb-base  9.20161125
ii  nodejs4.7.2~dfsg-2
ii  openssh-client1:7.4p1-6
ii  postfix [mail-transport-agent]3.1.4-4
ii  postgresql-client 9.6+179
ii  postgresql-client-9.1 [postgresql-client  9.1.23-0+deb7u1
ii  postgresql-client-9.4 [postgresql-client  9.4.9-0+deb8u1
ii  postgresql-client-9.6 [postgresql-client  9.6.2-1
ii  postgresql-contrib9.6+179
ii  rake  10.5.0-2
ii  redis-server  3:3.2.8-1
ii  ruby  1:2.3.3
ii  ruby-ace-rails-ap 4.1.1-1
ii  ruby-activerecord-session-store   1.0.0-2
ii  ruby-acts-as-taggable-on  4.0.0-2
ii  ruby-addressable  2.4.0-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-asana0.4.0-1
ii  ruby-attr-encrypted   3.0.1-2
ii  ruby-babosa   1.0.2-2
ii  ruby-base32   0.3.2-3
ii  ruby-bootstrap-sass   3.3.5.1-3
ii  ruby-browser  2.2.0-2
ii  ruby-cal-heatmap-rails3.6.0+dfsg-1
ii  ruby-carrierwave  0.10.0+gh-4
ii  ruby-charlock-holmes  0.7.3+dfsg-2+b3
ii  ruby-chronic  0.10.2-3
ii  ruby-chronic-duration 0.10.6-1
ii  ruby-coffee-rails 4.1.0-2
ii  ruby-coffee-script-source 1.10.0-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-for3.0.1-1
ii  ruby-devise   4.2.0-1
ii  ruby-devise-two-factor3.0.0-2
ii  ruby-diffy3.0.6-1
ii  ruby-doorkeeper   4.2.0-3
ii  ruby-dropzonejs-rails 0.7.1-1
ii  ruby-email-reply-parser   0.5.8-1
ii  ruby-fog-aws  0.12.0-1
ii  ruby-fog-azure0.0.2-1
ii  ruby-fog-core