Installation d’un nœud Duniter à l’aide de YunoHost

Salut @rodinux

Je les ai fait un peut au pif… en copiant sur d’autre apps :grimacing:
si quelqu’un veut bien y jeter un œil aguerri :wink:

https://github.com/YunoHost-Apps/duniter_ynh/pulls

Bonjour,
Je m’intéresse au projet June et souhaiterais installer un noeud duniter/cesium via Yunohost.
Questions:

  • ayant déjà un yunohost hébergeant nextcloud et bien d’autres services, si j’installe en plus duniter sur cette plateforme que se passera-t-il concernant le nom de domaine car j’ai cru comprendre que Duniter demande un nom de domaine racine ?

  • dans la liste des applications packagées fonctionnelles sur le site de yunohost je trouve un package Cesium mais le package Duniter est considéré non fonctionnel qu’en est-il actuellement et comment effectuer une installation propre ?

Merci pour vos retours.
Cdt
arjz

Voir du côté de Installation d'un nœud Duniter (avec le paquet YunoHost) - Duniter - Duniter Forum

Le paquet Duniter nécessite pour l’instant un nom de domaine à lui tout seul où seul cette app sera installée. Ça peut-être un sous domaine.

L’application Duniter est fonctionnelle, mais demande un peu de maintenance pour être actualisée et être affichée dans la liste comme maintenue. J’ai un peu du mal à m’en occuper. Il est possible de l’installer en spécifiant l’URL du dépôt.

Bonjour @Moul @philsfree je continue à avancer sur l’installation de l’eco systeme:
J’ai même fais une visio Lundi soir avec les dev (Bertrand, Maaltir…) via le calendrier du forum monnaie libre :wink:
1- j’ai ouvert un compte Cesium de type portefeuille (donc non membre certifié)
2- mon serveur yunohost dédié avec le package duniter1.8.1 : bdx-dun1.nohost.me
Synchronisation simplifiée lancée en cours…
Actuellement mon problème c’est que j’ai un autre yunohost attaché à mon nom de domaine privé.
Pour duniter j’ai donc créé une nouvelle instance yunohost avec son propre nom de domaine indépendant de l’autre. Bref il me faut créer un reverse proxy 80/443 qui me permettra d’aiguiller correctement le trafic entre les 2 instances yunohost. quid des certificats let’s encrypt après ?
Si jamais une bonne âme se sent de m’envoyer quelques info sur tout ça car là je coince.

Merci
Cdt
Arjz

Salut @arjz :wave:
Pour te simplifier la vie avec le proxy (demande que je vois poper partout :slight_smile: ), tu peut utiliser “Nginx Proxy Manager”. il est simple à utiliser (interface web d’admin) et s’installe partout (même si je préfère la solution d’installation sous Docker).
Lorsque tu déclares une route (Proxy Hosts) tu peux choisir de demander un certificat let’s encrypt par la même occasion (et il gère le renouvellement). C’est lui qui encapsulera en HTTPS lors du passage du flux entre ses mains :wink:

Si tu veux j’en ai parlé dans ce post :

Salut @Kimous, en fait tu me sauve juste la vie, j’étais en train de regarder HAproxy et aussi via du Apache en mode gros geek barbu :wink:
Je regarde de ce pas Nginx Proxy Manager merci pour ton tuto (et oui c’est bien embêtant le hairpining de la livebox).

A+
arjz

1 Like

Hello,

J’ai bien avancé grâce à toi @Kimous mes redirections via nginx proxy manager sur mes 2 yunohost :wink:

@Moul Là par contre je bloque sur la synchro de la blockchain j’ai tenté de faire un reset des data à 3 reprises mais ça semble bloquer.
Voici les derniers logs d’erreur:

"2021-12-17T17:49:38+00:00 info WS2P: connected to peer 8iVdpXqF using `WS2P g1.duniter.org 443`!

2021-12-17T17:50:03+00:00 info SIDE Block #483988-00000007 added to the blockchain in 1 ms

2021-12-17T17:50:03+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T17:50:03+00:00 error 

2021-12-17T17:50:03+00:00 info Fork resolution: 46 potential block(s) found...

2021-12-17T17:50:03+00:00 info Fork resolution: block #250750-0000012E is known as incorrect. Skipping.

2021-12-17T17:45:57+00:00 info WS2P: connection [8iVdpXqF `WS2P g1.duniter.org 443`] has been closed

2021-12-17T17:49:37+00:00 warn Security trigger: proof-of-work process seems stuck

2021-12-17T17:49:37+00:00 warn Local node is not a member. Waiting to be a member before computing a block.

2021-12-17T17:49:38+00:00 info WS2P: init: bundle of peers 1/1

2021-12-17T17:49:38+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T17:49:38+00:00 error 

2021-12-17T17:49:38+00:00 info Fork resolution: 46 potential block(s) found...

2021-12-17T17:49:38+00:00 info Fork resolution: block #250750-0000012E is known as incorrect. Skipping.

2021-12-17T17:49:38+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T17:49:38+00:00 error 

2021-12-17T17:49:38+00:00 info Fork resolution: 46 potential block(s) found...

2021-12-17T17:49:38+00:00 info Fork resolution: block #250750-0000012E is known as incorrect. Skipping.

