I can confirm that this bug affects our production servers as well. Unfortunately the suggested temporary fix (commenting out) doesn't seem to work. This might be because we are setting our DB to postgres in the gitlab-debian.conf.
Regards, Emmanuel On Mon, 30 Jan 2017 12:50:21 -0700 "Justin F. Hallett" <thesin@southofh eaven.org> wrote: > Package: gitlab > Version: 8.13.11+dfsg-1 > Severity: important > > The issue is with 0300-git-2-11-support.patch and missing files in the > deb. > > 1) 0300-git-2-11-support.patch only half implements things, it does > create the proper files and adds parts of > https://gitlab.com/gitlab-org/gitlab-ce/commit/f82d549d26af89cba00005 e1a1c9b721c076f7a0 > but it's missing some important parts, mainly it's missing > https://gitlab.com/gitlab-org/gitlab-ce/commit/1c994dbc05c14771447928 8126742f3fee158fd8#6e60f94696b534ed16ff1d4f8ca1a742242805bf_6_6 > where it's loads teh helper before using it. > > 2) the patch creates lib/api/helpers/internal_helpers.rb but does not > include it in the deb. So even if 1 is corrected it will fail to load > the missing file. > > As a temp fix you can just comment out "env: > parse_allowed_environment_variables)" from lib/api/internal.rb and > things work again, but the right fix would be to add the missing lines > to the patch and include the helper file in the deb. > > Hope this helps others as it took me a bit to track it on my production > servers. > > -- System Information: > Debian Release: 9.0 > APT prefers testing > APT policy: (500, 'testing'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 4.9.0-1-amd64 (SMP w/24 CPU cores) > Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.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-2 > ii asciidoctor 1.5.4-2 > ii bc 1.06.95-9+b2 > ii bundler 1.13.6-2 > ii debconf [debconf-2.0] 1.5.59 > ii git 1:2.11.0-2 > ii gitlab-shell 3.6.6-2 > 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-graphael 0.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 nodejs 4.7.2~dfsg-1 > ii openssh-client 1:7.4p1-5 > ii postfix [mail-transport-agent] 3.1.4-3 > ii postgresql-client 9.6+178