Hello,
I’ve got an error when installing GitLab CE. Everything look going well and suddenly the terminal trow an error saying:
There was an error running gitlab-ctl reconfigure:
ruby_block[authorize Grafana with GitLab] (monitoring::grafana line 101) had an error: Mixlib::ShellOut::CommandTimeout: Command timed out after 600s:
Command exceeded allowed execution time, process terminated
---- Begin output of /opt/gitlab/bin/gitlab-rails runner -e production ‘app = Doorkeeper::Application.where(redirect_uri: “http://gitlab.zsites.ca/-/grafana/login/gitlab”, name: “GitLab Grafana”).first_or_create;puts app.uid.concat(" ").concat(app.secret);’ ----
STDOUT:
STDERR:
---- End output of /opt/gitlab/bin/gitlab-rails runner -e production ‘app = Doorkeeper::Application.where(redirect_uri: “http://gitlab.zsites.ca/-/grafana/login/gitlab”, name: “GitLab Grafana”).first_or_create;puts app.uid.concat(" ").concat(app.secret);’ ----
Ran /opt/gitlab/bin/gitlab-rails runner -e production ‘app = Doorkeeper::Application.where(redirect_uri: “http://gitlab.zsites.ca/-/grafana/login/gitlab”, name: “GitLab Grafana”).first_or_create;puts app.uid.concat(" ").concat(app.secret);’ returned
Then the installation continue and end by an:
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
Error: Timeout was reached
E: Sub-process /usr/bin/dpkg returned an error code (1)
How to fix it?
The version that I’m trying to install is the latest one using the Official Linux package install method.
I’m trying to installing GitLab on VM running Ubuntu Server x64 20.04 LTS.
Thank-you in advance for help!
Guillaume