I can confirm the path in the config file:
# path to store data in
storage.path: D:\storj\storage\
The error that appears in the log is that the Schema is incorrect in my DB. How do I update it to the new version? Or does it need a repair?
This is the log file when I changed it to debug.
2020-02-01T01:20:25.547-0500 INFO Configuration loaded from: C:\Program Files\Storj\Storage Node\config.yaml
2020-02-01T01:20:25.551-0500 DEBUG debug server listening on 127.0.0.1:52062
2020-02-01T01:20:25.580-0500 INFO Operator email: mail@mail.com
2020-02-01T01:20:25.581-0500 INFO operator wallet: xxx
2020-02-01T01:20:25.610-0500 DEBUG Binary Version: v0.31.12 with CommitHash 8214de0e7ee6c55846e6f6a33e1309fc27c183c6, built at 2020-01-30 13:27:58 -0500 EST as Release true
2020-02-01T01:20:25.858-0500 DEBUG version allowed minimum version from control server is: v0.30.0
2020-02-01T01:20:25.858-0500 INFO version running on version v0.31.12
2020-02-01T01:20:25.859-0500 DEBUG telemetry Initialized batcher with id = “128oPJnQ5ZL6gZpeSjyC1yDUrBG7qxPYYMTGYzk2DnX8Dczq2Y4”
2020-02-01T01:20:54.515-0500 INFO db.migration Database Version {“version”: 31}
2020-02-01T01:20:57.415-0500 DEBUG Unrecoverable error {“error”: “Error during preflight check for storagenode databases: storage node preflight database error: orders: expected schema does not match actual: &dbschema.Schema{\n \tTables: *dbschema.Table{&{Name: “order_archive_”, Columns: *dbschema.Column{&{Name: “archived_at”, Type: “TIMESTAMP”}, &{Name: “order_limit_serialized”, Type: “BLOB”}, &{Name: “order_serialized”, Type: “BLOB”}, &{Name: “satellite_id”, Type: “BLOB”}, &{Name: “serial_number”, Type: “BLOB”}, &{Name: “status”, Type: “INTEGER”}, &{Name: “uplink_cert_id”, Type: “INTEGER”, Reference: &dbschema.Reference{Table: “certificate”, Column: “cert_id”}}}}, &{Name: “unsent_order”, Columns: *dbschema.Column{&{Name: “order_limit_expiration”, Type: “TIMESTAMP”}, &{Name: “order_limit_serialized”, Type: “BLOB”}, &{Name: “order_serialized”, Type: “BLOB”}, &{Name: “satellite_id”, Type: “BLOB”}, &{Name: “serial_number”, Type: “BLOB”}, &{Name: “uplink_cert_id”, Type: “INTEGER”, Reference: &dbschema.Reference{Table: “certificate”, Column: “cert_id”}}}}},\n \tIndexes: *dbschema.Index{\n \t\t&{Name: “idx_order_archived_at”, Table: “order_archive_”, Columns: string{“archived_at”}},\n- \t\t&{\n- \t\t\tName: “idx_orders”,\n- \t\t\tTable: “unsent_order”,\n- \t\t\tColumns: string{“satellite_id”, “serial_number”},\n- \t\t},\n \t},\n }\n\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:317\n\tmain.cmdRun:196\n\tstorj.io/storj/pkg/process.cleanup.func1.2:299\n\tstorj.io/storj/pkg/process.cleanup.func1:317\n\tgithub.com/spf13/cobra.(*Command).execute:826\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:914\n\tgithub.com/spf13/cobra.(*Command).Execute:864\n\tstorj.io/storj/pkg/process.ExecWithCustomConfig:79\n\tstorj.io/storj/pkg/process.Exec:61\n\tmain.(*service).Execute.func1:66\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”, “errorVerbose”: “Error during preflight check for storagenode databases: storage node preflight database error: orders: expected schema does not match actual: &dbschema.Schema{\n \tTables: *dbschema.Table{&{Name: “order_archive_”, Columns: *dbschema.Column{&{Name: “archived_at”, Type: “TIMESTAMP”}, &{Name: “order_limit_serialized”, Type: “BLOB”}, &{Name: “order_serialized”, Type: “BLOB”}, &{Name: “satellite_id”, Type: “BLOB”}, &{Name: “serial_number”, Type: “BLOB”}, &{Name: “status”, Type: “INTEGER”}, &{Name: “uplink_cert_id”, Type: “INTEGER”, Reference: &dbschema.Reference{Table: “certificate”, Column: “cert_id”}}}}, &{Name: “unsent_order”, Columns: *dbschema.Column{&{Name: “order_limit_expiration”, Type: “TIMESTAMP”}, &{Name: “order_limit_serialized”, Type: “BLOB”}, &{Name: “order_serialized”, Type: “BLOB”}, &{Name: “satellite_id”, Type: “BLOB”}, &{Name: “serial_number”, Type: “BLOB”}, &{Name: “uplink_cert_id”, Type: “INTEGER”, Reference: &dbschema.Reference{Table: “certificate”, Column: “cert_id”}}}}},\n \tIndexes: *dbschema.Index{\n \t\t&{Name: “idx_order_archived_at”, Table: “order_archive_”, Columns: string{“archived_at”}},\n- \t\t&{\n- \t\t\tName: “idx_orders”,\n- \t\t\tTable: “unsent_order”,\n- \t\t\tColumns: string{“satellite_id”, “serial_number”},\n- \t\t},\n \t},\n }\n\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).Preflight:317\n\tmain.cmdRun:196\n\tstorj.io/storj/pkg/process.cleanup.func1.2:299\n\tstorj.io/storj/pkg/process.cleanup.func1:317\n\tgithub.com/spf13/cobra.(*Command).execute:826\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:914\n\tgithub.com/spf13/cobra.(*Command).Execute:864\n\tstorj.io/storj/pkg/process.ExecWithCustomConfig:79\n\tstorj.io/storj/pkg/process.Exec:61\n\tmain.(*service).Execute.func1:66\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57\n\tmain.cmdRun:198\n\tstorj.io/storj/pkg/process.cleanup.func1.2:299\n\tstorj.io/storj/pkg/process.cleanup.func1:317\n\tgithub.com/spf13/cobra.(*Command).execute:826\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:914\n\tgithub.com/spf13/cobra.(*Command).Execute:864\n\tstorj.io/storj/pkg/process.ExecWithCustomConfig:79\n\tstorj.io/storj/pkg/process.Exec:61\n\tmain.(*service).Execute.func1:66\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}