There seem to be problems with the update to 1.166.4

One of my nodes received the update but is having trouble restarting because of a database mismatch.
If I understand correctly, the updater reloads the old version after the restart.

2026-11-17T09:46:23+01:00       INFO    Configuration loaded    {"process": "storagenode", "location": "/app/config/config.yaml"}
2026-11-17T09:46:23+01:00       INFO    Anonymized tracing enabled      {"process": "storagenode"}
2026-11-17T09:46:23+01:00       INFO    Operator email  {"process": "storagenode", "address": "xxx"}
2026-11-17T09:46:23+01:00       INFO    Operator wallet {"process": "storagenode", "address": "xxx"}
2026-11-17T09:46:23+01:00       INFO    db.migration    Database Version        {"process": "storagenode", "version": 62}
2026-11-17T09:46:23+01:00       ERROR   failure during run      {"process": "storagenode", "error": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:142\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290", "errorVerbose": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:142\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290\n\tmain.cmdRun:93\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290"}
2026-11-17T09:46:23+01:00       FATAL   Unrecoverable error     {"process": "storagenode", "error": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:142\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290", "errorVerbose": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:142\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290\n\tmain.cmdRun:93\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:985\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1117\n\tgithub.com/spf13/cobra.(*Command).Execute:1041\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290"}

