I updated my storagenode to v0.34.3 and my node fails to start throwing the below error. I found a couple of other threads about similar issues, but I got lost in the amount of suggestions, checks and manual changes. So thought it better to log a new item to chek up on it. Any suggestions what to do with the below?
2020-02-28T18:51:46.046Z INFO db.migration Database Version {“version”: 31}
Error: Error during preflight check for storagenode databases: storage node preflight database error: reputation: expected schema does not match actual: &dbschema.Schema{
Tables: []*dbschema.Table{ &{Name: "reputation", Columns: []*dbschema.Column{&{Name: "audit_reputation_alpha", Type: "REAL"}, &{Name: "audit_reputation_beta", Type: "REAL"}, &{Name: "audit_reputation_score", Type: "REAL"}, &{Name: "audit_success_count", Type: "INTEGER"}, &{Name: "audit_total_count", Type: "INTEGER"}, &{Name: "disqualified", Type: "TIMESTAMP", IsNullable: true}, &{Name: "satellite_id", Type: "BLOB"}, &{Name: "updated_at", Type: "TIMESTAMP"}, &{Name: "uptime_reputation_alpha", Type: "REAL"}, &{Name: "uptime_reputation_beta", Type: "REAL"}, &{Name: "uptime_reputation_score", Type: "REAL"}, &{Name: "uptime_success_count", Type: "INTEGER"}, &{Name: "uptime_total_count", Type: "INTEGER"}}, PrimaryKey: []string{"satellite_id"}},
&{
Name: "test_table",
Columns: []*dbschema.Column{
&{Name: "id", Type: "int"},
&{Name: "name", Type: "varchar(30)", IsNullable: true},
},
PrimaryKey: []string{"id"},
}, }, Indexes: nil,
}
storj.io/storj/storagenode/storagenodedb.(*DB).Preflight:301
main.cmdRun:198
storj.io/storj/pkg/process.cleanup.func1.2:307
storj.io/storj/pkg/process.cleanup.func1:325
github.com/spf13/cobra.(*Command).execute:826
github.com/spf13/cobra.(*Command).ExecuteC:914
github.com/spf13/cobra.(*Command).Execute:864
storj.io/storj/pkg/process.ExecWithCustomConfig:84
storj.io/storj/pkg/process.ExecCustomDebug:66
main.main:328
runtime.main:203