Go-ipfs: Error: leveldb/storage: corrupted or incomplete meta file

Created on 27 Aug 2018  路  7Comments  路  Source: ipfs/go-ipfs

version

go-ipfs version: 0.4.17

repo version: 7

System version: 386/windows

Golang version: go1. 10.3

Description

After two weeks, my ipfs is present this error when I try started.

Error: leveldb/storage: corrupted or incomplete meta file.

How can I fixed?

Tks

kinbug kinquestion statuduplicate

Most helpful comment

Alternatively, try building/installing the latest master. We now automatically recover corrupted leveldb databases.

All 7 comments

I haven't done that on windows, but can you try something like this (after installing python/pip):

> pip install leveldb
(cd into the .ipfs directory in your home dir)
> python
>>> import leveldb
>>> leveldb.RepairDB('./datastore')
>>> exit()

Alternatively, try building/installing the latest master. We now automatically recover corrupted leveldb databases.

Duplicate of: #4981

Are there a solution for Windows? Just try building/installing from master?

Tks

That or the python method (that should also work on windows but requires python).

You can get binaries from ci - https://ci.ipfs.team/job/IPFS/job/go-ipfs/job/master/ (for windows you'll need to rename ipfs to ipfs.exe)

I deleted the files and just started again the daemon. It's work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whyrusleeping picture whyrusleeping  路  4Comments

amiyatulu picture amiyatulu  路  3Comments

jonchoi picture jonchoi  路  3Comments

ArcticLampyrid picture ArcticLampyrid  路  3Comments

Kubuxu picture Kubuxu  路  3Comments