[storj-node07] 2026-11-17T08:38:46.459537677Z 2026-11-17 09:38:46,459 INFO Set uid to user 0 succeeded
[storj-node07] 2026-11-17T08:38:46.461519817Z 2026-11-17 09:38:46,461 INFO RPC interface 'supervisor' initialized
[storj-node07] 2026-11-17T08:38:46.461660511Z 2026-11-17 09:38:46,461 INFO supervisord started with pid 1
[storj-node07] 2026-11-17T08:38:47.463062926Z 2026-11-17 09:38:47,462 INFO spawned: 'processes-exit-eventlistener' with pid 75
[storj-node07] 2026-11-17T08:38:47.464169153Z 2026-11-17 09:38:47,464 INFO spawned: 'storagenode' with pid 76
[storj-node07] 2026-11-17T08:38:47.465278518Z 2026-11-17 09:38:47,465 INFO spawned: 'storagenode-updater' with pid 77
[storj-node07] 2026-11-17T08:38:47.480050654Z 2026-11-17T09:38:47+01:00	INFO	Configuration loaded	{"process": "storagenode-updater", "location": "/app/config/config.yaml"}
[storj-node07] 2026-11-17T08:38:47.480067457Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "healthcheck.details"}
[storj-node07] 2026-11-17T08:38:47.480070124Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "server.private-address"}
[storj-node07] 2026-11-17T08:38:47.480072289Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "server.address"}
[storj-node07] 2026-11-17T08:38:47.480074316Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "operator.wallet"}
[storj-node07] 2026-11-17T08:38:47.480076251Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "storage.allocated-disk-space"}
[storj-node07] 2026-11-17T08:38:47.480078184Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "operator.email"}
[storj-node07] 2026-11-17T08:38:47.480080140Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "contact.external-address"}
[storj-node07] 2026-11-17T08:38:47.480082128Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "storage.allocated-bandwidth"}
[storj-node07] 2026-11-17T08:38:47.480084040Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "healthcheck.enabled"}
[storj-node07] 2026-11-17T08:38:47.480093978Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "console.address"}
[storj-node07] 2026-11-17T08:38:47.480111952Z 2026-11-17T09:38:47+01:00	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "operator.wallet-features"}
[storj-node07] 2026-11-17T08:38:47.480588076Z 2026-11-17T09:38:47+01:00	INFO	Anonymized tracing enabled	{"process": "storagenode-updater"}
[storj-node07] 2026-11-17T08:38:47.481002652Z 2026-11-17T09:38:47+01:00	INFO	Running on version	{"process": "storagenode-updater", "service": "storagenode-updater", "version": "v1.155.4"}
[storj-node07] 2026-11-17T08:38:47.481040591Z 2026-11-17T09:38:47+01:00	INFO	Downloading versions.	{"process": "storagenode-updater", "server_address": "https://version.storj.io"}
[storj-node07] 2026-11-17T08:38:47.518596535Z 2026-11-17 09:38:47,518 WARN exited: storagenode (exit status 1; not expected)
[storj-node07] 2026-11-17T08:38:48.024294194Z 2026-11-17T09:38:48+01:00	INFO	Current binary version	{"process": "storagenode-updater", "service": "storagenode", "version": "v1.155.9"}
[storj-node07] 2026-11-17T08:38:48.024311594Z 2026-11-17T09:38:48+01:00	INFO	New version is being rolled out but hasn't made it to this node yet	{"process": "storagenode-updater", "service": "storagenode"}
[storj-node07] 2026-11-17T08:38:48.034127622Z 2026-11-17T09:38:48+01:00	INFO	Current binary version	{"process": "storagenode-updater", "service": "storagenode-updater", "version": "v1.155.4"}
[storj-node07] 2026-11-17T08:38:48.034144081Z 2026-11-17T09:38:48+01:00	INFO	New version is being rolled out but hasn't made it to this node yet	{"process": "storagenode-updater", "service": "storagenode-updater"}
[storj-node07] 2026-11-17T08:38:49.035074321Z 2026-11-17 09:38:49,035 INFO success: processes-exit-eventlistener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[storj-node07] 2026-11-17T08:38:49.036080823Z 2026-11-17 09:38:49,035 INFO spawned: 'storagenode' with pid 124
[storj-node07] 2026-11-17T08:38:49.036220291Z 2026-11-17 09:38:49,036 INFO success: storagenode-updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[storj-node07] 2026-11-17T08:38:49.090426825Z 2026-11-17 09:38:49,090 WARN exited: storagenode (exit status 1; not expected)
[storj-node07] 2026-11-17T08:38:51.093334396Z 2026-11-17 09:38:51,093 INFO spawned: 'storagenode' with pid 139
[storj-node07] 2026-11-17T08:38:51.136881846Z 2026-11-17 09:38:51,136 WARN exited: storagenode (exit status 1; not expected)
[storj-node07] 2026-11-17T08:38:54.141164847Z 2026-11-17 09:38:54,141 INFO spawned: 'storagenode' with pid 154
[storj-node07] 2026-11-17T08:38:54.191933408Z 2026-11-17 09:38:54,191 WARN exited: storagenode (exit status 1; not expected)
[storj-node07] 2026-11-17T08:38:55.193243175Z 2026-11-17 09:38:55,193 INFO gave up: storagenode entered FATAL state, too many start retries too quickly
[storj-node07] 2026-11-17T08:38:57.195042966Z 2026-11-17 09:38:57,194 WARN received SIGQUIT indicating exit request
[storj-node07] 2026-11-17T08:38:57.195144937Z 2026-11-17 09:38:57,195 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
[storj-node07] 2026-11-17T08:38:57.195239621Z 2026-11-17T09:38:57+01:00	INFO	Got a signal from the OS: "terminated"	{"process": "storagenode-updater"}
[storj-node07] 2026-11-17T08:38:57.197320403Z 2026-11-17 09:38:57,197 INFO stopped: storagenode-updater (exit status 0)
[storj-node07] 2026-11-17T08:38:58.198311447Z 2026-11-17 09:38:58,198 WARN stopped: processes-exit-eventlistener (terminated by SIGTERM)

It appears that the updater is distributing a version lower than the minimum required.
Updater 1.155.4
Storage Node 1.155.9

Hello everyone.

Three of my ten nodes went down in short succession with the same error. Those three nodes were running for multiple days already and I did not make any changes to them.

Error from node.log:

