Fehler bei Backup auf Synology NAS

Begonnen von Fredi69, 24 September 2015, 18:17:41

Vorheriges Thema - Nächstes Thema

Fredi69

Beim Backup von fhem auf einer Synology DS passiert nichts, im Log steht nur:

sh: syntax error: unexpected end of file (expecting ")")

Hatte das schon jemand?

Danke
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

dev0

backupcmd Attribut gesetzt, dass auf ein kaputtes Script zeigt?

Fredi69

Sorry, das sagt mir jetzt überhaupt nichts.
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

marvin78

Oft werden hier Begriffe in den Raum geworfen, nach denen man einfach suchen kann und man erhält eine gute Antwort. Das ist eine sehr effektive Art, zu helfen, wie ich meine.


Fredi69

#4
Ich habe kein backupcmd Attribut gefunden
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

Fredi69

#5
Zur Sicherheit nochmal: "deleteattr global backupcmd" eingegeben
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

Fredi69

fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

dev0

Vielleicht mal updaten, wenn schon länger nicht gemacht... tar und gzip müssen installiert sein.
Sonst habe ich keine Idee mehr.

Fredi69

fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

betateilchen

Zitat von: Fredi69 am 24 September 2015, 18:17:41
im Log steht nur:

sh: syntax error: unexpected end of file (expecting ")")

Mach doch mal ein verbose=5 damit man im Log den eigentlich ausgeführten Befehl sieht. Dann weiß man mehr.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Fredi69

Zitat von: betateilchen am 28 September 2015, 16:21:20
Mach doch mal ein verbose=5 damit man im Log den eigentlich ausgeführten Befehl sieht. Dann weiß man mehr.

2015.10.08 12:39:37 5: Cmd: >backup<
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/etc/fhem.cfg'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/var/log/fhem.save  # where to save the state of the devices'
2015.10.08 12:39:37 4: backup exclude: '/usr/local/FHEM/share/fhem/backup'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/CHANGED'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/configDB.pm'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/contrib'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/demolog'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/docs'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/FHEM'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/fhem.cfg.demo'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/restoreDir'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/unused'
2015.10.08 12:39:37 4: backup include: '/usr/local/FHEM/share/fhem/www'
2015.10.08 12:39:37 2: Backup with command: tar -cf - /usr/local/FHEM/etc/fhem.cfg /usr/local/FHEM/var/log/fhem.save  # where to save the state of the devices /usr/local/FHEM/share/fhem/CHANGED /usr/local/FHEM/share/fhem/configDB.pm /usr/local/FHEM/share/fhem/contrib /usr/local/FHEM/share/fhem/demolog /usr/local/FHEM/share/fhem/docs /usr/local/FHEM/share/fhem/FHEM /usr/local/FHEM/share/fhem/fhem.cfg.demo /usr/local/FHEM/share/fhem/restoreDir /usr/local/FHEM/share/fhem/unused /usr/local/FHEM/share/fhem/www |gzip > /usr/local/FHEM/share/fhem/backup/FHEM-20151008_123937.tar.gz
sh: syntax error: unexpected end of file (expecting ")")
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

dev0

Entferne den Kommentar aus der fhem.cfg
# where to save the state of the devices'

Was lernst Du daraus?

Fredi69

Zitat von: dev0 am 08 Oktober 2015, 13:03:00
Entferne den Kommentar aus der fhem.cfg
# where to save the state of the devices'

Was lernst Du daraus?

Vielen Dank
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten