Bug wotwizard sur serveur Axiom team

Hello tout le monde.

Tout est dans le titre b

Que se passe t’il du côté du serveur Axiom-Team ?

Wotwizard ne fonctionne plus… En autres

Merci de votre reponse

Belle soirée

Bonjour,

Il n’y a que wotwizard axiom qui est HS.

Il se passe ça: Wotwizard UI - #143 by poka
C’est donc repartie.

TLDR: ça marche.

Enfer

Non ce coup ci il ne semble pas vouloir repartir.
J’ai redémarré la VM, supprimé les fichiers wotwizard-export.db et wotwizard-export_0.db pour laisser wotwizard les regénérer, mais rien n’y fait.

Le status du service est différent de la dernière fois:

$ sudo systemctl status wwServer -n500
* wwServer.service - wotwizard server
     Loaded: loaded (/etc/systemd/system/wwServer.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-01-19 09:34:12 CET; 37s ago
    Process: 600 ExecStart=/home/axiom/wotwizard/wwServer -du /home/axiom/.config/duniter/duniter_default/wotwizard-export.db (code=exited, status=2)
   Main PID: 600 (code=exited, status=2)
        CPU: 15.662s

Jan 19 09:33:59 duniter-v1-data systemd[1]: Started wotwizard server.
Jan 19 09:33:59 duniter-v1-data wwServer[600]: WotWizard version 5.8.8
Jan 19 09:34:12 duniter-v1-data wwServer[600]: panic: 116
Jan 19 09:34:12 duniter-v1-data wwServer[600]: goroutine 7 [running]:
Jan 19 09:34:12 duniter-v1-data wwServer[600]: util/misc.haltCommon({0xc0033a9c30, 0x1, 0x9f8a10?})
Jan 19 09:34:12 duniter-v1-data wwServer[600]:         /home/gerard/goPerso/src/util/misc/misc.go:222 +0x1e5
Jan 19 09:34:12 duniter-v1-data wwServer[600]: util/misc.Assert(...)
Jan 19 09:34:12 duniter-v1-data wwServer[600]:         /home/gerard/goPerso/src/util/misc/misc.go:232
Jan 19 09:34:12 duniter-v1-data wwServer[600]: util/bTree.(*info).Read(0xc006b58a20, 0x24?)
Jan 19 09:34:12 duniter-v1-data wwServer[600]:         /home/gerard/goPerso/src/util/bTree/bTree.go:1925 +0x65
Jan 19 09:34:12 duniter-v1-data wwServer[600]: util/bTree.(*Database).readPageA(0xc00020e5a0, 0xc0033a9d10?, {0x9fc620, 0xedf688})
Jan 19 09:34:12 duniter-v1-data wwServer[600]:         /home/gerard/goPerso/src/util/bTree/bTree.go:1767 +0x11f
Jan 19 09:34:12 duniter-v1-data wwServer[600]: util/bTree.(*Database).pageManager(0xc00020e5a0, 0xc000244960, 0xc0002449c0, 0xc000244a20, 0xc000244a80, 0xc000244ae0, 0xc000244b40, 0xc000244ba0, 0xc000244c00, 0xc000244c60, ...)
Jan 19 09:34:12 duniter-v1-data wwServer[600]:         /home/gerard/goPerso/src/util/bTree/bTree.go:1012 +0x505
Jan 19 09:34:12 duniter-v1-data wwServer[600]: created by util/bTree.(*Factory).OpenBase
Jan 19 09:34:12 duniter-v1-data wwServer[600]:         /home/gerard/goPerso/src/util/bTree/bTree.go:1294 +0xede
Jan 19 09:34:12 duniter-v1-data systemd[1]: wwServer.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 19 09:34:12 duniter-v1-data systemd[1]: wwServer.service: Failed with result 'exit-code'.
Jan 19 09:34:12 duniter-v1-data systemd[1]: wwServer.service: Consumed 15.662s CPU time.

Je viens de découvrir le fichier de log de wotwizard, mais il ne m’aide pas vraiment:

2024/01/19 09:33:59 blockchain.go:2966: Adding Centralities to updateList
2024/01/19 09:33:59 run.go:52: WotWizard version 5.8.8 


2024/01/19 09:33:59 blockchain.go:2966: Adding Blockchain to updateList
2024/01/19 09:33:59 blockchain.go:3094: Starting
2024/01/19 09:33:59 blockchain.go:3094: 
2024/01/19 09:33:59 blockchain.go:2941: Making a copy of "DBase.data"
2024/01/19 09:34:04 blockchain.go:2950: Copy made
2024/01/19 09:34:04 blockchain.go:1093: "DBase.data" opened
2024/01/19 09:34:04 blockchain.go:2891: "updating.txt" erased
2024/01/19 09:34:04 blockchain.go:2892: Looking for /home/axiom/.config/duniter/duniter_default/updating.txt
2024/01/19 09:34:04 blockchain.go:2892: 
2024/01/19 09:34:04 blockchain.go:3029: Starting first update
2024/01/19 09:34:12 bTree.go:1925: *** ERROR ***
2024/01/19 09:34:12 bTree.go:1925: 116

Les ressources son ok, le noeud local sur lequel il se sync est ok: https://duniter-v1-g1.axiom-team.fr/blockchain/current

Donc je ne sais pas.
cc @gerard94


j’ai supprimé son dossier rsrc/duniter/System, donc je vais le laisser voir si il recréer bien sa DB, en tout cas plus d’erreur, et il resync de zero.

2024/01/19 10:04:54 blockchain.go:2966: Adding Centralities to updateList
2024/01/19 10:04:54 run.go:52: WotWizard version 5.8.8 

2024/01/19 10:04:54 blockchain.go:2966: Adding Blockchain to updateList
2024/01/19 10:04:54 blockchain.go:3094: Starting
2024/01/19 10:04:54 blockchain.go:3094: 
2024/01/19 10:04:54 blockchain.go:1073: "DBase.data" created
2024/01/19 10:04:54 blockchain.go:1093: "DBase.data" opened
2024/01/19 10:04:54 blockchain.go:2891: "updating.txt" erased
2024/01/19 10:04:54 blockchain.go:2892: Looking for /home/axiom/.config/duniter/duniter_default/updating.txt
2024/01/19 10:04:54 blockchain.go:2892: 
2024/01/19 10:04:54 gqlReceiver.go:468: Listening on 0.0.0.0:10050 ...
2024/01/19 10:07:05 blockchain.go:2908: "updating.txt" seen; reading it
2024/01/19 10:07:05 blockchain.go:2852: Updating WotWizard database
2024/01/19 10:07:05 blockchain.go:2832: Opening Duniter database
2024/01/19 10:07:05 blockchain.go:1806: Reading money parameters
2024/01/19 10:07:05 blockchain.go:2841: Exporting money parameters
2024/01/19 10:07:05 blockchain.go:2846: Money parameters exported
2024/01/19 10:07:05 blockchain.go:2822: Opening Duniter database (bis)
2024/01/19 10:07:05 blockchain.go:2734: Updating "DBase.data"
2024/01/19 10:07:05 blockchain.go:2784: Added block  0
2024/01/19 10:07:09 blockchain.go:2784: Added block  5000
2024/01/19 10:07:13 blockchain.go:2784: Added block  10000
2024/01/19 10:07:17 blockchain.go:2784: Added block  15000

Wait an see.


Et c’est bon, ça tourne:

2024/01/19 10:41:31 blockchain.go:2784: Added block  696341
2024/01/19 10:41:31 blockchain.go:2784: Added block  696342
2024/01/19 10:41:31 blockchain.go:2784: Added block  696343
2024/01/19 10:41:31 blockchain.go:2784: Added block  696344
2024/01/19 10:41:31 blockchain.go:2798: "DBase.data" updated
2024/01/19 10:41:31 blockchain.go:2799: Median Time: 19/01/2024 09:08:08
2024/01/19 10:41:31 blockchain.go:2800: Number of members:  8511
2024/01/19 10:41:31 sandbox.go:739: Updating sandbox
2024/01/19 10:41:32 sandbox.go:752: Sandbox updated
2024/01/19 10:41:40 blockchain.go:2865: WotWizard database updated
2024/01/19 10:41:40 blockchain.go:3017: Starting update of commands
2024/01/19 10:41:40 blockchain.go:2891: "updating.txt" erased
2024/01/19 10:41:40 blockchain.go:2892: Looking for /home/axiom/.config/duniter/duniter_default/updating.txt
2024/01/19 10:41:40 blockchain.go:2892: 
2024/01/19 10:41:50 blockchain.go:3024: Update of commands done
2024/01/19 10:41:50 blockchain.go:3044: Starting action SearchMember
2024/01/19 10:41:50 blockchain.go:3044: Starting action SearchMemberWithHash
2024/01/19 10:41:50 blockchain.go:3044: Starting action SearchMember
2024/01/19 10:41:50 blockchain.go:3044: Starting action LastEvents
2024/01/19 10:41:50 blockchain.go:3044: Starting action LastEvents
2024/01/19 10:41:50 blockchain.go:3044: Starting action SearchMember
2024/01/19 10:41:50 blockchain.go:3044: Starting action readSubs
3 Likes