Failed to update from 12.8.6 to 12.8.7: Checking PostgreSQL executables:Traceback
Summary
Getting error while upgrading:-
Checking PostgreSQL executables:Traceback (most recent call last):
11: from /opt/gitlab/embedded/bin/omnibus-ctl:23:in `<main>'
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 `<top (required)>'
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:43:in `block in load_file'
5: from /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl/util.rb:122:in `progress_message'
4: from /opt/gitlab/embedded/service/omnibus-ctl/upgrade.rb:45: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-3.0.9/lib/mixlib/shellout.rb:270:in `run_command'
/opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/mixlib-shellout-3.0.9/lib/mixlib/shellout/unix.rb:128: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: Starting Chef Client, version 14.14.29
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-ce (--configure):
installed gitlab-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
gitlab-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)
Steps to reproduce
sudo apt-get update && sudo apt-get install gitlab-ce I've even tried to stop gitlab(gitlab-ctl stop) before installing the update but that also didn't work.
What is the current bug behavior?
It doesn't get fully installed.