Emptying trash failed : directory not empty

I hav a node I recently moved off a failing hard drive.

When I start it up I get one of 3 of these errors (one per trusted satellite, perhaps.)

the node still seems to run normally but I hadn’t seen this error so didn’t know if it was important.

2025-08-30T00:51:45Z ERROR pieces:trash emptying trash failed {“Process”: “storagenode”, “error”: “pieces error: fil estore error: directory not empty”, “errorVerbose”: “pieces error: filestore error: directory not empty\n\tstorj.io/storj/stor agenode/blobstore/filestore.(*blobStore).EmptyTrash:232\n\tstorj.io/storj/storagenode/pieces.(*BlobsUsageCache).EmptyTrash:469 \n\tstorj.io/storj/storagenode/pieces.(*Store).EmptyTrash:493\n\tstorj.io/storj/storagenode/pieces.(*TrashChore).Run.func1.1:8 6\n\tstorj.io/common/sync2.(*Workplace).Start.func1:89”}

Please check permissions there. It’s likely because not all pieces have been removed.

yup thanks, combination of not having some permissions in the trash folder AND there being a stale two week old trash folders that I had to delete manually