NEWS
Test Adapter ioBroker.backitup v3.0.x
-
So, Problem gelöst. Habe die Sicherung per Hand nach /opt/iobroker/backup kopiert, danach ließ sie sich einwandfrei einspielen...
MfG
eMd -
Hallo zusammen,
ich bin noch auf 1.6.9Seit einiger Zeit so etwa 2 Wochen werden die Daten im json DP immer als undefined angezeigt.
Das Backup File wurde aber auf dem NAS(Fritz:NAS) geschrieben.
Was könnte das sein? Bin für jeden Tipp dankbar!![{"date":"31. Oktober 2020 um 10:34 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"31. Oktober 2020 um 09:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"30. Oktober 2020 um 09:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"29. Oktober 2020 um 10:10 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"29. Oktober 2020 um 09:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"28. Oktober 2020 um 09:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"27. Oktober 2020 um 12:53 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"27. Oktober 2020 um 09:02 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"27. Oktober 2020 um 07:11 Uhr","name":"iobroker_2020_10_27-07_11_24_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"7MB","error":"none"},{"date":"27. Oktober 2020 um 02:04 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"26. Oktober 2020 um 22:43 Uhr","name":"iobroker_2020_10_26-22_43_13_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"7MB","error":"none"},{"date":"26. Oktober 2020 um 22:32 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"26. Oktober 2020 um 22:20 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"26. Oktober 2020 um 16:20 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"26. Oktober 2020 um 02:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"25. Oktober 2020 um 02:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"24. Oktober 2020 um 02:00 Uhr","name":"iobroker_2020_10_24-02_00_20_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"},{"date":"23. Oktober 2020 um 02:00 Uhr","name":"iobroker_2020_10_23-02_00_22_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"},{"date":"22. Oktober 2020 um 02:00 Uhr","name":"iobroker_2020_10_22-02_00_20_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"},{"date":"21. Oktober 2020 um 13:43 Uhr","name":"iobroker_2020_10_21-13_43_19_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"},{"date":"21. Oktober 2020 um 02:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"20. Oktober 2020 um 02:00 Uhr","name":"undefined","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"undefined","error":"none"},{"date":"19. Oktober 2020 um 02:00 Uhr","name":"iobroker_2020_10_19-02_00_20_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"},{"date":"18. Oktober 2020 um 02:00 Uhr","name":"iobroker_2020_10_18-02_00_20_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"},{"date":"17. Oktober 2020 um 02:00 Uhr","name":"iobroker_2020_10_17-02_00_20_elzershark_backupiobroker.tar.gz","type":"iobroker","storage":"NFS / CIFS-Mount: Ja","filesize":"6MB","error":"none"}]
-
@Bibo-13 Obacht! Nach Update auf 1.7.0 musste ich im Adapter bei CCU-Backup das Kennwort neu eingeben, sonst lief das Backup nicht. Das ioBroker-Backup lief problemlos durch.
-
@Meister-Mopper Danke sehr, aber bei mir ist es der IOBROKER Backup
-
@Meister-Mopper
Kann ich so nicht bestätigen.
Zum einen wurde am CCU Backup in der Version nix gemacht und zu anderen läuft es auf all meinen Testsystemen.Das muss bei dir eine andere Ursache haben
-
@simatec Eigenartig, bis auf das Adapter-Update habe ich nichts verändert. Aber egal, es geht ja jetzt wieder.
-
Hallo @Meister-Mopper,
bei mir funktioniert der Adapter auch nicht mehr.
Fehler:backitup.0 2020-11-01 11:57:22.270 error (25641) Error: Sorry, the maximum number of clients (10) for this user are already connected. backitup.0 2020-11-01 11:57:22.077 info (25641) [ccu] backup was activated at 01:30 every 3 day(s) backitup.0 2020-11-01 11:57:22.063 info (25641) [iobroker] backup was activated at 12:00 every 1 day(s) backitup.0 2020-11-01 11:57:22.008 info (25641) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.19.0, js-controller: 3.1.6 backitup.0 2020-11-01 11:57:13.236 info (25207) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2020-11-01 11:57:13.235 info (25207) terminating backitup.0 2020-11-01 11:57:13.233 info (25207) cleaned everything up... backitup.0 2020-11-01 11:57:13.231 info (25207) Got terminate signal TERMINATE_YOURSELF backitup.0 2020-11-01 11:56:42.236 error (25207) Error: Sorry, the maximum number of clients (10) for this user are already connected. backitup.0 2020-11-01 11:56:40.778 info (25207) [ccu] backup was activated at 01:30 every 3 day(s) backitup.0 2020-11-01 11:56:40.683 info (25207) [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2020-11-01 11:56:40.434 info (25207) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v10.19.0, js-controller: 3.1.6 backitup.0 2020-11-01 11:56:26.213 warn (25207) slow connection to objects DB. Still waiting ... backitup.0 2020-11-01 11:55:56.345 info (24515) Got terminate signal TERMINATE_YOURSELF
Was kann das sein?
Gruß -
@hofmannha sagte in Test Adapter Backitup v1.7.x:
Error: Sorry, the maximum number of clients (10) for this user are already connected.
Daran wird es wohl liegen. Es gibt zu viele offene Verbindungen. Wohin sicherst du? Die einfachste (vorübergehende) Lösung: Gerät neu starten.
-
@hofmannha sagte in Test Adapter Backitup v1.7.x:
node: v10.19.0
Würde ich auf node12 heben.
Wo sicherst du die Backups denn hin?
-
Kann mir jemand kurz auf die Sprünge helfen? Ich habe den Adapter vor Kurzem neu installiert und damit endlich eine automatische Backup-Lösung auf mein NAS realisiert. Mein CCU und mein iobroker Backup laufen einwandfrei. Sobald ich aber die History-Daten mitnehmen möchte, spuckt er eine Fehlermeldung aus ("historyDB: No source for compress!").
Ich denke, das liegt an meiner Pfadangabe bei den History-Daten. Die Übernahme des Pfads per Ermitteln der Konfig scheint bei mir nicht zu funktionierten. Welcher Pfad ist dort anzugeben? -
Bei mir steht dies drin: /opt/iobroker/iobroker-data/history
-
@hofmannha
Du hast zu viele nicht abgemeldete Anmeldungen an deiner CCU. Starte die mal neu -
@brain
Du musst dort den exakt identischen Pfad eintragen, der auch im History Adapter hinterlegt ist. -
@Nashra said in Test Adapter Backitup v1.7.x:
Bei mir steht dies drin: /opt/iobroker/iobroker-data/history
Danke, das habe ich eingetragen und erfolgreich getestet.
-
Hallo @Dr-Bakterius,
Danke für die Hilfe. Genau das war’s. Ich habe die Raspberrymatic neu gestartet und Siege da, Backup macht jetzt wieder ein Backup von der ccu.
Trotzdem bleibt mir ein Problem. Der Backup-Adapter macht mir das Backup per ftp nicht auf meine Nas. Das hat bis Anfang September problemlos funktioniert und geändert habe ich auch nichts.
Hast Du eine Idee?
Gruß -
@hofmannha
Zeige bitte mal den Debuglog ... -
@simatec moin, ich habe mein Backup von Dropbox auf meine NAS gewechselt. So wie ich es sehe, auch ohne Fehler im Log. Aber wenn ich über mein Telegram Adapter schaue, steht da folgendes :
BackItUp:
Die Sicherung wurde nicht vollständig erstellt. Bitte überprüfe die Fehlermeldungen!!cifs: Error: EACCES: permission denied, open '/home/iobroker_2020_11_04-21_51_31_IOBroker Backup_backupiobroker.tar.gz'
Es ist aber auf der Nas vorhanden. Was sagt mir das? Mir ist jetzt nicht EACCES geläufig. Schreiben scheint zu gehen... Lesen nicht?
Gruss Andre
-
@gelberlemmy
Nicht ausreichende Rechte. -
Ich bekomme leider auch jede Nacht nach dem geplanten Backup die altbekannte Fehlermeldung:
backitup.0 2020-11-05 02:00:54.047 info (17562) [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2020-11-05 02:00:54.035 info (17562) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.19.0, js-controller: 3.1.6 host.ubuntu 2020-11-05 02:00:53.117 info instance system.adapter.backitup.0 started with pid 17562 host.ubuntu 2020-11-05 02:00:23.108 info Restart adapter system.adapter.backitup.0 because enabled host.ubuntu 2020-11-05 02:00:23.108 info instance system.adapter.backitup.0 terminated with code 0 (NO_ERROR) host.ubuntu 2020-11-05 02:00:23.108 error Caught by controller[0]: at OAuth2Client.requestAsync (/opt/iobroker/node_modules/google-auth-library/build/src/auth/oauth2client.js:343:18) host.ubuntu 2020-11-05 02:00:23.108 error Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:97:5) host.ubuntu 2020-11-05 02:00:23.108 error Caught by controller[0]: at runMicrotasks (<anonymous>) host.ubuntu 2020-11-05 02:00:23.108 error Caught by controller[0]: at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:112:15) host.ubuntu 2020-11-05 02:00:23.108 error Caught by controller[0]: Error: Rate Limit Exceeded host.ubuntu 2020-11-05 02:00:23.107 error Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected backitup.0 2020-11-05 02:00:22.598 info (901) Terminated (NO_ERROR): Without reason backitup.0 2020-11-05 02:00:22.597 info (901) terminating backitup.0 2020-11-05 02:00:22.586 info (901) cleaned everything up... backitup.0 2020-11-05 02:00:22.585 error (901) Error: Rate Limit Exceeded at Gaxios._request (/opt/iobroker/node_modules/gaxios/src/gaxios.ts:112:15) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/t backitup.0 2020-11-05 02:00:22.576 error (901) unhandled promise rejection: Rate Limit Exceeded backitup.0 2020-11-05 02:00:22.574 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().```
-
Hab mit jetzt den Thread durchgelesen, den Adapter auf Debug gestellt und manuell gestartet. Da kam die Meldung nicht:
backitup.0 2020-11-05 02:12:14.074 debug (18915) [iobroker] exec: done backitup.0 2020-11-05 02:12:13.923 debug (18915) [iobroker/googledrive] done backitup.0 2020-11-05 02:12:12.358 debug (18915) [iobroker/googledrive] Google Drive: Copy zigbee.0_2020_11_05-02_12_04_backupiobroker.tar.gz... backitup.0 2020-11-05 02:12:05.989 debug (18915) [iobroker] exec: done backitup.0 2020-11-05 02:12:05.839 debug (18915) [iobroker/history] backitup.0.history.json backitup.0 2020-11-05 02:12:05.837 debug (18915) [iobroker/history] backitup.0.history.html backitup.0 2020-11-05 02:12:05.079 debug (18915) [iobroker/clean] done backitup.0 2020-11-05 02:12:05.078 debug (18915) [iobroker/googledrive] Google Drive: Copy iobroker_2020_11_05-02_12_00_Saves_backupiobroker.tar.gz... backitup.0 2020-11-05 02:12:04.627 debug (18915) [iobroker/zigbee] done backitup.0 2020-11-05 02:12:04.627 debug (18915) [iobroker/zigbee] found zigbee database: zigbee.0 backitup.0 2020-11-05 02:12:04.024 debug (18915) [iobroker/iobroker] done backitup.0 2020-11-05 02:12:03.018 debug (18915) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_11_05-02_12_00_Saves_backupiobroker.tar.gz backitup.0 2020-11-05 02:12:01.758 debug (18915) [iobroker/iobroker] host.ubuntu 7223 objects saved backitup.0 2020-11-05 02:12:01.750 debug (18915) [iobroker/iobroker] host.ubuntu 5928 states saved backitup.0 2020-11-05 02:12:00.503 debug (18915) Backup has started ... backitup.0 2020-11-05 02:11:37.868 debug (18915) No backup file was found backitup.0 2020-11-05 02:11:35.099 info (18915) [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2020-11-05 02:11:35.081 info (18915) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.19.0, js-controller: 3.1.6 backitup.0 2020-11-05 02:11:35.049 debug (18915) Plugin sentry Initialize Plugin (enabled=true) backitup.0 2020-11-05 02:11:34.629 debug (18915) statesDB connected backitup.0 2020-11-05 02:11:34.628 debug (18915) States connected to redis: 127.0.0.1:9000 backitup.0 2020-11-05 02:11:34.625 debug (18915) States create System PubSub Client backitup.0 2020-11-05 02:11:34.625 debug (18915) States create User PubSub Client backitup.0 2020-11-05 02:11:34.622 debug (18915) Redis States: Use Redis connection: 127.0.0.1:9000 backitup.0 2020-11-05 02:11:34.622 debug (18915) objectDB connected backitup.0 2020-11-05 02:11:34.620 debug (18915) Objects connected to redis: 127.0.0.1:9001 backitup.0 2020-11-05 02:11:34.617 debug (18915) Objects client initialize lua scripts backitup.0 2020-11-05 02:11:34.616 debug (18915) Objects create User PubSub Client backitup.0 2020-11-05 02:11:34.616 debug (18915) Objects create System PubSub Client backitup.0 2020-11-05 02:11:34.615 debug (18915) Objects client ready ... initialize now backitup.0 2020-11-05 02:11:34.607 debug (18915) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.ubuntu 2020-11-05 02:11:34.095 info instance system.adapter.backitup.0 started with pid 18915 host.ubuntu 2020-11-05 02:11:31.598 info instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) backitup.0 2020-11-05 02:11:31.087 info (18085) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2020-11-05 02:11:31.087 info (18085) terminating backitup.0 2020-11-05 02:11:31.087 info (18085) cleaned everything up... backitup.0 2020-11-05 02:11:31.086 info (18085) Got terminate signal TERMINATE_YOURSELF host.ubuntu 2020-11-05 02:11:31.085 info stopInstance system.adapter.backitup.0 send kill signal host.ubuntu 2020-11-05 02:11:31.083 info stopInstance system.adapter.backitup.0 (force=false, process=true)