[DRE-maint] Bug#831448: gitlab: fails to install database

Martin Krüger martin.krueger at gmx.org
Sat Dec 9 03:32:49 UTC 2017


Hi,

this bug still exists and is pretty annoying:
Creating/updating beowulf user account...
adduser: Der Benutzer »beowulf« existiert bereits. Programmende.
Proceeding with existing beowulf user...
Making beowulf owner of /var/lib/gitlab...
Creating runtime directories for gitlab...
Updating file permissions...
Configuring hostname and email...
Registering /usr/lib/tmpfiles.d/gitlab.conf via ucf
/etc/systemd/system/gitlab-mailroom.service.d/override.conf already exist
/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 exist
Registering /etc/gitlab-shell/config.yml via ucf
Registering /etc/gitlab/gitlab.yml via ucf
Registering /etc/gitlab/gitlab-debian.conf via ucf
Reloading nginx configuration...
dbconfig-common: writing config to /etc/dbconfig-common/gitlab.conf
creating postgres user beowulf:  already exists.
resetting password:  success.
creating database gitlab_production: success.
verifying database gitlab_production exists: success.
dbconfig-common: flushing administrative password
psql: FATAL:  Datenbank »gitlab_production« existiert nicht
dpkg: Fehler beim Bearbeiten des Paketes gitlab (--configure):
  Unterprozess installiertes post-installation-Skript gab den Fehlerwert 
2 zurück
Fehler traten auf beim Bearbeiten von:
  gitlab
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is there a workaround of some kind or a way how i can help you to solve 
this?
In the current status this package is pretty much unusable.

-Martin



More information about the Pkg-ruby-extras-maintainers mailing list