Hi, after updating my node it’s constantly bombing out and restarting. Here are the logs:
2022-03-01T01:53:36.241Z INFO Configuration loaded {"Location": "/app/config/config.yaml"}
2022-03-01T01:53:36.249Z INFO Operator email {"Address": "zach@mydomain.com"}
2022-03-01T01:53:36.249Z INFO Operator wallet {"Address": "[REDACTED]"}
2022-03-01T01:53:36.494Z INFO Telemetry enabled
2022-03-01T01:53:36.596Z INFO db.migration Database Version {"version": 39}
Error: Error during preflight check for storagenode databases: storage node preflight database error: used_serial: expected schema does not match actual: &dbschema.Schema{
- Tables: []*dbschema.Table{
- s"Name: used_serial_\nColumns:\n\tName: expiration\n\tType: TIMESTAMP\n\tNullable: false\n\tDefault: \"\"\n\tReference: nil\n\tName: satellite_id\n\tType: BLOB\n\tNullable: false\n\tDefault: \"\"\n\tReference: nil\n\tName: serial_number\n\tType: BLOB\n\tNullable: false\n\tDefault: \"\"\n\tReference: nil\nPrimaryKey: \nUniques:\n\t",
- },
+ Tables: nil,
- Indexes: []*dbschema.Index{
- s`Index<Table: used_serial_, Name: idx_used_serial_, Columns: expiration, Unique: false, Partial: "">`,
- s`Index<Table: used_serial_, Name: pk_used_serial_, Columns: satellite_id serial_number, Unique: false, Partial: "">`,
- },
+ Indexes: nil,
}
storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:323
main.cmdRun:190
storj.io/private/process.cleanup.func1.4:359
storj.io/private/process.cleanup.func1:377
github.com/spf13/cobra.(*Command).execute:840
github.com/spf13/cobra.(*Command).ExecuteC:945
github.com/spf13/cobra.(*Command).Execute:885
storj.io/private/process.ExecWithCustomConfig:88
storj.io/private/process.ExecCustomDebug:70
main.main:320
runtime.main:203
2022-03-01T01:54:38.832Z INFO Configuration loaded {"Location": "/app/config/config.yaml"}
2022-03-01T01:54:38.838Z INFO Operator email {"Address": "zach@mydomain.com"}
2022-03-01T01:54:38.839Z INFO Operator wallet {"Address": "[REDACTED]"}
2022-03-01T01:54:39.028Z INFO Telemetry enabled
2022-03-01T01:54:39.118Z INFO db.migration Database Version {"version": 39}
Error: Error during preflight check for storagenode databases: storage node preflight database error: used_serial: expected schema does not match actual: &dbschema.Schema{
- Tables: []*dbschema.Table{
- s"Name: used_serial_\nColumns:\n\tName: expiration\n\tType: TIMESTAMP\n\tNullable: false\n\tDefault: \"\"\n\tReference: nil\n\tName: satellite_id\n\tType: BLOB\n\tNullable: false\n\tDefault: \"\"\n\tReference: nil\n\tName: serial_number\n\tType: BLOB\n\tNullable: false\n\tDefault: \"\"\n\tReference: nil\nPrimaryKey: \nUniques:\n\t",
- },
+ Tables: nil,
- Indexes: []*dbschema.Index{
- s`Index<Table: used_serial_, Name: idx_used_serial_, Columns: expiration, Unique: false, Partial: "">`,
- s`Index<Table: used_serial_, Name: pk_used_serial_, Columns: satellite_id serial_number, Unique: false, Partial: "">`,
- },
+ Indexes: nil,
}
storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:323
main.cmdRun:190
storj.io/private/process.cleanup.func1.4:359
storj.io/private/process.cleanup.func1:377
github.com/spf13/cobra.(*Command).execute:840
github.com/spf13/cobra.(*Command).ExecuteC:945
github.com/spf13/cobra.(*Command).Execute:885
storj.io/private/process.ExecWithCustomConfig:88
storj.io/private/process.ExecCustomDebug:70
main.main:320
runtime.main:203
I saw some other people who had similar problems with their serials_used.db, but I can’t find that file. Is it in the running docker container? If so, I don’t know how to connect to the container interactively to delete it. It doesn’t stay up long enough for me to connect.
Anyone have any ideas how to fix?
Thanks,
Zach