Re: [Plugin Tiers] [Sujet principal] Data Transfert by fensoft
Publié : 23 mars 2018, 20:56
Forum sur Jeedom
https://www.jeedom.com/forum/
Code : Tout sélectionner
-- installing rclone/install.sh --
Atteint:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Atteint:2 http://archive.raspberrypi.org/debian stretch InRelease
Lecture des listes de paquets…
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
unzip is already the newest version (6.0-21).
wget is already the newest version (1.18-5+deb9u1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 194 non mis à jour.
--2018-03-27 19:45:11-- https://downloads.rclone.org/rclone-v1.38-linux-arm.zip
Résolution de downloads.rclone.org (downloads.rclone.org)… 2a02:24e0:8:61f9::1, 5.153.250.7
Connexion à downloads.rclone.org (downloads.rclone.org)|2a02:24e0:8:61f9::1|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2018-03-27 19:45:11 erreur 404 : Not Found.
Code : Tout sélectionner
wget https://downloads.rclone.org/rclone-$VERSION-linux-$PLATFORM.zip
Code : Tout sélectionner
wget https://downloads.rclone.org/$VERSION/rclone-$VERSION-linux-$PLATFORM.zip
Ton message est vraiment irrespectueux envers le travail de @fensoftJe suis poli, courtois et je respecte tout un chacun sur le forum
Code : Tout sélectionner
if (count($parents) > 1) {
$opts['removeParents'] = $parentId;
} else {
//$file->setTrashed(true);
$this->service->files->remove($id);
}
//if ($this->service->files->update($id, $file, $opts)) {
// unset($this->cacheFileObjects[$id], $this->cacheHasDirs[$id]);
return true;
//}
Data tranfert fait une sauvegarde journalière du backup jeedom sur un FTP distant et garde les 10 dernières versions.
fensoft a écrit : ↑22 nov. 2017, 15:47je crois que c'est à cause des espaces. je regarde ça.carlierd a écrit : ↑04 nov. 2017, 09:00Bonjour à tous,
J'ai un petit souci avec (je pense) la suppression automatique des anciens fichiers en mode FTP.
J'ai fait une commande data transfert assez simple pour le transfert des backup Jeedom (pas de filtre, transfert du dernier et on ne garde que les 10 derniers fichiers dans le répertoire cible):
Le transfert fonctionne mais si justement on a dépassé le seuil de 10 fichiers alors le 11ième n'est pas supprimé et j'ai une trace dans le centre de notifications:
Le plugin semble indiquer que le fichier à supprimer n'est pas présent mais il l'est bien sur le serveur :
Si je supprime quelques fichiers alors je n'ai plus d'erreur ...
Bonne journée.
David.
J'ai déjà testé avec Filezilla même problème.
Code : Tout sélectionner
-- installing rclone/install.sh --
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
unzip is already the newest version (6.0-21).
wget is already the newest version (1.18-5+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2018-04-18 13:41:03-- https://downloads.rclone.org/rclone-v1.40-linux-amd64.zip
Resolving downloads.rclone.org (downloads.rclone.org)... 5.153.250.7, 2a02:24e0:8:61f9::1
Connecting to downloads.rclone.org (downloads.rclone.org)|5.153.250.7|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-04-18 13:41:04 ERROR 404: Not Found.
unzip: cannot find or open rclone-v1.40-linux-amd64.zip, rclone-v1.40-linux-amd64.zip.zip or rclone-v1.40-linux-amd64.zip.ZIP.
mv: cannot stat 'rclone-v1.40-linux-amd64/rclone': No such file or directory
-- installing rclone_mac/install.sh --
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.18-5+deb9u1).
zip is already the newest version (3.0-11+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rclone_mac/install.sh: line 6: https://downloads.rclone.org/rclone-v1.38-osx-386.zip: No such file or directory
--2018-04-18 13:41:08-- https://downloads.rclone.org/rclone-v1.40-osx-386.zip
Resolving downloads.rclone.org (downloads.rclone.org)... 5.153.250.7, 2a02:24e0:8:61f9::1
Connecting to downloads.rclone.org (downloads.rclone.org)|5.153.250.7|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-04-18 13:41:09 ERROR 404: Not Found.
unzip: cannot find or open rclone-v1.40-osx-386.zip, rclone-v1.40-osx-386.zip.zip or rclone-v1.40-osx-386.zip.ZIP.
mv: cannot stat 'rclone-v1.40-osx-386/rclone': No such file or directory
adding: jeedom-rclone-configurator.app/ (stored 0%)
adding: jeedom-rclone-configurator.app/Contents/ (stored 0%)
adding: jeedom-rclone-configurator.app/Contents/MacOS/ (stored 0%)
adding: jeedom-rclone-configurator.app/Contents/MacOS/jeedom-rclone-configurator (deflated 35%)
adding: jeedom-rclone-configurator.app/Contents/Resources/ (stored 0%)
adding: jeedom-rclone-configurator.app/Contents/Resources/iconfile.icns (deflated 11%)
adding: jeedom-rclone-configurator.app/Contents/Info.plist (deflated 22%)
-- installing rclone_windows/install.sh --
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
unzip is already the newest version (6.0-21).
wget is already the newest version (1.18-5+deb9u1).
zip is already the newest version (3.0-11+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2018-04-18 13:41:14-- https://downloads.rclone.org/rclone-v1.40-windows-386.zip
Resolving downloads.rclone.org (downloads.rclone.org)... 5.153.250.7, 2a02:24e0:8:61f9::1
Connecting to downloads.rclone.org (downloads.rclone.org)|5.153.250.7|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-04-18 13:41:14 ERROR 404: Not Found.
unzip: cannot find or open rclone-v1.40-windows-386.zip, rclone-v1.40-windows-386.zip.zip or rclone-v1.40-windows-386.zip.ZIP.
mv: cannot stat 'rclone-v1.40-windows-386/rclone.exe': No such file or directory
updating: jeedom-rclone-configurator/ (stored 0%)
updating: jeedom-rclone-configurator/configurator.cmd (deflated 31%)
-- installing samba/install.sh --
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
smbclient is already the newest version (2:4.5.12+dfsg-2+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.