Hi there! i’m getting some trouble on one node! I’m getting QUIC misconfigured from time to time! It only happens since the instalation of the new STORJ version, and after sometime it goes offline !! There’s my confs
Funny is that i was searching in the wrong log… The correct one shouws this: 2023-11-09T11:13:43Z WARN collector file does not exist {"process": "storagenode", "Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Piece ID": "I3TMUORF3G5FXM2NURZLESQU46C7WPRNOHB5YVOBIAKJ64NKDSDA"} 2023-11-09T11:13:43Z ERROR collector unable to delete expired piece info from DB {"process": "storagenode", "Satellite ID": "12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S", "Piece ID": "I3TMUORF3G5FXM2NURZLESQU46C7WPRNOHB5YVOBIAKJ64NKDSDA", "error": "pieces error: database disk image is malformed", "errorVerbose": "pieces error: database disk image is malformed\n\tstorj.io/storj/storagenode/pieces.(*Store).DeleteExpired:365\n\tstorj.io/storj/storagenode/collector.(*Service).Collect:101\n\tstorj.io/storj/storagenode/collector.(*Service).Run.func1:57\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tstorj.io/storj/storagenode/collector.(*Service).Run:53\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2.1:87\n\truntime/pprof.Do:51\n\tstorj.io/storj/private/lifecycle.(*Group).Run.func2:86\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75"}
One example…
I might get a corrupt file, going to make a health check!
For the case of docker: stop and remove the container, delete the file trust-cache.json from the data location, run the container back.
However, if
then you need to start over: remove the old identity, clean the disk from node’s data, generate a new identity (identity create storagenode), sign it with a new authorization token and setup the node: Storage Node - Storj Docs
The disk is empty now! Where do i find trust-cache.json for that disk? i’m using find -name trust-cache.json (found it on the good one, will leave it as it is) . I’m creating a new identity! it will take a while!
Every time when you lost data or clean the disk you should start over.
Did you generate a new identity after you cleaned the disk?
If not - you must remove the current identity and generate a new one, then sign it with a new authorization token and setup the node.
This file will be downloaded automatically when you start the node. For docker version it will be placed near config.yaml in the data location. But since it will be downloaded, you should not remove it unless you see the error related to it.