Hi,
I was wondering if someone could help me with an issues please?
One of my oldest nodes is failing to start after rebooting my server. I know its a problem with storage_usage.db but i don’t know how to fix it.
2023-04-28 17:09:55,795 INFO stopped: storagenode (exit status 1)
2023-04-28 17:09:55,796 INFO stopped: processes-exit-eventlistener (terminated by SIGTERM)
2023-04-28 17:09:57,205 INFO Set uid to user 0 succeeded
2023-04-28 17:09:57,214 INFO RPC interface ‘supervisor’ initialized
2023-04-28 17:09:57,214 INFO supervisord started with pid 1
2023-04-28 17:09:57,622 INFO spawned: ‘processes-exit-eventlistener’ with pid 11
2023-04-28 17:09:57,626 INFO spawned: ‘storagenode’ with pid 12
2023-04-28 17:09:57,629 INFO spawned: ‘storagenode-updater’ with pid 13
2023-04-28 17:09:57,630 WARN received SIGTERM indicating exit request
2023-04-28 17:09:57,630 INFO waiting for storagenode, processes-exit-eventlistener, storagenode-updater to die
2023-04-28T17:09:57.657+0100 INFO Configuration loaded {“Process”: “storagenode-updater”, “Location”: “/app/config/config.yaml”}
2023-04-28T17:09:57.657+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “console.address”}
2023-04-28T17:09:57.657+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “operator.wallet-features”}
2023-04-28T17:09:57.657+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “contact.external-address”}
2023-04-28T17:09:57.658+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “operator.wallet”}
2023-04-28T17:09:57.658+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “storage.allocated-bandwidth”}
2023-04-28T17:09:57.658+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “server.address”}
2023-04-28T17:09:57.658+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “storage.allocated-disk-space”}
2023-04-28T17:09:57.659+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “healthcheck.details”}
2023-04-28T17:09:57.659+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “server.private-address”}
2023-04-28T17:09:57.659+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “healthcheck.enabled”}
2023-04-28T17:09:57.659+0100 INFO Invalid configuration file key {“Process”: “storagenode-updater”, “Key”: “operator.email”}
2023-04-28T17:09:57.660+0100 INFO Invalid configuration file value for key {“Process”: “storagenode-updater”, “Key”: “log.output”}
2023-04-28T17:09:57.660+0100 INFO Invalid configuration file value for key {“Process”: “storagenode-updater”, “Key”: “log.stack”}
2023-04-28T17:09:57.660+0100 INFO Invalid configuration file value for key {“Process”: “storagenode-updater”, “Key”: “log.encoding”}
2023-04-28T17:09:57.661+0100 INFO Anonymized tracing enabled {“Process”: “storagenode-updater”}
2023-04-28T17:09:57.664+0100 INFO Running on version {“Process”: “storagenode-updater”, “Service”: “storagenode-updater”, “Version”: “v1.76.2”}
2023-04-28T17:09:57.665+0100 INFO Downloading versions. {“Process”: “storagenode-updater”, “Server Address”: “https://version.storj.io”}
2023-04-28T17:09:57.696+0100 INFO Configuration loaded {“Process”: “storagenode”, “Location”: “/app/config/config.yaml”}
2023-04-28T17:09:57.697+0100 INFO Anonymized tracing enabled {“Process”: “storagenode”}
2023-04-28T17:09:57.698+0100 INFO Operator email {“Process”: “storagenode”, “Address”: “ianllew600@gmail.com”}
2023-04-28T17:09:57.699+0100 INFO Operator wallet {“Process”: “storagenode”, “Address”: “0xE7FDF9f92cBCA329094FC5a21E4568cE4249435A”}
2023-04-28T17:09:58.179+0100 INFO Current binary version {“Process”: “storagenode-updater”, “Service”: “storagenode”, “Version”: “v1.76.2”}
2023-04-28T17:09:58.179+0100 INFO New version is being rolled out but hasn’t made it to this node yet {“Process”: “storagenode-updater”, “Service”: “storagenode”}
2023-04-28T17:09:58.189+0100 INFO Current binary version {“Process”: “storagenode-updater”, “Service”: “storagenode-updater”, “Version”: “v1.76.2”}
2023-04-28T17:09:58.189+0100 INFO New version is being rolled out but hasn’t made it to this node yet {“Process”: “storagenode-updater”, “Service”: “storagenode-updater”}
2023-04-28T17:09:58.290+0100 INFO server kernel support for server-side tcp fast open remains disabled. {“Process”: “storagenode”}
2023-04-28T17:09:58.290+0100 INFO server enable with: sysctl -w net.ipv4.tcp_fastopen=3 {“Process”: “storagenode”}
2023-04-28T17:09:58.761+0100 INFO Telemetry enabled {“Process”: “storagenode”, “instance ID”: “12qRPrHfCBYb3i6pgLsSBKKqFkbrxFg6ZaH2E9iqjQr2FucHeNa”}
2023-04-28T17:09:58.761+0100 INFO Event collection enabled {“Process”: “storagenode”, “instance ID”: “12qRPrHfCBYb3i6pgLsSBKKqFkbrxFg6ZaH2E9iqjQr2FucHeNa”}
2023-04-28 17:09:58,761 INFO success: processes-exit-eventlistener entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-28 17:09:58,761 INFO success: storagenode entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-28T17:09:58.866+0100 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: v54: no such table: storage_usage
storj.io/storj/private/migrate.(*Migration).Run:209
storj.io/storj/storagenode/storagenodedb.(*DB).MigrateToLatest:354
main.cmdRun:226
storj.io/private/process.cleanup.func1.4:377
storj.io/private/process.cleanup.func1:395
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:92
main.main:478
runtime.main:250
2023-04-28 17:09:58,894 INFO exited: storagenode (exit status 1; not expected)
2023-04-28 17:09:59,895 WARN received SIGQUIT indicating exit request
2023-04-28 17:10:00,896 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
2023-04-28 17:10:03,900 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
2023-04-28 17:10:06,905 INFO waiting for processes-exit-eventlistener, storagenode-updater to die
Thats all i have in the logs and then the node restarts again.
Cheers,