Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sia is not starting after a power failure when resizing a folder #77

Open
esaumell opened this issue Apr 18, 2022 · 0 comments
Open

sia is not starting after a power failure when resizing a folder #77

esaumell opened this issue Apr 18, 2022 · 0 comments

Comments

@esaumell
Copy link

sia is not starting. When I use siac -a localhost:10801 host I get:
Could not fetch host settings: [failed to get reader response; GET request failed; Get "http://localhost:10801/host": dial tcp 127.0.0.1:10801: connect: connection refused]

This happened after a power failure while resizing a folder with
siac host folder resize

To see whats going on the siad logs:
sudo tail -n 50 /root/.HandyHost/siaData/siad-output.log

siad v1.5.7
Git Revision ✗-6939e2464
Loading...
(1/8) Loading siad...
(2/8) Loading gateway...
(3/8) Loading consensus...
(4/8) Loading transaction pool...
(5/8) Loading wallet...
(6/8) Loading host...
ERROR: [server is unable to create the Sia node; unable to create host; [error during contract manager startup; error while loading the WAL at startup; failed to recover WAL: walFile metadata mismatch: WAL metadata header does not match header found in WAL file]; [error while loading the WAL at startup; failed to recover WAL: walFile metadata mismatch: WAL metadata header does not match header found in WAL file]]
[server is unable to create the Sia node; unable to create host; [error during contract manager startup; error while loading the WAL at startup; failed to recover WAL: walFile metadata mismatch: WAL metadata header does not match header found in WAL file]; [error while loading the WAL at startup; failed to recover WAL: walFile metadata mismatch: WAL metadata header does not match header found in WAL file]]

Since I could find nothing about WAL, walFile, metadata or mismatch on github issues I asked on Sia Discord.
There, someone pointed me that contractmanager.wal was corrupted. I just renamed it and siad it's up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant