NEWS
Iobroker backitup error.. Wo liegt das problem
-
die vis tech ist nun weg. aber die brauchte ich ja auch nicht mehr.
hab ja alles neu gemacht. nun ist sie bei main@elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:
nun
Wenn du sie nicht brauchst, ist es OK, sonst kannst du sie dir auch aus dem Verzeichnis /home/pi zurückholen
-
@simatec sagte in Iobroker backitup error.. Wo liegt das problem:
/home/pi/
sudo rm /opt/iobroker/iobroker-data/files/vis.0/Tech/jetzt hab ich ein backup erstellen können
-
@elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:
nun
Wenn du sie nicht brauchst, ist es OK, sonst kannst du sie dir auch aus dem Verzeichnis /home/pi zurückholen
-
@elmos04 dann jetzt das und eine Vis ist wieder da
sudo cp /home/pi/vis-views.json /opt/iobroker/iobroker-data/files/vis.0/Tech/EDIT: gerade gelesen das du die nicht mehr brauchst. Dann vergiss es
@wendy2702 danke
-
@simatec
Vielen dank
alles gut. ich brauche sie nicht. ich habe sogar nun ein backup iobroker 3,3 mb auf dem nas -
@elmos04 Na geht doch .... Bitte nächstes mal gleich alle Infos posten ... Das macht die Fehlversuche einfacher
-
@elmos04 Na geht doch .... Bitte nächstes mal gleich alle Infos posten ... Das macht die Fehlversuche einfacher
@simatec sagte in Iobroker backitup error.. Wo liegt das problem:
Das macht die Fehlversuche einfacher
:joy:
-
Hallo, ich bin völlig neu hier und auch unerfahren, was Foren angeht. Dennoch wage ich mal eine Frage, weil ich einfach nicht weiter komme.
Ich habe auf einem Raspberry Pi ioBroker laufen und möchte über Backitup die Daten und Einstellungen auf meinem Synology-NAS sichern. Leider wird stets nur eine leere Datei erzeugt. Backitup gibt mir folgenden Text aus:
Started iobroker ...
[DEBUG] [mount] - noserverino option: false
[DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=piBroker,password=****,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.178.25/homes/piBroker/Backitup /opt/iobroker/backups"
[DEBUG] [mount] - mount successfully completed
[DEBUG] [mount] - done
[DEBUG] [iobroker] - host.PiBroker 2104 states saved[DEBUG] [iobroker] - host.PiBroker 3299 objects saved
[ERROR] [iobroker] - host.PiBroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_04_25-21_41_43_backupiobroker.tar.gz'
[ERROR] [iobroker] - host.PiBroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Cannot call write after a stream was destroyed
[DEBUG] [iobroker] - done
[DEBUG] [cifs] - done
[DEBUG] [clean] - done
[DEBUG] [historyHTML] - new history html values created
[DEBUG] [historyHTML] - done
[DEBUG] [historyJSON] - new history json values created
[DEBUG] [historyJSON] - done
[DEBUG] [umount] - mount activ, umount is started ...
[DEBUG] [umount] - umount successfully completed
[DEBUG] [umount] - done
[EXIT] 9
Ich kann mir die beiden genannten Fehler nicht erklären. Ist jemand hier, der mir damit weiterhelfen kann? Danke
-
Hallo, ich bin völlig neu hier und auch unerfahren, was Foren angeht. Dennoch wage ich mal eine Frage, weil ich einfach nicht weiter komme.
Ich habe auf einem Raspberry Pi ioBroker laufen und möchte über Backitup die Daten und Einstellungen auf meinem Synology-NAS sichern. Leider wird stets nur eine leere Datei erzeugt. Backitup gibt mir folgenden Text aus:
Started iobroker ...
[DEBUG] [mount] - noserverino option: false
[DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=piBroker,password=****,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.178.25/homes/piBroker/Backitup /opt/iobroker/backups"
[DEBUG] [mount] - mount successfully completed
[DEBUG] [mount] - done
[DEBUG] [iobroker] - host.PiBroker 2104 states saved[DEBUG] [iobroker] - host.PiBroker 3299 objects saved
[ERROR] [iobroker] - host.PiBroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: EACCES: permission denied, open '/opt/iobroker/backups/iobroker_2022_04_25-21_41_43_backupiobroker.tar.gz'
[ERROR] [iobroker] - host.PiBroker Cannot pack directory /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup: Cannot call write after a stream was destroyed
[DEBUG] [iobroker] - done
[DEBUG] [cifs] - done
[DEBUG] [clean] - done
[DEBUG] [historyHTML] - new history html values created
[DEBUG] [historyHTML] - done
[DEBUG] [historyJSON] - new history json values created
[DEBUG] [historyJSON] - done
[DEBUG] [umount] - mount activ, umount is started ...
[DEBUG] [umount] - umount successfully completed
[DEBUG] [umount] - done
[EXIT] 9
Ich kann mir die beiden genannten Fehler nicht erklären. Ist jemand hier, der mir damit weiterhelfen kann? Danke
@toorb sagte in Iobroker backitup error.. Wo liegt das problem:
vers=1.0
Stell den SMB-Dialekt auf V3.1.1 ein.
cifs-utils sind installiert?apt policy cifs-utils -
@toorb sagte in Iobroker backitup error.. Wo liegt das problem:
vers=1.0
Stell den SMB-Dialekt auf V3.1.1 ein.
cifs-utils sind installiert?apt policy cifs-utils@thomas-braun said in Iobroker backitup error.. Wo liegt das problem:
apt policy cifs-utils
Hallo,
danke für die Antwort.
Ich habe beim Raspberry mal dein Kommando eingetragen. Dabei kommt folgendes heraus:

Aber was sagt mir das jetzt? Wo stelle ich den SMB-Dialekt um? Auf der Synology oder dem Raspi?
Auf der Synology ist folgendes eingetragen:
-
@thomas-braun said in Iobroker backitup error.. Wo liegt das problem:
apt policy cifs-utils
Hallo,
danke für die Antwort.
Ich habe beim Raspberry mal dein Kommando eingetragen. Dabei kommt folgendes heraus:

Aber was sagt mir das jetzt? Wo stelle ich den SMB-Dialekt um? Auf der Synology oder dem Raspi?
Auf der Synology ist folgendes eingetragen:
@toorb sagte in Iobroker backitup error.. Wo liegt das problem:
Wo stelle ich den SMB-Dialekt um?
In den Einstellungen des Backitup-Adapters.
-
@toorb sagte in Iobroker backitup error.. Wo liegt das problem:
Wo stelle ich den SMB-Dialekt um?
In den Einstellungen des Backitup-Adapters.
@thomas-braun Das war ja einfach. Du bist mein Gott! Herzlichen Dank für die Hilfe. Es funktioniert.
-
hallo
ich habe ähnliches problem
iobroker soll auf fritzbox (ohne usb) das backup aufgespielt werden.
Rechte auf Fritzbox vergeben für den User, alles im iobroker hinterlegt, order angelegt auf der fritz.nas, jedoch bekomme ich immer die fehlermeldung
SMB ist auf 2.0wenn ich mittels windows rechner und den zugangsdaten auf das verzeichnis der fritz zugreife, kann ich auch ordner und dateien anlegen
12:08:07.591ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
12:07:45.917INFOguiBackup gestartet ... 12:07:56.068DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=ioBroker,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.1.1/fritz.nas/ioBroker /opt/iobroker/backups" 12:07:56.131DEBUGmountfirst mount attempt with smb option failed. try next mount attempt without smb option ... 12:07:56.138DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=ioBroker,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/ioBroker /opt/iobroker/backups" 12:07:56.209DEBUGmountError: Command failed: sudo mount -t cifs -o username=ioBroker,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/ioBroker /opt/iobroker/backups mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) 12:08:00.921DEBUGiobrokerhost.RaspberryPi4 2376 objects saved 12:08:01.478DEBUGiobrokerhost.RaspberryPi4 1724 states saved 12:08:01.535DEBUGiobrokerhost.RaspberryPi4 Validating backup ... 12:08:01.542DEBUGiobrokerhost.RaspberryPi4 "config.json" is valid host.RaspberryPi4 "objects.jsonl" exists 12:08:01.556DEBUGiobrokerhost.RaspberryPi4 "states.jsonl" exists 12:08:01.958DEBUGiobrokerhost.RaspberryPi4 JSONL lines are valid host.RaspberryPi4 The backup is valid! 12:08:02.933DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2026_03_15-12_07_56_backupiobroker.tar.gz 12:08:02.995DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher 12:08:04.035DEBUGiobrokerdone 12:08:06.151DEBUGnoderedCreated nodered tmp directory 12:08:06.260DEBUGnoderedNode-Red tmp copy finish 12:08:06.365DEBUGnoderedBackup created: /opt/iobroker/backups/nodered.0_2026_03_15-12_08_06_backupiobroker.tar.gz 12:08:06.389DEBUGnoderedTry deleting the old node-red tmp directory: "/opt/iobroker/backups/noderedtmp0" 12:08:06.393DEBUGnoderednode-red tmp directory "/opt/iobroker/backups/noderedtmp0" successfully deleted 12:08:06.435DEBUGnoderedfound node-red database: node-red.0 12:08:06.439DEBUGnodereddone 12:08:06.982DEBUGcifsused copy path: /fritz.nas/ioBroker 12:08:06.984DEBUGcifsdone 12:08:07.591ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors. 12:08:07.594DEBUGcleandone 12:08:07.768DEBUGhistoryHTMLnew history html values created 12:08:07.857DEBUGhistoryHTMLdone 12:08:08.042DEBUGhistoryJSONnew history json values created 12:08:08.085DEBUGhistoryJSONdone -
hallo
ich habe ähnliches problem
iobroker soll auf fritzbox (ohne usb) das backup aufgespielt werden.
Rechte auf Fritzbox vergeben für den User, alles im iobroker hinterlegt, order angelegt auf der fritz.nas, jedoch bekomme ich immer die fehlermeldung
SMB ist auf 2.0wenn ich mittels windows rechner und den zugangsdaten auf das verzeichnis der fritz zugreife, kann ich auch ordner und dateien anlegen
12:08:07.591ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors.
12:07:45.917INFOguiBackup gestartet ... 12:07:56.068DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=ioBroker,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=2.0 //192.168.1.1/fritz.nas/ioBroker /opt/iobroker/backups" 12:07:56.131DEBUGmountfirst mount attempt with smb option failed. try next mount attempt without smb option ... 12:07:56.138DEBUGmountcifs-mount command: "sudo mount -t cifs -o username=ioBroker,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/ioBroker /opt/iobroker/backups" 12:07:56.209DEBUGmountError: Command failed: sudo mount -t cifs -o username=ioBroker,password=****,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/ioBroker /opt/iobroker/backups mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) 12:08:00.921DEBUGiobrokerhost.RaspberryPi4 2376 objects saved 12:08:01.478DEBUGiobrokerhost.RaspberryPi4 1724 states saved 12:08:01.535DEBUGiobrokerhost.RaspberryPi4 Validating backup ... 12:08:01.542DEBUGiobrokerhost.RaspberryPi4 "config.json" is valid host.RaspberryPi4 "objects.jsonl" exists 12:08:01.556DEBUGiobrokerhost.RaspberryPi4 "states.jsonl" exists 12:08:01.958DEBUGiobrokerhost.RaspberryPi4 JSONL lines are valid host.RaspberryPi4 The backup is valid! 12:08:02.933DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2026_03_15-12_07_56_backupiobroker.tar.gz 12:08:02.995DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher 12:08:04.035DEBUGiobrokerdone 12:08:06.151DEBUGnoderedCreated nodered tmp directory 12:08:06.260DEBUGnoderedNode-Red tmp copy finish 12:08:06.365DEBUGnoderedBackup created: /opt/iobroker/backups/nodered.0_2026_03_15-12_08_06_backupiobroker.tar.gz 12:08:06.389DEBUGnoderedTry deleting the old node-red tmp directory: "/opt/iobroker/backups/noderedtmp0" 12:08:06.393DEBUGnoderednode-red tmp directory "/opt/iobroker/backups/noderedtmp0" successfully deleted 12:08:06.435DEBUGnoderedfound node-red database: node-red.0 12:08:06.439DEBUGnodereddone 12:08:06.982DEBUGcifsused copy path: /fritz.nas/ioBroker 12:08:06.984DEBUGcifsdone 12:08:07.591ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors. 12:08:07.594DEBUGcleandone 12:08:07.768DEBUGhistoryHTMLnew history html values created 12:08:07.857DEBUGhistoryHTMLdone 12:08:08.042DEBUGhistoryJSONnew history json values created 12:08:08.085DEBUGhistoryJSONdone@SpeedyBlade sagte in Iobroker backitup error.. Wo liegt das problem:
192.168.1.1/fritz.nas/ioBroker
wie ist denn der Freigabename?
-
hier der screenshot von beiden systemen

-
hier der screenshot von beiden systemen

Setz mal die SMB-Version auf 3.1.1 hoch, setz die Optionen 'noserverino' und 'Cache Loose'.
Edit: Mein Mount sieht im Moment so aus:
//192.168.178.1/FRITZ.NAS/Hitachi-HTS545012B9SA00-01/iobbackups/chet /opt/iobroker/backups cifs credentials=/home/iobroker/.smbcredentials,users,noserverino,noauto,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0770,dir_mode=0770,vers=3.1.1 0 0 -
gesagt getan...

13:25:41.211INFOguiBackup gestartet ... 13:25:51.341DEBUGmountcifs-mount command: "mount -t cifs -o username=ioBroker,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.1.1/fritz.nas/iobroker_backup /opt/iobroker/backups" 13:25:51.377DEBUGmountfirst mount attempt with smb option failed. try next mount attempt without smb option ... 13:25:51.420DEBUGmountcifs-mount command: "mount -t cifs -o username=ioBroker,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/iobroker_backup /opt/iobroker/backups" 13:25:51.423ERRORmount[undefined Error: Command failed: mount -t cifs -o username=ioBroker,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/iobroker_backup /opt/iobroker/backups mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab 13:25:51.425DEBUGmountError: Command failed: mount -t cifs -o username=ioBroker,password=****,noserverino,cache=loose,rw,forceuid,uid=iobroker,forcegid,gid=iobroker,file_mode=0777,dir_mode=0777 //192.168.1.1/fritz.nas/iobroker_backup /opt/iobroker/backups mount.cifs: permission denied: no match for /opt/iobroker/backups found in /etc/fstab 13:25:55.564DEBUGiobrokerhost.RaspberryPi4 2376 objects saved 13:25:55.859DEBUGiobrokerhost.RaspberryPi4 1725 states saved 13:25:55.862DEBUGiobrokerhost.RaspberryPi4 Validating backup ... 13:25:55.885DEBUGiobrokerhost.RaspberryPi4 "config.json" is valid host.RaspberryPi4 "objects.jsonl" exists host.RaspberryPi4 "states.jsonl" exists 13:25:56.441DEBUGiobrokerhost.RaspberryPi4 JSONL lines are valid 13:25:56.466DEBUGiobrokerhost.RaspberryPi4 The backup is valid! 13:25:57.062DEBUGiobrokerBackup created: /opt/iobroker/backups/iobroker_2026_03_15-13_25_51_backupiobroker.tar.gz 13:25:57.107DEBUGiobrokerThis backup can only be restored with js-controller version 7.0 or higher 13:25:58.114DEBUGiobrokerdone 13:26:00.229DEBUGnoderedCreated nodered tmp directory 13:26:00.327DEBUGnoderedNode-Red tmp copy finish 13:26:00.429DEBUGnoderedBackup created: /opt/iobroker/backups/nodered.0_2026_03_15-13_26_00_backupiobroker.tar.gz 13:26:00.445DEBUGnoderedTry deleting the old node-red tmp directory: "/opt/iobroker/backups/noderedtmp0" 13:26:00.452DEBUGnoderednode-red tmp directory "/opt/iobroker/backups/noderedtmp0" successfully deleted 13:26:00.491DEBUGnoderedfound node-red database: node-red.0 13:26:00.493DEBUGnodereddone 13:26:01.043DEBUGcifsused copy path: /fritz.nas/iobroker_backup 13:26:01.046DEBUGcifsdone 13:26:01.656ERRORcleanBackup files not deleted from /opt/iobroker/backups because some errors. 13:26:01.658DEBUGcleandone 13:26:01.815DEBUGhistoryHTMLnew history html values created 13:26:01.912DEBUGhistoryHTMLdone 13:26:02.088DEBUGhistoryJSONnew history json values created 13:26:02.131DEBUGhistoryJSONdone