Hello,
I have a problem with my GitLab
Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Les paquets suivants seront mis à jour : gitlab-ce linux-libc-dev 2 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour. 8 partiellement installés ou enlevés. Il est nécessaire de prendre 268 Mo dans les archives. Après cette opération, 18,3 Mo d'espace disque seront libérés. Souhaitez-vous continuer [O/n] ? o Réception de : 1 https://packages.gitlab.com/gitlab/gitlab-ce/debian/ wheezy/main gitlab-ce amd64 8.5.3-ce.0 [267 MB] Réception de : 2 http://security.debian.org/ wheezy/updates/main linux-libc-dev amd64 3.2.73-2+deb7u3 [848 kB] 268 Mo réceptionnés en 2min 6s (2 127 ko/s) debconf: la configuration des paquets est différée, car apt-utils n'est pas installé (Lecture de la base de données... 108061 fichiers et répertoires déjà installés.) Préparation du remplacement de linux-libc-dev:amd64 3.2.73-2+deb7u2 (en utilisant .../linux-libc-dev_3.2.73-2+deb7u3_amd64.deb) ... Dépaquetage de la mise à jour de linux-libc-dev:amd64 ... Préparation du remplacement de gitlab-ce 8.4.4-ce.0 (en utilisant .../gitlab-ce_8.5.3-ce.0_amd64.deb) ... gitlab preinstall: Backing up GitLab SQL database (excluding Git repositories, uploads) D, [2016-03-03T23:30:46.350752 #10251] DEBUG -- : ** [Raven] Event not sent due to excluded environment: production rake aborted! PG::ConnectionBad: could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/var/opt/gitlab/postgresql/.s.PGSQL.5432"? /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in
initialize’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in new' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:651:in
connect’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:242:in initialize' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in
new’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/postgresql_adapter.rb:44:in postgresql_connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:438:in
new_connection’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:448:in checkout_new_connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:422:in
acquire_connection’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:349:in block in checkout' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:348:in
checkout’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:263:in block in connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:262:in
connection’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:571:in retrieve_connection' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_handling.rb:113:in
retrieve_connection’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_handling.rb:87:in connection' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/current_settings.rb:41:in
connect_to_db?’
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/current_settings.rb:7:in current_application_settings' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics.rb:11:in
settings’
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics.rb:22:in enabled?' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics.rb:75:in
module:Metrics’
/opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics.rb:2:in <module:Gitlab>' /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/metrics.rb:1:in
<top (required)>’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in require' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
block in require’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in load_dependency' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:360:in require_or_load' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:494:in
load_missing_constant’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:184:in const_missing' /opt/gitlab/embedded/service/gitlab-rails/config/initializers/metrics.rb:1:in
<top (required)>’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in load' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in
block in load’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in load_dependency' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in
load’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:652:in block in load_config_initializer' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:166:in
instrument’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:651:in load_config_initializer' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:616:in
block (2 levels) in class:Engine’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:615:in each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:615:in
block in class:Engine’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in instance_exec' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
run’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in block in run_initializers' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:44:in
each’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:44:in tsort_each_child' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
run_initializers’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:352:in initialize!' /opt/gitlab/embedded/service/gitlab-rails/config/environment.rb:5:in
<top (required)>’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in require' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
block in require’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in load_dependency' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require’
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:328:in require_environment!' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:457:in
block in run_tasks_blocks’
Tasks: TOP => gitlab:backup:create => environment
(See full trace by running task with --trace)
gitlab preinstall:
gitlab preinstall: Backup failed! If you want to skip this backup, run the following command and
gitlab preinstall: try again:
gitlab preinstall:
gitlab preinstall: sudo touch /etc/gitlab/skip-auto-migrations
gitlab preinstall:
dpkg: erreur de traitement de /var/cache/apt/archives/gitlab-ce_8.5.3-ce.0_amd64.deb (–unpack) :
le sous-processus nouveau script pre-installation a retourné une erreur de sortie d’état 1
gitlab: Thank you for installing GitLab!
gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:
sudo gitlab-ctl reconfigure
gitlab: GitLab should be reachable at http://git.XXXXXX.fr
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab: And running reconfigure again.
gitlab:
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab:
Des erreurs ont été rencontrées pendant l’exécution :
/var/cache/apt/archives/gitlab-ce_8.5.3-ce.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)`
I launch “sudo gitlab-ctl reconfigure”
`[2016-03-03T23:40:45+01:00] WARN: Ohai::Config[:disabled_plugins] is set. Ohai::Config[:disabled_plugins] is deprecated and will be removed in future releases of ohai. Use ohai.disabled_plugins in your configuration file to configure :disabled_plugins for ohai.
Starting Chef Client, version 12.5.1
[2016-03-03T23:40:46+01:00] WARN: [inet6] no ip address on venet0:0
resolving cookbooks for run list: [“gitlab”]
Synchronizing Cookbooks:
- gitlab (0.0.1)
- package (0.0.0)
- runit (0.14.2)
Compiling Cookbooks…
Recipe: gitlab::default
-
directory[/etc/gitlab] action create (up to date)
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:43:infrom_file' [2016-03-03T23:40:47+01:00] WARN: Current directory[/var/opt/gitlab]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/users.rb:24:in
from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for cron[gitlab-ci schedule builds] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous cron[gitlab-ci schedule builds]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/cron.rb:20:infrom_file' [2016-03-03T23:40:47+01:00] WARN: Current cron[gitlab-ci schedule builds]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/cron.rb:25:in
from_file’
init (upstart 1.6.1)
[2016-03-03T23:40:47+01:00] WARN: Selected upstart because /sbin/init --version is showing upstart.
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for directory[/var/opt/gitlab/gitlab-rails/etc] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous directory[/var/opt/gitlab/gitlab-rails/etc]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/gitlab-rails.rb:68:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current directory[/var/opt/gitlab/gitlab-rails/etc]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/unicorn_config.rb:21:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for service[unicorn] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous service[unicorn]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:86:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current service[unicorn]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for directory[/etc/sysctl.d] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current directory[/etc/sysctl.d]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:22:in
block in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-postgresql.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-postgresql.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-unicorn.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-unicorn.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/opt/gitlab/embedded/etc/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for file[/etc/sysctl.d/90-omnibus-gitlab.conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:inblock (2 levels) in from_file' [2016-03-03T23:40:47+01:00] WARN: Current file[/etc/sysctl.d/90-omnibus-gitlab.conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:45:in
block (2 levels) in from_file’
[2016-03-03T23:40:47+01:00] WARN: Cloning resource attributes for execute[load sysctl conf] from prior resource (CHEF-3694)
[2016-03-03T23:40:47+01:00] WARN: Previous execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:inblock in from_file' [2016-03-03T23:40:47+01:00] WARN: Current execute[load sysctl conf]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/definitions/sysctl.rb:52:in
block in from_file’
[2016-03-03T23:40:48+01:00] WARN: Cloning resource attributes for service[sidekiq] from prior resource (CHEF-3694)
[2016-03-03T23:40:48+01:00] WARN: Previous service[sidekiq]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:86:inblock in from_file' [2016-03-03T23:40:48+01:00] WARN: Current service[sidekiq]: /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:191:in
block in from_file’
Converging 264 resources -
directory[/etc/gitlab] action nothing (skipped due to action :nothing)
-
directory[/var/opt/gitlab] action create (up to date)
-
directory[/opt/gitlab/embedded/etc] action create (up to date)
-
template[/opt/gitlab/embedded/etc/gitconfig] action create (up to date)
Recipe: gitlab::web-server -
group[gitlab-www] action create (up to date)
-
user[gitlab-www] action create (up to date)
Recipe: gitlab::users -
directory[/var/opt/gitlab] action create (up to date)
-
group[git] action create (up to date)
-
user[git] action create (up to date)
-
template[/var/opt/gitlab/.gitconfig] action create (up to date)
Recipe: gitlab::gitlab-shell -
directory[/var/opt/gitlab/git-data/repositories] action create (up to date)
-
directory[/var/opt/gitlab/.ssh] action create (up to date)
-
file[/var/opt/gitlab/.ssh/authorized_keys] action create (up to date)
-
directory[/opt/gitlab/embedded/service/gitlab-shell/hooks/] action create
- change owner from ‘root’ to ‘git’
- change group from ‘root’ to ‘git’
-
file[/opt/gitlab/embedded/service/gitlab-shell/authorized_keys.lock] action create (up to date)
-
execute[chcon --recursive --type ssh_home_t /var/opt/gitlab/.ssh] action run (skipped due to only_if)
-
directory[/var/log/gitlab/gitlab-shell/] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-shell] action create (up to date)
-
directory[/var/opt/gitlab/git-data] action create (up to date)
-
template[/var/opt/gitlab/gitlab-shell/config.yml] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-shell/config.yml] action create (up to date)
-
template[/var/opt/gitlab/gitlab-shell/gitlab_shell_secret] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-shell/.gitlab_shell_secret] action create (up to date)
Recipe: gitlab::gitlab-rails -
directory[/var/log/gitlab] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/shared] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/etc] action create (up to date)
-
directory[/opt/gitlab/etc/gitlab-rails] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/working] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/tmp] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-ci/builds] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/shared/artifacts] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/shared/lfs-objects] action create (up to date)
-
directory[/var/log/gitlab/gitlab-rails] action create (up to date)
-
directory[/var/opt/gitlab/backups] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-ci] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/uploads] action create (up to date)
-
directory[/var/opt/gitlab/gitlab-rails/shared/pages] action create (up to date)
-
template[/opt/gitlab/etc/gitlab-rails/gitlab-rails-rc] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/config.ru] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config.ru] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/secret] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/.secret] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/database.yml] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/database.yml] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/secrets.yml] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/secrets.yml] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/resque.yml] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/resque.yml] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/aws.yml] action delete (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/aws.yml] action delete (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/smtp_settings.rb] action delete (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/smtp_settings.rb] action delete (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/gitlab.yml] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml] action create (up to date)
-
template[/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/config/initializers/rack_attack.rb] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/.gitlab_shell_secret] action create (up to date)
-
directory[/opt/gitlab/etc/gitlab-rails/env] action create (up to date)
-
file[/opt/gitlab/etc/gitlab-rails/env/HOME] action create (up to date)
-
file[/opt/gitlab/etc/gitlab-rails/env/RAILS_ENV] action create (up to date)
-
file[/opt/gitlab/etc/gitlab-rails/env/SIDEKIQ_MEMORY_KILLER_MAX_RSS] action create (up to date)
-
file[/opt/gitlab/etc/gitlab-rails/env/BUNDLE_GEMFILE] action create (up to date)
-
file[/opt/gitlab/etc/gitlab-rails/env/PATH] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/tmp] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/public/uploads] action create (up to date)
-
link[/opt/gitlab/embedded/service/gitlab-rails/log] action create (up to date)
-
link[/var/log/gitlab/gitlab-rails/sidekiq.log] action create (skipped due to not_if)
-
file[/opt/gitlab/embedded/service/gitlab-rails/db/schema.rb] action create (up to date)
-
remote_file[/var/opt/gitlab/gitlab-rails/VERSION] action create (up to date)
-
execute[chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public] action run
- execute chown -R root:root /opt/gitlab/embedded/service/gitlab-rails/public
-
execute[clear the gitlab-rails cache] action nothing (skipped due to action :nothing)
Recipe: gitlab::gitlab-ci_disable -
template[/var/opt/gitlab/nginx/conf/gitlab-ci-http.conf] action delete (up to date)
Recipe: gitlab::cron -
cron[gitlab-ci schedule builds] action delete (up to date)
-
cron[gitlab-ci schedule builds] action delete (up to date)
Recipe: gitlab::default -
service[unicorn] action nothing (skipped due to action :nothing)
-
service[ci-unicorn] action nothing (skipped due to action :nothing)
-
service[sidekiq] action nothing (skipped due to action :nothing)
-
service[ci-sidekiq] action nothing (skipped due to action :nothing)
Recipe: runit::upstart -
cookbook_file[/etc/init/gitlab-runsvdir.conf] action create (up to date)
-
execute[initctl reload-configuration] action run
================================================================================
Error executing actionrun
on resource ‘execute[initctl reload-configuration]’Mixlib::ShellOut::ShellCommandFailed
Expected process to exit with [0], but received ‘1’
---- Begin output of initctl reload-configuration ----
STDOUT:
STDERR: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
---- End output of initctl reload-configuration ----
Ran initctl reload-configuration returned 1Resource Declaration:
In /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/recipes/upstart.rb
29: execute “initctl reload-configuration” do
30: command “initctl reload-configuration”
31: end
32:Compiled Resource:
Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/recipes/upstart.rb:29:in `from_file’
execute(“initctl reload-configuration”) do
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :execute
command “initctl reload-configuration”
backup 5
returns 0
declared_type :execute
cookbook_name “runit”
recipe_name “upstart”
end
Running handlers:
[2016-03-03T23:40:48+01:00] ERROR: Running exception handlers
Running handlers complete
[2016-03-03T23:40:48+01:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 02 seconds
[2016-03-03T23:40:48+01:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
[2016-03-03T23:40:48+01:00] ERROR: execute[initctl reload-configuration] (runit::upstart line 29) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received ‘1’
---- Begin output of initctl reload-configuration ----
STDOUT:
STDERR: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
---- End output of initctl reload-configuration ----
Ran initctl reload-configuration returned 1
[2016-03-03T23:40:48+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)`
I can not run GitLab
sudo gitlab-ctl start fail: gitlab-workhorse: runsv not running fail: logrotate: runsv not running fail: nginx: runsv not running fail: postgresql: runsv not running fail: redis: runsv not running fail: sidekiq: runsv not running fail: unicorn: runsv not running
Cordialy