I keep having my revocation DB become invalid. I see the following in the logs:
Error: Error opening revocation database: revocation database: boltdb: invalid database
storj.io/storj/private/kvstore/boltdb.New:43
storj.io/storj/private/revocation.openDBBolt:52
storj.io/storj/private/revocation.OpenDB:35
storj.io/storj/private/revocation.OpenDBFromCfg:23
main.cmdRun:76
main.newRunCmd.func1:33
storj.io/common/process.cleanup.func1.4:402
storj.io/common/process.cleanup.func1:420
github.com/spf13/cobra.(*Command).execute:985
github.com/spf13/cobra.(*Command).ExecuteC:1117
github.com/spf13/cobra.(*Command).Execute:1041
storj.io/common/process.ExecWithCustomOptions:116
main.main:34
runtime.main:283
I’ve been running this node for a long time, but I’ve been seeing this over the last six months. The fix is to remove the revocations.db file and restart the node.
Thanks Brad.