Raspberry Pi 3B+StorJ for the first time

Hello to everyone,
This is my first time configuring StorJ.
I use RasPy 3B+ and USB external HDD (with its own power supply).
I succesfully mounted HDD and installed docker using guide on this link and this link.
When I start sudo ./storjNode.sh I receive this error:
docker: invalid reference format.
See ‘docker run --help’.
./storjNode.sh: 9: ./storjNode.sh: --log-opt: not found

9th line of the script is:
*–log-opt max-file=10 *

Can anyone help me?

Thanks in advance.

Regards

1 Like

You shouldnt be following this guide you should follow this one. https://documentation.storj.io/setup/cli/storage-node

You could just remove the

–log-opt max-size=50m \
–log-opt max-file=10 \

To see if it runs then.

Also can you show your starting command to confirm its correct

Hello,
Thanks for the quick reply.
I removed those 2 lines and now I receive this error:
./storjNode.sh: 10: ./storjNode.sh: --mount: not found

And line 10 is:
–mount type=bind,source="/mnt/storagenode",destination=/app/config \

Looks like you dont have a mount for this can you confirm that you can access the drive though this? Run the command

df

Please, show the content of your script inside of three backticks before and three backticks after the code or click on </> button for preformatted text.

Thank you deathlessdd,
I followed guide from the link you provided and after reconfiguring storjNode.sh everything works fine.
Regards

Awesome Glad it helped.

hello,
can i ask, how apropiate is a raspberry pi (say 4) for a storJ node?

whit the OS running on a sd-card, and the drive being an external usb-drive (i read it could cause the node offline if the port overheats).

thanks

Hi. My nodes run on several RaspberryPis4 (with 4GB) never had problems. RAM would also be enough 1-2GB.
You just shouldn’t save the storagenode log on the SD card.

1 Like

Hey LinuxNet,

How did you ensure the storage log was not saving on the SD card?

Cheers,

Adam

When you redirect your log to file its stored in the path of /app/config in your docker command.

https://documentation.storj.io/resources/faq/redirect-logs

1 Like