Everything finished up this morning and I ran integrity checks on all of the databases as follows:
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\pieceinfo.db,destination=/pieceinfo.db sstc/sqlite3 sqlite3 /pieceinfo.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\info.db,destination=/info.db sstc/sqlite3 sqlite3 /info.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\piece_spaced_used.db,destination=/piece_spaced_used.db sstc/sqlite3 sqlite3 /piece_spaced_used.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\reputation.db,destination=/reputation.db sstc/sqlite3 sqlite3 /reputation.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\storage_usage.db,destination=/storage_usage.db sstc/sqlite3 sqlite3 /storage_usage.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\piece_expiration.db,destination=/piece_expiration.db sstc/sqlite3 sqlite3 /piece_expiration.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\orders.db,destination=/orders.db sstc/sqlite3 sqlite3 /orders.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\satellites.db,destination=/satellites.db sstc/sqlite3 sqlite3 /satellites.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\notifications.db,destination=/notifications.db sstc/sqlite3 sqlite3 /notifications.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\bandwidth.db,destination=/bandwidth.db sstc/sqlite3 sqlite3 /bandwidth.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\used_serial.db,destination=/used_serial.db sstc/sqlite3 sqlite3 /used_serial.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\info.rebuild.db,destination=/info.rebuild.db sstc/sqlite3 sqlite3 /info.rebuild.db “PRAGMA integrity_check;”
ok
C:\Users\darren.mitchell\Desktop>docker run --rm -it --mount type=bind,source=d:\data\storage\piecestore.db,destination=/piecestore.db sstc/sqlite3 sqlite3 /piecestore.db “PRAGMA integrity_check;”
ok
…but, I found this madness from the rebuild of the orders.db this morning:
PS C:\Windows\system32> docker run --rm -it --mount type=bind,source=d:\data\storage,destination=/storage sstc/sqlite3 sh
/data # sqlite3 /storage/orders.db
SQLite version 3.28.0 2019-04-16 19:49:53
Enter “.help” for usage hints.
sqlite> .mode insert
sqlite> .output /storage/dump_all.sql
sqlite> .dump
sqlite> .exit
/data # cat /storage/dump_all.sql | grep -v TRANSACTION | grep -v ROLLBACK >/storage/dump_all_notrans.sql
/data # rm /storage/orders.db
/data # sqlite3 /storage/orders.db “.read /storage/dump_all_notrans.sql”
Error: near line 110519: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110520: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110521: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110522: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110523: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110524: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110525: NOT NULL constraint failed: order_archive_.archived_at
Error: near line 110526: NOT NULL constraint failed: order_archive_.archived_at
/data # exit
I tried to start the storagenode. It gets in this endless cycle of attempting to restart itself.
Conclusion: the original problem has not changed.