Skip to content

puma config prevents gitlab-monitor from running

2020-02-21_00:02:24.39645 /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/rack/handler/puma.rb:90:in `[]': wrong number of arguments (given 2, expected 1) (ArgumentError)
2020-02-21_00:02:24.39648 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/rack/handler/puma.rb:90:in `set_host_port_to_config'
2020-02-21_00:02:24.39648 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/rack/handler/puma.rb:49:in `block in config'
2020-02-21_00:02:24.39649 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/configuration.rb:146:in `configure'
2020-02-21_00:02:24.39649 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/puma/configuration.rb:139:in `initialize'
2020-02-21_00:02:24.39651 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/rack/handler/puma.rb:30:in `new'
2020-02-21_00:02:24.39652 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/rack/handler/puma.rb:30:in `config'
2020-02-21_00:02:24.39652 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/puma-3.12.0/lib/rack/handler/puma.rb:62:in `run'
2020-02-21_00:02:24.39652 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1526:in `start_server'
2020-02-21_00:02:24.39653 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1460:in `run!'
2020-02-21_00:02:24.39653 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/gitlab-exporter-5.0.0/lib/gitlab_exporter/cli.rb:191:in `run'
2020-02-21_00:02:24.39654 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/gitlab-exporter-5.0.0/bin/gitlab-exporter:11:in `main'
2020-02-21_00:02:24.39654 	from /opt/gitlab/embedded/lib/ruby/gems/2.6.0/gems/gitlab-exporter-5.0.0/bin/gitlab-exporter:17:in `<top (required)>'
2020-02-21_00:02:24.39655 	from /opt/gitlab/embedded/bin/gitlab-exporter:23:in `load'
2020-02-21_00:02:24.39655 	from /opt/gitlab/embedded/bin/gitlab-exporter:23:in `<main>'

we do not have puma enabled

Gitlab version 12.4.7-ee

Edited by Stan Hu