Windows
-
Browse to the directory electroneumd is located.
-
Open a new command prompt. This is done by first making sure your cursor isn’t located on any of the files and subsequently doing SHIFT + right click. It will give you an option to “Open command window here”. If you’re using Windows 10, it’ll likely give you an option to open the Powershell.
-
Now type
electroneumd.exe --db-salvage
-
If you’re using the Powershell, type
.\electroneumd --db-salvage
-
If that doesn’t work, type
./electroneumd.exe --db-salvage
If that doesn’t work you, unfortunately, have to resync from scratch. This is done by deleting data.mdb from C:\ProgramData\electroneum\lmdb, which will trigger the resync upon launching electroneumd.
Note that C:\ProgramData\electroneum\lmdb is a hidden directory. Thus, you have to manually use the explorer to navigate to it.
Linux and Mac OS X
-
Browse to the directory electroneumd is located.
-
Open a new terminal.
-
Now type
./electroneum --db-salvage
If that doesn’t work you, unfortunately, have to resync from scratch. This is done by deleting data.mdb from ~/.electroneum, which will trigger the resync upon launching electroneumd.
Note that ~/.electroneum is, by default, a hidden directory. On Mac OS X you can typically use cmd+shift+. to unhide directories, whereas on Linux you can typically use ctrl+H to unhide directories.