NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 442 forks source link

error while loading the WAL at startup: failed to recover WAL: walFile metadata mismatch #3192

Open akosmaroy opened 5 years ago

akosmaroy commented 5 years ago

BUG REPORT

Stack Trace or error message

$ ./siad -M gctwrh Sia Daemon v1.3.1 Loading... (0/6) Loading siad... (1/6) Loading gateway... (2/6) Loading consensus... (3/6) Loading transaction pool... (4/6) Loading wallet... (5/6) Loading host... error while loading the WAL at startup: failed to recover WAL: walFile metadata mismatch: error reading WAL metadata: json: cannot unmarshal string into Go value of type persist.Metadata

Expected Behavior

siad should start without an error message

How to reproduce it (as minimally and precisely as possible)

./siad -M gctwrh

Environment