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.