Please help me to recover Prometheus DB (Gitlab-ce omnibus)

I am running gitlab-ce-10.3.5-ce.0.el7.x86_64 on CentOS 7

I get the following error in /var/log/gitlab/prometheus/current every second

2018-01-24_11:04:21.41821 time=“2018-01-24T11:04:21Z” level=info msg=“Starting prometheus (version=, branch=, revision=)” source=“main.go:87”
2018-01-24_11:04:21.41823 time=“2018-01-24T11:04:21Z” level=info msg=“Build context (go=go1.8.1, user=, date=)” source=“main.go:88”
2018-01-24_11:04:21.41823 time=“2018-01-24T11:04:21Z” level=info msg=“Host details (Linux 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64 glab-live (none))” source=“main.go:89”
2018-01-24_11:04:21.42195 time=“2018-01-24T11:04:21Z” level=info msg=“Loading configuration file /var/opt/gitlab/prometheus/prometheus.yml” source=“main.go:254”
2018-01-24_11:04:21.42196 time=“2018-01-24T11:04:21Z” level=info msg=“Listening on localhost:9090” source=“web.go:341”
2018-01-24_11:04:21.42381 time=“2018-01-24T11:04:21Z” level=error msg=“Could not open the fingerprint-to-metric index for archived series. Please try a 3rd party tool to repair LevelDB in directory “/var/opt/gitlab/prometheus/data/archived_fingerprint_to_metric”. If unsuccessful or undesired, delete the whole directory and restart Prometheus for crash recovery. You will lose all archived time series.” source=“persistence.go:213”
2018-01-24_11:04:21.42398 time=“2018-01-24T11:04:21Z” level=error msg=“Error opening memory series storage: leveldb/storage: corrupted or incomplete meta file” source=“main.go:192”

2018-01-24_11:04:22.50321 time=“2018-01-24T11:04:22Z” level=info msg=“Starting prometheus (version=, branch=, revision=)” source=“main.go:87”
2018-01-24_11:04:22.50324 time=“2018-01-24T11:04:22Z” level=info msg=“Build context (go=go1.8.1, user=, date=)” source=“main.go:88”
2018-01-24_11:04:22.50324 time=“2018-01-24T11:04:22Z” level=info msg=“Host details (Linux 3.10.0-693.11.6.el7.x86_64 #1 SMP Thu Jan 4 01:06:37 UTC 2018 x86_64 glab-live (none))” source=“main.go:89”
2018-01-24_11:04:22.50826 time=“2018-01-24T11:04:22Z” level=info msg=“Loading configuration file /var/opt/gitlab/prometheus/prometheus.yml” source=“main.go:254”
2018-01-24_11:04:22.50827 time=“2018-01-24T11:04:22Z” level=info msg=“Listening on localhost:9090” source=“web.go:341”
2018-01-24_11:04:22.50949 time=“2018-01-24T11:04:22Z” level=error msg=“Could not open the fingerprint-to-metric index for archived series. Please try a 3rd party tool to repair LevelDB in directory “/var/opt/gitlab/prometheus/data/archived_fingerprint_to_metric”. If unsuccessful or undesired, delete the whole directory and restart Prometheus for crash recovery. You will lose all archived time series.” source=“persistence.go:213”
2018-01-24_11:04:22.50951 time=“2018-01-24T11:04:22Z” level=error msg=“Error opening memory series storage: leveldb/storage: corrupted or incomplete meta file” source=“main.go:192”

I found that LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values and GitLab offers powerful integration with Prometheus for monitoring your apps. Metrics are retrieved from the configured Prometheus server, and then displayed within the GitLab interface.

I tried to follow https://gitlab.com/gitlab-org/gitlab-ce/issues/37092 but got the error below

[root@mybox ~]# sudo -u gitlab-prometheus python -c “import leveldb; leveldb.RepairDB(’/var/opt/gitlab/prometheus/data/archived_fingerprint_to_metric’)”
Traceback (most recent call last):
File “”, line 1, in
ImportError: No module named leveldb
[root@mybox ~]#

I then followed https://github.com/google/leveldb/issues/433 but that didn’t fix ImportError: No module named leveldb