hai guys…need help here…what the meaning line here…??
Unrecoverable error {“error”: “Error during preflight check for storagenode databases: preflight: database "heldamount": failed drop if test_table: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).preflight:422\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:360\n\tmain.cmdRun:241\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”, “errorVerbose”: “Error during preflight check for storagenode databases: preflight: database "heldamount": failed drop if test_table: database disk image is malformed\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).preflight:422\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:360\n\tmain.cmdRun:241\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75\n\tmain.cmdRun:243\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”}
bandwidth.db ok
heldamount.db ok
info.db ok
notifications.db ok
orders.db ok
pieceinfo.db ok
piece_expiration.db ok
piece_spaced_used.db ok
pricing.db ok
reputation.db ok
satellites.db ok
secret.db ok
storage_usage.db ok
used_serial.db ok
but i still got an error like this…
FATAL Unrecoverable error {“error”: “Error creating tables for master database on storagenode: migrate: v26: duplicate column name: trash\n\tstorj.io/storj/private/migrate.(*Migration).Run:209\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:354\n\tmain.cmdRun:226\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”, “errorVerbose”: “Error creating tables for master database on storagenode: migrate: v26: duplicate column name: trash\n\tstorj.io/storj/private/migrate.(*Migration).Run:209\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:354\n\tmain.cmdRun:226\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75\n\tmain.cmdRun:228\n\tstorj.io/private/process.cleanup.func1.4:377\n\tstorj.io/private/process.cleanup.func1:395\n\tgithub.com/spf13/cobra.(*Command).execute:852\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:960\n\tgithub.com/spf13/cobra.(*Command).Execute:897\n\tstorj.io/private/process.ExecWithCustomConfigAndLogger:92\n\tstorj.io/private/process.ExecWithCustomConfig:74\n\tstorj.io/private/process.Exec:64\n\tmain.(*service).Execute.func1:61\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75”}
If all the databases are showing ok that means there’s no corruption but some formatting isn’t correct. At this point I’d suggest moving all the databases to a different folder location and then starting the node. All databases will be recreated from scratch.
If you have time you can then stop the node and try swapping out different databases instead of the new ‘blank’ ones, then start the node and see if it runs. However running with the blank databases is fine, you will only lose all statistics about the node; as long as you still have all the data the node will rebuild and reindex the files.
ERROR piecestore:cache error getting current used space: {“error”: “CreateFile D:\storj\blobs\qstuylguhrn2ozjv4h2c6xpxykd622gtgurhql2k7k75wqaaaaaa\je\vicgkqlirkzjshbgmpjawfgzbv2c5u2zj5yz72kpjtf5kbap7q.sj1: The file or directory is corrupted and unreadable.; CreateFile D:\storj\blobs\ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa\23\cudwpqycid4htiete2idmcqjhry7nomc3v4ptt5qxcblucw2xq.sj1: The file or directory is corrupted and unreadable.; CreateFile D:\storj\blobs\v4weeab67sbgvnbwd5z7tweqsqqun7qox2agpbxy44mqqaaaaaaa\34\7vdr5jqfthepagzuyk7fyqnteeh6krfksepvek4x3yyoxnfvua.sj1: The file or directory is corrupted and unreadable.”, “errorVerbose”: “group:\n— CreateFile D:\storj\blobs\qstuylguhrn2ozjv4h2c6xpxykd622gtgurhql2k7k75wqaaaaaa\je\vicgkqlirkzjshbgmpjawfgzbv2c5u2zj5yz72kpjtf5kbap7q.sj1: The file or directory is corrupted and unreadable.\n— CreateFile D:\storj\blobs\ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa\23\cudwpqycid4htiete2idmcqjhry7nomc3v4ptt5qxcblucw2xq.sj1: The file or directory is corrupted and unreadable.\n— CreateFile D:\storj\blobs\v4weeab67sbgvnbwd5z7tweqsqqun7qox2agpbxy44mqqaaaaaaa\34\7vdr5jqfthepagzuyk7fyqnteeh6krfksepvek4x3yyoxnfvua.sj1: The file or directory is corrupted and unreadable.”}
after run a check disk, i still got same error like this…
ERROR piecestore:cache error getting current used space: {“error”: “CreateFile D:\storj\blobs\qstuylguhrn2ozjv4h2c6xpxykd622gtgurhql2k7k75wqaaaaaa\je\vicgkqlirkzjshbgmpjawfgzbv2c5u2zj5yz72kpjtf5kbap7q.sj1: The file or directory is corrupted and unreadable.; CreateFile D:\storj\blobs\ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa\23\cudwpqycid4htiete2idmcqjhry7nomc3v4ptt5qxcblucw2xq.sj1: The file or directory is corrupted and unreadable.; CreateFile D:\storj\blobs\v4weeab67sbgvnbwd5z7tweqsqqun7qox2agpbxy44mqqaaaaaaa\34\7vdr5jqfthepagzuyk7fyqnteeh6krfksepvek4x3yyoxnfvua.sj1: The file or directory is corrupted and unreadable.”, “errorVerbose”: “group:\n— CreateFile D:\storj\blobs\qstuylguhrn2ozjv4h2c6xpxykd622gtgurhql2k7k75wqaaaaaa\je\vicgkqlirkzjshbgmpjawfgzbv2c5u2zj5yz72kpjtf5kbap7q.sj1: The file or directory is corrupted and unreadable.\n— CreateFile D:\storj\blobs\ukfu6bhbboxilvt7jrwlqk7y2tapb5d2r2tsmj2sjxvw5qaaaaaa\23\cudwpqycid4htiete2idmcqjhry7nomc3v4ptt5qxcblucw2xq.sj1: The file or directory is corrupted and unreadable.\n— CreateFile D:\storj\blobs\v4weeab67sbgvnbwd5z7tweqsqqun7qox2agpbxy44mqqaaaaaaa\34\7vdr5jqfthepagzuyk7fyqnteeh6krfksepvek4x3yyoxnfvua.sj1: The file or directory is corrupted and unreadable.”}