Bonjour @thanaus,
J’ai installer ton plugin et créer l’accès Google drive, aucun soucis pour la création des commandes.
Là où je rencontre un problème c’est pour la copie du dossier backup (/var/www/html/backup), directory not found, alors que le dossier existe bien et que celui ci est bien en lecture et écriture.
2020/03/28 10:13:00 ERROR : Couldn't find home directory or read HOME or XDG_CONFIG_HOME environment variables.
2020/03/28 10:13:00 ERROR : Defaulting to storing config in current directory.
2020/03/28 10:13:00 ERROR : Use --config flag to workaround.
2020/03/28 10:13:00 ERROR : Error was: user: Current not implemented on linux/arm
2020/03/28 10:13:01 INFO : Google drive root 'Jeedom': Modify window is 1ms
2020/03/28 10:13:02 ERROR : : error reading source directory: directory not found
2020/03/28 10:13:02 INFO : Google drive root 'Jeedom': Waiting for checks to finish
2020/03/28 10:13:02 INFO : Google drive root 'Jeedom': Waiting for transfers to finish
2020/03/28 10:13:02 ERROR : Attempt 1/3 failed with 1 errors
2020/03/28 10:13:03 ERROR : : error reading source directory: directory not found
2020/03/28 10:13:03 INFO : Google drive root 'Jeedom': Waiting for checks to finish
2020/03/28 10:13:03 INFO : Google drive root 'Jeedom': Waiting for transfers to finish
2020/03/28 10:13:03 ERROR : Attempt 2/3 failed with 1 errors
2020/03/28 10:13:03 ERROR : : error reading source directory: directory not found
2020/03/28 10:13:03 INFO : Google drive root 'Jeedom': Waiting for checks to finish
2020/03/28 10:13:03 INFO : Google drive root 'Jeedom': Waiting for transfers to finish
2020/03/28 10:13:03 ERROR : Attempt 3/3 failed with 1 errors
2020/03/28 10:13:03 INFO :
Transferred: 0 Bytes (0 Bytes/s)
Errors: 1
Checks: 0
Transferred: 0
Elapsed time: 3.4s
Pour le moment j’ai contourner le soucis en faisant mes sauvegardes Jeedom dans un nouveau dossier (/var/www/html/Laurent) et dans ce cas, le plugin fait bien le transfert.
2020/03/28 11:00:54 ERROR : Couldn't find home directory or read HOME or XDG_CONFIG_HOME environment variables.
2020/03/28 11:00:54 ERROR : Defaulting to storing config in current directory.
2020/03/28 11:00:54 ERROR : Use --config flag to workaround.
2020/03/28 11:00:54 ERROR : Error was: user: Current not implemented on linux/arm
2020/03/28 11:00:56 INFO : Google drive root 'Jeedom/test': Modify window is 1ms
2020/03/28 11:00:56 INFO : Google drive root 'Jeedom/test': Waiting for checks to finish
2020/03/28 11:00:56 INFO : Google drive root 'Jeedom/test': Waiting for transfers to finish
2020/03/28 11:01:56 INFO :
Transferred: 88 MBytes (1.417 MBytes/s)
Errors: 0
Checks: 1
Transferred: 0
Elapsed time: 1m2s
Transferring:
* ...p-sagitaz-4.0.46-2020-03-28-10h59.tar.gz: 80% /109.397M, 1.468M/s, 14s
2020/03/28 11:02:12 INFO : backup-sagitaz-4.0.46-2020-03-28-10h59.tar.gz: Copied (new)
2020/03/28 11:02:12 INFO :
Transferred: 109.397 MBytes (1.400 MBytes/s)
Errors: 0
Checks: 1
Transferred: 1
Elapsed time: 1m18.1s
Une idée ?
Pour ce qui est des logs pour pouvoir les visualiser depuis la page du plugin, ne serais t’il pas possible de les avoirs sous la forme cloudsyncpro.nom-commande au lieu de cloudsyncpro.id-commande ?
En te remerciant.