Noeud lancé mais rien

Bonjour, mon nœud est bien lancé du moins je pense, mais je n’ai pas accès a la Dashboard aussi bien sous linux que sur le port 14002. Comment savoir si il est bien lancé sans erreurs?

root@ns307488:/home/acidburn# docker exec -it storagenode /app/dashboard.sh
Error response from daemon: Container 2b33d6fb40d70f21061c8c10c99f12b36291318f24d1adaf66089521a7a9fc9a is restarting, wait until the container is running

Cordialement Emmanuel

Apres differents essais, j’ai un bon message d’erreur

2021-02-04T17:58:52.447Z INFO Configuration loaded {“Location”: “/app/config/config.yaml”}
Error: storagenode configuration already exists (/app/config)

Bon, plus le message d’erreur au lancement mais toujours rien :frowning: je ne comprends pas.
Iptables peut être ?

Encore un nouveau message : docker: Error response from daemon: driver failed programming external connectivity on endpoint storagenode (bf9341531ac0857c205461f874300dbb428c4b933f19c9f156dcf46a04c26304): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.2 --dport 28967 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).

root@ns307488:~# docker exec -it storagenode /app/dashboard.sh
Error response from daemon: Container 4a5bcf0029daafb741548d6a1cc2376cf974fc741826204be39f4a5a84c14d81 is restarting, wait until the container is running

Please show us your command with which you start the node. Remove your personal data.

Vous arriveriez à envoyer votre commande pour lancer le node ?
Pour les iptables j’en ai aucunne idée, c’est au dessus de mes compétences.

Je recommanderais de réinstaller Docker sur votre système. S’il s’agit de Linux, supprimez complètement Docker et réinstallez-le en suivant les instructions sur leur site Web:

S’il s’agit de Windows, effectuez une réinitialisation d’usine dans les paramètres de l’application Docker Desktop pour Windows.

les logs :
2021-02-08T18:23:54.347Z ERROR Failed to load identity. {“error”: “file or directory not found error: open identity/identity.cert: no such file or directory”, “errorVerbose”: “file or directory not found error: open identity/identity.cert: no such file or directory\n\tstorj.io/common/identity.Config.Load:329\n\tmain.cmdRun:149\n\tstorj.io/private/process.cleanup.func1.4:363\n\tstorj.io/private/process.cleanup.func1:381\n\tgithub.com/spf13/cobra.(*Command).execute:842\n\tgithub.com/spf13/cobra.(*Command).ExecuteC:950\n\tgithub.com/spf13/cobra.(*Command).Execute:887\n\tstorj.io/private/process.ExecWithCustomConfig:88\n\tstorj.io/private/process.ExecCustomDebug:70\n\tmain.main:385\n\truntime.main:204”}
Error: Failed to load identity: file or directory not found error: open identity/identity.cert: no such file or directory
storj.io/common/identity.Config.Load:329
main.cmdRun:149
storj.io/private/process.cleanup.func1.4:363
storj.io/private/process.cleanup.func1:381
github.com/spf13/cobra.(*Command).execute:842
github.com/spf13/cobra.(*Command).ExecuteC:950
github.com/spf13/cobra.(*Command).Execute:887
storj.io/private/process.ExecWithCustomConfig:88
storj.io/private/process.ExecCustomDebug:70
main.main:385
runtime.main:204

Mon noeud est lancé mais offline depuis http://37.59.60.29:14002
je ne comprends pas!!! Help

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 37.59.60.29:14002:14002
-e WALLET=“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
-e EMAIL="xxxxxx@orange.fr"
-e ADDRESS=“37.59.60.29:28967”
-e STORAGE=“1.5TB”
–mount type=bind,source="/root/.local/share/storj/identity/storagenode/",destination=/app/identity
–mount type=bind,source="/home/acidburn/",destination=/app/config
–name storagenode storjlabs/storagenode:latest

essayer;

docker run -d --restart unless-stopped --stop-timeout 300
-p 28967:28967
-p 14002:14002
-e WALLET=“xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
-e EMAIL="xxxxxx@orange.fr"
-e ADDRESS=“37.59.60.29:28967”
-e STORAGE=“1.5TB”
–mount type=bind,source="/root/.local/share/storj/identity/storagenode/",destination=/app/identity
–mount type=bind,source="/home/acidburn/",destination=/app/config
–name storagenode storjlabs/storagenode:latest

vous n’avez pas besoin d’ip public dans la commande -p, mais simplement le port - c’est pour le panneau de contrôle Web.

vous configurez la redirection de port sur le routeur? vous devez configurer 28967 sur le point de routeur à l’adresse IP exécutant le docker

8d6a311fa83bce18cc9f8f91a40ef5651d47d46cdb4da634eca37b48df37697e
docker: Error response from daemon: driver failed programming external connectivity on endpoint storagenode (6281c513f08afbdab60f528f23c67034691ca3b531b09cd0c43c59e2b87ed646): (iptables failed: iptables --wait -t filter -A DOCKER ! -i docker0 -o docker0 -p tcp -d 172.17.0.3 --dport 28967 -j ACCEPT: iptables: No chain/target/match by that name.
(exit status 1)).

je suis sur un serveur distant j’utilise iptables

noeud lancé mais offline :frowning:

ok, alors serveur directement sur internet?

cette commande affiche l’adresse IP publique sur le serveur comme 37.59.60.29 oui?

ip a | grep eth0

