[DRE-maint] Bug#901379: gitlab: postinst script should not call psql if database is not managed by dbconfig-common

2020-12-12 Thread Lars Kruse
Package: gitlab Version: 13.4.7-1~fto10+1 Followup-For: Bug #901379 Dear Maintainer, attached you find a patch, that checks whether the configured database host is "localhost". The initialization procedure (which works only locally, at the moment) is only executed if this check succeeds. The

[DRE-maint] Bug#901379: gitlab: postinst script should not call psql if database is not managed by dbconfig-common

2020-12-12 Thread Pirate Praveen
On Fri, 11 Dec 2020 23:53:27 +0100 wrote: > Hello, > > I encounter the same problem (psql directly used in postinst script) during > every package upgrade. > > The main problem (in my case) is the misdetection of an uninitialized database > (see "db_relations" in

[DRE-maint] Bug#901379: gitlab: postinst script should not call psql if database is not managed by dbconfig-common

2020-12-11 Thread devel
Hello, I encounter the same problem (psql directly used in postinst script) during every package upgrade. The main problem (in my case) is the misdetection of an uninitialized database (see "db_relations" in /usr/lib/gitlab/scripts/rake-tasks.sh). The script checks via "psql" (locally), whether

[DRE-maint] Bug#901379: gitlab: postinst script should not call psql if database is not managed by dbconfig-common

2019-05-13 Thread Dominik George
On Tue, 12 Jun 2018 11:56:45 +0200 Frederik Himpe wrote: > 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

[DRE-maint] Bug#901379: gitlab: postinst script should not call psql if database is not managed by dbconfig-common

2019-05-13 Thread Dominik George
On Tue, 12 Jun 2018 11:56:45 +0200 Frederik Himpe wrote: > 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

[DRE-maint] Bug#901379: gitlab: postinst script should not call psql if database is not managed by dbconfig-common

2018-06-12 Thread Frederik Himpe
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