NEWS
Iot connection fail
-
sudo reboot
-
@thomas-braun immer noch keine Verbindung. unten neue diagnose. können sie bitte helfen? sollte ich versuchen, adpter iot.0 zu deinstallieren und neu zu installieren?
======== Start marking the full check here ========= ```bash Skript v.2024-08-12 *** BASE SYSTEM *** Static hostname: Smarthome Icon name: computer Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 6.1.21-v8+ Architecture: arm64 OS is similar to: Model : Raspberry Pi 4 Model B Rev 1.4 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 19:05:02 up 24 min, 2 users, load average: 0.56, 0.50, 0.44 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Wed 2024-10-16 19:05:02 CEST Universal time: Wed 2024-10-16 17:05:02 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) 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 lpadmin 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 Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 7.8G 1.4G 6.0G 0.0K 495M 6.3G Swap: 99M 0B 99M Total: 7.9G 1.4G 6.1G Active iob-Instances: 21 7812 M total memory 1360 M used memory 1509 M active memory 218 M inactive memory 5956 M free memory 64 M buffer memory 430 M swap cache 99 M total swap 0 M used swap 99 M free swap *** top - Table Of Processes *** top - 19:05:03 up 24 min, 2 users, load average: 0.56, 0.50, 0.44 Tasks: 189 total, 1 running, 188 sleeping, 0 stopped, 0 zombie %Cpu(s): 1.4 us, 1.4 sy, 0.0 ni, 97.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 7812.3 total, 5956.3 free, 1360.1 used, 496.0 buff/cache MiB Swap: 100.0 total, 100.0 free, 0.0 used. 6330.7 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 30G 12G 16G 43% / devtmpfs devtmpfs 3.6G 0 3.6G 0% /dev tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 1.6G 884K 1.6G 1% /run tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 253M 31M 222M 13% /boot tmpfs tmpfs 782M 24K 782M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Wed Oct 16 18:40:04 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 smsc95xx.macaddr=DC:A6:32:CF:1C:DF vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=7022dd96-02 rootfstype=ext4 fsck.repair=yes rootwait [Wed Oct 16 18:40:05 2024] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none. [Wed Oct 16 18:40:05 2024] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [Wed Oct 16 18:40:08 2024] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none. Show mounted filesystems: 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: 3.4G /var/ 2.0G /var/log 1.9G /var/log/journal/bf14957a8fc542ac847a1bfbd4b1e9e4 1.9G /var/log/journal 1.1G /var/cache/apt Archived and active journals take up 1.8G in the file system. /opt/iobroker/backups: 193M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.2G /opt/iobroker/iobroker-data/ 1.1G /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: 38M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 28M /opt/iobroker/iobroker-data/objects.jsonl 24M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map 24M /opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.c9369f6c.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': /dev/serial/by-id/usb-0658_0200-if00 *** NodeJS-Installation *** /usr/bin/nodejs v20.18.0 /usr/bin/node v20.18.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 nodejs: Installed: 20.18.0-1nodesource1 Candidate: 20.18.0-1nodesource1 Version table: *** 20.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 20.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 12.22.12~dfsg-1~deb11u5 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/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: 6.0.11 admin: 7.1.5 javascript: 8.8.3 nodejs modules from github: 0 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.alias-manager.0 : alias-manager : Smarthome - disabled + system.adapter.backitup.0 : backitup : Smarthome - enabled system.adapter.cloud.0 : cloud : Smarthome - disabled + system.adapter.cloud.1 : cloud : Smarthome - enabled system.adapter.devices.0 : devices : Smarthome - disabled + system.adapter.discovery.0 : discovery : Smarthome - enabled + system.adapter.email.0 : email : Smarthome - enabled + system.adapter.followthesun.0 : followthesun : Smarthome - enabled + system.adapter.fritzbox.0 : fritzbox : Smarthome - enabled + system.adapter.fritzdect.0 : fritzdect : Smarthome - enabled system.adapter.habpanel.0 : habpanel : Smarthome - enabled + system.adapter.info.0 : info : Smarthome - enabled system.adapter.iot.0 : iot : Smarthome - enabled system.adapter.iwg-vpn.0 : iwg-vpn : Smarthome - disabled system.adapter.iwg-vpn.1 : iwg-vpn : Smarthome - disabled + system.adapter.javascript.0 : javascript : Smarthome - enabled system.adapter.lg-thinq.0 : lg-thinq : Smarthome - disabled + system.adapter.linux-control.0 : linux-control : Smarthome - enabled + system.adapter.nina.0 : nina : Smarthome - enabled system.adapter.openweathermap.0 : openweathermap : Smarthome - enabled + system.adapter.pushover.0 : pushover : Smarthome - enabled + system.adapter.scenes.0 : scenes : Smarthome - enabled + system.adapter.telegram.0 : telegram : Smarthome - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.vis-2.0 : vis-2 : Smarthome - enabled system.adapter.vis.0 : vis : Smarthome - enabled + system.adapter.web.0 : web : Smarthome - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zwave2.0 : zwave2 : Smarthome - enabled + system.adapter.zwave2.1 : zwave2 : Smarthome - enabled + 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.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 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: none Installed ioBroker-Instances Used repository: stable Adapter "admin" : 7.1.5 , installed 7.1.5 Adapter "alexa2" : 3.26.5 , installed 3.26.5 Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 3.0.25 , installed 3.0.25 Adapter "cloud" : 5.0.1 , installed 5.0.1 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 5.0.0 , installed 5.0.0 Adapter "email" : 1.3.1 , installed 1.3.1 Adapter "followthesun" : 0.5.1 , installed 0.5.1 Adapter "fritzbox" : 0.6.0 , installed 0.6.0 Adapter "fritzdect" : 2.5.11 , installed 2.5.11 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "iot" : 3.3.0 , installed 3.3.0 Adapter "iwg-vpn" : 3.0.0 , installed 3.0.0 Adapter "javascript" : 8.8.3 , installed 8.8.3 Controller "js-controller": 6.0.11 , installed 6.0.11 Adapter "lg-thinq" : 1.0.2 , installed 1.0.2 Adapter "linux-control": 1.1.5 , installed 1.1.5 Adapter "mqtt" : 6.1.2 , installed 6.1.2 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "node-red" : 5.2.1 , installed 5.2.1 Adapter "openweathermap": 1.1.2 , installed 1.1.2 Adapter "pushover" : 4.1.0 , installed 4.1.0 Adapter "scenes" : 3.2.3 , installed 3.2.3 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "sonoff" : 3.1.2 , installed 3.1.2 Adapter "telegram" : 3.9.0 , installed 3.9.0 Adapter "tr-064" : 4.3.0 , installed 4.3.0 Adapter "vis" : 1.5.6 , installed 1.5.6 Adapter "vis-2" : 2.9.32 , installed 2.9.32 Adapter "web" : 6.2.5 , installed 6.2.5 Adapter "ws" : 2.6.2 , installed 2.6.2 Adapter "zwave2" : 3.1.0 , installed 3.1.0 Objects and States Please stand by - This may take a while Objects: 8836 States: 7329 *** 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://archive.raspberrypi.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Hit:5 https://deb.nodesource.com/node_20.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:631 0.0.0.0:* LISTEN 0 12804 529/cupsd tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 15400 537/iobroker.js-con tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 16401 537/iobroker.js-con tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 1964 563/sshd: /usr/sbin tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 0 13881 557/vncserver-x11-c tcp6 0 0 :::8082 :::* LISTEN 1001 16816 1114/io.web.0 tcp6 0 0 :::8081 :::* LISTEN 1001 15489 802/io.admin.0 tcp6 0 0 ::1:631 :::* LISTEN 0 12803 529/cupsd tcp6 0 0 :::22 :::* LISTEN 0 1966 563/sshd: /usr/sbin tcp6 0 0 :::5900 :::* LISTEN 0 13880 557/vncserver-x11-c tcp6 0 0 :::34367 :::* LISTEN 1001 15712 1013/./pawns-cli udp 0 0 0.0.0.0:50310 0.0.0.0:* 108 1914 410/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 1912 410/avahi-daemon: r udp 0 0 0.0.0.0:68 0.0.0.0:* 0 2002 475/dhcpcd udp6 0 0 :::5353 :::* 108 1913 410/avahi-daemon: r udp6 0 0 :::48385 :::* 108 1915 410/avahi-daemon: r udp6 0 0 :::546 :::* 0 15374 475/dhcpcd *** Log File - Last 25 Lines *** 2024-10-16 19:04:58.360 - error: host.Smarthome Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) 2024-10-16 19:04:58.360 - error: host.Smarthome Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-10-16 19:04:58.360 - error: host.Smarthome Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:12:19) 2024-10-16 19:04:58.360 - error: host.Smarthome Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) 2024-10-16 19:04:58.360 - error: host.Smarthome Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) 2024-10-16 19:04:58.360 - error: host.Smarthome Caught by controller[0]: Node.js v20.18.0 2024-10-16 19:04:58.361 - error: host.Smarthome instance system.adapter.iot.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-10-16 19:04:58.361 - info: host.Smarthome Restart adapter system.adapter.iot.0 because enabled 2024-10-16 19:05:28.769 - info: host.Smarthome instance system.adapter.iot.0 in version "3.3.0" started with pid 2547 2024-10-16 19:05:29.034 - error: host.Smarthome Caught by controller[0]: /opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/validations.js:1 2024-10-16 19:05:29.034 - error: host.Smarthome Caught by controller[0]: SyntaxError: Invalid or unexpected token 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at wrapSafe (node:internal/modules/cjs/loader:1378:20) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1428:41) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1288:32) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1104:12) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1311:19) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at require (node:internal/modules/helpers:179:18) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/aws-iot-device-sdk/node_modules/mqtt/lib/client.js:12:19) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1469:14) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) 2024-10-16 19:05:29.035 - error: host.Smarthome Caught by controller[1]: Node.js v20.18.0 2024-10-16 19:05:29.036 - error: host.Smarthome instance system.adapter.iot.0 terminated with code 1 (JS_CONTROLLER_STOPPED) 2024-10-16 19:05:29.036 - info: host.Smarthome Restart adapter system.adapter.iot.0 because enabled 2024-10-16 19:05:34.135 - info: web.0 (1114) ==> Connected system.user.admin from 2a00:1e:8c84:1901:786b:ecef:7449:b94c
============ Mark until here for C&P =============
iob diag has finished.
-
@biterr28 sagte in Iot connection fail:
tcp6 0 0 :::34367 :::* LISTEN 1001 15712 1013/./pawns-cli
Das ist Malware. Die ist hier schon verschiedentlich aufgetaucht.
System löschen und komplett frisch neuaufsetzen. -
@thomas-braun Ich verstehe nicht wirklich, wovon Sie sprechen und wie man das macht. Das ist völlig neu für mich. Ich habe das aktuelle System vom Vorbesitzer übernommen.
-
@biterr28 sagte in Iot connection fail:
Ich habe das aktuelle System vom Vorbesitzer übernommen.
Dann installier es neu, damit es auch DEIN System ist.
https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht
-
@thomas-braun Gibt es eine Schritt-für-Schritt-Anleitung, wie man das richtig macht?
-
@biterr28 said in Iot connection fail:
@thomas-braun Gibt es eine Schritt-für-Schritt-Anleitung, wie man das richtig macht?
https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht
-
@mcm1957 danke
und wie kann ich das System deinstallieren? Gibt es auch eine Gebrauchsanweisung? Vielen Dank im Voraus für Ihre Hilfe -
Eine Neuinstallation überschreibt die alte Installation.
Ich würde aber vermutlich gleich eine neue SD-Karte verwenden. -
@thomas-braun
Herzlichen Dank für Ihre Hilfe.