Today I realized that my node is down. I don’t know how long it was offline, but I didn’t receive any letters. Hope I haven’t been disqualified
sudo docker logs storagenode
2020-10-27T18:31:42.376Z INFO Configuration loaded {"Location": "/app/config/config.yaml"}
2020-10-27T18:31:42.407Z INFO Operator email {"Address": ""}
2020-10-27T18:31:42.407Z INFO Operator wallet {"Address": ""}
2020-10-27T18:31:45.656Z INFO Telemetry enabled
2020-10-27T18:31:45.679Z INFO db.migration Database Version {"version": 45}
Error: Error during preflight check for storagenode databases: preflight: database "bandwidth": expected schema does not match actual: &dbschema.Schema{
Tables: []*dbschema.Table{
&{Name: "bandwidth_usage", Columns: {&{Name: "action", Type: "INTEGER"}, &{Name: "amount", Type: "BIGINT"}, &{Name: "created_at", Type: "TIMESTAMP"}, &{Name: "satellite_id", Type: "BLOB"}}},
- (
- s"""
- Name: bandwidth_usage_rollups
- Columns:
- Name: action
- Type: INTEGER
- Nullable: false
- Default: ""
- Reference: nil
- Name: amount
- Type: BIGINT
- Nullable: false
- Default: ""
- Reference: nil
- Name: interval_start
- Type: TIMESTAMP
- Nullable: false
- Default: ""
- Reference: nil
- Name: satellite_id
- Type: BLOB
- Nullable: false
- Default: ""
- Reference: nil
- PrimaryKey: action interval_start satellite_id
- Uniques:
-
- s"""
- ),
},
- Indexes: []*dbschema.Index{
- s`Index<Table: bandwidth_usage, Name: idx_bandwidth_usage_created, Columns: created_at, Unique: false, Partial: "">`,
- s`Index<Table: bandwidth_usage, Name: idx_bandwidth_usage_satellite, Columns: satellite_id, Unique: false, Partial: "">`,
- },
+ Indexes: nil,
}
storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:424
main.cmdRun:199
storj.io/private/process.cleanup.func1.4:362
storj.io/private/process.cleanup.func1:380
github.com/spf13/cobra.(*Command).execute:842
github.com/spf13/cobra.(*Command).ExecuteC:950
github.com/spf13/cobra.(*Command).Execute:887
storj.io/private/process.ExecWithCustomConfig:88
storj.io/private/process.ExecCustomDebug:70
main.main:335
runtime.main:204
I tried to fix this error with this guide but without success. Every step was done without problems, but after I tried to start node I got the same error