r@r-PowerEdge-T710:~ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
36b03b56e4a9 storjlabs/storagenode:beta "/entrypoint" 9 seconds ago Restarting (1) Less than a second ago storagenode
7d0ef0c0816f hello-world "/hello" About a minute ago Exited (0) About a minute ago vigilant_poitras
r@r-PowerEdge-T710:~ docker exec -it storagenode /app/dashboard.sh
Error response from daemon: Container 36b03b56e4a9abe50dc2344ab9756bcce55a507c7fc752b04557695e124ef42f is restarting, wait until the container is running
r@r-PowerEdge-T710:~$
Hello @hasiki,
Welcome to the forum!
Please, post last 20 lines from the log: https://documentation.storj.io/resources/faq/check-logs
2020/12/01 08:00:11 failed to check for file existence: stat config/config.yaml: not a directory
Please, show your docker run
command, you can remove the private information.
Place the full command between two lines with three backticks like ``` to do not break formatting
sudo docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x05D736C585193c537ecA9229cA076BeCa1e88c9e”
-e EMAIL="storjproton@protonmail.com "
-e ADDRESS=“storjubuntu.duckdns.org:28967”
-e STORAGE=“8TB”
–mount type=bind,source="/home/r/Desktop/identity",destination=/app/identity
–mount type=bind,source="/dev/vg1/lvol0",destination=/app/config
–name storagenode storjlabs/storagenode:latest
r@r-PowerEdge-T710:~$ sudo docker run -d --restart unless-stopped --stop-timeout 300 \
-p 28967:28967 \
-p 127.0.0.1:14002:14002 \
-e WALLET="0x05D736C585193c537ecA9229cA076BeCa1e88c9e" \
-e EMAIL="storjproton@protonmail.com " \
-e ADDRESS="storjubuntu.duckdns.org:28967" \
-e STORAGE="8TB" \
--mount type=bind,source="/home/r/Desktop/identity",destination=/app/identity \
--mount type=bind,source="/dev/vg1/lvol0",destination=/app/config \
--name storagenode storjlabs/storagenode:latest
You can’t use the device directly without a mount. You should mount it first.
Since you use a LVM, your volume is already mounted. You should use a mountpoint of it.
Please, post result of the command:
lsblk
r@r-PowerEdge-T710:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 5,8M 1 loop /snap/clangd/123
loop1 7:1 0 97,8M 1 loop /snap/core/10185
loop2 7:2 0 55,4M 1 loop /snap/core18/1932
loop3 7:3 0 125,9M 1 loop /snap/docker/471
loop4 7:4 0 64,8M 1 loop /snap/gtk-common-themes/1514
loop5 7:5 0 91,2M 1 loop /snap/go/6727
loop6 7:6 0 20K 1 loop /snap/hello-world/29
loop7 7:7 0 140,7M 1 loop /snap/gnome-3-26-1604/100
loop8 7:8 0 21M 1 loop /snap/node/3292
loop9 7:9 0 3,9M 1 loop /snap/rustup/587
loop10 7:10 0 35,3M 1 loop /snap/storjshare/36
loop11 7:11 0 5,8M 1 loop /snap/tor/2
loop12 7:12 0 32K 1 loop /snap/noip-client/4
loop13 7:13 0 4,8M 1 loop /snap/zenity/18
sda 8:0 0 931,5G 0 disk
└─vg1-lvol0 253:0 0 7T 0 lvm
sdb 8:16 0 272,3G 0 disk
├─sdb1 8:17 0 512M 0 part /boot/efi
├─sdb2 8:18 0 1K 0 part
└─sdb5 8:21 0 271,8G 0 part /
sdc 8:32 0 931G 0 disk
└─vg1-lvol0 253:0 0 7T 0 lvm
sdd 8:48 0 5,5T 0 disk
└─vg1-lvol0 253:0 0 7T 0 lvm
r@r-PowerEdge-T710:~$
I have mounted same problem
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 5,8M 1 loop /snap/clangd/123
loop1 7:1 0 97,8M 1 loop /snap/core/10185
loop2 7:2 0 55,4M 1 loop /snap/core18/1932
loop3 7:3 0 125,9M 1 loop /snap/docker/471
loop4 7:4 0 64,8M 1 loop /snap/gtk-common-themes/1514
loop5 7:5 0 91,2M 1 loop /snap/go/6727
loop6 7:6 0 20K 1 loop /snap/hello-world/29
loop7 7:7 0 140,7M 1 loop /snap/gnome-3-26-1604/100
loop8 7:8 0 21M 1 loop /snap/node/3292
loop9 7:9 0 3,9M 1 loop /snap/rustup/587
loop10 7:10 0 35,3M 1 loop /snap/storjshare/36
loop11 7:11 0 5,8M 1 loop /snap/tor/2
loop12 7:12 0 32K 1 loop /snap/noip-client/4
loop13 7:13 0 4,8M 1 loop /snap/zenity/18
sda 8:0 0 931,5G 0 disk
└─vg1-lvol0 253:0 0 7T 0 lvm /mnt/storj
sdb 8:16 0 272,3G 0 disk
├─sdb1 8:17 0 512M 0 part /boot/efi
├─sdb2 8:18 0 1K 0 part
├─sdb3 8:19 0 1M 0 part
└─sdb5 8:21 0 271,8G 0 part /run/timeshift/backup
sdc 8:32 0 931G 0 disk
└─vg1-lvol0 253:0 0 7T 0 lvm /mnt/storj
sdd 8:48 0 5,5T 0 disk
└─vg1-lvol0 253:0 0 7T 0 lvm /mnt/storj
sudo docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x05D736C585193c537ecA9229cA076BeCa1e88c9e”
-e EMAIL="storjproton@protonmail.com "
-e ADDRESS=“storjubuntu.duckdns.org:28967”
-e STORAGE=“8TB”
–mount type=bind,source="/home/r/Desktop/identity",destination=/app/identity
–mount type=bind,source="/mnt/storj",destination=/app/config
–name storagenode storjlabs/storagenode:latest
Remove that space after email
Make sure there are 6 files in this directory
Check your log to see what it is doing.
Please, do not use any word processor to edit the command. Use the pluma
or nano
instead.
The word processor could replace the straight quotes "
to curly ones “
and ”
, the double dash --
to the hyphen: –
and so on.
thanks for help
fixit
just noticed one of my three docker nodes restarted randomly, took a look at the watchtower logs and it showed a hit at that point in time, but when I look at the web and CLI dashboards, the version # is the same as it was before…
docker logs watchtower
time="2020-12-07T01:09:57Z" level=info msg="Found new storjlabs/storagenode:latest image (sha256:da4404b68973dfa94ba21d3e4555725817db32cd276f5fa3d9e5a4cd19118bb1)"
time="2020-12-07T01:09:58Z" level=info msg="Found new storjlabs/storagenode:latest image (sha256:da4404b68973dfa94ba21d3e4555725817db32cd276f5fa3d9e5a4cd19118bb1)"
time="2020-12-07T01:09:58Z" level=info msg="Found new storjlabs/storagenode:latest image (sha256:da4404b68973dfa94ba21d3e4555725817db32cd276f5fa3d9e5a4cd19118bb1)"
time="2020-12-07T01:09:58Z" level=info msg="Stopping /storj-node-03 (f607d31620edb5e97d16e87ee06b79affdbf6e7479bae66c3b134197e8619264) with SIGTERM"
time="2020-12-07T01:10:00Z" level=info msg="Stopping /storj-node-02 (5fb2e604da38823d7858bc27dffe7769081550601733f519a574212b0b1f1b69) with SIGTERM"
time="2020-12-07T01:10:02Z" level=info msg="Stopping /storj-node-01 (44fe7ab110e4655389c1cb89efdd521ee65597fe12caeaee8c7f60288a440147) with SIGTERM"
time="2020-12-07T01:10:03Z" level=info msg="Creating /storj-node-01"
time="2020-12-07T01:10:03Z" level=info msg="Creating /storj-node-02"
time="2020-12-07T01:10:04Z" level=info msg="Creating /storj-node-03"
But the dashboard displays v1.17.4 and I don’t see any version in the node logs
thanks
post must be at least 20 characters.