2026-11-17T08:29:14Z	ERROR	failure during run	{"process": "storagenode", "error": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:141\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:1015\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1148\n\tgithub.com/spf13/cobra.(*Command).Execute:1071\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290", "errorVerbose": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:141\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:1015\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1148\n\tgithub.com/spf13/cobra.(*Command).Execute:1071\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290\n\tmain.cmdRun:93\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:1015\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1148\n\tgithub.com/spf13/cobra.(*Command).Execute:1071\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290"}
2026-11-17T08:29:14Z	FATAL	Unrecoverable error	{"process": "storagenode", "error": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:141\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:1015\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1148\n\tgithub.com/spf13/cobra.(*Command).Execute:1071\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290", "errorVerbose": "Error checking version for storagenode database: validate db version mismatch: expected 28, but current version is 63\n\tstorj.io/storj/private/migrate.(*Migration).ValidateVersions:141\n\tstorj.io/storj/storagenode/storagenodedb.(*DB).CheckVersion:706\n\tmain.cmdRun:91\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:1015\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1148\n\tgithub.com/spf13/cobra.(*Command).Execute:1071\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290\n\tmain.cmdRun:93\n\tmain.newRunCmd.func1:33\n\tstorj.io/common/process.InitBeforeExecute.func1.2:389\n\tstorj.io/common/process.InitBeforeExecute.func1:407\n\tgithub.com/spf13/cobra.(*Command).execute:1015\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:1148\n\tgithub.com/spf13/cobra.(*Command).Execute:1071\n\tstorj.io/common/process.ExecWithCustomOptions:115\n\tmain.main:34\n\truntime.main:290"}

Somehow the node is expecting DB version 28, but currently version 63 is used.
I use docker on linux server to host my nodes and already tried to remove the containers, pull the latest image and restart them without fixing the problem.

Any solutions to this problem?

I’m having problems too. The nodes that were updated have stopped working. The developers have once again demonstrated their level of programming.

A friend of mine has the same problem, but he’s still on version 1.162.4 when he starts up.
Could it be that, because the node was restarted, it’s no longer being updated to the current version 1.166.4—and that only that version is compatible with database version 63?

How is it possible that restarting the node or recreating the container prevents the node from receiving the latest update?

To add some information from the container log:

2026-11-17 09:02:11,452 WARN received SIGQUIT indicating exit request
2026-11-17 09:02:11,452 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
2026-11-17T09:02:11Z	INFO	Got a signal from the OS: "terminated"	{"process": "storagenode-updater"}
2026-11-17 09:02:11,455 INFO stopped: storagenode-updater (exit status 0)
2026-11-17 09:02:12,457 WARN stopped: processes-exit-eventlistener (terminated by SIGTERM)
2026-11-17 09:02:14,373 INFO Set uid to user 0 succeeded
2026-11-17 09:02:14,375 INFO RPC interface 'supervisor' initialized
2026-11-17 09:02:14,375 INFO supervisord started with pid 1
2026-11-17 09:02:15,377 INFO spawned: 'processes-exit-eventlistener' with pid 70
2026-11-17 09:02:15,379 INFO spawned: 'storagenode' with pid 71
2026-11-17 09:02:15,380 INFO spawned: 'storagenode-updater' with pid 72
2026-11-17T09:02:15Z	INFO	Configuration loaded	{"process": "storagenode-updater", "location": "/app/config/config.yaml"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "healthcheck.details"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "operator.wallet-features"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "operator.wallet"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "operator.email"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "server.address"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "console.address"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "contact.external-address"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "storage.allocated-bandwidth"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "storage.allocated-disk-space"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "healthcheck.enabled"}
2026-11-17T09:02:15Z	INFO	Invalid configuration file key	{"process": "storagenode-updater", "key": "server.private-address"}
2026-11-17T09:02:15Z	INFO	Anonymized tracing enabled	{"process": "storagenode-updater"}
2026-11-17T09:02:15Z	INFO	Running on version	{"process": "storagenode-updater", "service": "storagenode-updater", "version": "v1.164.2"}
2026-11-17T09:02:15Z	INFO	Downloading versions.	{"process": "storagenode-updater", "server_address": "https://version.storj.io"}
2026-11-17 09:02:15,443 WARN exited: storagenode (exit status 1; not expected)
2026-11-17T09:02:16Z	INFO	Current binary version	{"process": "storagenode-updater", "service": "storagenode", "version": "v1.164.2"}
2026-11-17T09:02:16Z	INFO	New version is being rolled out but hasn't made it to this node yet	{"process": "storagenode-updater", "service": "storagenode"}
2026-11-17T09:02:16Z	INFO	Current binary version	{"process": "storagenode-updater", "service": "storagenode-updater", "version": "v1.164.2"}
2026-11-17T09:02:16Z	INFO	New version is being rolled out but hasn't made it to this node yet	{"process": "storagenode-updater", "service": "storagenode-updater"}
2026-11-17 09:02:17,049 INFO success: processes-exit-eventlistener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-11-17 09:02:17,051 INFO spawned: 'storagenode' with pid 126
2026-11-17 09:02:17,051 INFO success: storagenode-updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-11-17 09:02:17,116 WARN exited: storagenode (exit status 1; not expected)
2026-11-17 09:02:19,119 INFO spawned: 'storagenode' with pid 139
2026-11-17 09:02:19,184 WARN exited: storagenode (exit status 1; not expected)
2026-11-17 09:02:22,188 INFO spawned: 'storagenode' with pid 151

2 of my 4 nodes downgraded themselves last night


yesterday everyone was there 1.164.2

Same here, some nodes updated to 1.166.4 and running, some still on 1.164.2 and running, one in the same dead-loop. I solved problem by copying bin folder from updated node to dead-loop one.

My Storj node also keeps stopping and restarting repeatedly. I’m running it in Docker.

Has anyone experienced the same issue? Does anyone know how to fix it?

I solved my problem this way
But it requiers running node :confused: Most probably you can download what is necessary from storj directly, didn’t explore this way

It’s not a problem with the 1.166.4 update. It’s a problem with the automatic updater.

TL;DR: Permanent solution: stop using docker and storagenode-updater.

Long version: The updater checks if the new version should be downloaded. It checks this using the cursor and the version. If the node is in the cursor (ie it’s its turn to update), it downloads the new version and tries to restart the node. There is a small window where the cursor goes blank between updates. The storagenode-updater doesn’t know how to handle a blank cursor, and assumes that the minimum version should be downloaded instead. It downloads this version and restarts the node. The node then goes into a loop because of a database missmatch.

Edit to clarify: If the node does get downgraded, it cannot be upgraded again until the cursor tells it to.

This is the reason why there is a database mismatch and the nodes being downgraded.

Who made this mistake? This is outrageous and irresponsible.

It’s a known issue for years. It usually sorts itself out in a couple of hours, unless you are one of the unlucky ones to be last in line (with regards to the cursor).

Same issue here today, affecting 5 of my storage nodes.

All affected nodes failed with:

validate db version mismatch: expected 28, but current version is 63

The automatic updater was selecting older binaries despite the databases already being at version 63.

  • Updating the Docker base image did not help.
  • Removing the persistent bin directory caused the updater to download minimum versions (v1.155.9 / v1.155.4), resulting in the same failure.

Solution used:

  • Stopped the affected containers, backed up their persistent bin directories, copied both v1.166.4 binaries from a working node, and restarted.
  • All five recovered immediately with database version 63. The remaining nodes are now also running v1.166.4.
  • Temporarily disable autoupdater via environment setting
Generic example of fix

Stop the affected container first

docker stop storagenode-broken

Backup existing binaries

mv /mnt/storagenode-broken/bin \
   /mnt/storagenode-broken/bin.backup

Copy binaries from a working v1.166.4 node

mkdir -p /mnt/storagenode-broken/bin
cp -a /mnt/storagenode-working/bin/storagenode* \
      /mnt/storagenode-broken/bin/
chmod +x /mnt/storagenode-broken/bin/storagenode*

Restart the affected container

docker start storagenode-broken

Disable autoupdate temporarily to avoid new similar issues (THIS IS A TEMP FIX !)

Using docker run add:

-e AUTO_UPDATE=false

Using Compose

environment:
  - AUTO_UPDATE=false

This strongly suggests an issue with the automatic updater.

Do you mean the /usr/bin folder from the node container? If so, I’m afraid the affected containers do not run long enough for me to do this.

Nope, I mean in directory shared to the container. Container itself must be stopped during this operation. I use yaml, I’m speaking about /storjnode/data/ in this example:

    volumes:
      - type: bind
        source: /storjnode/data/identity
        target: /app/identity
      - type: bind
        source: /storjnode/data/
        target: /app/config

When will the problem be resolved? Some nodes are being updated to the old version.

The reason is notifications.db with new row 63 version
I don’t know how right it is, but I stopped node, deleted this notifications.db and started again and it works

OK, since I hadn’t mounted it, I had to add this mount:

            - type: bind
              source: /home/cubefan/temp/node-tmp
              target: /app/config/bin

I then pasted the contents of a working Node into /home/cubefan/temp/node-tmp and, as mike described, added:

environment:
  - AUTO_UPDATE=false

Then the node starts.

I had a look inside notifications.db on one of my affected nodes. It only contained the versions and notifications tables, with versions 28 and 63 recorded and no actual notifications.

So deleting it probably isn’t a big deal in terms of lost data, but I’m not sure if starting with an older binary after deleting the database could cause other issues.