NEWS
Abstürze vor allem beim dayly Backup
-
Immer das höchstmögliche. Eigentlich sollte mittlerweile 3.1.1 von allen gesprochen werden.
-
mit SMB3.1.1 klappt es leider nicht - liehe log:
backitup.0 2023-01-07 17:06:50.103 error [iobroker] Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.50/home/Backup/ioBroker/Standard /opt/iobroker/backups mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) backitup.0 2023-01-07 17:06:50.101 error [iobroker/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) backitup.0 2023-01-07 17:06:50.101 error [iobroker/mount] mount error(95): Operation not supported backitup.0 2023-01-07 17:06:50.100 error [iobroker/mount] Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.50/home/Backup/ioBroker/Standard /opt/iobroker/backups backitup.0 2023-01-07 17:06:50.098 error [iobroker/mount] Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) backitup.0 2023-01-07 17:06:50.098 error [iobroker/mount] mount error(95): Operation not supported backitup.0 2023-01-07 17:06:50.096 error [iobroker/mount] [undefined Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.50/home/Backup/ioBroker/Standard /opt/iobroker/backups backitup.0 2023-01-07 17:06:15.599 error Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.178.50/home/Backup/ioBroker/Standard /opt/iobroker/backups mount error(95): Operation not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Ich probiere es gleich nochmal mit 3.01 und 3.0.
-
Muss ggfls. auch auf dem SMB-Server der Sinnlosygy eingestellt werden.
-
@thomas-braun said in gelöst: Abstürze vor allem beim dayly Backup:
Muss ggfls. auch auf dem SMB-Server der Sinnlosygy eingestellt werden.
Danke für den Hinweis: Es war SMB2 als maximales und SMB1 als minimales Protokoll eingestellt. Nach der Umstellung auf SMB3 als maximales Protokoll klappt das Mounten nun auch mit SMB Typ 3.1.1! Das reine iobroker Backup (ohne mysql, redis, java, zigbee, ...) ist problemlos und schnell durchgelaufen.
Ist ein separates Backup der Redis-Daten überhaupt erforderlich?
Sind die states und objects nicht ohnehin im iobroker Backup enthalten?
Kann man ohne Nachteile auf das Backup der Datenbanken influx und mysql verzichten? -
@dragricola sagte in Abstürze vor allem beim dayly Backup:
Sind die states und objects nicht ohnehin im iobroker Backup enthalten?
Ja.
Aber wie gesagt: Ich würde da auf jsonl umstellen und redis deinstallieren.
-
@thomas-braun said in gelöst: Abstürze vor allem beim dayly Backup:
auf jsonl umstellen
ich hab's versucht, aber dabei Daten und Performance verloren (siehe oben).
-
Ich würds nochmal versuchen.
-
@thomas-braun said in Abstürze vor allem beim dayly Backup:
Ich würds nochmal versuchen.
Nachdem ich auf jsonl umgestellt habe, waren die Systemabstürze leider nicht verschwunden. Sie traten immer noch alle 2 bis 3 Tage auf. Nun war ich letzte Woche nicht zuhause und habe in der Zeit weder die Website noch die VIS-App aufgerufen. Während dieser Zeit ist es zu keinem Absturz gekommen. Kann es sein, dass die Ursache für die Abstürze mit der Datenbank zusammenhängt? Die Visualisierungen mit dem flot- Adapter rufen nämlich viele Daten aus der Datenbank ab. Gibt es eine Möglichkeit, das zu überprüfen?
-
Schau dir das LogFile an.
-
@thomas-braun said in Abstürze vor allem beim dayly Backup:
Schau dir das LogFile an.
Ich habe gerade iob diag ausgeführt und während der Audführung ist ein Absturz aufgetreten. Bis zum Stop ist folgende Ausgabe gekommen:
Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.1 Architecture: aarch64 Docker: false Virtualization: none Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" Systemuptime and Load: 13:10:11 up 20:04, 1 user, load average: 1.33, 1.37, 1.19 CPU threads: 4 *** Time and Time Zones *** Sun Mar 5 12:10:11 UTC 2023 Sun Mar 5 13:10:11 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 2.9G 246M 3.0M 651M 875M Swap: 99M 99M 0B Total: 3.9G 3.0G 246M 3793 M total memory 2895 M used memory 380 M active memory 3017 M inactive memory 246 M free memory 54 M buffer memory 597 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 118G 13G 100G 12% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 756K 1.9G 1% /dev/shm tmpfs tmpfs 759M 1.2M 758M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda1 vfat 255M 31M 225M 12% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/999 tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages in dmesg: [Sat Mar 4 17:05:51 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:32:93:63 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty1 root=PARTUUID=a1185881-02 rootfstype=ext4 fsck.repair=yes rootwait fsck.mode=force [Sat Mar 4 17:05:52 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Sat Mar 4 17:05:52 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Sat Mar 4 17:06:02 2023] EXT4-fs (sda2): re-mounted. Opts: (null). Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 5.3G /var/ 3.7G /var/lib 1.9G /var/lib/redis 1.6G /var/lib/mysql 1.4G /var/log /opt/iobroker/backups: 130M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 459M /opt/iobroker/iobroker-data/ 302M /opt/iobroker/iobroker-data/files 113M /opt/iobroker/iobroker-data/backup-objects 51M /opt/iobroker/iobroker-data/files/javascript.admin 48M /opt/iobroker/iobroker-data/files/telegram.admin The five largest files in iobroker-data are: 33M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map 27M /opt/iobroker/iobroker-data/files/material/static/js/2.73100bd6.chunk.js.map 26M /opt/iobroker/iobroker-data/objects.jsonl 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/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 arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main arm64 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: 2 Adapter State + system.adapter.admin.0 : admin : raspberrypi4-iob - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alias-manager.0 : alias-manager : raspberrypi4-iob - enabled + system.adapter.alpha2.0 : alpha2 : raspberrypi4-iob - enabled + system.adapter.backitup.0 : backitup : raspberrypi4-iob - enabled system.adapter.coronavirus-statistics.0 : coronavirus-statistics: raspberrypi4-iob - enabled system.adapter.daswetter.0 : daswetter : raspberrypi4-iob - enabled system.adapter.denon.0 : denon : raspberrypi4-iob - disabled system.adapter.devices.0 : devices : raspberrypi4-iob - enabled system.adapter.discovery.0 : discovery : raspberrypi4-iob - disabled system.adapter.dwd.0 : dwd : raspberrypi4-iob - enabled system.adapter.feiertage.0 : feiertage : raspberrypi4-iob - enabled system.adapter.flot.0 : flot : raspberrypi4-iob - enabled + system.adapter.fritzdect.0 : fritzdect : raspberrypi4-iob - enabled + system.adapter.homeconnect.0 : homeconnect : raspberrypi4-iob - enabled system.adapter.ical.0 : ical : raspberrypi4-iob - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi4-iob - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi4-iob - enabled, port: 8086 + system.adapter.info.0 : info : raspberrypi4-iob - enabled + system.adapter.javascript.0 : javascript : raspberrypi4-iob - enabled system.adapter.javascript.1 : javascript : raspberrypi4-iob - disabled system.adapter.luftdaten.0 : luftdaten : raspberrypi4-iob - enabled system.adapter.material.0 : material : raspberrypi4-iob - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi4-iob - enabled, port: 1884, bind: 192.168.178.126 + system.adapter.net-tools.0 : net-tools : raspberrypi4-iob - enabled + system.adapter.nuki-extended.0 : nuki-extended : raspberrypi4-iob - enabled system.adapter.octoprint.0 : octoprint : raspberrypi4-iob - disabled system.adapter.panasonic-viera.0 : panasonic-viera : raspberrypi4-iob - disabled system.adapter.panasonic-viera.1 : panasonic-viera : raspberrypi4-iob - disabled + system.adapter.pi-hole.0 : pi-hole : raspberrypi4-iob - enabled + system.adapter.ping.0 : ping : raspberrypi4-iob - enabled + system.adapter.pushover.0 : pushover : raspberrypi4-iob - enabled + system.adapter.rpi2.0 : rpi2 : raspberrypi4-iob - enabled + system.adapter.shuttercontrol.0 : shuttercontrol : raspberrypi4-iob - enabled + system.adapter.simple-api.0 : simple-api : raspberrypi4-iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : raspberrypi4-iob - disabled, port: 8085, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : raspberrypi4-iob - enabled, port: 1883, bind: 0.0.0.0 system.adapter.sourceanalytix.0 : sourceanalytix : raspberrypi4-iob - disabled + system.adapter.sql.0 : sql : raspberrypi4-iob - enabled, port: 3306 + system.adapter.synology.0 : synology : raspberrypi4-iob - enabled, port: 5000 + system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi4-iob - enabled + system.adapter.telegram.0 : telegram : raspberrypi4-iob - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : raspberrypi4-iob - enabled + system.adapter.tr-064.0 : tr-064 : raspberrypi4-iob - enabled system.adapter.tr-064.1 : tr-064 : raspberrypi4-iob - disabled system.adapter.tr-064.2 : tr-064 : raspberrypi4-iob - disabled + system.adapter.trashschedule.0 : trashschedule : raspberrypi4-iob - enabled system.adapter.vis-colorpicker.0 : vis-colorpicker : raspberrypi4-iob - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : raspberrypi4-iob - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : raspberrypi4-iob - enabled system.adapter.vis-icontwo.0 : vis-icontwo : raspberrypi4-iob - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : raspberrypi4-iob - enabled system.adapter.vis-materialdesign.0 : vis-materialdesign : raspberrypi4-iob - enabled system.adapter.vis-metro.0 : vis-metro : raspberrypi4-iob - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : raspberrypi4-iob - enabled system.adapter.vis-weather.0 : vis-weather : raspberrypi4-iob - enabled system.adapter.vis.0 : vis : raspberrypi4-iob - enabled system.adapter.weatherunderground.0 : weatherunderground : raspberrypi4-iob - enabled + system.adapter.web.0 : web : raspberrypi4-iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : raspberrypi4-iob - enabled, port: 20002, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : raspberrypi4-iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi4-iob - enabled, port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi4-iob - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.influxdb.0 : influxdb : raspberrypi4-iob - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : raspberrypi4-iob - enabled, port: 1884, bind: 192.168.178.126 + system.adapter.simple-api.0 : simple-api : raspberrypi4-iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : raspberrypi4-iob - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.sql.0 : sql : raspberrypi4-iob - enabled, port: 3306 + system.adapter.synology.0 : synology : raspberrypi4-iob - enabled, port: 5000 + system.adapter.telegram.0 : telegram : raspberrypi4-iob - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi4-iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : raspberrypi4-iob - enabled, port: 20002, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : raspberrypi4-iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi4-iob - enabled, port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json Beta (latest) : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alias-manager": 1.2.4 , installed 1.2.4 Adapter "alpha2" : 1.0.0 , installed 1.0.4 Adapter "backitup" : 2.5.12 , installed 2.5.12 Adapter "coronavirus-statistics": 0.8.7, installed 0.8.7 Adapter "daswetter" : 3.1.7 , installed 3.1.7 Adapter "denon" : 1.14.0 , installed 1.14.0 Adapter "devices" : 1.1.2 , installed 1.1.2 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fritzdect" : 2.2.6 , installed 2.2.6 Adapter "homeconnect" : 1.1.1 , installed 1.1.1 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "material" : 1.1.2 , installed 1.1.2 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "nuki-extended": 2.3.1 , installed 2.4.0 Adapter "octoprint" : 4.0.0 , installed 4.0.0 Adapter "panasonic-viera": 2.0.0 , installed 2.0.0 Adapter "pi-hole" : 1.3.4 , installed 1.3.4 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pushover" : 3.0.3 , installed 3.0.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shuttercontrol": 1.4.18 , installed 1.4.18 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "synology" : 2.1.13 , installed 2.1.13 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.15.2 , installed 1.15.2 Adapter "text2command" : 2.3.0 , installed 2.3.0 Adapter "tr-064" : 4.2.17 , installed 4.2.17 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "vis-icontwo" : 0.90.0 , installed 0.90.0 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.6 , installed 2.5.6 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "zigbee" : 1.8.10 , installed 1.8.10 ``` ``` Skript v.2023-01-02 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.1 Architecture: aarch64 Docker: false Virtualization: none Distributor ID: Debian Description: Debian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" Systemuptime and Load: 13:10:11 up 20:04, 1 user, load average: 1.33, 1.37, 1.19 CPU threads: 4 *** Time and Time Zones *** Sun Mar 5 12:10:11 UTC 2023 Sun Mar 5 13:10:11 CET 2023 CET +0100 Europe/Berlin *** User and Groups *** pi /home/pi pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.8G 2.9G 246M 3.0M 651M 875M Swap: 99M 99M 0B Total: 3.9G 3.0G 246M 3793 M total memory 2895 M used memory 380 M active memory 3017 M inactive memory 246 M free memory 54 M buffer memory 597 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 118G 13G 100G 12% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 756K 1.9G 1% /dev/shm tmpfs tmpfs 759M 1.2M 758M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/sda1 vfat 255M 31M 225M 12% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/999 tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages in dmesg: [Sat Mar 4 17:05:51 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=DC:A6:32:32:93:63 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000 console=tty1 root=PARTUUID=a1185881-02 rootfstype=ext4 fsck.repair=yes rootwait fsck.mode=force [Sat Mar 4 17:05:52 2023] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none. [Sat Mar 4 17:05:52 2023] VFS: Mounted root (ext4 filesystem) readonly on device 8:2. [Sat Mar 4 17:06:02 2023] EXT4-fs (sda2): re-mounted. Opts: (null). Quota mode: none. Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 5.3G /var/ 3.7G /var/lib 1.9G /var/lib/redis 1.6G /var/lib/mysql 1.4G /var/log /opt/iobroker/backups: 130M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 459M /opt/iobroker/iobroker-data/ 302M /opt/iobroker/iobroker-data/files 113M /opt/iobroker/iobroker-data/backup-objects 51M /opt/iobroker/iobroker-data/files/javascript.admin 48M /opt/iobroker/iobroker-data/files/telegram.admin The five largest files in iobroker-data are: 33M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map 27M /opt/iobroker/iobroker-data/files/material/static/js/2.73100bd6.chunk.js.map 26M /opt/iobroker/iobroker-data/objects.jsonl 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/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 arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u3 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main arm64 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: 2 Adapter State + system.adapter.admin.0 : admin : raspberrypi4-iob - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.alias-manager.0 : alias-manager : raspberrypi4-iob - enabled + system.adapter.alpha2.0 : alpha2 : raspberrypi4-iob - enabled + system.adapter.backitup.0 : backitup : raspberrypi4-iob - enabled system.adapter.coronavirus-statistics.0 : coronavirus-statistics: raspberrypi4-iob - enabled system.adapter.daswetter.0 : daswetter : raspberrypi4-iob - enabled system.adapter.denon.0 : denon : raspberrypi4-iob - disabled system.adapter.devices.0 : devices : raspberrypi4-iob - enabled system.adapter.discovery.0 : discovery : raspberrypi4-iob - disabled system.adapter.dwd.0 : dwd : raspberrypi4-iob - enabled system.adapter.feiertage.0 : feiertage : raspberrypi4-iob - enabled system.adapter.flot.0 : flot : raspberrypi4-iob - enabled + system.adapter.fritzdect.0 : fritzdect : raspberrypi4-iob - enabled + system.adapter.homeconnect.0 : homeconnect : raspberrypi4-iob - enabled system.adapter.ical.0 : ical : raspberrypi4-iob - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : raspberrypi4-iob - enabled + system.adapter.influxdb.0 : influxdb : raspberrypi4-iob - enabled, port: 8086 + system.adapter.info.0 : info : raspberrypi4-iob - enabled + system.adapter.javascript.0 : javascript : raspberrypi4-iob - enabled system.adapter.javascript.1 : javascript : raspberrypi4-iob - disabled system.adapter.luftdaten.0 : luftdaten : raspberrypi4-iob - enabled system.adapter.material.0 : material : raspberrypi4-iob - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi4-iob - enabled, port: 1884, bind: 192.168.178.126 + system.adapter.net-tools.0 : net-tools : raspberrypi4-iob - enabled + system.adapter.nuki-extended.0 : nuki-extended : raspberrypi4-iob - enabled system.adapter.octoprint.0 : octoprint : raspberrypi4-iob - disabled system.adapter.panasonic-viera.0 : panasonic-viera : raspberrypi4-iob - disabled system.adapter.panasonic-viera.1 : panasonic-viera : raspberrypi4-iob - disabled + system.adapter.pi-hole.0 : pi-hole : raspberrypi4-iob - enabled + system.adapter.ping.0 : ping : raspberrypi4-iob - enabled + system.adapter.pushover.0 : pushover : raspberrypi4-iob - enabled + system.adapter.rpi2.0 : rpi2 : raspberrypi4-iob - enabled + system.adapter.shuttercontrol.0 : shuttercontrol : raspberrypi4-iob - enabled + system.adapter.simple-api.0 : simple-api : raspberrypi4-iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : raspberrypi4-iob - disabled, port: 8085, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : raspberrypi4-iob - enabled, port: 1883, bind: 0.0.0.0 system.adapter.sourceanalytix.0 : sourceanalytix : raspberrypi4-iob - disabled + system.adapter.sql.0 : sql : raspberrypi4-iob - enabled, port: 3306 + system.adapter.synology.0 : synology : raspberrypi4-iob - enabled, port: 5000 + system.adapter.tankerkoenig.0 : tankerkoenig : raspberrypi4-iob - enabled + system.adapter.telegram.0 : telegram : raspberrypi4-iob - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.text2command.0 : text2command : raspberrypi4-iob - enabled + system.adapter.tr-064.0 : tr-064 : raspberrypi4-iob - enabled system.adapter.tr-064.1 : tr-064 : raspberrypi4-iob - disabled system.adapter.tr-064.2 : tr-064 : raspberrypi4-iob - disabled + system.adapter.trashschedule.0 : trashschedule : raspberrypi4-iob - enabled system.adapter.vis-colorpicker.0 : vis-colorpicker : raspberrypi4-iob - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : raspberrypi4-iob - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : raspberrypi4-iob - enabled system.adapter.vis-icontwo.0 : vis-icontwo : raspberrypi4-iob - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : raspberrypi4-iob - enabled system.adapter.vis-materialdesign.0 : vis-materialdesign : raspberrypi4-iob - enabled system.adapter.vis-metro.0 : vis-metro : raspberrypi4-iob - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : raspberrypi4-iob - enabled system.adapter.vis-weather.0 : vis-weather : raspberrypi4-iob - enabled system.adapter.vis.0 : vis : raspberrypi4-iob - enabled system.adapter.weatherunderground.0 : weatherunderground : raspberrypi4-iob - enabled + system.adapter.web.0 : web : raspberrypi4-iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : raspberrypi4-iob - enabled, port: 20002, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : raspberrypi4-iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi4-iob - enabled, port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : raspberrypi4-iob - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.influxdb.0 : influxdb : raspberrypi4-iob - enabled, port: 8086 + system.adapter.mqtt.0 : mqtt : raspberrypi4-iob - enabled, port: 1884, bind: 192.168.178.126 + system.adapter.simple-api.0 : simple-api : raspberrypi4-iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : raspberrypi4-iob - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.sql.0 : sql : raspberrypi4-iob - enabled, port: 3306 + system.adapter.synology.0 : synology : raspberrypi4-iob - enabled, port: 5000 + system.adapter.telegram.0 : telegram : raspberrypi4-iob - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : raspberrypi4-iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.web.1 : web : raspberrypi4-iob - enabled, port: 20002, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : raspberrypi4-iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : raspberrypi4-iob - enabled, port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json Beta (latest) : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alias-manager": 1.2.4 , installed 1.2.4 Adapter "alpha2" : 1.0.0 , installed 1.0.4 Adapter "backitup" : 2.5.12 , installed 2.5.12 Adapter "coronavirus-statistics": 0.8.7, installed 0.8.7 Adapter "daswetter" : 3.1.7 , installed 3.1.7 Adapter "denon" : 1.14.0 , installed 1.14.0 Adapter "devices" : 1.1.2 , installed 1.1.2 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fritzdect" : 2.2.6 , installed 2.2.6 Adapter "homeconnect" : 1.1.1 , installed 1.1.1 Adapter "ical" : 1.13.2 , installed 1.13.2 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "javascript" : 6.1.4 , installed 6.1.4 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "material" : 1.1.2 , installed 1.1.2 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "nuki-extended": 2.3.1 , installed 2.4.0 Adapter "octoprint" : 4.0.0 , installed 4.0.0 Adapter "panasonic-viera": 2.0.0 , installed 2.0.0 Adapter "pi-hole" : 1.3.4 , installed 1.3.4 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "pushover" : 3.0.3 , installed 3.0.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "shuttercontrol": 1.4.18 , installed 1.4.18 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "synology" : 2.1.13 , installed 2.1.13 Adapter "tankerkoenig" : 3.3.7 , installed 3.3.7 Adapter "telegram" : 1.15.2 , installed 1.15.2 Adapter "text2command" : 2.3.0 , installed 2.3.0 Adapter "tr-064" : 4.2.17 , installed 4.2.17 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "vis-icontwo" : 0.90.0 , installed 0.90.0 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.6 , installed 2.5.6 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "zigbee" : 1.8.10 , installed 1.8.10
-
@dragricola sagte in Abstürze vor allem beim dayly Backup:
total used free shared buff/cache available Mem: 3.8G 2.9G 246M 3.0M 651M 875M Swap: 99M 99M 0B Total: 3.9G 3.0G 246M
Dein RAM reicht immer noch nicht
-
@homoran said in Abstürze vor allem beim dayly Backup:
Dein RAM reicht immer noch nicht
Das ist allerdings verwunderlich. Unter Debian Buster (32Bit) hatte ich viel mehr Adapter problemlos stabil am Laufen. Allerdings habe ich mit dem Umstieg auf Bullseye auf 64-Bit umgestellt. Ist das die Erklärung für den RAM-Engpass? Wäre Bullseye 32-Bit eine Lösung?
-
@dragricola sagte in Abstürze vor allem beim dayly Backup:
Wäre Bullseye 32-Bit eine Lösung?
Nein. Schau kritischen Auges über die Instanzen/Adapter drüber. Da sehe ich ein paar Dinge die evtl. anders konfiguriert werden könnten.
-
@thomas-braun said in Abstürze vor allem beim dayly Backup:
Da sehe ich ein paar Dinge die evtl. anders konfiguriert werden könnten.
Welche Dinge meinst Du?
Der RPI-Monitor-Adapter liefert u.a. die Datenpunkte
rpi2.0.memory.memory_free
rpi2.0.memory.memory_availableMacht es Sinn diese Werte zu nutzen um bei zu wenig Memory Instanzen zu deaktivieren und so einen Totalabsturz zu verhindern? Welcher der beiden Werte wäre dafür relavant? Welche Schwellwerte wären in diesem Fall für memory_free und/oder memory_available sinnvoll?
-
@thomas-braun said in Abstürze vor allem beim dayly Backup:
iobroker diag
Hallo!
Ich habe seit einigen Tagen auch das Problem, dass ich weder den ioBroker gestartet bekomme und auch die Konsole nicht über Putty erreiche. Erst ein Aus-und Einschalten des Raspi's hilft mir weiter.
Der Raspi läuft seit ca. 1 1/2 Jahren 24/7. Wenn die Ursache die SD Karte wäre, wie könnte ich jetzt noch rechtzeitig diese clonen? Backups werden regelmäßig durchgeführt.
Könntest Du bitte mal nachschauen, was bei mir die Ursache der laufenden Abstürze ist?pi@raspberrypi:~ $ cd /var/log pi@raspberrypi:/var/log $ ls -la total 8380 drwxr-xr-x 8 root root 4096 Apr 16 00:00 . drwxr-xr-x 11 root root 4096 Sep 22 2022 .. -rw-r--r-- 1 root root 0 Feb 3 00:00 alternatives.log -rw-r--r-- 1 root root 348 Feb 2 15:50 alternatives.log.1 -rw-r--r-- 1 root root 148 Dec 2 15:13 alternatives.log.2.gz drwxr-xr-x 2 root root 4096 Apr 15 14:53 apt -rw-r----- 1 root adm 14671 Apr 16 13:35 auth.log -rw-r----- 1 root adm 66228 Apr 15 23:17 auth.log.1 -rw-r----- 1 root adm 5168 Apr 8 23:17 auth.log.2.gz -rw-r----- 1 root adm 5559 Apr 1 23:17 auth.log.3.gz -rw-r----- 1 root adm 3140 Mar 25 23:17 auth.log.4.gz -rw-r--r-- 1 root root 0 Sep 22 2022 bootstrap.log -rw-rw---- 1 root utmp 800 Apr 13 19:06 btmp -rw-rw---- 1 root utmp 400 Mar 4 20:35 btmp.1 -rw-r----- 1 root adm 56453 Apr 16 13:35 daemon.log -rw-r----- 1 root adm 1242725 Apr 16 00:00 daemon.log.1 -rw-r----- 1 root adm 97349 Apr 8 23:33 daemon.log.2.gz -rw-r----- 1 root adm 38052 Apr 2 00:00 daemon.log.3.gz -rw-r----- 1 root adm 31439 Mar 26 00:00 daemon.log.4.gz -rw-r----- 1 root adm 1118 Apr 16 11:32 debug -rw-r----- 1 root adm 19938 Apr 15 11:12 debug.1 -rw-r----- 1 root adm 1571 Apr 8 20:17 debug.2.gz -rw-r----- 1 root adm 509 Mar 30 15:22 debug.3.gz -rw-r----- 1 root adm 537 Mar 21 13:29 debug.4.gz -rw-r--r-- 1 root root 7593 Apr 15 14:55 dpkg.log -rw-r--r-- 1 root root 28572 Mar 13 21:02 dpkg.log.1 -rw-r--r-- 1 root root 301 Mar 4 20:37 dpkg.log.2.gz -rw-r--r-- 1 root root 1867 Feb 2 15:50 dpkg.log.3.gz -rw-r--r-- 1 root root 7642 Dec 2 15:21 dpkg.log.4.gz -rw-r--r-- 1 root root 32064 Mar 13 17:11 faillog -rw-r--r-- 1 root root 484 Dec 2 15:20 fontconfig.log drwxr-sr-x+ 3 root systemd-journal 4096 Sep 22 2022 journal -rw-r----- 1 root adm 40267 Apr 16 11:32 kern.log -rw-r----- 1 root adm 1278719 Apr 15 22:14 kern.log.1 -rw-r----- 1 root adm 205674 Apr 9 04:27 kern.log.2.gz -rw-r----- 1 root adm 44441 Mar 30 15:22 kern.log.3.gz -rw-r----- 1 root adm 30020 Mar 25 13:58 kern.log.4.gz -rw-rw-r-- 1 root utmp 296592 Apr 16 13:35 lastlog -rw-r----- 1 root adm 39876 Apr 16 11:32 messages -rw-r----- 1 root adm 1312588 Apr 15 22:14 messages.1 -rw-r----- 1 root adm 209917 Apr 9 04:27 messages.2.gz -rw-r----- 1 root adm 47225 Mar 30 15:22 messages.3.gz -rw-r----- 1 root adm 29823 Mar 25 13:58 messages.4.gz drwxr-xr-x 2 mosquitto root 4096 Apr 8 00:02 mosquitto drwx------ 2 root root 4096 Sep 22 2022 private drwxr-s--- 2 redis adm 4096 Apr 16 00:00 redis drwxr-xr-x 3 root root 4096 Sep 22 2022 runit -rw-r----- 1 root adm 99771 Apr 16 13:35 syslog -rw-r----- 1 root adm 2629169 Apr 16 00:00 syslog.1 -rw-r----- 1 root adm 353460 Apr 9 04:27 syslog.2.gz -rw-r----- 1 root adm 102678 Apr 2 00:00 syslog.3.gz -rw-r----- 1 root adm 74018 Mar 26 00:00 syslog.4.gz -rw-r----- 1 root adm 232 Apr 16 11:32 user.log -rw-r----- 1 root adm 79672 Apr 15 11:12 user.log.1 -rw-r----- 1 root adm 5246 Apr 8 20:17 user.log.2.gz -rw-r----- 1 root adm 2220 Mar 30 15:22 user.log.3.gz -rw-r----- 1 root adm 221 Mar 21 13:29 user.log.
======================= SUMMARY ======================= v.2023-04-02 Operatingsystem: Debian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v16.19.1 /usr/local/bin/node v18.14.2 /usr/local/bin/npm 9.5.0 /usr/local/bin/npx 9.5.0 Recommended versions are nodejs 18.x.y and npm 9.x.y MEMORY: total used free shared buff/cache available Mem: 1.8G 1.3G 87M 0.0K 423M 442M Swap: 99M 73M 26M Total: 1.9G 1.4G 114M Active iob-Instances: 22 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin 6.4.3 ioBroker Status: iobroker is running on this host. At least one iobroker host is running. Objects type: redis States type: redis Status admin and web instance: + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 6068 States: 4717 Size of iob-Database: 13M /opt/iobroker/iobroker-data/objects.jsonl 5.5M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
-
@searcher57 sagte in Abstürze vor allem beim dayly Backup:
Wenn die Ursache die SD Karte wäre, wie könnte ich jetzt noch rechtzeitig diese clonen? Backups werden regelmäßig durchgeführt.
Nun auf einem Windows System nutze ich den Win32 Disk Imager. Wenn Du Glück hast ist sie noch lesbar und nur nicht überall beschreibbar. Das hatte ich schon manchmal - sieht man aber nicht. Ich ziehe deshalb immer regelmäßig Images.
-
@mickym
Danke für die schnelle Antwort.
Das habe ich gemacht, der ioBroker startet aber nicht mit der neuen SD Karte. -
@searcher57 Nur der iobroker nicht oder das ganze System nicht?
-
-
Bitte die Langfassung.
Und nodejs nicht so strubbelig installieren wie das wohl unlängst gemacht worden ist.