2021-12-17T17:49:38+00:00 info WS2P: connected to peer 8iVdpXqF using `WS2P g1.duniter.org 443`!

2021-12-17T17:50:03+00:00 info SIDE Block #483988-00000007 added to the blockchain in 1 ms

2021-12-17T17:50:03+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T17:50:03+00:00 error 

2021-12-17T17:50:03+00:00 info Fork resolution: 46 potential block(s) found...

2021-12-17T17:50:03+00:00 info Fork resolution: block #250750-0000012E is known as incorrect. Skipping.

2021-12-17T17:50:52+00:00 info ⬇ TX 499:0 from 2kq14LVjED5m5up8n1fbzWHmb5WLicGwwYtNRkZsn7vt

2021-12-17T17:50:52+00:00 info ✘ TX 499:0 from 2kq14LVjED5m5up8n1fbzWHmb5WLicGwwYtNRkZsn7vt

2021-12-17T17:50:52+00:00 warn Wrong blockstamp for transaction"

"2021-12-17T19:40:41+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T19:40:41+00:00 error 

2021-12-17T19:40:41+00:00 info Fork resolution: 46 potential block(s) found...

2021-12-17T19:40:41+00:00 info Fork resolution: block #250750-0000012E is known as incorrect. Skipping.

2021-12-17T19:43:09+00:00 info ⬇ IDTY CnARoecFibuDZgWAFdLSEPPDEahXAYBQjAhNSykbx6v4 NalaJoy

2021-12-17T19:43:09+00:00 info ✘ IDTY CnARoecFibuDZgWAFdLSEPPDEahXAYBQjAhNSykbx6v4 NalaJoy

2021-12-17T19:43:09+00:00 warn 

2021-12-17T19:43:09+00:00 info ⬇ CnARoecFibuDZgWAFdLSEPPDEahXAYBQjAhNSykbx6v4 IN

2021-12-17T19:43:09+00:00 warn 

2021-12-17T19:45:06+00:00 info [Bz4fvon7] ⬇ PEER Bf9PttKS 483979-0

2021-12-17T19:45:06+00:00 warn Unknown reference block of peer

2021-12-17T19:46:13+00:00 info [Bz4fvon7] ⬇ PEER 5fPevx21 483979-0

2021-12-17T19:46:13+00:00 warn Unknown reference block of peer

2021-12-17T19:47:03+00:00 info [Bz4fvon7] ⬇ PEER 74RBUM4V 483979-0

2021-12-17T19:47:03+00:00 warn Unknown reference block of peer

2021-12-17T19:47:32+00:00 info [Bz4fvon7] ⬇ PEER TENGx7Wt 483979-0

2021-12-17T19:47:32+00:00 warn Unknown reference block of peer

2021-12-17T19:47:38+00:00 info [Bz4fvon7] ⬇ PEER CRBxCJrT 483979-0

2021-12-17T19:47:38+00:00 warn Unknown reference block of peer

2021-12-17T19:49:37+00:00 warn Security trigger: proof-of-work process seems stuck

2021-12-17T19:49:37+00:00 warn Local node is not a member. Waiting to be a member before computing a block.

2021-12-17T19:49:38+00:00 info WS2P: init: bundle of peers 1/1

2021-12-17T19:49:38+00:00 info Blocks were not applied.

2021-12-17T19:49:38+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T19:49:38+00:00 error WS2P >>> >>> WS ERROR: REJECTED_PUBKEY_OR_INCORRECT_ASK_SIGNATURE_FROM_REMOTE

2021-12-17T19:49:38+00:00 error 

2021-12-17T19:49:38+00:00 info Fork resolution: 46 potential block(s) found...

2021-12-17T19:49:38+00:00 info Fork resolution: block #250750-0000012E is known as incorrect. Skipping.

2021-12-17T19:49:39+00:00 info Blocks were not applied.

2021-12-17T19:49:39+00:00 info Block resolution: 1 potential blocks after current#250749...

2021-12-17T19:49:39+00:00 error "

Cdt

C’est à peu près la moitié de la chaîne de la Ğ1.
As-tu suffisamment de RAM pour que la synchronisation initiale puisse se faire jusqu’à la fin ?

Hello @Moul , merci pour ton message,
Voici la configuration de mon container: 2vcores, 1Go RAM, 16Go disque

Entre temps j’ai continué à faire des tentatives de synchro en ligne de commande en tant que root:
à chaque fois je fais un duniter stop, duniter reset data ou duniter reset all avant de relancer une synchro duniter sync g1.duniter.org:443.

Et en effet ça coupe juste après les 60%, je vais suivre ton conseil et augmenter la RAM et relancer une synchro.

Merci
Cdt
arjz

Hello,

Donc j’ai augmenté la RAM à 4Go et réussi à effectuer une synchro complète par contre uniquement en root en ligne de commande, ça resté coincé en via webstart et plus rien ne se passé niveau conso CPU et RAM sur la machine.

Bref mon noeud miroir est up, connecté sous ma clef public (simple portefeuille).
WS2POCA b55wqp3aepyGjk71CTxh cab5460e
Si l’un d’entre vous peux me dire si tout semble ok en central.
Après pour la suite, si j’ai tout pigé, je dois obtenir des certifications et transformer mon compte portefeuille en compte membre certifié.

Merci de votre aide.
Cordialement
arjz