Try to do:
- Stop the storagenode
- Rename the
piece_spaced_used.db
- Execute with
sqlite3
:
sqlite3 F:\StorjShareV3\piece_spaced_used.db
When you see a sqlite>
prompt, execute script:
CREATE TABLE versions (version int, commited_at text);
CREATE TABLE piece_space_used (
total INTEGER NOT NULL DEFAULT 0,
content_size INTEGER NOT NULL,
satellite_id BLOB
);
CREATE UNIQUE INDEX idx_piece_space_used_satellite_id ON piece_space_used(satellite_id);
.exit
- Start the storagenode
- Check logs
- Check the dashboard