"Error checking version for storagenode database"

Hello.

After many months online, I restarted one of my nodes and now it fails to boot with the following error message:

2021-03-14T10:05:16.696Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}

2021-03-14T10:05:16.718Z INFO Operator email {“Address”: “xxxxx@xxxx.com”}

2021-03-14T10:05:16.718Z INFO Operator wallet {“Address”: “0xxxxxxxxxxxx”}

2021-03-14T10:05:17.031Z INFO Telemetry enabled

2021-03-14T10:05:17.066Z INFO db.migration Database Version {“version”: 46}

Error: Error checking version for storagenode database: validate db version mismatch error: expected 45 != 48

storj.io/storj/private/migrate.(*Migration).ValidateVersions:138

storj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:597

main.cmdRun:190

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:336

runtime.main:204

Sorry if this seems an obvious problem, but I have not been able to find anything.

Thanks in advance.

Managed to solve it by manually updating Docker images. Very weird though, as Watchtower is running.

Make sure you are using the updated watchtower command

1 Like