Support config RAID

Tags: #<Tag:0x00007f385224b8a0>

Bonjour,
je voulais savoir si les config de type RAID sur Delta étaient supportées par le plugin ?
Car sur la révo j’arrivais bien a récupérer les infos disque, là quand je tente la recherche j’ai systématiquement une erreur (après avoir supprimé l’équipement et relancé une détection) :

Mon Jul 13 09:42:30.098277 2020] [php7:error] [pid 12389] [client 192.168.0.1:62054] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Freebox_OS::AddEqLogic(), 2 passed in /var/www/html/plugins/Freebox_OS/core/class/FreeboxAPI.class.php on line 239 and exactly 6 expected in /var/www/html/plugins/Freebox_OS/core/class/Freebox_OS.class.php:99
Stack trace:
#0 /var/www/html/plugins/Freebox_OS/core/class/FreeboxAPI.class.php(239): Freebox_OS::AddEqLogic('Disque Dur', 'Disque')
#1 /var/www/html/plugins/Freebox_OS/core/ajax/Freebox_OS.ajax.php(73): FreeboxAPI->disques()
#2 {main}
thrown in /var/www/html/plugins/Freebox_OS/core/class/Freebox_OS.class.php on line 99, referer: https://192.168.0.101/index.php?v=d&p=Freebox_OS&m=Freebox_OS&id=159


[2020-07-13 09:42:30][DEBUG] : ┌───────── Début de Mise à jour
[2020-07-13 09:42:30][DEBUG] : │ [FreeboxRequest] Connexion GET sur la l'adresse mafreebox.free.fr/api/v3/storage/disk/([])
[2020-07-13 09:42:30][DEBUG] : │ [FreeboxRequest] {"success":true,"result":[{"idle_duration":6,"spinning":true,"table_type":"raid","firmware":"04.01A04","type":"sata","idle":true,"connector":2,"id":1000,"state":"disabled","time_before_spindown":594,"total_bytes":1000000000000,"model":"WDC WD10SPZX-08Z10","active_duration":0,"temp":46,"serial":"WD-WXN1AA8283Z5","partitions":[{"fstype":"raid","total_bytes":0,"label":"Volume 1000Go","id":1000,"internal":false,"fsck_result":"no_run_yet","state":"umounted","disk_id":1000,"free_bytes":0,"used_bytes":0,"path":"L1ZvbHVtZSAxMDAwR28="}]},{"idle_duration":6,"spinning":true,"table_type":"raid","firmware":"04.01A04","type":"sata","idle":true,"connector":3,"id":2000,"state":"disabled","time_before_spindown":594,"total_bytes":1000000000000,"model":"WDC WD10SPZX-08Z10","active_duration":0,"temp":43,"serial":"WD-WXA1A981J4DT","partitions":[{"fstype":"raid","total_bytes":0,"label":"Volume 1000Go 1","id":2000,"internal":false,"fsck_result":"no_run_yet","state":"umounted","disk_id":2000,"free_bytes":0,"used_bytes":0,"path":"L1ZvbHVtZSAxMDAwR28gMQ=="}]},{"idle_duration":6,"spinning":true,"table_type":"raid","firmware":"02.01A02","type":"sata","idle":true,"connector":0,"id":3000,"state":"disabled","time_before_spindown":594,"total_bytes":1000000000000,"model":"WDC WD10JUCX-56WPNY0","active_duration":0,"temp":49,"serial":"WD-WXC1A6813LS4","partitions":[{"fstype":"raid","total_bytes":0,"label":"Volume 1000Go 2","id":3000,"internal":false,"fsck_result":"no_run_yet","state":"umounted","disk_id":3000,"free_bytes":0,"used_bytes":0,"path":"L1ZvbHVtZSAxMDAwR28gMg=="}]},{"type":"raid","total_bytes":2000000000000,"connector":0,"id":4000,"active_duration":0,"partitions":[{"fstype":"ext4","total_bytes":1960000000000,"label":"Freebox","id":4000,"internal":false,"fsck_result":"no_run_yet","state":"mounted","disk_id":4000,"free_bytes":1510000000000,"used_bytes":449350000000,"path":"L0ZyZWVib3g="}],"idle_duration":0,"state":"enabled","idle":false,"spinning":false,"model":"","table_type":"superfloppy","temp":0,"serial":"","firmware":""}]}
[2020-07-13 09:42:30][DEBUG] : └─────────
[2020-07-13 09:42:30][DEBUG] : ┌───────── Update Disque
[2020-07-13 09:42:30][DEBUG] : │ Occupation [sata] - 1000: 0/0 => NAN%

J’ai vu que l’api proposait bien des infos pour les disk et partitions, mais rien pour le raid a proprement dit.
Cependant, les infos des disques sont bien retournées, juste pas exploitable visiblement.

Merci du retour
Je vais tester

Par contre peut tu me dire si tu es en stable ou en bêta avec le plugin ?

Je suis en stable avec la dernière version à jour.

Hello

Ok j’ai trouvé l’erreur cela sera corrigée lors de la prochaine BETA

elle va prendre du temps car pas de corrections à faire suite à la mise à jour de la Freebox

Ok super merci pour l’info et bon courage !

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.