NEWS
Iobroker backitup error.. Wo liegt das problem
-
@thomas-braun Weil das der Standardnutzer im Container war. Aber ich gebe dir recht. Aktuell probiere ich aus, wie sich das in einer virtuellen Maschine verhält, außerhalb von einem Container. Hier werde ich auch mit einem nicht-root User arbeiten.
-
@stony2k sagte in Iobroker backitup error.. Wo liegt das problem:
Weil das der Standardnutzer im Container war.
Es sollte genauso Standard und erste Aktion im Container sein sich einen User anzulegen.
-
Update: Ich habe eine VM, anstatt eines Containers mit debian aufgesetzt, den ioBroker installiert und wie @thomas-braun vorgeschlagen (danke dir) einen normalen Benutzer erstellt.
Jetzt hat der Restore der InfluxDB ohne Probleme geklappt.
-
Hallo
Ich habe das Problem nun auch.
Mein Problem fing an das der ioBroker nicht mehr startet. ich habe Fix ausprobiert. Alles ohne erfolg. Ich hatte ein Funktionierendes Backup auf dem NAS.
Also ioBroker neu aufgesetzt Den BackitUp Adapter eingerichtet. ein neues Backup im gleichen Verzeichnis auf dem NAS erstellt und dann wieder hergestellt von einem alten Backup.
Seit dem macht er kein ioBroker Backup. Fehler 6-Fachtaster VIS. ????
Zigbee und JavaScript gehen.Ich bin echt ein Looser im Terminal. Ich weiss was ihr hier so alles macht. Kann mir jemand verständlich erklären was das soll und wie ich es kann?
Also was ich gut kann ist copy und Paste ins Terminal.
Mehr geht wirklich nicht.....Hier ist mal ein Log. File. vielleicht kann ja damit ein Profi was anfangen.
Started iobroker ... [DEBUG] [mount] - mount activ... umount is started before mount!! [DEBUG] [mount] - umount successfully completed [DEBUG] [mount] - noserverino option: true [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=ElmoS04,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.2.31/home/ioBrokerVis /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 8760 states saved [DEBUG] [iobroker] - host.raspberrypi 10657 objects saved [ERROR] [iobroker] - host.raspberrypi Backup not created: Error: host.raspberrypi /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json is not a valid json file [DEBUG] [iobroker] - done [DEBUG] [zigbee] - found zigbee database: zigbee.0 [DEBUG] [zigbee] - done [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - found Script: Garagentor_Status [DEBUG] [javascripts] - found Script: Taster_6Fach [DEBUG] [javascripts] - found Script: Terrassen_Alexa_mit_Terrassentür [DEBUG] [javascripts] - found Script: Alarmanlage_Alexa_Terrasse_ein_und_aus [DEBUG] [javascripts] - found Script: Bewegung_UV_Durchsage [DEBUG] [javascripts] - found Script: Licht_Tür_UV_Vorraum_und_Eingang [DEBUG] [javascripts] - found Script: Gast_Wlan [DEBUG] [javascripts] - found Script: Durchsage_Scharf_unscharf [DEBUG] [javascripts] - found Script: Durchsage_Ender6_% [DEBUG] [javascripts] - found Script: Durchsage_FLsun_% [DEBUG] [javascripts] - found Script: Überwachung_Temp [DEBUG] [javascripts] - found Script: Rauchmelder [DEBUG] [javascripts] - found Script: Autoverbindung_Octopi [DEBUG] [javascripts] - found Script: Xiaomi_Taster [DEBUG] [javascripts] - found Script: Fenster_mit_WZ_Steckdoesn [DEBUG] [javascripts] - found Script: Ikea_Taster_ [DEBUG] [javascripts] - found Script: Alarmmeldung_wird_abgeschaltet [DEBUG] [javascripts] - found Script: Einbruch_laut_melden [DEBUG] [javascripts] - found Script: Duty_Cycle [DEBUG] [javascripts] - found Script: Alarmmeldung_verhindern [DEBUG] [javascripts] - found Script: Einbruch_erkannt [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_02_13-11_17_12_ioBroker_backupiobroker.tar.gz [DEBUG] [javascripts] - done [ERROR] [ftp] - [IGNORED] Error: Login incorrect. [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [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] 26 t.raspberrypi 2022-02-13 11:15:04.177 info instance system.adapter.coronavirus-statistics.0 started with pid 30238 dwd.0 2022-02-13 11:15:03.830 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason dwd.0 2022-02-13 11:15:02.108 info starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.19.0, js-controller: 3.3.22 host.raspberrypi 2022-02-13 11:15:00.142 info instance system.adapter.dwd.0 started with pid 30212 backitup.0 2022-02-13 11:13:06.852 error Error: Login incorrect. backitup.0 2022-02-13 11:13:00.248 info [iobroker] backup was activated at 02:40 every 1 day(s) backitup.0 2022-02-13 11:12:59.755 info starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.0, js-controller: 3.3.22 host.raspberrypi 2022-02-13 11:12:57.946 info instance system.adapter.backitup.0 started with pid 29900 host.raspberrypi 2022-02-13 11:12:55.461 info instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) backitup.0 2022-02-13 11:12:54.879 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-02-13 11:12:54.877 info terminating backitup.0 2022-02-13 11:12:54.875 info cleaned everything up... backitup.0 2022-02-13 11:12:54.872 info Got terminate signal TERMINATE_YOURSELF host.raspberrypi 2022-02-13 11:12:54.872 info stopInstance system.adapter.backitup.0 send kill signal host.raspberrypi 2022-02-13 11:12:54.824 info stopInstance system.adapter.backitup.0 (force=false, process=true) backitup.0 2022-02-13 11:12:47.687 error Error: Login incorrect. backitup.0 2022-02-13 11:12:41.398 info [iobroker] backup was activated at 02:40 every 1 day(s) backitup.0 2022-02-13 11:12:40.898 info starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.0, js-controller: 3.3.22 host.raspberrypi 2022-02-13 11:12:39.119 info instance system.adapter.backitup.0 started with pid 29755 host.raspberrypi 2022-02-13 11:12:36.652 info instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) backitup.0 2022-02-13 11:12:36.043 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-02-13 11:12:36.041 info terminating backitup.0 2022-02-13 11:12:36.040 info cleaned everything up... host.raspberrypi 2022-02-13 11:
MOD-Edit: Code in code-tags gesetzt!
Ich währe euch sehr dankbar. ich sitze hier schon seit Tagen dran alles wieder einzustellen. Ein Backup ist echt wichtig.
-
Was du auch nicht gut kannst: CodeTags verwenden.
-
Füge ich der list mit an..
-
@thomas-braun
code_text
code_text```Started iobroker ... [DEBUG] [mount] - mount activ... umount is started before mount!! [DEBUG] [mount] - umount successfully completed [DEBUG] [mount] - noserverino option: true [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=ElmoS04,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.2.31/home/ioBrokerVis /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 8760 states saved [DEBUG] [iobroker] - host.raspberrypi 10657 objects saved [ERROR] [iobroker] - host.raspberrypi Backup not created: Error: host.raspberrypi /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json is not a valid json file [DEBUG] [iobroker] - done [DEBUG] [zigbee] - found zigbee database: zigbee.0 [DEBUG] [zigbee] - done [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - found Script: Garagentor_Status [DEBUG] [javascripts] - found Script: Taster_6Fach [DEBUG] [javascripts] - found Script: Terrassen_Alexa_mit_Terrassentür [DEBUG] [javascripts] - found Script: Alarmanlage_Alexa_Terrasse_ein_und_aus [DEBUG] [javascripts] - found Script: Bewegung_UV_Durchsage [DEBUG] [javascripts] - found Script: Licht_Tür_UV_Vorraum_und_Eingang [DEBUG] [javascripts] - found Script: Gast_Wlan [DEBUG] [javascripts] - found Script: Durchsage_Scharf_unscharf [DEBUG] [javascripts] - found Script: Durchsage_Ender6_% [DEBUG] [javascripts] - found Script: Durchsage_FLsun_% [DEBUG] [javascripts] - found Script: Überwachung_Temp [DEBUG] [javascripts] - found Script: Rauchmelder [DEBUG] [javascripts] - found Script: Autoverbindung_Octopi [DEBUG] [javascripts] - found Script: Xiaomi_Taster [DEBUG] [javascripts] - found Script: Fenster_mit_WZ_Steckdoesn [DEBUG] [javascripts] - found Script: Ikea_Taster_ [DEBUG] [javascripts] - found Script: Alarmmeldung_wird_abgeschaltet [DEBUG] [javascripts] - found Script: Einbruch_laut_melden [DEBUG] [javascripts] - found Script: Duty_Cycle [DEBUG] [javascripts] - found Script: Alarmmeldung_verhindern [DEBUG] [javascripts] - found Script: Einbruch_erkannt [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_02_13-11_58_19_ioBroker_backupiobroker.tar.gz [DEBUG] [javascripts] - done [ERROR] [ftp] - [IGNORED] Error: Login incorrect. [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [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] 26
-
-
@elmos04
iobroker update -i
-
@homoran sagte in Iobroker backitup error.. Wo liegt das problem:
iobroker update -i
Habe ich so gemacht
Started iobroker ... [DEBUG] [mount] - noserverino option: true [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=ElmoS04,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=1.0 //192.168.2.31/home/ioBrokerVis /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.raspberrypi 8762 states saved [DEBUG] [iobroker] - host.raspberrypi 10657 objects saved [ERROR] [iobroker] - host.raspberrypi Backup not created: Error: host.raspberrypi /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json is not a valid json file [DEBUG] [iobroker] - done [DEBUG] [zigbee] - found zigbee database: zigbee.0 [DEBUG] [zigbee] - done [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - found Script: Garagentor_Status [DEBUG] [javascripts] - found Script: Taster_6Fach [DEBUG] [javascripts] - found Script: Terrassen_Alexa_mit_Terrassentür [DEBUG] [javascripts] - found Script: Alarmanlage_Alexa_Terrasse_ein_und_aus [DEBUG] [javascripts] - found Script: Bewegung_UV_Durchsage [DEBUG] [javascripts] - found Script: Licht_Tür_UV_Vorraum_und_Eingang [DEBUG] [javascripts] - found Script: Gast_Wlan [DEBUG] [javascripts] - found Script: Durchsage_Scharf_unscharf [DEBUG] [javascripts] - found Script: Durchsage_Ender6_% [DEBUG] [javascripts] - found Script: Durchsage_FLsun_% [DEBUG] [javascripts] - found Script: Überwachung_Temp [DEBUG] [javascripts] - found Script: Rauchmelder [DEBUG] [javascripts] - found Script: Autoverbindung_Octopi [DEBUG] [javascripts] - found Script: Xiaomi_Taster [DEBUG] [javascripts] - found Script: Fenster_mit_WZ_Steckdoesn [DEBUG] [javascripts] - found Script: Ikea_Taster_ [DEBUG] [javascripts] - found Script: Alarmmeldung_wird_abgeschaltet [DEBUG] [javascripts] - found Script: Einbruch_laut_melden [DEBUG] [javascripts] - found Script: Duty_Cycle [DEBUG] [javascripts] - found Script: Alarmmeldung_verhindern [DEBUG] [javascripts] - found Script: Einbruch_erkannt [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_02_13-12_02_46_ioBroker_backupiobroker.tar.gz [DEBUG] [javascripts] - done [ERROR] [ftp] - [IGNORED] Error: Login incorrect. [DEBUG] [cifs] - done [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors. [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] 26
Kommt noch immer
-
@elmos04 wenn du auf ein NAS sicherst, warum dann noch ftp?
Das macht kein Sinn.Aber selbst wenn musst du für ftp deine Zugangsdaten und IP prüfen.
Da stimmt was nicht -
@elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:
Habe ich so gemacht
das gepostete ist doch nicht die Ein- und Ausgabe von dem Befehl
iobroker update -i
-
@simatec ftp hatte ich gerade getestet. ist wieder raus. geht aber noch nicht es gibt nur ein neues backup vom Zigbee und Java
-
NAS ist eine Fritzbox?
Dann sind die Mountoptionen falsch. -
Hallo
Nein mein Backup geht an eine Synology. dort kommen auch neue Backups an. Zigbee und Java. Sonst kommt noch ein iobroker backup in das Verzeichnis. jetzt nicht mehr -
Dann muss 'noserverino' ausgeschaltet sein und die smb-Version höher sein. Meist wird smb3 verwendet.
-
@thomas-braun
Loisverino ist an und smb 1.0
cifs ist ausgewählt -
@elmos04
Das sehe ich im Log.
Das ist aber zu 100% falsch eingestellt.
Stell 'noserverino' aus und die smb Version auf die, die auch dein NAS spricht. -
code_text Started iobroker ... [DEBUG] [iobroker] - host.raspberrypi 8762 states saved [DEBUG] [iobroker] - host.raspberrypi 10657 objects saved [ERROR] [iobroker] - host.raspberrypi Backup not created: Error: host.raspberrypi /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json is not a valid json file [DEBUG] [iobroker] - done [DEBUG] [zigbee] - found zigbee database: zigbee.0 [DEBUG] [zigbee] - done [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - found Script: Garagentor_Status [DEBUG] [javascripts] - found Script: Taster_6Fach [DEBUG] [javascripts] - found Script: Terrassen_Alexa_mit_Terrassentür [DEBUG] [javascripts] - found Script: Alarmanlage_Alexa_Terrasse_ein_und_aus [DEBUG] [javascripts] - found Script: Bewegung_UV_Durchsage [DEBUG] [javascripts] - found Script: Licht_Tür_UV_Vorraum_und_Eingang [DEBUG] [javascripts] - found Script: Gast_Wlan [DEBUG] [javascripts] - found Script: Durchsage_Scharf_unscharf [DEBUG] [javascripts] - found Script: Durchsage_Ender6_% [DEBUG] [javascripts] - found Script: Durchsage_FLsun_% [DEBUG] [javascripts] - found Script: Überwachung_Temp [DEBUG] [javascripts] - found Script: Rauchmelder [DEBUG] [javascripts] - found Script: Autoverbindung_Octopi [DEBUG] [javascripts] - found Script: Xiaomi_Taster [DEBUG] [javascripts] - found Script: Fenster_mit_WZ_Steckdoesn [DEBUG] [javascripts] - found Script: Ikea_Taster_ [DEBUG] [javascripts] - found Script: Alarmmeldung_wird_abgeschaltet [DEBUG] [javascripts] - found Script: Einbruch_laut_melden [DEBUG] [javascripts] - found Script: Duty_Cycle [DEBUG] [javascripts] - found Script: Alarmmeldung_verhindern [DEBUG] [javascripts] - found Script: Einbruch_erkannt [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_02_13-12_18_53_ioBroker_backupiobroker.tar.gz [DEBUG] [javascripts] - done [DEBUG] [clean] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [EXIT] 26
Jetzt habe ich auf nas aus und speichere es Lokal.
-
Lokales speichern ist kein Backup.