root@ns307488:/home/acidburn# ip a | grep enp1s0
6: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
inet 37.59.60.29/24 brd 37.59.60.255 scope global enp1s0
root@ns307488:/home/acidburn#

iptables -L

Exécutez ceci, je pense que les règles de docker sont manquantes mais doivent être vérifiées

root@ns307488:/home/acidburn# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
ACCEPT icmp – anywhere anywhere
ACCEPT tcp – anywhere anywhere tcp dpt:1664
ACCEPT tcp – anywhere anywhere tcp dpt:webmin
ACCEPT tcp – anywhere anywhere tcp dpt:14002
ACCEPT udp – anywhere anywhere udp dpt:14002
ACCEPT tcp – anywhere anywhere tcp dpt:28967
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:https
ACCEPT tcp – anywhere anywhere tcp dpt:8443
ACCEPT tcp – anywhere anywhere tcp dpts:ftp-data:ftp
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:smtp
ACCEPT tcp – anywhere anywhere tcp dpt:pop3
ACCEPT tcp – anywhere anywhere tcp dpt:imap2
ACCEPT tcp – anywhere anywhere tcp dpt:pop3s

Chain FORWARD (policy DROP)
target prot opt source destination
DOCKER-USER all – anywhere anywhere
DOCKER-ISOLATION-STAGE-1 all – anywhere anywhere
ACCEPT all – anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
ACCEPT icmp – anywhere anywhere
ACCEPT tcp – anywhere anywhere tcp dpt:1664
ACCEPT tcp – anywhere anywhere tcp dpt:14002
ACCEPT udp – anywhere anywhere udp dpt:14002
ACCEPT tcp – anywhere anywhere tcp dpt:28967
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:ntp
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:https
ACCEPT tcp – anywhere anywhere tcp dpts:ftp-data:ftp
ACCEPT tcp – anywhere anywhere tcp dpt:smtp
ACCEPT tcp – anywhere anywhere tcp dpt:pop3
ACCEPT tcp – anywhere anywhere tcp dpt:imap2
ACCEPT tcp – anywhere anywhere tcp dpt:pop3s

Chain DOCKER (1 references)
target prot opt source destination

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target prot opt source destination
DOCKER-ISOLATION-STAGE-2 all – anywhere anywhere
RETURN all – anywhere anywhere

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
target prot opt source destination
DROP all – anywhere anywhere
RETURN all – anywhere anywhere

Chain DOCKER-USER (1 references)
target prot opt source destination
RETURN all – anywhere anywhere

les règles de docker ne semblent pas complètes - pouvez-vous exécuter ci-dessous; il supprimera également votre image de docker, mais se téléchargera à nouveau.

docker container stop $(docker container ls -q --filter name=storagenode)
docker container rm $(docker container ls -a -q --filter name=storagenode)

service docker restart

puis exécutez à nouveau storagenode, et faites iptables -L

root@ns307488:/home/acidburn# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
ACCEPT icmp – anywhere anywhere
ACCEPT tcp – anywhere anywhere tcp dpt:1664
ACCEPT tcp – anywhere anywhere tcp dpt:webmin
ACCEPT tcp – anywhere anywhere tcp dpt:14002
ACCEPT udp – anywhere anywhere udp dpt:14002
ACCEPT tcp – anywhere anywhere tcp dpt:28967
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:https
ACCEPT tcp – anywhere anywhere tcp dpt:8443
ACCEPT tcp – anywhere anywhere tcp dpts:ftp-data:ftp
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp – anywhere anywhere tcp dpt:smtp
ACCEPT tcp – anywhere anywhere tcp dpt:pop3
ACCEPT tcp – anywhere anywhere tcp dpt:imap2
ACCEPT tcp – anywhere anywhere tcp dpt:pop3s

Chain FORWARD (policy DROP)
target prot opt source destination
DOCKER-USER all – anywhere anywhere
DOCKER-ISOLATION-STAGE-1 all – anywhere anywhere
ACCEPT all – anywhere anywhere ctstate RELATED,ESTABLISHED
DOCKER all – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere
ACCEPT all – anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
ACCEPT icmp – anywhere anywhere
ACCEPT tcp – anywhere anywhere tcp dpt:1664
ACCEPT tcp – anywhere anywhere tcp dpt:14002
ACCEPT udp – anywhere anywhere udp dpt:14002
ACCEPT tcp – anywhere anywhere tcp dpt:28967
ACCEPT tcp – anywhere anywhere tcp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:domain
ACCEPT udp – anywhere anywhere udp dpt:ntp
ACCEPT tcp – anywhere anywhere tcp dpt:http
ACCEPT tcp – anywhere anywhere tcp dpt:https
ACCEPT tcp – anywhere anywhere tcp dpts:ftp-data:ftp
ACCEPT tcp – anywhere anywhere tcp dpt:smtp
ACCEPT tcp – anywhere anywhere tcp dpt:pop3
ACCEPT tcp – anywhere anywhere tcp dpt:imap2
ACCEPT tcp – anywhere anywhere tcp dpt:pop3s

Chain DOCKER (1 references)
target prot opt source destination

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
target prot opt source destination
DOCKER-ISOLATION-STAGE-2 all – anywhere anywhere
RETURN all – anywhere anywhere

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
target prot opt source destination
DROP all – anywhere anywhere
RETURN all – anywhere anywhere

Chain DOCKER-USER (1 references)
target prot opt source destination
RETURN all – anywhere anywhere
root@ns307488:/home/acidburn#