NEWS
Openhab-Installation funktioniert nicht
-
Danke für die Anworten.
hier das Ergebnis was ich kopieren konnte (siehe vorigen Post)
-
Das ist aber die Zusammenfassung, nicht die Langversion.
-
Nun habe ich ihn mal ganz neu gemacht
Und warum hast du dann nicht die 64Bit-Version hergenommen?
-
Was die 64 Bit Version angeht gute Frage. Da hab mich wohl vertan. Wenn dadurch die letzten beiden Adapter auch wieder laufen, werde ich es neu machen.
Hier mal die lange Version des diag (hoffe ich):========== Start marking the full check here =========== ```bash Script v.2024-12-08 Raspbian+zigbee diag+masking *** BASE SYSTEM *** Static hostname: raspberrypi Icon name: computer Operating System: Raspbian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.62+rpt-rpi-v7 Architecture: arm OS is similar to: debian Model : Raspberry Pi 3 Model B Rev 1.2 Docker : false Virtualization : none Kernel : armv7l Userland : 32 bit Systemuptime and Load: 15:13:19 up 4:56, 1 user, load average: 0.66, 0.61, 0.52 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Debian stable version codenamed 'bookworm'! *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** TIME AND TIMEZONES *** Local time: Mon 2024-12-09 15:13:20 CET Universal time: Mon 2024-12-09 14:13:20 UTC RTC time: n/a Time zone: Europe/Berlin (CET, +0100) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': pi HOME=/home/pi GROUPS=pi adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 965M 453M 198M 212K 370M 511M Swap: 536M 153M 383M Total: 1.5G 607M 581M Active iob-Instances: 10 920 M total memory 432 M used memory 351 M active memory 314 M inactive memory 189 M free memory 40 M buffer memory 313 M swap cache 511 M total swap 146 M used swap 365 M free swap *** top - Table Of Processes *** top - 15:13:20 up 4:56, 1 user, load average: 0.66, 0.61, 0.52 Tasks: 156 total, 2 running, 154 sleeping, 0 stopped, 0 zombie %Cpu(s): 33.3 us, 16.7 sy, 0.0 ni, 50.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 920.9 total, 188.6 free, 433.2 used, 353.7 buff/cache MiB Swap: 512.0 total, 365.6 free, 146.3 used. 487.7 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 329M 0 329M 0% /dev tmpfs tmpfs 93M 1.0M 92M 2% /run /dev/sda2 ext4 28G 5.2G 22G 20% / tmpfs tmpfs 461M 0 461M 0% /dev/shm tmpfs tmpfs 5.0M 12K 5.0M 1% /run/lock /dev/sda1 vfat 510M 79M 432M 16% /boot/firmware tmpfs tmpfs 93M 0 93M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Mon Dec 9 10:16:35 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=80ea9318-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=GM [Mon Dec 9 10:16:41 2024] EXT4-fs (sda2): mounted filesystem bb15c8e6-d999-4838-be67-5ff200bffa46 ro with ordered data mode. Quota mode: none. [Mon Dec 9 10:16:44 2024] EXT4-fs (sda2): re-mounted bb15c8e6-d999-4838-be67-5ff200bffa46 r/w. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,noatime `-/boot/firmware /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 914M /var/ 160M /var/cache 154M /var/cache/apt 129M /var/log/journal/8b31daf746d448b6b1f9c5106b5c2d7b 129M /var/log/journal Archived and active journals take up 128.0M in the file system. /opt/iobroker/backups: 3.3M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 780M /opt/iobroker/iobroker-data/ 718M /opt/iobroker/iobroker-data/files 617M /opt/iobroker/iobroker-data/files/javascript.admin 560M /opt/iobroker/iobroker-data/files/javascript.admin/static 558M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 26M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 12M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.bd24114f.js 8.7M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/838.0aa41cb0.chunk.js.map 8.6M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/310.89a60ae1.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' Zigbee Network Settings on your coordinator/in nvbackup are: *** NodeJS-Installation *** /usr/bin/nodejs v20.18.1 /usr/bin/node v20.18.1 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.4 nodejs: Installed: 20.18.1-1nodesource1 Candidate: 20.18.1-1nodesource1 Version table: *** 20.18.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 100 /var/lib/dpkg/status 20.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages 18.19.0+dfsg-6~deb12u2+rpi1 500 500 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Hosts: raspberrypi raspberrypi (version: 7.0.3, hostname: raspberrypi , alive, uptime: 17789) Core adapters versions js-controller: 7.0.3 admin: 7.1.5 javascript: 8.8.3 nodejs modules from github: 2 +-- iobroker.eq3-thermostat@2.0.7 (git+ssh://git@github.com/Schnup89/ioBroker.eq3-thermostat.git#06ea2cc64cbfdfaef424ad78bd110c34e1963fbb) +-- iobroker.netio@0.1.2 (git+ssh://git@github.com/flxm/ioBroker.netio.git#0544e4d84d185664cc4a4835d9ac22e2e3db82d0) Adapter State + system.adapter.admin.0 : admin : raspberrypi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : raspberrypi - enabled + system.adapter.discovery.0 : discovery : raspberrypi - enabled + system.adapter.eq3-thermostat.0 : eq3-thermostat : raspberrypi - enabled + system.adapter.history.0 : history : raspberrypi - enabled + system.adapter.javascript.0 : javascript : raspberrypi - enabled + system.adapter.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 192.168.178.24 system.adapter.netio.0 : netio : raspberrypi - enabled + system.adapter.openhab.0 : openhab : raspberrypi - enabled, port: 8080 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + 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.mqtt.0 : mqtt : raspberrypi - enabled, port: 1883, bind: 192.168.178.24 + system.adapter.openhab.0 : openhab : raspberrypi - enabled, port: 8080 + system.adapter.web.0 : web : raspberrypi - enabled, port: 8082, bind: 0.0.0.0, run as: admin ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: patch Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.1.5 , installed 7.1.5 Adapter "backitup" : 3.0.25 , installed 3.0.25 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 7.0.3 , installed 7.0.3 Adapter "mqtt" : 6.1.2 , installed 6.1.2 Adapter "openhab" : 1.2.0 , installed 1.2.0 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "ws" : 2.6.2 , installed 2.6.2 Objects and States Please stand by - This may take a while Objects: 430 States: 325 *** OS-Repositories and Updates *** W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease Hit:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Done W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. 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:9000 0.0.0.0:* LISTEN 1001 5455 522/iobroker.js-con tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 6329 532/sshd: /usr/sbin tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 5450 522/iobroker.js-con tcp 0 0 192.168.178.24:1883 0.0.0.0:* LISTEN 1001 7457 802/io.mqtt.0 tcp6 0 0 :::22 :::* LISTEN 0 6331 532/sshd: /usr/sbin tcp6 0 0 :::8081 :::* LISTEN 1001 6482 734/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 7527 869/io.web.0 udp 0 0 0.0.0.0:52613 0.0.0.0:* 104 6270 438/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 6268 438/avahi-daemon: r udp6 0 0 fe80::9e1e:a494:f67:546 :::* 0 5431 492/NetworkManager udp6 0 0 :::5353 :::* 104 6269 438/avahi-daemon: r udp6 0 0 :::35640 :::* 104 6271 438/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-12-09 15:13:58.396 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) 2024-12-09 15:13:58.397 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) 2024-12-09 15:13:58.397 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) 2024-12-09 15:13:58.398 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) 2024-12-09 15:13:58.399 - error: host.raspberrypi Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12) 2024-12-09 15:13:58.399 - error: host.raspberrypi Caught by controller[0]: at node:internal/main/run_main_module:28:49 2024-12-09 15:13:58.400 - error: host.raspberrypi Caught by controller[0]: Node.js v20.18.1 2024-12-09 15:13:58.401 - error: host.raspberrypi instance system.adapter.netio.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-12-09 15:13:58.401 - info: host.raspberrypi Restart adapter system.adapter.netio.0 because enabled 2024-12-09 15:14:16.577 - error: openhab.0 (9746) Cannot get answer from "http://192.168.178.24:8080/rest/items?recursive=false": Error: connect ECONNREFUSED 192.168.178.24:8080 2024-12-09 15:14:29.229 - info: host.raspberrypi instance system.adapter.netio.0 in version "0.1.2" (non-npm: flxm/ioBroker.netio#0544e4d84d185664cc4a4835d9ac22e2e3db82d0) started with pid 13899 2024-12-09 15:14:32.665 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/iobroker.netio/netio.js:12 2024-12-09 15:14:32.666 - error: host.raspberrypi Caught by controller[0]: class Netio extends utils.Adapter { 2024-12-09 15:14:32.667 - error: host.raspberrypi Caught by controller[0]: ^ 2024-12-09 15:14:32.667 - error: host.raspberrypi Caught by controller[0]: TypeError: Class extends value #<Object> is not a constructor or null 2024-12-09 15:14:32.667 - error: host.raspberrypi Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.netio/netio.js:12:27) 2024-12-09 15:14:32.668 - error: host.raspberrypi Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) 2024-12-09 15:14:32.668 - error: host.raspberrypi Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) 2024-12-09 15:14:32.669 - error: host.raspberrypi Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) 2024-12-09 15:14:32.669 - error: host.raspberrypi Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) 2024-12-09 15:14:32.670 - error: host.raspberrypi Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:173:12) 2024-12-09 15:14:32.670 - error: host.raspberrypi Caught by controller[0]: at node:internal/main/run_main_module:28:49 2024-12-09 15:14:32.670 - error: host.raspberrypi Caught by controller[0]: Node.js v20.18.1 2024-12-09 15:14:32.671 - error: host.raspberrypi instance system.adapter.netio.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-12-09 15:14:32.671 - info: host.raspberrypi Restart adapter system.adapter.netio.0 because enabled
-
@stevensen sagte in Openhab-Installation funktioniert nicht:
2024-12-09 15:14:16.577 - error: openhab.0 (9746) Cannot get answer from "http://192.168.178.24:8080/rest/items?recursive=false": Error: connect ECONNREFUSED 192.168.178.24:8080
stimmen die Einstellungen?
-
Ja, mach es neu. Und verwende einen anderen username als 'pi'.
'stevensen' oder dein 'vorname' bieten sich da an. -
Ich bin so doof, ich habe den falschen Adapter installiert. Es sollte Habpanel installiert werden, das ist ne Gui-Variante für openhab. Dieser Adapter läuft jetzt.
Dann habe ich noch ein Problem mit dem netio-Adapter der ist für eine IP-Steckdosenleiste.
Vielleicht seht ihr den Fehler ja direkt?Naja vielleicht sollte ich dann doch erst die 64bit Version installieren
-
@stevensen sagte in Openhab-Installation funktioniert nicht:
Naja vielleicht sollte ich dann doch erst die 64bit Version installieren
Wäre sinnig, ja.
-
@stevensen sagte in Openhab-Installation funktioniert nicht:
Vielleicht seht ihr den Fehler ja direkt?
ich finde den Adapter nicht in den Repos
Laut diag ist der von github.
Also eher alpha status. -
Ist von Git, müsste das hier sein :
[link text]https://github.com/flxm/ioBroker.netio(link url)Hat in der alten Version funktioniert
-
@stevensen sagte in Openhab-Installation funktioniert nicht:
Hat in der alten Version funktioniert
Das heist ja nix. Es geht ja weiter.
Nur nicht bei dem Adapter, da ist seit 5 Jahren nix mehr dran getan worden.