NEWS
Backitup iobroker Backup wird nicht erzeugt Error
-
@thomas-braun , Ja lief bisher. In dem Fall werde ich erst mal aktualisieren und dann berichten
-
@a-kaiser sagte in Backitup iobroker Backup wird nicht erzeugt Error:
Ja lief bisher.
Das ist kein Grund die Systempflege schleifen zu lassen oder gleich gar nicht zu machen.
-
@a-kaiser sagte in Backitup iobroker Backup wird nicht erzeugt Error:
In dem Fall werde ich erst mal aktualisieren und dann berichten
zeige doch mal im jetzigen Zustand :
@glasfaser sagte in Backitup iobroker Backup wird nicht erzeugt Error:
Zeige mal die Full Ausgabe von
iob diagaber die Ausgabe bitte in Code-Tags </> setzen .
-
@thomas-braun, naja, don't touch a running system.
Aber gut, ich bin dann gleich auf node 18. Hier konnte ich dann keine neuen Adapter mehr installieren (ERROR 25) und auch der Adapter web konnte nicht mehr gestertet werden.
Somit bin ich runter auf node 16.19.1. Hier läuft alles bis auf backitup vom iobroker. (Bei CCU Homematic geht das backup.)Nach einigem probieren habe ich angefangen unnötige Adapter, die ich nicht mehr benötige, zu deinstallieren.
Laut log waren dies folgende drei Adapter:
tr-064.1
daswetter
coronavirus-statisticsDanach backitup für den iobroker gestartet und ja es funktioniert wieder. Denke nicht das node 14 hier ursächlich war, vermutlich einer dieser 3 Adapter.
Vielen Dank für eure Hinweise.
[DEBUG] [iobroker] - host.raspberrypi 9244 states saved [DEBUG] [iobroker] - host.raspberrypi 10966 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_02_19-20_42_28_backupiobroker.tar.gz [DEBUG] [iobroker] - done [DEBUG] [dropbox] - Dropbox: Copy iobroker_2023_02_19-20_42_28_backupiobroker.tar.gz... [DEBUG] [dropbox] - done [DEBUG] [googledrive] - Google Drive: Copy iobroker_2023_02_19-20_42_28_backupiobroker.tar.gz... [DEBUG] [googledrive] - 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] 0
-
@a-kaiser sagte in Backitup iobroker Backup wird nicht erzeugt Error:
naja, don't touch a running system.
Der größte Schwachsinn.
Und warum gehst du auf nodejs18? Hat keiner gesagt, die Empfehlung ist per heute immer noch node16.
Ist die wenigstens jetzt sauber installiert? Sonst holst du dir da das nächste Problem ins Haus.
-
@glasfaser , den Befehlt diag kannte ich noch nicht. Sehr interessant.
-
@thomas-braun , node 18, dachte wenn, dann gleich auf das Neuste.
Wie kann ich prüfen ob alles sauber installiert ist? -
-
@thomas-braun , passt dies jetzt?
======================= SUMMARY ======================= v.2023-01-02 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Installation: Native Timezone: Europe/London User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin Pending iob updates: 0 Active repo(s): stable Objects: 10960 States: 9244 Size of iob-Database: 15M /opt/iobroker/iobroker-data/objects.json.migrated 15M /opt/iobroker/iobroker-data/objects.json.bak.migrated 13M /opt/iobroker/iobroker-data/objects.jsonl 0 /opt/iobroker/iobroker-data/objects.json.broken 8.9M /opt/iobroker/iobroker-data/states.jsonl 3.6M /opt/iobroker/iobroker-data/states.json.migrated 3.6M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 3 Model B Plus Rev 1.3 Architecture: armv7l Docker: false Virtualization: none Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" Systemuptime and Load: 21:09:32 up 14:59, 1 user, load average: 1.36, 1.30, 0.87 CPU threads: 4 *** Time and Time Zones *** Sun Feb 19 21:09:32 UTC 2023 Sun Feb 19 21:09:32 GMT 2023 GMT +0000 Europe/London *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 922M 606M 28M 0.0K 287M 277M Swap: 99M 99M 0B Total: 1.0G 706M 28M 922 M total memory 606 M used memory 293 M active memory 507 M inactive memory 28 M free memory 42 M buffer memory 245 M swap cache 99 M total swap 99 M used swap 0 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 6.2G 22G 23% / devtmpfs devtmpfs 333M 0 333M 0% /dev tmpfs tmpfs 462M 0 462M 0% /dev/shm tmpfs tmpfs 185M 696K 184M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 50M 203M 20% /boot tmpfs tmpfs 93M 0 93M 0% /run/user/1000 Messages in dmesg: Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime `-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,flush,errors=remount-ro Files in neuralgic directories: /var: 2.1G /var/ 1.8G /var/log/journal/7905cb2b4c7442b2899aea939d270d70 1.8G /var/log/journal 1.8G /var/log 118M /var/cache /opt/iobroker/backups: 178M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 638M /opt/iobroker/iobroker-data/ 249M /opt/iobroker/iobroker-data/files 239M /opt/iobroker/iobroker-data/history 94M /opt/iobroker/iobroker-data/backup-objects 72M /opt/iobroker/iobroker-data/files/telegram.admin The five largest files in iobroker-data are: 15M /opt/iobroker/iobroker-data/objects.json.migrated 15M /opt/iobroker/iobroker-data/objects.json.bak.migrated 15M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map 13M /opt/iobroker/iobroker-data/objects.jsonl 9.1M /opt/iobroker/iobroker-data/states.jsonl *** NodeJS-Installation *** /usr/bin/nodejs v16.19.1 /usr/bin/node v16.19.1 /usr/bin/npm 8.19.3 /usr/bin/npx 8.19.3 nodejs: Installed: 16.19.1-deb-1nodesource1 Candidate: 16.19.1-deb-1nodesource1 Version table: *** 16.19.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages Temp directories causing npm8 problem: 0 *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: 6.1.4 Adapters from github: 0 Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : raspberrypi - enabled + system.adapter.backitup.0 : backitup : raspberrypi - enabled system.adapter.broadlink2.0 : broadlink2 : raspberrypi - disabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled + system.adapter.echarts.0 : echarts : raspberrypi - enabled + system.adapter.history.0 : history : raspberrypi - enabled + system.adapter.hm-rega.0 : hm-rega : raspberrypi - enabled + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.iqontrol.0 : iqontrol : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled system.adapter.meross.0 : meross : raspberrypi - disabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 system.adapter.nina.0 : nina : raspberrypi - disabled system.adapter.ping.0 : ping : raspberrypi - disabled system.adapter.pvforecast.2 : pvforecast : raspberrypi - disabled system.adapter.pvforecast.3 : pvforecast : raspberrypi - disabled + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 system.adapter.smartmeter.0 : smartmeter : raspberrypi - disabled system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi - disabled system.adapter.telegram.0 : telegram : raspberrypi - disabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 192.168.188.76, run as: admin system.adapter.whatsapp-cmb.0 : whatsapp-cmb : raspberrypi - disabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.hm-rpc.1 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.hm-rpc.2 : hm-rpc : raspberrypi - enabled, port: 0 + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.shelly.0 : shelly : raspberrypi - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 192.168.188.76, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "backitup" : 2.5.12 , installed 2.5.12 Adapter "broadlink2" : 2.1.5 , installed 2.1.5 Adapter "coronavirus-statistics": 0.8.7, installed 0.8.7 Adapter "daswetter" : 3.1.7 , installed 3.1.7 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "echarts" : 1.0.12 , installed 1.0.12 Adapter "history" : 2.2.4 , installed 2.2.4 Adapter "hm-rega" : 3.0.43 , installed 3.0.43 Adapter "hm-rpc" : 1.15.16 , installed 1.15.16 Adapter "iqontrol" : 2.1.0 , installed 2.1.0 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "meross" : 1.14.0 , installed 1.14.0 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pvforecast" : 2.3.0 , installed 2.3.0 Adapter "shelly" : 6.3.1 , installed 6.3.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.15.2 , installed 1.15.2 Adapter "tr-064" : 4.2.17 , installed 4.2.17 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "whatsapp-cmb" : 0.2.3 , installed 0.2.3 Adapter "ws" : 1.3.0 , installed 1.3.0 Objects and States Please stand by - This may take a while Objects: 10960 States: 9244 *** OS-Repositories and Updates *** Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 192.168.188.76:8082 0.0.0.0:* LISTEN 1001 1011122 8882/io.web.0 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 1008540 8812/io.mqtt.0 tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 1008541 8812/io.mqtt.0 tcp 0 0 192.168.188.76:8701 0.0.0.0:* LISTEN 1001 1011713 8781/io.hm-rpc.1 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 7954 478/sshd: /usr/sbin tcp 0 0 192.168.188.76:42001 0.0.0.0:* LISTEN 1001 1011081 8788/io.hm-rpc.2 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 1010716 8553/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 1009335 8553/iobroker.js-co tcp6 0 0 :::8081 :::* LISTEN 1001 1010969 8650/io.admin.0 tcp6 0 0 :::22 :::* LISTEN 0 7956 478/sshd: /usr/sbin udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 11695 356/avahi-daemon: r udp 0 0 0.0.0.0:35758 0.0.0.0:* 108 11697 356/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 1011178 8790/io.shelly.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 11777 603/dhcpcd udp6 0 0 :::53410 :::* 108 11698 356/avahi-daemon: r udp6 0 0 :::5353 :::* 108 11696 356/avahi-daemon: r udp6 0 0 :::546 :::* 0 54712 603/dhcpcd *** Log File - Last 25 Lines *** 2023-02-19 20:06:07.422 - info: host.raspberrypi iobroker host.raspberrypi Deleting 105 object(s). 2023-02-19 20:06:09.401 - info: host.raspberrypi object deleted system.adapter.tr-064.1 2023-02-19 20:06:09.413 - info: host.raspberrypi iobroker host.raspberrypi Deleting 89 state(s). 2023-02-19 20:06:11.341 - info: host.raspberrypi iobroker exit 0 2023-02-19 20:10:58.640 - info: admin.0 (8650) ==> Connected system.user.admin from ::ffff:192.168.188.36 2023-02-19 20:25:09.941 - info: admin.0 (8650) <== Disconnect system.user.admin from ::ffff:192.168.188.36 2023-02-19 20:25:16.430 - info: admin.0 (8650) ==> Connected system.user.admin from ::ffff:192.168.188.36 2023-02-19 20:26:21.187 - info: mqtt.0 (8812) Client [ESP_Easy_Achim_0] connection closed: timeout 2023-02-19 20:26:21.472 - info: mqtt.0 (8812) Client [ESP_Easy_Achim_0] connected with secret 1676838381470_6148
-
Zeitzone ist falsch, oder lebt dein System in London?
RAM geht dir aus.
nodeJS ist sauber installiert.
-
@a-kaiser sagte in Backitup iobroker Backup wird nicht erzeugt Error:
Denke nicht das node 14 hier ursächlich war, vermutlich einer dieser 3 Adapter.
Eher dein magerer Speicher. Mit 1 GB RAM kannst du keine großen Sprünge machen. Da muss alles was nicht absolut benötigt wird ausgeknipst werden.
Der discovery-Adapter wäre z. B. auch noch ein Kandidat dafür. Den braucht man ja in einem eingerichteten System nicht mehr. -
@thomas-braun , ja der Speicher ist schon knapp, hat aber bisher ausgereicht.
Nur frage ich mich jetzt, ob der knappe Speicher ursächlich für das Problem war. Wollte schön länger auf einen Pi mit 4 GB umsteigen, jedoch waren mit die Preise in den letzten Monaten viel zu hoch. Mal schauen, zumindest läuft jetzt alles und Neues ist aktuell nicht geplant. Dankeschön.
Ach ja, wir sind jetzt von London nach Berlin umgezogen
-
@a-kaiser sagte in Backitup iobroker Backup wird nicht erzeugt Error:
ob der knappe Speicher ursächlich für das Problem war
sehr wahrscheinlich!
14 aktive Instanzen sind schon zu viel für 1GB RAM!während des Backups wird zusätzlich massiv RAM benötigt.
-
@homoran sagte in Backitup iobroker Backup wird nicht erzeugt Error:
während des Backups wird zusätzlich massiv RAM benötigt
Massiv ist halt relativ... Kommt immer auf die Datenmenge an, die man sichert.
Aber ich gebe dir recht... 1 GB sind schon arg knapp