Error: Error starting master database on storagenode: group: stat config/storage/blobs: no such file or directory

I am starting a new node with new identity authorised. However, i come across this error:

2020-12-11T16:00:24.862274611Z 2020-12-11T16:00:24.861Z INFO Operator email {“Address”: “…”}
2020-12-11T16:00:24.862442607Z 2020-12-11T16:00:24.862Z INFO Operator wallet {“Address”: “…”}
2020-12-11T16:00:24.862857640Z Error: Error starting master database on storagenode: group:
2020-12-11T16:00:24.863006678Z — stat config/storage/blobs: no such file or directory
2020-12-11T16:00:24.863051010Z — stat config/storage/temp: no such file or directory
2020-12-11T16:00:24.863074635Z — stat config/storage/garbage: no such file or directory
2020-12-11T16:00:24.863096218Z — stat config/storage/trash: no such file or directory<

what could have possibly gone wrong?

Before the start you need to setup the node: https://documentation.storj.io/setup/cli/storage-node#setting-up-the-storage-node
This change has been made to protect your old node from the disqualification, if your storage is gone for any reason.

1 Like

[root@localhost storj]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5725257fcbf9 storjlabs/storagenode:latest “/entrypoint” 3 minutes ago Restarting (1) 17 seconds ago storagenode
[root@localhost storj]# docker logs storagenode
2020-12-12T14:12:14.872Z INFO Operator email {“Address”: “xxx@gmail.com”}
2020-12-12T14:12:14.872Z INFO Operator wallet {“Address”: “xxx”}
Error: Error starting master database on storagenode: group:
— stat config/storage/blobs: no such file or directory
— stat config/storage/temp: no such file or directory
— stat config/storage/garbage: no such file or directory
— stat config/storage/trash: no such file or directory

I have the same problem.

I have tried it, but it didn’t work.

Hello @ori,
Welcome to the forum!

What the command you have tried and what is it showed?

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 14002:14002
-e WALLET=“xxx”
-e EMAIL="xxx@gmail.com"
-e ADDRESS=“134.195.89.2:28967”
-e BANDWIDTH=“7.5TB”
-e STORAGE=“8.8TB”
–mount type=bind,source="/root/.local/share/storj/identity/storagenode/",destination=/app/identity
–mount type=bind,source="/root/storj/",destination=/app/config
–name storagenode storjlabs/storagenode:latest

it will definitely fail, if you didn’t run your node with a -e SETUP=true option first, as described there:

https://documentation.storj.io/setup/cli/storage-node#setting-up-the-storage-node

docker run --rm -e SETUP=“true”
–mount type=bind,source="/root/.local/share/storj/identity/storagenode/",destination=/app/identity
–mount type=bind,source="/root/storj/",destination=/app/config
–name storagenode storjlabs/storagenode:latest

I did this before.

The path was wrong, and it has been resolved. Thank you!

1 Like

A post was merged into an existing topic: X509: certificate signed by unknown authority for https://tardigrade.io/trusted-satellites