Hello -
I am runing v1.5.2.
Over the last few days, I’ve received several emails about my storage node being suspended on multiple satellites. Looking in the logs, I find multiple entries that include failed audits and ‘database locked’ errors, such as the following:
2020-06-16T01:14:57.373Z ERROR piecestore download failed {“Piece ID”: “YTPW7TAE4YQ5UCNQKE7RDH5VXPOGIB6IEKZANQ5UKLXGDCAEW4FA”, “Satellite ID”: “118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW”, “Action”: “GET_AUDIT”, “error”: “usedserialsdb error: database is locked”, “errorVerbose”: “usedserialsdb error: database is locked\n\tstorj.io/storj/storagenode/storagenodedb.(*usedSerialsDB).Add:35\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).verifyOrderLimit:76\n\tstorj.io/storj/storagenode/piecestore.(*Endpoint).Download:459\n\tstorj.io/common/pb.DRPCPiecestoreDescription.Method.func2:1004\n\tstorj.io/drpc/drpcmux.(*Mux).HandleRPC:107\n\tstorj.io/common/rpc/rpctracing.(*Handler).HandleRPC:56\n\tstorj.io/drpc/drpcserver.(*Server).handleRPC:111\n\tstorj.io/drpc/drpcserver.(*Server).ServeOne:62\n\tstorj.io/drpc/drpcserver.(*Server).Serve.func2:99\n\tstorj.io/drpc/drpcctx.(*Tracker).track:51”}
I should add that the logs also show many normal successful uploads and downloads as well.
From reading advice in these forums, I learned about the vacuum script, which I created and ran on my node…however, it just returns the following:
pi@raspberrypi:~ $ sudo ./vacuum.sh
storagenode
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 7: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
./vacuum.sh: 11: ./vacuum.sh: sqlite3: not found
storagenode
Any ideas?
Thanks!