[DRE-maint] Bug#815798: (no subject)

Sven Geggus lists at fuchsschwanzdomain.de
Wed Feb 24 14:57:05 UTC 2016


Subject: gitlab uninstallabe on plain Debian "stretch"
Package: gitlab
Version: 8.4.3+dfsg-9
Severity: serious

Hi,

trying to install gitlab package on a palin stretch-system where postgis and
nginx have already been installed will currently not work.

In case it is of relevance, the system uses sysv-init.

Here is what I get (irrelevant parts have been skipped).

The "gitlab_production database is not empty" message can not be true.  I
did check it manually and it is empty.

..

gitlab_production database is not empty, skipping gitlab setup
Precompiling assets...
fatal: Not a git repository (or any of the parent directories): .git
I, [2016-02-24T13:50:04.590534 #18160]  INFO -- : 


...


Starting GitLab Unicorn
Starting GitLab Sidekiq
Starting gitlab-workhorse
.
The GitLab Unicorn web server with pid 20641 is running.
The GitLab Sidekiq job dispatcher with pid 20706 is running.
The gitlab-workhorse with pid 20683 is running.
GitLab and all its components are up and running.
fatal: Not a git repository (or any of the parent directories): .git
Checking GitLab Shell ...

GitLab Shell version >= 2.6.10 ? ... OK (2.6.10)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by gitlab:gitlab? ... yes
Repo base access is drwxrws---? ... yes
hooks directories in repos are links: ... rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "projects" does not exist
LINE 5:                WHERE a.attrelid = '"projects"'::regclass
                                          ^
:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull,
a.atttypid, a.atttypmod
                FROM pg_attribute a LEFT JOIN pg_attrdef d
                  ON a.attrelid = d.adrelid AND a.attnum = d.adnum
               WHERE a.attrelid = '"projects"'::regclass
                 AND a.attnum > 0 AND NOT a.attisdropped
               ORDER BY a.attnum
/usr/share/gitlab/lib/tasks/gitlab/check.rake:476:in `check_repos_hooks_directory_is_link'
/usr/share/gitlab/lib/tasks/gitlab/check.rake:366:in `block (3 levels) in <top (required)>'
PG::UndefinedTable: ERROR:  relation "projects" does not exist
LINE 5:                WHERE a.attrelid = '"projects"'::regclass
                                          ^
/usr/share/gitlab/lib/tasks/gitlab/check.rake:476:in `check_repos_hooks_directory_is_link'
/usr/share/gitlab/lib/tasks/gitlab/check.rake:366:in `block (3 levels) in <top (required)>'
Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check
(See full trace by running task with --trace)



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