GitLab Grafana service force disabled

Locked
User avatar
Mihai Romania
Posts: 60
Joined: 2023 May 03, 14:12
Location: ROMANIA
Contact:

GitLab Grafana service force disabled

Post by Mihai »

  • For installed gitlab omnibus
Edit file default.rb from the gitlab installation path ( example: /opt/gitlab/...... ):

Code: Select all

vim /opt/gitlab/embedded/cookbooks/monitoring/recipes/default.rb
Add the following code in the file:

Code: Select all

# Disable Grafana service.
runit_service 'grafana' do
  action :disable
end
Save file content and exit.
Execute gitlab stop all services:

Code: Select all

gitlab-ctl stop
Execute gitlab reconfigure:

Code: Select all

gitlab-ctl reconfigure
Execute gitlab start all services:

Code: Select all

gitlab-ctl start
Check if grafana service is running:

Code: Select all

gitlab-ctl status
I'm on LinkedIn
Locked