NEWS
Raspberry "friert ein" nach Aufruf von ioBroker
-
Dann sollte es das nun gewesen sein.
-
Kann den iobroker aber leider immer noch nicht wieder aufrufen
-
iob diag
-
Wenn ich jetzt nicht die Themen durcheinander werfe lief der Admin eben nicht und wird es jetzt wohl auch noch nicht
-
======== Start marking the full check here =========
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: iobroker Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.5 Docker : false Virtualization : none Kernel : aarch64 Userland : arm64 Systemuptime and Load: 21:51:48 up 37 min, 1 user, load average: 2.22, 0.79, 0.73 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Sun 2024-02-25 21:51:48 CET Universal time: Sun 2024-02-25 20:51:48 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** simon /home/simon simon 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.1G 494M 1.0M 1.2G 1.6G Swap: 99M 0B 99M Total: 3.9G 2.1G 594M 3794 M total memory 2118 M used memory 2335 M active memory 732 M inactive memory 494 M free memory 84 M buffer memory 1097 M swap cache 99 M total swap 0 M used swap 99 M free swap Raspberry only: oom events: 0 lifetime oom required: 0 Mbytes total time in oom handler: 0 ms max time spent in oom handler: 0 ms *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 29G 5.0G 23G 19% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 1.2M 758M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 255M 32M 223M 13% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Sun Feb 25 21:14:13 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=D8:3A:DD:0F:E4:E2 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=fe379c38-02 rootfstype=ext4 fsck.repair=yes rootwait [Sun Feb 25 21:14:14 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Sun Feb 25 21:14:14 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Sun Feb 25 21:14:17 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. 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,errors=remount-ro Files in neuralgic directories: /var: 1.5G /var/ 859M /var/log 841M /var/log/journal/2afb5f7f70fe4270a1433886fb089ee5 841M /var/log/journal 356M /var/cache Archived and active journals take up 840.1M in the file system. /opt/iobroker/backups: 55M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 318M /opt/iobroker/iobroker-data/ 163M /opt/iobroker/iobroker-data/files 57M /opt/iobroker/iobroker-data/files/javascript.admin 40M /opt/iobroker/iobroker-data/backup-objects 38M /opt/iobroker/iobroker-data/files/javascript.admin/static The five largest files in iobroker-data are: 115M /opt/iobroker/iobroker-data/objects.jsonl 22M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js.map 8.3M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.c05ba1d3.js 7.0M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/675.d0c8b930.chunk.js.map 6.3M /opt/iobroker/iobroker-data/files/admin.admin/custom/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_js-node_modules_iobr-99c23e.847b8ad9.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.19.1 /usr/bin/node v18.19.1 /usr/bin/npm 10.2.4 /usr/bin/npx 10.2.4 /usr/bin/corepack 0.22.0 nodejs: Installed: 18.19.1-1nodesource1 Candidate: 18.19.1-1nodesource1 Version table: *** 18.19.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 18.19.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 5.0.19 admin: 6.13.16 javascript: 7.8.0 Adapters from github: 0 Adapter State system.adapter.admin.0 : admin : iobroker - disabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.backitup.0 : backitup : iobroker - disabled + system.adapter.discovery.0 : discovery : iobroker - enabled + system.adapter.hmip.0 : hmip : iobroker - enabled system.adapter.influxdb.0 : influxdb : iobroker - disabled, port: 8086 + system.adapter.iqontrol.0 : iqontrol : iobroker - enabled system.adapter.jarvis.0 : jarvis : iobroker - disabled system.adapter.javascript.0 : javascript : iobroker - disabled + system.adapter.link.0 : link : iobroker - enabled + system.adapter.midea.0 : midea : iobroker - enabled + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 192.168.178.96 system.adapter.shelly.0 : shelly : iobroker - disabled, port: 1882, bind: 0.0.0.0 + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1883, bind: 0.0.0.0 system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker - enabled system.adapter.vis.0 : vis : iobroker - disabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iobroker - disabled, port: /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c4d856ba1ab6ed1196ded60ea8669f5d-if00-port0 system.adapter.zigbee2mqtt.0 : zigbee2mqtt : iobroker - disabled + instance is alive Enabled adapters with bindings + system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 192.168.178.96 + system.adapter.sonoff.0 : sonoff : iobroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.13.16 , installed 6.13.16 Adapter "backitup" : 2.10.11 , installed 2.10.11 Adapter "discovery" : 4.2.0 , installed 4.2.0 Adapter "hmip" : 1.21.0 , installed 1.21.0 Adapter "influxdb" : 4.0.2 , installed 4.0.2 Adapter "iqontrol" : 2.3.0 , installed 2.3.0 Adapter "jarvis" : 3.1.8 , installed 3.1.8 Adapter "javascript" : 7.8.0 , installed 7.8.0 Controller "js-controller": 5.0.19 , installed 5.0.19 Adapter "link" : 0.5.12 , installed 0.5.12 Adapter "midea" : 0.0.7 , installed 0.0.7 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "shelly" : 6.6.1 , installed 6.6.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.6.0 , installed 6.6.0 Adapter "sonoff" : 3.0.3 , installed 3.0.3 Adapter "tuya" : 3.15.0 , installed 3.15.0 Adapter "vis" : 1.5.4 , installed 1.5.4 Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0 Adapter "web" : 6.2.3 , installed 6.2.3 Adapter "ws" : 2.5.10 , installed 2.5.10 Adapter "zigbee" : 1.10.1 , installed 1.10.1 Adapter "zigbee2mqtt" : 2.13.4 , installed 2.13.4 Objects and States Please stand by - This may take a while Objects: 3913 States: 3266 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://apt.grafana.com stable InRelease Hit:6 https://repos.influxdata.com/debian stable InRelease Hit:7 https://deb.nodesource.com/node_18.x nodistro 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 127.0.0.1:8088 0.0.0.0:* LISTEN 110 15913 680/influxd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 14621 549/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 27403 4362/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 27410 4362/iobroker.js-co tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 26316 4380/io.sonoff.0 tcp6 0 0 :::3000 :::* LISTEN 111 13763 776/grafana tcp6 0 0 :::22 :::* LISTEN 0 14632 549/sshd: /usr/sbin tcp6 0 0 :::8086 :::* LISTEN 110 14730 680/influxd tcp6 0 0 :::8082 :::* LISTEN 1001 28508 4439/io.web.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 11579 414/avahi-daemon: r udp 0 0 0.0.0.0:42734 0.0.0.0:* 108 11581 414/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 13649 671/dhcpcd udp6 0 0 :::5353 :::* 108 11580 414/avahi-daemon: r udp6 0 0 :::54756 :::* 108 11582 414/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-02-25 21:51:29.577 - info: iqontrol.0 (4485) Deleting unused Objects... 2024-02-25 21:51:29.579 - info: iqontrol.0 (4485) Subscribing to states... 2024-02-25 21:51:29.583 - info: iqontrol.0 (4485) iQontrol ready. 2024-02-25 21:51:29.843 - info: mqtt.0 (4412) All states published 2024-02-25 21:51:36.597 - info: hmip.0 (4396) ws connection opened 2024-02-25 21:51:36.933 - info: hmip.0 (4396) unknown channel type - DEVICE_BLOCKING - {"id":"3014F711A0002E9F29992FF7","type":"WALL_MOUNTED_KEY_PAD","homeId":"ef659a5d-aae8-47d2-a3b5-9223631a7821","lastStatusUpdate":1708888089958,"label":"Keypad Alarm + Haustürschloss","functionalChannels":{"0":{"label":"","deviceId":"3014F711A0002E9F29992FF7","index":0,"groupIndex":0,"functionalChannelType":"DEVICE_BLOCKING","groups":["31ff38e1-dd53-4727-b20e-1ea692736b01"],"unreach":false,"lowBat":false,"routerModuleEnabled":false,"multicastRoutingEnabled":false,"routerModuleSupported":false,"rssiDeviceValue":-73,"rssiPeerValue":null,"configPending":false,"dutyCycle":false,"deviceOverloaded":false,"coProUpdateFailure":false,"coProFaulty":false,"coProRestartNeeded":false,"deviceUndervoltage":false,"deviceOverheated":false,"temperatureOutOfRange":false,"devicePowerFailureDetected":false,"supportedOptionalFeatures":{"IFeatureDeviceParticulateMatterSensorCommunicationError":false,"IFeatureDeviceCoProRestart":false,"IFeatureDeviceOverheated":false,"IFeatureDeviceDaliBusError":false,"IOptionalFeatureDutyCycle":t Copy text starting here:
======================= SUMMARY =======================
v.2023-10-10Static hostname: iobroker
Icon name: computer
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 6.1.21-v8+
Architecture: arm64Installation: native
Kernel: aarch64
Userland: arm64
Timezone: Europe/Berlin (CET, +0100)
User-ID: 1000
X-Server: false
Boot Target: multi-user.targetPending OS-Updates: 0
Pending iob updates: 0Nodejs-Installation: /usr/bin/nodejs v18.19.1
/usr/bin/node v18.19.1
/usr/bin/npm 10.2.4
/usr/bin/npx 10.2.4
/usr/bin/corepack 0.22.0Recommended versions are nodejs and npm
Your nodejs installation is correctMEMORY:
total used free shared buff/cache available
Mem: 3.8G 1.7G 894M 1.0M 1.2G 2.1G
Swap: 99M 0B 99M
Total: 3.9G 1.7G 994MActive iob-Instances: 9
Active repo(s): stableioBroker Core: js-controller 5.0.19
admin 6.13.16ioBroker Status: iobroker is running on this host.
Objects type: jsonl
States type: jsonlStatus admin and web instance:
system.adapter.admin.0 : admin : iobroker - disabled, port: 8081, bind: 0.0.0.0, run as: admin- system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin
Objects: 3913
States: 3266Size of iob-Database:
116M /opt/iobroker/iobroker-data/objects.jsonl
1.3M /opt/iobroker/iobroker-data/states.jsonl=================== END OF SUMMARY ====================
=== Mark text until here for copying === simon@iobroker:~ $
-
@wendy2702 sagte in Raspberry "friert ein" nach Aufruf von ioBroker:
Wenn ich jetzt nicht die Themen durcheinander werfe lief der Admin eben nicht und wird es jetzt wohl auch noch nicht
so ist es!
@Greenhorn
iob start admin
-
Ja, stimmt.
kann den ioBroker aber immer noch nicht öffnen... -
-
@greenhorn ist der admin jetzt aktiv?
wenn nein, was hindert ihn daran? =was steht im log?
-
@wendy2702 said in Raspberry "friert ein" nach Aufruf von ioBroker:
iob start admin.0
Es geht wieder, ich fass´es nicht !
Ihr seid die Besten !!! Allerherzlichsten Dank !!!
-
Gleich ab morgen werde ich mich mit dem Thema Backup beschäftigen...
Mann oh Mann, was ein SchockIch bin soo froh dass das wieder geht.
Nochmal allerherzlichsten Dank an euch -
@greenhorn sagte in Raspberry "friert ein" nach Aufruf von ioBroker:
Gleich ab morgen werde ich mich mit dem Thema Backup beschäftigen...
Mann oh Mann, was ein SchockIch bin soo froh dass das wieder geht.
Nochmal allerherzlichsten Dank an euchTippe schnell in die Konsole
iob backup
Dann hast du wenigsten schonmal eins
-
@wendy2702
Das habe ich gestern leider nicht mehr gemacht, hatte es nicht mehr gesehen.
Heute morgen habe ich festgestellt, dass einige Instanzen nicht aktiv waren. Habe sie dann nacheinander aktiviert, mit dem Ergebnis, dass der Raspi so rödelt, dass er keinen Befehl mehr annimmt. Diesmal lasse ich ihn aber laufen bis ich heute nachmittag nachhause komme. Vielleicht hat er sich bis dahin beruhigt… -
dass einige Instanzen nicht aktiv waren
Weiß Du noch welche?
Mir scheint auch die
objects.json
etwas groß.
Ich habe z.B. fast doppelt so viele Objekte, die Datei ist aber nur 1/4 so groß.@Thomas-Braun
Kann man im diag-Script an die Liste der aktiven Instanzen auch deren Speicherverbrauch prömpeln?
Mir fällt immer wieder auf, dass die Anwender häufig Probleme mit dem RAM haben.
Wäre doch praktisch, wenn man in der Ausgabe auch gleich sehen könnte, wo die "dicken Hunde" stecken.
Zumindest was die ioBroker-Instanzen betrifft. -
@codierknecht sagte in Raspberry "friert ein" nach Aufruf von ioBroker:
Kann man im diag-Script an die Liste der aktiven Instanzen auch deren Speicherverbrauch prömpeln?
In einer Beta-Version ist ein Snapshot von 'top' drin.
Das ganze ist aber halt nur ein Snapshot und damit nur bedingt Aussage kräftig. -
@codierknecht
Nicht genau, aber ca. die Hälfte war nicht aktiv. U.a. die Influx, die habe ich aber vorsichtshalber gar nicht aktiviert, weil ich die am meisten in Verdacht hatte, alles zu blockieren… -
@greenhorn sagte in Raspberry "friert ein" nach Aufruf von ioBroker:
weil ich die am meisten in Verdacht hatte, alles zu blockieren
Hätte ich auch.
Ich befürchte, der kleine Pi hat ein Speicherproblem.
Mit 4 GB RAM darf man von dem halt keine Wunderdinge erwarten.Ich habe keine Ahnung, wie Speicherhungrig Influx so ist.
Könnte mir aber gut vorstellen, dass der arme kleine Pi damit überfordert ist. -
@codierknecht
Wenn ich es richtig verstanden habe, könnte ich den iobroker auch auf der NAS laufen lassen? Das wäre dann eine Alternative, einen richtigen Rechner will ich nicht auch noch extra laufen laufen lassen. -
@greenhorn NAS geht, ob du dir als "Greenhorn" damit aber einen gefallen tust weiss ich ehrlich gesagt nicht.
-
@wendy2702
Und potent genug sollte die Kiste dann auch sein.
Also ordentliche CPU und genügend RAM.Ist das gegeben, hätte das den Vorteil dass man ioBroker und Influx in getrennten Containern laufen lassen könnte (so man denn Docker verwendet).
Aber Du hast natürlich Recht: Einfacher wird das nicht wirklich.
Und @Thomas-Braun würde sich dann ausklinken