Hi
how are you?
1.- my error is: docker logs storagenode
2020-05-09T19:25:37.594Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}
2020-05-09T19:25:37.594Z INFO tracing disabled
2020-05-09T19:25:37.595Z FATAL Failed to load identity. {“error”: “file or directory not found error: open identity/identity.cert: not a directory”, “errorVerbose”: “file or directory not found error: open identity/identity.cert: not a directory\n\tstorj.io/common/identity.Config.Load:329\n\tmain.cmdRun:146\n\tstorj.io/private/process.cleanup.func1.4:344\n\tstorj.io/private/process.cleanup.func1:362\n\tgithub.com/spf13/cobra.(*Command).execute:840\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:945\n\tgithub.com/spf13/cobra.(*Command).Execute:885\n\tstorj.io/private/process.ExecWithCustomConfig:86\n\tstorj.io/private/process.ExecCustomDebug:68\n\tmain.main:329\n\truntime.main:203”}
2.- my output show always restarting
root@docker-s-1vcpu-1gb-nyc1-01:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7db1fa01f124 storjlabs/storagenode:beta “/entrypoint” 6 minutes ago Restarting (1) 46 seconds ago storagenode
87f88c6e1b01 hello-world “/hello” About an hour ago Exited (0) About an hour ago laughing_hawking
9400c9a10ff6 storjlabs/watchtower “/watchtower storage…” About an hour ago Up About an hour watchtower
3ccc5fec7c85 ubuntu “bash” 2 hours ago Exited (127) 2 hours ago hardcore_noyce
570ca9b043aa hello-world “/hello” 2 hours ago Exited (0) 2 hours ago cranky_minsky
3.- i was try delete with out:
docker stop -t 300 storagenode
docker rm storagenode
rm /mnt/volume_nyc1_03/config.yaml
4.- after remove o was try run again the following:
docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x630a8F9EDA472C55b9057e706F7A8f427e9ab48B”
-e EMAIL="mmyname@mydomain.com"
-e ADDRESS=“162.243.163.153:28967”
-e STORAGE=“550GB”
–mount type=bind,source="/usr/local/bin/identity",destination=/app/identity
–mount type=bind,source="/mnt/volume_nyc1_03",destination=/app/config
–name storagenode storjlabs/storagenode:beta
5.- i was verify my identity with:
root@docker-s-1vcpu-1gb-nyc1-01:~# grep -c BEGIN ~/.local/share/storj/identity/storagenode/ca.cert
2
root@docker-s-1vcpu-1gb-nyc1-01:~# grep -c BEGIN ~/.local/share/storj/identity/storagenode/identity.cert
3
6.- my dashboard show
root@docker-s-1vcpu-1gb-nyc1-01:~# docker exec -it storagenode /app/dashboard.sh
Error response from daemon: Container 7db1fa01f124dc9a87da7598614fdc00169f5e35a1c48db529085c1a5588698c is restarting, wait until the container is running
7.- my dh-f and ls /usr/local/bin/identity
root@docker-s-1vcpu-1gb-nyc1-01:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 463M 0 463M 0% /dev
tmpfs 99M 748K 98M 1% /run
/dev/vda1 25G 2.8G 22G 12% /
tmpfs 493M 0 493M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 493M 0 493M 0% /sys/fs/cgroup
/dev/vda15 105M 3.6M 101M 4% /boot/efi
/dev/sda 546G 68M 524G 1% /mnt/volume_nyc1_03
tmpfs 99M 0 99M 0% /run/user/0
overlay 25G 2.8G 22G 12% /var/lib/docker/overlay2/983da027c4c33d00fa9efdb0fe67de214c83c56c8d55c563bdcc163d6593c0c4/merged
root@docker-s-1vcpu-1gb-nyc1-01:~# ls /usr/local/bin/identity
/usr/local/bin/identity
8.- i was try copy identity to /storj my output:
root@docker-s-1vcpu-1gb-nyc1-01:~# ls /storj/
identity
i was remove:
docker stop -t 300 storagenode
docker rm storagenode
rm /mnt/volume_nyc1_03/config.yaml
and my scrip:
docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 127.0.0.1:14002:14002
-e WALLET=“0x630a8F9EDA472C55b9057e706F7A8f427e9ab48B”
-e EMAIL=“mcastro@securebyte.com.ve”
-e ADDRESS=“162.243.163.153:28967”
-e STORAGE=“550GB”
–mount type=bind,source="/storj",destination=/app/identity
–mount type=bind,source="/mnt/volume_nyc1_03",destination=/app/config
–name storagenode storjlabs/storagenode:beta
my logs is the same