NEWS
Absturz während Repo Update
-
Hallo,
ich habe mein System auf Stand gebracht (Geschichte dazu s. hier ). Dabei hatte ich tatkräftige Unterstützung von @thomas-braun (nochmals an der Stelle danke dafür).
Seit dem habe ich das Problem, dass der iobroker/rapsi sich beim Versuch die Repo auf Stand zu bringen aufhängt (pingbar ist er noch, Web und Konsole geht nicht mehr - er muss vom Strom genommen werden, damit er wieder läuft). Das passiert täglich. Im Log ist immer einer der letzten Einträge das Repo Update. Das kann auch manuell ausgelöst werden (z.B. in dem man versucht in der Weboberfläche die Repo umzustellen, bei den Adaptern einen Refresh anstößt oder ein iob diag hat das auch schon an der entsprechenden Stelle ausgelöst). Was ich dazu gefunden habe ist, dass es am Speicher liegen kann. Wobei beim Ausfall durch iob diag war das System frisch gestartet mit genügend Systemresourcen. Das mit dem iob diag ist in dem o.g. Thread dokumentiert. Ich hatte auch das Problem, dass die "alte" Repo (http://download.iobroker.net/sources-dist.json) einen Fehler gebracht hat - in Zuge des Updates auf das aktuelle NodeJS/NPM haben wir auf http://iobroker.live/repo/sources-dist.json umgestellt. Hier noch ein paar Infos dazu, die hoffentlich helfen den Fehler zu finden:
Speicherauslastung aus dem rpi Adapter der letzten Woche (die Lücken stellen die Ausfälle dar):
Hier im Zeitraum des Ausfalls durch iob diag:
In den Logs springt er dann beim Start in der Zeit immer etwas zurück bis er dann die richtige hat (keine Ahnung ob da auch was falsch ist). Beispiel 03.07:
2023-07-03 10:02:48.209 - [32minfo[39m: admin.0 (991) Request actual repository... 2023-07-03 10:02:49.675 - [32minfo[39m: host.smarthome Updating repository "live-stable" under "http://iobroker.live/repo/sources-dist.json" 2023-07-03 10:02:50.396 - [33mwarn[39m: javascript.0 (1058) getState "alias.0.Waschkueche.SmP_Waschkueche_Trockner.ELECTRIC_POWER" not found (3) 2023-07-03 10:02:50.397 - [33mwarn[39m: javascript.0 (1058) at Object.<anonymous> (script.js.common.EigeneDatenpunkte.Strom.WallboxGaA_AktuellerHausgesamtverbrauch:8:426) 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1255:38) 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:645:29) 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5885:41 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at Array.forEach (<anonymous>) 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5871:46) 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:324:37) 2023-07-03 10:02:50.398 - [33mwarn[39m: javascript.0 (1058) at processImmediate (node:internal/timers:476:21) 2023-07-03 10:02:50.399 - [33mwarn[39m: javascript.0 (1058) getState "alias.0.Buero.SmP_Bro_Geraete.ELECTRIC_POWER" not found (3) 2023-07-03 10:02:50.400 - [33mwarn[39m: javascript.0 (1058) at Object.<anonymous> (script.js.common.EigeneDatenpunkte.Strom.WallboxGaA_AktuellerHausgesamtverbrauch:8:859) 2023-07-03 10:02:50.400 - [33mwarn[39m: javascript.0 (1058) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1255:38) 2023-07-03 10:02:50.400 - [33mwarn[39m: javascript.0 (1058) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:645:29) 2023-07-03 10:02:50.400 - [33mwarn[39m: javascript.0 (1058) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5885:41 2023-07-03 10:02:50.400 - [33mwarn[39m: javascript.0 (1058) at Array.forEach (<anonymous>) 2023-07-03 10:02:50.401 - [33mwarn[39m: javascript.0 (1058) at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5871:46) 2023-07-03 10:02:50.401 - [33mwarn[39m: javascript.0 (1058) at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-states-redis/lib/states/statesInRedisClient.js:324:37) 2023-07-03 10:02:50.409 - [33mwarn[39m: javascript.0 (1058) at processImmediate (node:internal/timers:476:21) 2023-07-03 09:55:31.535 - [32minfo[39m: host.smarthome iobroker.js-controller version 4.0.24 js-controller starting 2023-07-03 09:55:31.542 - [32minfo[39m: host.smarthome Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-07-03 09:55:31.544 - [32minfo[39m: host.smarthome hostname: smarthome, node: v18.16.1 2023-07-03 09:55:31.545 - [32minfo[39m: host.smarthome ip addresses: 192.168.1.112 fe80::78e:9de6:70fd:bfb6 2023-07-03 09:55:35.804 - [32minfo[39m: host.smarthome connected to Objects and States 2023-07-03 09:55:35.918 - [32minfo[39m: host.smarthome added notifications configuration of host 2023-07-03 15:52:20.398 - [32minfo[39m: host.smarthome Delete state "system.host.smarthome.versions.nodeCurrent"
Dazu die RPI daten:
04.07.
2023-07-04 18:15:27.538 - info: admin.0 (930) Request actual repository... 2023-07-04 18:15:29.196 - info: host.smarthome Updating repository "live-stable" under "http://iobroker.live/repo/sources-dist.json" 2023-07-04 18:08:02.098 - info: host.smarthome iobroker.js-controller version 4.0.24 js-controller starting 2023-07-04 18:08:02.106 - info: host.smarthome Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-07-04 18:08:02.108 - info: host.smarthome hostname: smarthome, node: v18.16.1 2023-07-04 18:08:02.109 - info: host.smarthome ip addresses: 192.168.1.112 fe80::78e:9de6:70fd:bfb6 2023-07-04 18:08:06.972 - info: host.smarthome connected to Objects and States 2023-07-04 18:08:07.174 - info: host.smarthome added notifications configuration of host 2023-07-04 18:08:08.543 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeCurrent" 2023-07-04 18:08:08.546 - info: host.smarthome 62 instances found 2023-07-04 18:08:08.681 - info: host.smarthome starting 47 instances 2023-07-04 18:08:08.869 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeNewest" 2023-07-04 18:08:08.949 - info: host.smarthome instance system.adapter.admin.0 started with pid 800 2023-07-04 18:08:08.969 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeNewestNext" 2023-07-04 18:08:09.030 - info: host.smarthome Delete state "system.host.smarthome.versions.npmCurrent" 2023-07-04 18:08:09.086 - info: host.smarthome Delete state "system.host.smarthome.versions.npmNewest" 2023-07-04 18:08:09.144 - info: host.smarthome Delete state "system.host.smarthome.versions.npmNewestNext" 2023-07-04 18:08:09.200 - info: host.smarthome Some obsolete host states deleted. 2023-07-04 18:08:11.341 - error: admin.0 (800) admin.0 already running 2023-07-04 18:08:11.346 - warn: admin.0 (800) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-07-04 18:08:11.987 - error: host.smarthome instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-07-04 18:08:11.988 - info: host.smarthome Restart adapter system.adapter.admin.0 because enabled 2023-07-04 18:47:31.797 - info: host.smarthome instance system.adapter.history.0 started with pid 811 2023-07-04 18:47:33.529 - error: history.0 (811) history.0 already running
05.07:
2023-07-05 19:10:23.600 - info: admin.0 (4140) Request actual repository... 2023-07-05 19:10:25.082 - info: host.smarthome Updating repository "stable" under "http://download.iobroker.net/sources-dist.json" 2023-07-05 19:10:44.947 - warn: modbus.0 (4240) Poll error count: 1 code: "App Timeout" 2023-07-05 18:41:11.698 - info: host.smarthome iobroker.js-controller version 4.0.24 js-controller starting 2023-07-05 18:41:11.706 - info: host.smarthome Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-07-05 18:41:11.707 - info: host.smarthome hostname: smarthome, node: v18.16.1 2023-07-05 18:41:11.708 - info: host.smarthome ip addresses: 192.168.1.112 fe80::78e:9de6:70fd:bfb6 2023-07-05 18:41:16.059 - info: host.smarthome connected to Objects and States 2023-07-05 18:41:16.214 - info: host.smarthome added notifications configuration of host 2023-07-05 19:35:21.627 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeCurrent" 2023-07-05 19:35:21.630 - info: host.smarthome 62 instances found
06.07:
hier gab es keinen Absturz, im Log gibt es zur Repo nur diesen Eintrag:2023-07-06 19:45:51.350 - error: admin.0 (930) Automatic repository update is not allowed more than once a hour
In dem Graphen sieht man um 22:00 die Ausschläge - zu der Zeit lief Backitup07.07 (ausgelöst durch einen Refresh in der Web GUI):
2023-07-07 08:00:04.130 - info: host.smarthome Updating repository "live-stable" under "http://iobroker.live/repo/sources-dist.json" 2023-07-07 08:00:05.416 - info: host.smarthome instance system.adapter.openweathermap.0 started with pid 218082 2023-07-07 07:59:57.402 - info: host.smarthome iobroker.js-controller version 4.0.24 js-controller starting 2023-07-07 07:59:57.409 - info: host.smarthome Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker 2023-07-07 07:59:57.411 - info: host.smarthome hostname: smarthome, node: v18.16.1 2023-07-07 07:59:57.411 - info: host.smarthome ip addresses: 192.168.1.112 fe80::78e:9de6:70fd:bfb6 2023-07-07 08:00:01.369 - info: host.smarthome connected to Objects and States 2023-07-07 08:00:01.508 - info: host.smarthome added notifications configuration of host 2023-07-07 08:00:03.274 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeCurrent" 2023-07-07 08:00:03.277 - info: host.smarthome 62 instances found 2023-07-07 08:00:03.407 - info: host.smarthome starting 45 instances 2023-07-07 08:00:03.605 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeNewest" 2023-07-07 08:00:03.680 - info: host.smarthome instance system.adapter.admin.0 started with pid 804 2023-07-07 08:00:03.700 - info: host.smarthome Delete state "system.host.smarthome.versions.nodeNewestNext" 2023-07-07 08:00:03.761 - info: host.smarthome Delete state "system.host.smarthome.versions.npmCurrent" 2023-07-07 08:00:03.822 - info: host.smarthome Delete state "system.host.smarthome.versions.npmNewest" 2023-07-07 08:00:03.882 - info: host.smarthome Delete state "system.host.smarthome.versions.npmNewestNext" 2023-07-07 08:00:03.943 - info: host.smarthome Some obsolete host states deleted. 2023-07-07 08:00:06.057 - error: admin.0 (804) admin.0 already running 2023-07-07 08:00:06.062 - warn: admin.0 (804) Terminated (ADAPTER_ALREADY_RUNNING): Without reason 2023-07-07 08:00:06.712 - error: host.smarthome instance system.adapter.admin.0 terminated with code 7 (ADAPTER_ALREADY_RUNNING) 2023-07-07 08:00:06.713 - info: host.smarthome Restart adapter system.adapter.admin.0 because enabled 2023-07-07 08:00:07.544 - info: host.smarthome instance system.adapter.history.0 started with pid 815 2023-07-07 08:04:15.439 - error: history.0 (815) history.0 already running
-
Ergänzend noch das aktuelle Ergebnis von iob diag:
Skript v.2023-04-16 *** BASE SYSTEM *** Model : Raspberry Pi 4 Model B Rev 1.4 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: 09:36:51 up 1:33, 2 users, load average: 1.58, 1.07, 0.96 CPU threads: 4 Raspberry only: throttled=0x0 Other values than 0x0 hint to temperature/voltage problems temp=53.0'C volt=0.9160V *** Time and Time Zones *** Local time: Fri 2023-07-07 09:36:51 CEST Universal time: Fri 2023-07-07 07:36:51 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** 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.7G 591M 0.0K 526M 1.1G Swap: 99M 0B 99M Total: 3.9G 2.7G 691M 3794 M total memory 2676 M used memory 2806 M active memory 253 M inactive memory 591 M free memory 48 M buffer memory 477 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 *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 28G 12G 15G 46% / devtmpfs devtmpfs 1.7G 0 1.7G 0% /dev tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 759M 844K 759M 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 31M 222M 13% /boot tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Fri Jul 7 08:03:35 2023] 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 smsc95xx.macaddr=E4:5F:01:62:A2:E5 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=cf73e54d-02 rootfstype=ext4 fsck.repair=yes rootwait [Fri Jul 7 08:03:36 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem [Fri Jul 7 08:03:36 2023] EXT4-fs (mmcblk0p2): write access will be enabled during recovery [Fri Jul 7 08:03:37 2023] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs [Fri Jul 7 08:03:37 2023] EXT4-fs (mmcblk0p2): 2 orphan inodes deleted [Fri Jul 7 08:03:37 2023] EXT4-fs (mmcblk0p2): recovery complete [Fri Jul 7 08:03:37 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Fri Jul 7 08:03:37 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Fri Jul 7 08:03:39 2023] 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,flush,errors=remount-ro Files in neuralgic directories: /var: 4.0G /var/ 3.2G /var/log 2.8G /var/log/journal/6c5b87a59f584c03b6491451f2e5b6da 2.8G /var/log/journal 481M /var/lib Archived and active journals take up 2.7G in the file system. /opt/iobroker/backups: 4.0K /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 3.7G /opt/iobroker/iobroker-data/ 3.0G /opt/iobroker/iobroker-data/history 459M /opt/iobroker/iobroker-data/files 120M /opt/iobroker/iobroker-data/backup-objects 78M /opt/iobroker/iobroker-data/files/icons-open-icon-library-png The five largest files in iobroker-data are: 43M /opt/iobroker/iobroker-data/objects.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 18M /opt/iobroker/iobroker-data/states.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 8.6M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js *** NodeJS-Installation *** /usr/bin/nodejs v18.16.1 /usr/bin/node v18.16.1 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 nodejs: Installed: 18.16.1-deb-1nodesource1 Candidate: 18.16.1-deb-1nodesource1 Version table: *** 18.16.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u3 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl MULTIHOSTSERVICE/enabled: false Core adapters versions js-controller: 4.0.24 admin: 6.3.5 javascript: 7.0.3 Adapters from github: 3 Adapter State + system.adapter.admin.0 : admin : smarthome - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.alexa2.0 : alexa2 : smarthome - enabled + system.adapter.backitup.0 : backitup : smarthome - enabled + system.adapter.bmw.0 : bmw : smarthome - enabled system.adapter.devices.0 : devices : smarthome - enabled system.adapter.discovery.0 : discovery : smarthome - disabled + system.adapter.energiefluss.0 : energiefluss : smarthome - enabled system.adapter.feiertage.0 : feiertage : smarthome - enabled system.adapter.habpanel.0 : habpanel : smarthome - disabled + system.adapter.harmony.0 : harmony : smarthome - enabled system.adapter.heatingcontrol.0 : heatingcontrol : smarthome - disabled + system.adapter.history.0 : history : smarthome - enabled system.adapter.homeconnect.0 : homeconnect : smarthome - disabled + system.adapter.hue-extended.0 : hue-extended : smarthome - enabled system.adapter.ical.0 : ical : smarthome - enabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: smarthome - disabled system.adapter.icons-icons8.0 : icons-icons8 : smarthome - enabled system.adapter.icons-material-png.0 : icons-material-png : smarthome - disabled system.adapter.icons-material-svg.0 : icons-material-svg : smarthome - enabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : smarthome - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: smarthome - enabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : smarthome - disabled + system.adapter.influxdb.0 : influxdb : smarthome - enabled, port: 8086 + system.adapter.javascript.0 : javascript : smarthome - enabled system.adapter.javascript.1 : javascript : smarthome - disabled + system.adapter.logparser.0 : logparser : smarthome - enabled + system.adapter.meross.0 : meross : smarthome - enabled + system.adapter.mihome-vacuum.0 : mihome-vacuum : smarthome - enabled, port: 54321 system.adapter.modbus.0 : modbus : smarthome - disabled + system.adapter.myenergi.0 : myenergi : smarthome - enabled + system.adapter.net-tools.0 : net-tools : smarthome - enabled system.adapter.openweathermap.0 : openweathermap : smarthome - enabled system.adapter.powerfox2.0 : powerfox2 : smarthome - enabled system.adapter.pvforecast.0 : pvforecast : smarthome - disabled + system.adapter.rpi2.0 : rpi2 : smarthome - enabled system.adapter.schoolfree.0 : schoolfree : smarthome - enabled + system.adapter.selverf.0 : selverf : smarthome - enabled + system.adapter.shelly.0 : shelly : smarthome - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : smarthome - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sourceanalytix.0 : sourceanalytix : smarthome - enabled + system.adapter.synology.0 : synology : smarthome - enabled, port: 5501 + system.adapter.telegram.0 : telegram : smarthome - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.trashschedule.0 : trashschedule : smarthome - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : smarthome - enabled system.adapter.vis-google-fonts.0 : vis-google-fonts : smarthome - enabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : smarthome - enabled system.adapter.vis-icontwo.0 : vis-icontwo : smarthome - enabled system.adapter.vis-inventwo.0 : vis-inventwo : smarthome - disabled system.adapter.vis-map.0 : vis-map : smarthome - enabled system.adapter.vis-material-advanced.0 : vis-material-advanced : smarthome - enabled system.adapter.vis-material-webfont.0 : vis-material-webfont : smarthome - enabled system.adapter.vis-materialdesign.0 : vis-materialdesign : smarthome - enabled system.adapter.vis-metro.0 : vis-metro : smarthome - enabled system.adapter.vis-plumb.0 : vis-plumb : smarthome - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : smarthome - enabled system.adapter.vis-weather.0 : vis-weather : smarthome - enabled system.adapter.vis.0 : vis : smarthome - enabled + system.adapter.vw-connect.0 : vw-connect : smarthome - enabled + system.adapter.web.0 : web : smarthome - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : smarthome - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.yahka.0 : yahka : smarthome - enabled + system.adapter.zigbee.0 : zigbee : smarthome - enabled, port: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_626a1ae89b93eb11ac711b4f3d98b6d1-if00-port0 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : smarthome - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.influxdb.0 : influxdb : smarthome - enabled, port: 8086 + system.adapter.mihome-vacuum.0 : mihome-vacuum : smarthome - enabled, port: 54321 + system.adapter.shelly.0 : shelly : smarthome - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : smarthome - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.synology.0 : synology : smarthome - enabled, port: 5501 + system.adapter.telegram.0 : telegram : smarthome - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : smarthome - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.ws.0 : ws : smarthome - enabled, port: 8084, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : smarthome - enabled, port: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_626a1ae89b93eb11ac711b4f3d98b6d1-if00-port0 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json live-stable : http://iobroker.live/repo/sources-dist.json Active repo(s): live-stable Installed ioBroker-Instances Used repository: live-stable Adapter "admin" : 6.3.5 , installed 6.3.5 Adapter "alexa2" : 3.23.2 , installed 3.23.2 Adapter "backitup" : 2.6.23 , installed 2.6.23 Adapter "bmw" : 2.5.7 , installed 2.6.0 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "heatingcontrol": 2.10.6 , installed 2.10.6 Adapter "history" : 2.2.4 , installed 2.2.4 Adapter "homeconnect" : 1.1.1 , installed 1.1.1 Adapter "hue-extended" : 2.0.0 , installed 2.0.0 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-material-svg": 0.1.0, installed 0.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "javascript" : 7.0.3 , installed 7.0.3 Controller "js-controller": 4.0.24 , installed 4.0.24 Adapter "logparser" : 2.2.0 , installed 2.2.0 Adapter "meross" : 1.15.1 , installed 1.15.1 Adapter "mihome-vacuum": 3.11.0 , installed 3.11.0 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "myenergi" : 0.0.3 , installed 0.0.3 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "openweathermap": 0.3.9 , installed 0.3.9 Adapter "powerfox2" : 0.0.12 , installed 0.0.12 Adapter "pvforecast" : 2.7.1 , installed 2.7.1 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "schoolfree" : 1.1.1 , installed 1.1.1 Adapter "selverf" : 0.6.2 , installed 0.6.2 Adapter "shelly" : 6.4.1 , installed 6.4.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "synology" : 2.1.13 , installed 2.1.13 Adapter "telegram" : 1.15.6 , installed 1.15.6 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.4 , installed 1.0.4 Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0 Adapter "vis-icontwo" : 0.96.0 , installed 0.94.0 [Updatable] Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-material-advanced": 1.7.2, installed 1.7.2 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.6 , installed 2.5.6 Adapter "vw-connect" : 0.0.67 , installed 0.0.67 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yahka" : 0.17.0 , installed 0.17.0 Adapter "zigbee" : 1.8.10 , installed 1.8.12 Objects and States Please stand by - This may take a while Objects: 23066 States: 20199 *** OS-Repositories and Updates *** Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease Hit:6 https://apt.grafana.com stable InRelease Hit:7 https://repos.influxdata.com/debian stable InRelease Reading package lists... Pending Updates: 3 *** 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 0.0.0.0:22 0.0.0.0:* LISTEN 0 14678 569/sshd: /usr/sbin tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 999 14779 688/influxd tcp 0 0 127.0.0.1:35741 0.0.0.0:* LISTEN 1001 43394 1516/io.yahka.0 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 14859 738/iobroker.js-con tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 15401 738/iobroker.js-con tcp 0 0 0.0.0.0:42535 0.0.0.0:* LISTEN 1001 16181 1516/io.yahka.0 tcp6 0 0 :::22 :::* LISTEN 0 14680 569/sshd: /usr/sbin tcp6 0 0 :::3000 :::* LISTEN 109 15435 737/grafana tcp6 0 0 :::61991 :::* LISTEN 1001 19856 1535/io.harmony.0 tcp6 0 0 :::8082 :::* LISTEN 1001 18638 1442/io.web.0 tcp6 0 0 :::8081 :::* LISTEN 1001 14185 920/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1001 16160 1460/io.simple-api. tcp6 0 0 :::8086 :::* LISTEN 999 14807 688/influxd tcp6 0 0 :::8084 :::* LISTEN 1001 20224 1757/io.ws.0 udp 0 0 0.0.0.0:33975 0.0.0.0:* 108 12692 453/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 12690 453/avahi-daemon: r udp 0 0 0.0.0.0:5683 0.0.0.0:* 1001 16882 1085/io.shelly.0 udp 0 0 0.0.0.0:68 0.0.0.0:* 0 12734 684/dhcpcd udp 0 0 0.0.0.0:53421 0.0.0.0:* 1001 15954 1130/io.mihome-vacu udp 0 0 0.0.0.0:61991 0.0.0.0:* 1001 19857 1535/io.harmony.0 udp6 0 0 :::5353 :::* 108 12691 453/avahi-daemon: r udp6 0 0 :::41284 :::* 108 12693 453/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-07-07 09:35:02.907 - info: powerfox2.0 (12481) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.16.1, js-controller: 4.0.24 2023-07-07 09:35:05.794 - info: powerfox2.0 (12481) Terminated (NO_ERROR): Without reason 2023-07-07 09:35:06.342 - info: host.smarthome instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR) 2023-07-07 09:35:11.315 - info: synology.0 (1287) Connecting to Synology 192.168.1.12:5501 2023-07-07 09:35:45.301 - info: synology.0 (1287) Connecting to Synology 192.168.1.12:5501 2023-07-07 09:36:00.073 - info: host.smarthome instance system.adapter.powerfox2.0 started with pid 12603 2023-07-07 09:36:02.849 - info: powerfox2.0 (12603) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.16.1, js-controller: 4.0.24 2023-07-07 09:36:04.129 - info: host.smarthome instance system.adapter.openweathermap.0 started with pid 12627 2023-07-07 09:36:08.185 - info: openweathermap.0 (12627) starting. Version 0.3.9 in /opt/iobroker/node_modules/iobroker.openweathermap, node: v18.16.1, js-controller: 4.0.24 2023-07-07 09:36:08.330 - info: powerfox2.0 (12603) Terminated (NO_ERROR): Without reason 2023-07-07 09:36:08.863 - info: host.smarthome instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR) 2023-07-07 09:36:19.955 - info: synology.0 (1287) Connecting to Synology 192.168.1.12:5501 2023-07-07 09:36:33.080 - info: openweathermap.0 (12627) Terminated (NO_ERROR): Without reason 2023-07-07 09:36:33.613 - info: host.smarthome instance system.adapter.openweathermap.0 terminated with code 0 (NO_ERROR) 2023-07-07 09:36:54.901 - info: synology.0 (1287) Connecting to Synology 192.168.1.12:5501 2023-07-07 09:37:00.069 - info: host.smarthome instance system.adapter.powerfox2.0 started with pid 12891 2023-07-07 09:37:03.894 - info: powerfox2.0 (12891) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.16.1, js-controller: 4.0.24 2023-07-07 09:37:06.875 - info: powerfox2.0 (12891) Terminated (NO_ERROR): Without reason 2023-07-07 09:37:07.451 - info: host.smarthome instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR) 2023-07-07 09:37:30.708 - info: synology.0 (1287) Connecting to Synology 192.168.1.12:5501 2023-07-07 09:38:00.072 - info: host.smarthome instance system.adapter.powerfox2.0 started with pid 13164 2023-07-07 09:38:03.139 - info: powerfox2.0 (13164) starting. Version 0.0.12 in /opt/iobroker/node_modules/iobroker.powerfox2, node: v18.16.1, js-controller: 4.0.24 2023-07-07 09:38:05.236 - info: synology.0 (1287) Connecting to Synology 192.168.1.12:5501 2023-07-07 09:38:08.235 - info: powerfox2.0 (13164) Terminated (NO_ERROR): Without reason 2023-07-07 09:38:08.775 - info: host.smarthome instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
-
@mp_trixi sagte in Absturz während Repo Update:
getState "alias.0.xyz.ELECTRIC_POWER" not found (3)
zum einen solltest du mal deine Scripte/alias Probleme beseitigen
@mp_trixi sagte in Absturz während Repo Update:
terminated with code 7 (ADAPTER_ALREADY_RUNNING)
entsteht, weil dein iobroker "zusammenbricht", wahrscheinlich aufgrund mangels Ram und dann neu startet
@mp_trixi sagte in Absturz während Repo Update:
2023-07-07 08:00:03.277 - info: host.smarthome 62 instances found 2023-07-07 08:00:03.407 - info: host.smarthome starting 45 instances
ist für einen Pi mit 4GB Ram wohl etwas viel, mag grad so laufen im normalen Betrieb, jedoch wenn bestimmte
Adapter-Ereignisse zusammentreffen, kann es dazu führen das der Ram zur Neige geht, weil in dem Moment mehr Ram benötigt wird -
@crunchip sagte in Absturz während Repo Update:
getState "alias.0.xyz.ELECTRIC_POWER" not found (3)
zum einen solltest du mal deine Scripte/alias Probleme beseitigen
Hi - danke für die Antwort. Hier bin ich gerade mit arteck dran (es liefen Nous Zigbee Steckdosen nicht mehr)
terminated with code 7 (ADAPTER_ALREADY_RUNNING)
entsteht, weil dein iobroker "zusammenbricht", wahrscheinlich aufgrund mangels Ram und dann neu startet
Die Meldung kommt immer nach dem Neustart, falls der Stecker gezogen werden musste für alle Adapter. Denke mal weil die nicht richtig beendet werden konnten und halt beim Neustart den falschen Status haben.
Vor dem Einfrieren ist halt immer der Repo Eintrag drin. Wie gesagt kann das auch manuell ausgelöst werden. Zieht das denn dann soviel RAM? Wenn es am RAM liegt gibt es da mit der aktuellen HW Möglichkeiten? z.B. größeres SWAP-File? -
@mp_trixi sagte in Absturz während Repo Update:
falls der Stecker gezogen werden musste f
das führt dann zu einem defekten Dateisystem!
@mp_trixi sagte in Absturz während Repo Update:
[Fri Jul 7 08:03:37 2023] EXT4-fs (mmcblk0p2): 2 orphan inodes deleted
-
@homoran
ja, mir ist bewusst, dass das nicht gut ist. Ich mach das ja nicht aus Jux und Tollerei
Ich würde es ja gerne beheben. Deshalb suche ich nach Hilfe zum Problem. -
@mp_trixi sagte in Absturz während Repo Update:
Vor dem Einfrieren ist halt immer der Repo Eintrag drin.
seh ich nicht so, wenn der js-controller neu startet, wird ja das Repo abgerufen
@mp_trixi sagte in Absturz während Repo Update:
Wenn es am RAM liegt gibt es da mit der aktuellen HW Möglichkeiten?
unnötige Instanzen still legen
@mp_trixi sagte in Absturz während Repo Update:
ja, mir ist bewusst, dass das nicht gut ist. Ich mach das ja nicht aus Jux und Tollerei
@mp_trixi sagte in Absturz während Repo Update:
pingbar ist er noch,
dann sollte es auch möglich sein, einen Befehl zum runterfahren, abzusetzen
-
@crunchip
wie gesagt lässt sich das auch manuell auslösen, in dem man in der Adapter View einen Refresh anstößt oder die Stable ändert.Gibt es eine Möglichkeit mit größerer Auslagerungsdatei?
-
@crunchip sagte in Absturz während Repo Update:
dann sollte es auch möglich sein, einen Befehl zum runterfahren, abzusetzen
auf die Konsole (mit Putty) komme ich nicht mehr
-
Lass halt ein Terminal offen.
Besser noch zwei.In einem
iob update
und in dem anderen z. B. das LogFile beobachten. Oder das journal.
-
@mp_trixi sagte in Absturz während Repo Update:
Gibt es eine Möglichkeit mit größerer Auslagerungsdatei?
nützt dir auch nichts, da das dein System verlangsamt, letztendlich wird es darauf hinauslaufen deinen iobroker zu verkleinern, oder Hardware mit mehr Ram
-
@thomas-braun
Du meinst um es manuell auszulösen? Wie beobachte ich in der Konsole das Log bzw. das Journal? -
@mp_trixi ja
-
@crunchip
@Thomas-Braun
hab jetzt mal zwei Adapter beendet und etwas freien Speicher gewonnen:
Wenn ich mir nen 8GB Raspi zulege: Kann ich dann einfach da die SD-Karte reinmachen oder muss der dann von Grund auf neu installiert werden?
-
@mp_trixi Ich würde ein frisches System draufwerfen und dann ein Backup des ioBrokers einspielen.
-
@mp_trixi sagte in Absturz während Repo Update:
Kann ich dann einfach da die SD-Karte reinmachen
theoretisch, aber aufgrund von
@mp_trixi sagte in Absturz während Repo Update:
er muss vom Strom genommen werden
und das schon mehrmals,
würde ich in dem Zug auch gleich eine frische Sd Karte bevorzugen -
@crunchip
@Thomas-Braun
ihr macht mir Freude - danke für die Hilfe, Bestellung ist rausWerde mich dann bestimmt wieder melden
Noch Tipps wie man hier dann vorgeht? Die Anleitungen die ich adhoc dazu gefunden habe sind doch schon etwas älter.
-
Betriebssystem in der Variante 64bit - Lite (ohne Desktop) installieren, iobroker 'leer' installieren. Ggf. 'vis' schon mal 'leer' installieren, Backup zurückspielen, fertig.
-
@thomas-braun
ok, das passt noch? -
Ja, das passt soweit noch.
Ich mach es immer danach:https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht