apt upgrade to gitlab-ee 12.0.0-ee.0 failed
Summary
upgrade to gitlab-ee 12.0.0-ee.0 failed
Steps to reproduce
apt-get upgrade
Example Project
What is the current bug behavior?
Upgrade failed
What is the expected correct behavior?
Upgrade successful
Relevant logs and/or screenshots
Setting up gitlab-ee (12.0.0-ee.0) ... Checking PostgreSQL executables:Traceback (most recent call last): 11: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `' 10: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `load' 9: from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/omnibus-ctl-0.6.0/bin/omnibus-ctl:31:in `' 8: from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:746:in `run' 7: from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/omnibus-ctl-0.6.0/lib/omnibus-ctl.rb:197:in `block in add_command' 6: from /opt/gitlab/embedded/service/omnibus-ctl/upgrade.rb:36:in `block in load_file' 5: from /opt/gitlab/embedded/service/omnibus-ctl/pg-upgrade.rb:396:in `progress_message' 4: from /opt/gitlab/embedded/service/omnibus-ctl/upgrade.rb:38:in `block (2 levels) in load_file' 3: from /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl/util.rb:100:in `chef_run' 2: from /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl/util.rb:34:in `run_command' 1: from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout.rb:267:in `run_command' /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout/unix.rb:126:in `run_command': Command timed out after 600s: (Mixlib::ShellOut::CommandTimeout) Command exceeded allowed execution time, process terminated ---- Begin output of /opt/gitlab/embedded/bin/chef-client -z -c /opt/gitlab/embedded/cookbooks/solo.rb -j /opt/gitlab/embedded/cookbooks/postgresql-bin.json ---- STDOUT: STDERR: ---- End output of /opt/gitlab/embedded/bin/chef-client -z -c /opt/gitlab/embedded/cookbooks/solo.rb -j /opt/gitlab/embedded/cookbooks/postgresql-bin.json ---- Ran /opt/gitlab/embedded/bin/chef-client -z -c /opt/gitlab/embedded/cookbooks/solo.rb -j /opt/gitlab/embedded/cookbooks/postgresql-bin.json returned dpkg: error processing package gitlab-ee (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: gitlab-ee E: Sub-process /usr/bin/dpkg returned an error code (1)
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Debian 8.11 Proxy: no Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.21.0 Sidekiq Version:5.2.7 Go Version: unknownGitLab information Version: 12.0.0-ee Revision: 3b13818e833 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 9.6.11 URL: xxx HTTP Clone URL: xxx SSH Clone URL: xxx Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers:
GitLab Shell Version: 9.3.0
Repository storage paths:
default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Possible fixes
Edited by a