gitlab reconfigure on installation fails
Summary
gitlab-ctl reconfigure fails on initial reconfigure after installation. This time at restarting gitlab-monitor. Several times before on different services. Additionaly there seems to be an issue with PostgreSQL.
Steps to reproduce
Clean Ubuntu 18.04 LTS on VM. Follow instructions on gitlab.com. Error happens on reconfigure after installation.
What is the current bug behavior?
Reconfigure fails.
What is the expected correct behavior?
Gitlab reconfigure success.
Relevant logs
Relevant logs
================================================================================ Error executing action `restart` on resource 'service[gitlab-monitor]' ================================================================================Mixlib::ShellOut::ShellCommandFailed ------------------------------------ Expected process to exit with [0], but received '1' ---- Begin output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-monitor ---- STDOUT: timeout: run: /opt/gitlab/service/gitlab-monitor: (pid 13595) 164s, got TERM STDERR: ---- End output of /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-monitor ---- Ran /opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-monitor returned 1 Resource Declaration: --------------------- # In /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb 227: service params[:name] do 228: control_cmd = node[:runit][:sv_bin] 229: if params[:owner] 230: control_cmd = "#{node[:runit][:chpst_bin]} -u #{params[:owner]} #{control_cmd}" 231: end 232: provider Chef::Provider::Service::Simple Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/definitions/runit_service.rb:227:in `block in from_file' service("gitlab-monitor") do params {:directory=>"/opt/gitlab/sv", :only_if=>false, :finish_script=>false, :control=>[], :run_restart=>true, :active_directory=>"/opt/gitlab/service", :init_script_template=>nil, :owner=>"root", :group=>"root", :template_name=>"gitlab-monitor", :start_command=>"start", :stop_command=>"stop", :restart_command=>"restart", :status_command=>"status", :options=>{:log_directory=>"/var/log/gitlab/gitlab-monitor", :directory=>nil, :only_if=>false, :finish_script=>false, :control=>[], :run_restart=>true, :active_directory=>nil, :init_script_template=>nil, :owner=>"root", :group=>"root", :template_name=>nil, :start_command=>"start", :stop_command=>"stop", :restart_command=>"restart", :status_command=>"status", :options=>{}, :log_options=>{}, :env=>{}, :action=>:enable, :down=>false, :supervisor_owner=>nil, :supervisor_group=>nil}, :log_options=>{"svlogd_size"=>209715200, "svlogd_num"=>30, "svlogd_timeout"=>86400, "svlogd_filter"=>"gzip", "svlogd_udp"=>nil, "svlogd_prefix"=>nil, "udp_log_shipping_host"=>nil, "udp_log_shipping_hostname"=>nil, "udp_log_shipping_port"=>514, "logrotate_frequency"=>"daily", "logrotate_size"=>nil, "logrotate_rotate"=>30, "logrotate_compress"=>"compress", "logrotate_method"=>"copytruncate", "logrotate_postrotate"=>nil, "logrotate_dateformat"=>nil, "enable"=>true, "log_directory"=>"/var/log/gitlab/gitlab-monitor", "home"=>"/var/opt/gitlab/gitlab-monitor", "listen_address"=>"localhost", "listen_port"=>"9168"}, :env=>{}, :action=>:enable, :down=>false, :supervisor_owner=>nil, :supervisor_group=>nil, :name=>"gitlab-monitor"} provider Chef::Provider::Service::Simple action [:nothing] default_guard_interpreter :default service_name "gitlab-monitor" enabled nil running nil masked nil pattern "gitlab-monitor" start_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv start /opt/gitlab/service/gitlab-monitor" stop_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv stop /opt/gitlab/service/gitlab-monitor" status_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv status /opt/gitlab/service/gitlab-monitor" restart_command "/opt/gitlab/embedded/bin/chpst -u root /opt/gitlab/embedded/bin/sv restart /opt/gitlab/service/gitlab-monitor" declared_type :service cookbook_name "gitlab" recipe_name "gitlab-monitor" supports {:restart=>true, :status=>true} end System Info: ------------ chef_version=13.6.4 platform=ubuntu platform_version=18.04 ruby=ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/opt/gitlab/embedded/bin/chef-client
Details of package version
Provide the package version installation details
Gitlab-Ce Omnibus
Environment details
- Operating System: Ubuntu 18.04.1 LTS
- Installation Target, remove incorrect values:
- VM: STRATO v-Server
- Installation Type:
- new installation
- Is there any other software running on the machine: no
- Is this a single or multiple node installation?
- Resources
- CPU:
8 vCored
- Memory total:
16GB
- CPU:
Configuration details
Provide the relevant sections of `/etc/gitlab/gitlab.rb`
Only change in gitlab.rb is EXTERNAL_URL