Hi there, I have been working on getting a Storj node up and running with my kids on a Raspberry Pi 4 for the past week or 2. I have followed all the step-up instructions on this site to the best of my knowledge. I have 2 issues that I have encountered after completing the set-up.
-
I am unable to view my Dashboard. When I type the http://ipaddress:14002 or http://127.0.0.1:14002/ I can’t and error message. “This site can’t be reached, refused to connect”
-
Trying to trouble shoot this I was trying to go back into the sudo nano ~/00_Start_Storj.sh file and now I get an error message there: error reading lock file /home/pi/.00_start_storj.sh.swp: not enough data read
Any help or suggestions would be appreciated.
Best,
Hello @daggerdawg ,
Welcome to the forum!
Please, post 20 last lines from the log: How do I check my logs? - Node Operator
For the second problem please post content of your ~/00_Start_Storj.sh
between two new lines with three backticks, like this
```
content
```
pi@raspberrypi:~ $ sudo docker logs --tail 20 storagenode
2021-05-07T21:29:52.436Z INFO Operator wallet {“Address”: “…”}
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
2021-05-07T21:30:53.650Z INFO Operator email {“Address”: “myemail@gmail.com”}
2021-05-07T21:30:53.651Z INFO Operator wallet {“Address”: “…”}
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
2021-05-07T21:31:55.907Z INFO Operator email {“Address”: “myemail@gmail.com”}
2021-05-07T21:31:55.907Z INFO Operator wallet {“Address”: “…”}
Error: Error starting master database on storagenode: group:
Thanks. I will repeat the set-up and try again. Thanks for your help!
Only this step is necessary. Make sure to use the same paths as a regular docker run
Will do. As for the second issue with the error reading the lock file…
sudo docker run -d --restart always --stop-timeout 300 \
-p 28967:28967 \-p 14002:14002 \
-e WALLET=... \
-e EMAIL=myemail@gmail.com \
-e ADDRESS=72.219.21.197:28967 \
-e STORAGE=3600GB \
--memory=800m \
--log-opt max-size=50m \
--log-opt max-file=10 \
--mount type=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity \
--mount type=bind,source=/mnt/storagenode,destination=/app/config \
--name storagenode storjlabs/storagenode:beta
Not sure where I messed up and have beta instead of latest.
Should be
-p 28967:28967 \
-p 14002:14002 \
or
-p 28967:28967 -p 14002:14002 \
must be storjlabs/storagenode:latest
But first you need to execute the setup step once:
sudo docker run --rm -e SETUP="true" \
--mount type=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity \
--mount type=bind,source=/mnt/storagenode,destination=/app/config \
--name storagenode storjlabs/storagenode:latest
Sorry it took so long to respond. I missed your response and didn’t see it until today. Your help was perfect. I have a working node now. Thank you!!
1 Like