gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads)/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)dpkg: error processing /var/cache/apt/archives/gitlab-ce_7.10.0~omnibus.rc8-1_amd64.deb (--unpack): subprocess new pre-installation script returned error exit status 1gitlab postinstall: Thank you for installing GitLab!gitlab postinstall: Configure and start GitLab by running the following command:gitlab postinstall:gitlab postinstall: sudo gitlab-ctl reconfiguregitlab postinstall:gitlab postinstall: GitLab should be reachable at http://pf-gitlabgitlab postinstall: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb filegitlab postinstall: And running reconfigure again.gitlab postinstall:gitlab postinstall: For a comprehensive list of configuration options please see the Omnibus GitLab readmegitlab postinstall: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.mdgitlab postinstall:Errors were encountered while processing: /var/cache/apt/archives/gitlab-ce_7.10.0~omnibus.rc8-1_amd64.deb
It's because libc6 installed from stable repo is 2.13 and gitlab requires 2.14 minimum.
SOLUTION:
add deb http://ftp.debian.org/debian sid main to /etc/apt/sources.list
sudo aptitude install libc6 -V it'll install version 2.19 and all should be OK.
Hi thanks for the new package server. On Ubuntu 14.04 I'm seeing this
Reading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages will be REMOVED: gitlabThe following NEW packages will be installed: gitlab-ce0 upgraded, 1 newly installed, 1 to remove and 5 not upgraded.Need to get 311 MB of archives.After this operation, 19.9 MB of additional disk space will be used.
======================================================================================================== Package Arch Version Repository Size========================================================================================================Installing: gitlab-ce x86_64 7.10.0~omnibus.rc8-1 gitlab_gitlab-ce 289 M replacing gitlab.x86_64 7.9.4_omnibus.1-1.el6Transaction Summary========================================================================================================Install 1 Package(s)Total download size: 289 MIs this ok [y/N]: yDownloading Packages:gitlab-ce-7.10.0~omnibus.rc8-1.x86_64.rpm | 289 MB 00:46 Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning Transaction Installing : gitlab-ce-7.10.0~omnibus.rc8-1.x86_64 1/2 gitlab postinstall: Thank you for installing GitLab!gitlab postinstall: Configure and start GitLab by running the following command:gitlab postinstall: gitlab postinstall: sudo gitlab-ctl reconfiguregitlab postinstall: gitlab postinstall: GitLab should be reachable at http://gitlab.localgitlab postinstall: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb filegitlab postinstall: And running reconfigure again.gitlab postinstall: gitlab postinstall: For a comprehensive list of configuration options please see the Omnibus GitLab readmegitlab postinstall: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.mdgitlab postinstall: Erasing : gitlab-7.9.4_omnibus.1-1.el6.x86_64 2/2 Verifying : gitlab-ce-7.10.0~omnibus.rc8-1.x86_64 1/2 Verifying : gitlab-7.9.4_omnibus.1-1.el6.x86_64 2/2 Installed: gitlab-ce.x86_64 0:7.10.0~omnibus.rc8-1 Replaced: gitlab.x86_64 0:7.9.4_omnibus.1-1.el6 Complete!
...which is what I would expect for a package with a new name (gitlab-ce) erasing the old (gitlab-7.9.4_omnibus) package it supersedes.
I took a snapshot of my VM and ran the install. It uninstalls the "old" gitlab, and then proceeds with the new one. It shut down all services first - so I guess that's good.
Immediately after, it ran Reconfigure which ended in an error, because my Postgres was "starting up" (maybe add a larger timeout for slow systems? :P)..
[2015-04-22T21:35:34+02:00] ERROR: execute[create gitlab database user] (gitlab::postgresql line 162) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '2'---- Begin output of /opt/gitlab/embedded/bin/psql --port 5432 -d template1 -c "CREATE USER gitlab" ----STDOUT:STDERR: psql: FATAL: the database system is starting up
I just ran gitlab-ctl reconfigure again, and presto. The config was done. Started all services with gitlab-ctl start. All is working now, and I get to keep all my data (which is like - really good)...
@foozmeat - I guess it works. Do a backup first though. :)
@chrismccoy you added deb https://packages.gitlab.com/gitlab/gitlab-ce/debian/ wheezy main or similar, and the corresponding GPG key (and did an apt-get update) ?
I'm using Fedora 21 and added the repo via the script.
The baseurl is "https://packages.gitlab.com/gitlab/gitlab-ce/fedora/21/$basearch".
I can't find the gitlab-ce package and yum tells me that there is no package in that repository ("yum --disablerepo="*" --enablerepo="gitlab_gitlab-ce" list available" yields no results).
Hi, I installed gitlab-ce 7.10 in a new Debian Jessie server using Package Server but it still in the 7.10.3~omnibus-1 version.
In the Website exists a 7.10.4 version published a day ago by I can't upgrade to it.
$ sudo apt-get install gitlab-ce=7.10.4~omnibus-1Leyendo lista de paquetes... HechoCreando árbol de dependenciasLeyendo la información de estado... HechoE: No se encontró la versión «7.10.4~omnibus-1» para «gitlab-ce»$ dpkg-query -l 'gitlab*'Deseado=desconocido(U)/Instalar/eliminaR/Purgar/retener(H)| Estado=No/Inst/ficheros-Conf/desempaqUetado/medio-conF/medio-inst(H)/espera-disparo(W)/pendienTe-disparo|/ Err?=(ninguno)/requiere-Reinst (Estado,Err: mayúsc.=malo)||/ Nombre Versión Arquitectura Descripción+++-======================-================-================-==================================================un gitlab <ninguna> <ninguna> (no hay ninguna descripción disponible)ii gitlab-ce 7.10.3~omnibus-1 amd64 GitLab Community Edition and GitLab CI (includingun gitlab-ee <ninguna> <ninguna> (no hay ninguna descripción disponible)