33800 Docs

← Retour

Fix Dashboard JSON invalide

Date : 06/01/2026 Statut : TERMINE Duree : ~25 min


Probleme

Le dashboard https://dashboard.33800.nowhere84.com affichait une page vide.

Cause

Bug dans collect.sh ligne 282 :

PROD_NFS_MOUNTED=$(mount | grep -c "192.168.1.10" 2>/dev/null || echo 0)

Produisait un JSON invalide :

"nfs_mounted": 0
0,

Raisons :

  1. Commande executee localement sur PVE au lieu de via SSH
  2. || echo 0 ajoutait un second 0 quand grep retournait code 1

Fix applique

/stock_8to/33800-stack/monitoring/collect.sh ligne 282 :

PROD_NFS_MOUNTED=$(ssh_cmd 192.168.1.12 'mount | grep -c "10.10.10.10" 2>/dev/null' | tr -d '\n')
[ -z "$PROD_NFS_MOUNTED" ] && PROD_NFS_MOUNTED=0

Verification


Note

L'erreur "API NeedFinder non accessible" persiste (needfinder-collector-dev en restart loop - probleme DB Supabase DEV separe).