Hello. My node crashed today. It stopped, then restarted, then stopped again. Strange things happening. Looking at the log i see a lot of errors about updater.
Any suggestions on how to solve it?
Thank you.
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “kademlia.operator.email”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “server.address”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “server.debug-log-traffic”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “server.private-address”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “storage.allocated-bandwidth”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “kademlia.operator.wallet”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “kademlia.external-address”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “storage.allocated-disk-space”}
2022-08-26T09:16:08.691Z INFO Invalid configuration file value for key {“Process”: “storagenode-updater”, “Key”: “log.caller”}
2022-08-26T09:16:08.692Z INFO Anonymized tracing enabled {“Process”: “storagenode-updater”}
2022-08-26T09:16:08.694Z INFO Running on version {“Process”: “storagenode-updater”, “Service”: “storagenode-updater”, “Version”: “v1.62.3”}
2022-08-26T09:16:08.694Z INFO Downloading versions. {“Process”: “storagenode-updater”, “Server Address”: “https://version.storj.io”}
2022-08-26T09:16:08.705Z INFO Configuration loaded {“Process”: “storagenode”, “Location”: “/app/config/config.yaml”}
2022-08-26T09:16:08.705Z INFO Anonymized tracing enabled {“Process”: “storagenode”}
2022-08-26T09:16:08.708Z INFO Operator email {“Process”: “storagenode”, “Address”: “xxx@xxx.xxx”}
2022-08-26T09:16:08.708Z INFO Operator wallet {“Process”: “storagenode”, “Address”: “xxxxxxxxx”}
2022-08-26T09:16:09.130Z INFO Current binary version {“Process”: “storagenode-updater”, “Service”: “storagenode”, “Version”: “v1.62.3”}
2022-08-26T09:16:09.130Z INFO Version is up to date {“Process”: “storagenode-updater”, “Service”: “storagenode”}
2022-08-26T09:16:09.136Z INFO Current binary version {“Process”: “storagenode-updater”, “Service”: “storagenode-updater”, “Version”: “v1.62.3”}
2022-08-26T09:16:09.136Z INFO Version is up to date {“Process”: “storagenode-updater”, “Service”: “storagenode-updater”}
2022-08-26T09:16:09.316Z INFO Telemetry enabled {“Process”: “storagenode”, “instance ID”: “12bQdVhou6LNaEviP9pQ4DPDA4FBhMrGjEDikjnDeznSR1r8gZ4”}
2022-08-26T09:16:09.326Z INFO db.migration.54 Add interval_end_time field to storage_usage db, backfill interval_end_time with interval_start, rename interval_start to timestamp {“Process”: “storagenode”}
Error: Error creating tables for master database on storagenode: migrate: UNIQUE constraint failed: storage_usage_new.timestamp, storage_usage_new.satellite_id
storj.io/storj/storagenode/storagenodedb.(*DB).Migration.func21:2028
storj.io/storj/private/migrate.Func.Run:307
storj.io/storj/private/migrate.(*Migration).Run.func1:197
storj.io/private/dbutil/txutil.withTxOnce:75
storj.io/private/dbutil/txutil.WithTx:36
storj.io/storj/private/migrate.(*Migration).Run:196
storj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:347
main.cmdRun:226
storj.io/private/process.cleanup.func1.4:378
storj.io/private/process.cleanup.func1:396
github.com/spf13/cobra.(*Command).execute:852
github.com/spf13/cobra.(*Command).ExecuteC:960
github.com/spf13/cobra.(*Command).Execute:897
storj.io/private/process.ExecWithCustomConfigAndLogger:93
main.main:479
runtime.main:255
2022-08-26 09:16:09,339 INFO exited: storagenode (exit status 1; not expected)
2022-08-26 09:16:10,340 INFO success: processes-exit-eventlistener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-08-26 09:16:10,342 INFO spawned: ‘storagenode’ with pid 60
2022-08-26 09:16:10,342 INFO success: storagenode-updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-08-26T09:16:10.363Z INFO Configuration loaded {“Process”: “storagenode”, “Location”: “/app/config/config.yaml”}
2022-08-26T09:16:10.363Z INFO Anonymized tracing enabled {“Process”: “storagenode”}
2022-08-26T09:16:10.365Z INFO Operator email {“Process”: “storagenode”, “Address”: “xxx@xxx.xxx”}
2022-08-26T09:16:10.365Z INFO Operator wallet {“Process”: “storagenode”, “Address”: “xxxxxxxxx”}
2022-08-26T09:16:10.934Z INFO Telemetry enabled {“Process”: “storagenode”, “instance ID”: “12bQdVhou6LNaEviP9pQ4DPDA4FBhMrGjEDikjnDeznSR1r8gZ4”}
2022-08-26T09:16:10.942Z INFO db.migration.54 Add interval_end_time field to storage_usage db, backfill interval_end_time with interval_start, rename interval_start to timestamp {“Process”: “storagenode”}
Error: Error creating tables for master database on storagenode: migrate: UNIQUE constraint failed: storage_usage_new.timestamp, storage_usage_new.satellite_id
storj.io/storj/storagenode/storagenodedb.(*DB).Migration.func21:2028
storj.io/storj/private/migrate.Func.Run:307
storj.io/storj/private/migrate.(*Migration).Run.func1:197
storj.io/private/dbutil/txutil.withTxOnce:75
storj.io/private/dbutil/txutil.WithTx:36
storj.io/storj/private/migrate.(*Migration).Run:196
storj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:347
main.cmdRun:226
storj.io/private/process.cleanup.func1.4:378
storj.io/private/process.cleanup.func1:396
github.com/spf13/cobra.(*Command).execute:852
github.com/spf13/cobra.(*Command).ExecuteC:960
github.com/spf13/cobra.(*Command).Execute:897
storj.io/private/process.ExecWithCustomConfigAndLogger:93
main.main:479
runtime.main:255
2022-08-26 09:16:10,953 INFO exited: storagenode (exit status 1; not expected)
2022-08-26 09:16:12,956 INFO spawned: ‘storagenode’ with pid 78
2022-08-26T09:16:12.977Z INFO Configuration loaded {“Process”: “storagenode”, “Location”: “/app/config/config.yaml”}
2022-08-26T09:16:12.978Z INFO Anonymized tracing enabled {“Process”: “storagenode”}
2022-08-26T09:16:12.980Z INFO Operator email {“Process”: “storagenode”, “Address”: “xxx@xxx.xxx”}
2022-08-26T09:16:12.981Z INFO Operator wallet {“Process”: “storagenode”, “Address”: “xxxxxxxxx”}
2022-08-26T09:16:13.543Z INFO Telemetry enabled {“Process”: “storagenode”, “instance ID”: “12bQdVhou6LNaEviP9pQ4DPDA4FBhMrGjEDikjnDeznSR1r8gZ4”}
2022-08-26T09:16:13.552Z INFO db.migration.54 Add interval_end_time field to storage_usage db, backfill interval_end_time with interval_start, rename interval_start to timestamp {“Process”: “storagenode”}
Error: Error creating tables for master database on storagenode: migrate: UNIQUE constraint failed: storage_usage_new.timestamp, storage_usage_new.satellite_id
storj.io/storj/storagenode/storagenodedb.(*DB).Migration.func21:2028
storj.io/storj/private/migrate.Func.Run:307
storj.io/storj/private/migrate.(*Migration).Run.func1:197
storj.io/private/dbutil/txutil.withTxOnce:75
storj.io/private/dbutil/txutil.WithTx:36
storj.io/storj/private/migrate.(*Migration).Run:196
storj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:347
main.cmdRun:226
storj.io/private/process.cleanup.func1.4:378
storj.io/private/process.cleanup.func1:396
github.com/spf13/cobra.(*Command).execute:852
github.com/spf13/cobra.(*Command).ExecuteC:960
github.com/spf13/cobra.(*Command).Execute:897
storj.io/private/process.ExecWithCustomConfigAndLogger:93
main.main:479
runtime.main:255
2022-08-26 09:16:13,565 INFO exited: storagenode (exit status 1; not expected)
2022-08-26 09:16:16,570 INFO spawned: ‘storagenode’ with pid 95
2022-08-26T09:16:16.591Z INFO Configuration loaded {“Process”: “storagenode”, “Location”: “/app/config/config.yaml”}
2022-08-26T09:16:16.591Z INFO Anonymized tracing enabled {“Process”: “storagenode”}
2022-08-26T09:16:16.594Z INFO Operator email {“Process”: “storagenode”, “Address”: “xxx@xxx.xxx”}
2022-08-26T09:16:16.594Z INFO Operator wallet {“Process”: “storagenode”, “Address”: “xxxxxxxxx”}
2022-08-26T09:16:17.195Z INFO Telemetry enabled {“Process”: “storagenode”, “instance ID”: “12bQdVhou6LNaEviP9pQ4DPDA4FBhMrGjEDikjnDeznSR1r8gZ4”}
2022-08-26T09:16:17.204Z INFO db.migration.54 Add interval_end_time field to storage_usage db, backfill interval_end_time with interval_start, rename interval_start to timestamp {“Process”: “storagenode”}
Error: Error creating tables for master database on storagenode: migrate: UNIQUE constraint failed: storage_usage_new.timestamp, storage_usage_new.satellite_id
storj.io/storj/storagenode/storagenodedb.(*DB).Migration.func21:2028
storj.io/storj/private/migrate.Func.Run:307
storj.io/storj/private/migrate.(*Migration).Run.func1:197
storj.io/private/dbutil/txutil.withTxOnce:75
storj.io/private/dbutil/txutil.WithTx:36
storj.io/storj/private/migrate.(*Migration).Run:196
storj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:347
main.cmdRun:226
storj.io/private/process.cleanup.func1.4:378
storj.io/private/process.cleanup.func1:396
github.com/spf13/cobra.(*Command).execute:852
github.com/spf13/cobra.(*Command).ExecuteC:960
github.com/spf13/cobra.(*Command).Execute:897
storj.io/private/process.ExecWithCustomConfigAndLogger:93
main.main:479
runtime.main:255
2022-08-26 09:16:17,217 INFO exited: storagenode (exit status 1; not expected)
2022-08-26 09:16:18,218 INFO gave up: storagenode entered FATAL state, too many start retries too quickly
2022-08-26 09:16:19,219 WARN received SIGQUIT indicating exit request
2022-08-26 09:16:19,219 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
a2022-08-26 09:16:19,221 INFO stopped: storagenode-updater (exit status 0)
2022-08-26 09:16:20,223 INFO stopped: processes-exit-eventlistener (terminated by SIGTERM)