Gitlab submission time error fixes

gitlab-ctl status

  

  gitlab submission time error, obviously recently modified the code at the time of submission page shows 19 years ago

  View profile

/etc/gitlab/gitlab.rb

  Time zone settings are correct, say even the time zone difference error should be 8 hours

gitlab_rails['time_zone'] = 'Asia/Shanghai'

  View gitlab status of other services normally only prometheus dang

  View Log

tail -f /var/log/gitlab/prometheus/current

  Given as follows

2019-07-24_03:11:06.07552 time="2019-07-24T11:11:06+08:00" level=error msg="Error opening memory series storage: found existing files in storage path that do not look like storage files compatible with this version of Prometheus; please delete the files in the storage path or choose a different storage path" source="main.go:192"

  When prompted, remove the data folder

/var/opt/gitlab/prometheus/data

  Then you can restart gitlab will regenerate the data folder

gitlab-ctl restart

  Check the service status of each run are normal

 

Guess you like

Origin www.cnblogs.com/minseo/p/11236956.html