someone passed this error -bash:, destination = / app / identity: No such file or directory when I run these commands.
Hello @willy,
Welcome to the forum!
- Please, replace your WALLET value to the valid ETH address and make sure that your wallet is able to see and move ERC20 tokens, in our case - STORJ (you will be paid in STORJ tokens).
- Remove
<>
around values - they are placeholders.
You also have some stylized quotes in your command, probably because you copied the command to a word processor that replaced them.
Quotes at the top few lines look right, but the ones around the path do not.
Hello Alexey I already created a new wallt with the recommended characteristics and remove the <> commands but now I got this error, note sorry for bothering but I already invested a lot of time in this and I am interested that it finally works thanks for your answers
You still does not replaced the curly quotes around paths. You should use only straight ones: "
time I get this:
Last login: Mon Aug 17 19:31:34 2020 from 185.236.200.27
micmem@servermicmem:~$ sudo docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967 \
-p 127.0.0.1:14002:14002 \
-e wallet=0x2C0Cb64e4B2e82Ebe46E31a61ac3047dE3121c50 \
-e email=g_prieto71@hotmail.com \
-e address=187.243.247.90:28967\ \
-e storage=10tb \
--mount type=bind,source=/home/micmem/.local/share/storj/identity/storagenode,destination=/app/identity \
--mount type=bind,source=/mnt/storj1,destination=/app/config \
--name storagenode storjlabs/storagenode:latest
It should be
sudo docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967 \
-p 127.0.0.1:14002:14002 \
-e WALLET="0x2C0Cb64e4B2e82Ebe46E31a61ac3047dE3121c50" \
-e EMAIL="g_prieto71@hotmail.com" \
-e ADDRESS=187.243.247.90:28967 \
-e STORAGE=10TB \
--mount type=bind,source=/home/micmem/.local/share/storj/identity/storagenode,destination=/app/identity \
--mount type=bind,source=/mnt/storj1,destination=/app/config \
--name storagenode storjlabs/storagenode:latest
Also it is better to put the storagenode to the subfolder on the disk
Please, create a subfolder:
sudo mkdir /mnt/storj1/storagenode1
And use the /mnt/storj1/storagenode1
instead of /mnt/storj1/
Restarting?
It doesn’t seem to work though …
Please take a screenshot of your “docker run …” command
What kind of OS is it that you give “sudo” at the beginning?
No, it’s not.
Please, give me a logs:
docker logs --tail 20 storagenode
Last login: Mon Aug 17 20:11:25 2020 from 185.236.200.27
micmem@servermicmem:~ docker logs --tail 20 storagenode
2020-08-17T20:07:49.416Z INFO Configuration loaded {"Location": "/a pp/config/config.yaml"}
2020-08-17T20:07:49.423Z WARN Operator email address isn't specified.
2020-08-17T20:07:49.423Z ERROR Invalid configuration. {"error": "opera tor wallet address isn't specified"}
Error: operator wallet address isn't specified
2020-08-17T20:08:49.944Z INFO Configuration loaded {"Location": "/a pp/config/config.yaml"}
2020-08-17T20:08:49.952Z WARN Operator email address isn't specified.
2020-08-17T20:08:49.952Z ERROR Invalid configuration. {"error": "opera tor wallet address isn't specified"}
Error: operator wallet address isn't specified
2020-08-17T20:09:50.444Z INFO Configuration loaded {"Location": "/a pp/config/config.yaml"}
2020-08-17T20:09:50.451Z WARN Operator email address isn't specified.
2020-08-17T20:09:50.451Z ERROR Invalid configuration. {"error": "opera tor wallet address isn't specified"}
Error: operator wallet address isn't specified
2020-08-17T20:10:50.972Z INFO Configuration loaded {"Location": "/a pp/config/config.yaml"}
2020-08-17T20:10:50.979Z WARN Operator email address isn't specified.
2020-08-17T20:10:50.979Z ERROR Invalid configuration. {"error": "opera tor wallet address isn't specified"}
Error: operator wallet address isn't specified
2020-08-17T20:11:51.456Z INFO Configuration loaded {"Location": "/a pp/config/config.yaml"}
2020-08-17T20:11:51.463Z WARN Operator email address isn't specified.
2020-08-17T20:11:51.463Z ERROR Invalid configuration. {"error": "opera tor wallet address isn't specified"}
Error: operator wallet address isn't specified
micmem@servermicmem:~
Please, stop and remove the container:
docker stop -t 300 storagenode
docker rm storagenode
And try to run again, but use the command
By the way - have you created a folder on your disk?
If yes - then replace the `
to
--mount type=bind,source=/mnt/storj1/storagenode1,destination=/app/config \
(or other folder which you created)
The case for options -e
is matter, i.e. -e wallet=...
is not an equivalent of the -e WALLET=...
delete the old container and made a new one with the recommended parameters
I didn’t make any new folders before!
Are you connecting to Windows eg Putty?
The operating system is Ubuntu 18.04 and if I connect through Windows eg Putty
It doesn’t use Windows Notepad, only Notepad++ for copy / paste
docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967 \
-p 127.0.0.1:14002:14002 \
-e WALLET="0x2C0Cb64e4B2e82Ebe46E31a61ac3047dE3121c50" \
-e EMAIL="g_prieto71@hotmail.com" \
-e ADDRESS=187.243.247.90:28967 \
-e STORAGE=10TB \
--mount type=bind,source=/home/micmem/.local/share/storj/identity/storagenode,destination=/app/identity \
--mount type=bind,source=/mnt/storj1,destination=/app/config \
--name storagenode storjlabs/storagenode:latest
If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:
sudo usermod -aG docker your-user
I knew you could do it
He is already working?