Start ~/00_Start_Storj.sh

I get the following error when I start the ~/00_Start_Storj.sh

docker: Error response from daemon: invalid mount config for type “bind”: invalid mount path: ‘home/pi/.local/share/storj/identity/storagenode’ mount path must be absolute.

I am using a raspberry pi 4 4GB with 4TB external disk mounted.
Here is the configuration in my file: (I have masked some info with XXXXXXX)


sudo docker run -d --restart always –stop-timeout 300 \

-p 28967:28967 \

-p 127.0.0.1:14002:14002 \

-e WALLET=0x162fDd5BCa957DF12F5XXXXXXXXXXXXXXXXX \

-e EMAIL=XXXXXXX@gmail.com \

-e ADDRESS:28967=XXXXXX.ddns.net \

-e STORAGE=3.5TB \

–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


Hoping someone can help me out here. Thanks!

Welcome to the forum @046738!

Can you show content of this folder?

1 Like

This means you need to use a path that starts at /

1 Like

doesn’t looks right. It should be

-e ADDRESS=XXXXXX.ddns.net:28967 \

doesn’t looks right too, seems you have used some word processor, which replaced two dashes to the hyphen. Please, replace all curly quotes to the straight ones and all hyphens to double dashes --. Use only plain text editors such nano or vim.
For this exact option it should start with /, as @BrightSilence said

--mount type=bind,source=/home/pi/.local/share/storj/identity/storagenode,destination=/app/identity \ 

Ok, this is what it looks like in the command line. It may have created some errors when I copied and pasted over. I have provided a screenshot.

Try to answer this too :slight_smile:

I would be lying if I told you I knew how to do it. I am very new at command line stuff.

Does this look like it?
pi@raspberrypi : ~/.local/share/storj/identity/storagenode $ ls -l

total 24

-rw-r–r-- 1 pi pi 514 Jun 6 19:39 ca.1591468757.cert

-rw-r–r-- 1 pi pi 1048 Jun 6 19:39 ca.cert

-rw------- 1 pi pi 241 Jun 6 19:24 ca.key

-rw-r–r-- 1 pi pi 1056 Jun 6 19:39 identity.1591468757.cert

-rw-r–r-- 1 pi pi 1590 Jun 6 19:39 identity.cert

-rw------- 1 pi pi 241 Jun 6 19:24 identity.key

pi@raspberrypi : ~/.local/share/storj/identity/storagenode $

Try changing this to

=~/.local/share/storj/identity/storagenode,destination=/app/identity

We all learn new things every day :slight_smile:

when I changed it to that, this was an error that I received
docker: Error response from daemon: invalid mount config for type “bind”: invalid mount path: ‘~/.local/share/storj/identity/storagenode’ mount path must be absolute.

Do show screenshot with the updated command?

replace “~” with /home/pi/
that is an absolute mount
so: /home/pi/.local/share/storj/identity/storagenode,destination=/app/identity

@nerdatwork confused the OP after he already fixed the relative path to an absolute one. If there is still a problem, then it is something else

My bad, the absolute path was already there if you check the screenshot and OP still had the issue.

he didn’t show any output after changing the path correctly.

From above post it was clear there was some copy paste error and he still got absolute path error. I am not at all pro with Linux so I thought of trial and error by using ~

that’s just the script. not the output of running it.

OP literally said that in first post.