Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. MQTT-Client Nach Update Problen mit Authentifizierung

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    MQTT-Client Nach Update Problen mit Authentifizierung

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      schorschi last edited by schorschi

      Hallo Zusammen.

      Ich hab zu beginn der Heizsaison IOB und Raspberry OS upgedatet.
      Auch alle Adapter auf den neuen Stand gebracht ( zuvor hatte ich das vor ~ 6 Monaten gemacht) .

      Mit MQTT steuere ich die Wärmepumpe , ist also nicht nur zum Spielen sondern für den reibungslosen Betrieb wichtig und Nötig.

      Mosquitto läuft und ich habe nach dem Update des MQTT-Client mein PSWD nochmals eingegeben. Ich bin auch sicher , das es richtig ist. Dennoch sind im IOB Log ständig der Debug/warn Eintrag :" Trying to reconnect to broker / client offline " .
      Das Mosquitto läuft ist einfach mit der Tatsache aufgezeigt , das ich mit dem Android APP IoT MQTT Panel Pro V 2.15.69 die relevanten Topic´s sub/pub en kann.

      Es macht für mich halt keinen Sinn händisch das was mit einem Blockly gemacht wird selbst zu pubishen.
      Weil damit geht es.

      ======== Start marking the full check here =========
      ```                                           Skript v.2024-05-22
      *** BASE SYSTEM ***                            Static hostname: iobroker                           Icon name: computer
      Operating System: Raspbian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.1.0-rpi6-rpi-v8
          Architecture: arm64
      Model           : Raspberry Pi 4 Model B Rev 1.5
      Docker          : false
      Virtualization  : none
      Kernel          : aarch64
      Userland        : 32 bit
      
      Systemuptime and Load:
       09:02:06 up 8 days, 12:42,  5 users,  load average: 1.30, 1.18, 1.11
      CPU threads: 4
      
      
      *** RASPBERRY THROTTLING ***
      Current issues:
      No throttling issues detected.
      
      Previously detected issues:
      No throttling issues detected.
      
      *** Time and Time Zones ***
                     Local time: Tue 2024-09-24 09:02:06 CEST
                 Universal time: Tue 2024-09-24 07:02:06 UTC
                       RTC time: n/a
                      Time zone: Europe/Busingen (CEST, +0200)
      System clock synchronized: yes
                    NTP service: active
                RTC in local TZ: no
      
      *** Users and Groups ***
      User that called 'iob diag':
      piiobr
      HOME=/home/piiobr
      GROUPS=piiobr 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: true
      Desktop:
      Terminal:       tty
      Boot Target:    graphical.target
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            4.0G        905M        660M         28M        2.5G        3.1G
      Swap:           104M          0B        104M
      Total:          4.1G        905M        765M
      
      Active iob-Instances:   10
      
               3792 M total memory
                863 M used memory
                987 M active memory
               1839 M inactive memory
                629 M free memory
                172 M buffer memory
               2228 M swap cache
                 99 M total swap
                  0 M used swap
                 99 M free swap
      
      *** top - Table Of Processes  ***
      top - 09:02:07 up 8 days, 12:42,  5 users,  load average: 1.30, 1.18, 1.11
      Tasks: 205 total,   3 running, 202 sleeping,   0 stopped,   0 zombie
      %Cpu(s): 25.0 us, 25.0 sy,  0.0 ni, 50.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
      MiB Mem :   3792.2 total,    628.6 free,    864.8 used,   2401.5 buff/cache
      MiB Swap:    100.0 total,    100.0 free,      0.0 used.   2927.4 avail Mem
      
      *** FAILED SERVICES ***
      
        UNIT LOAD ACTIVE SUB DESCRIPTION
      0 loaded units listed.
      
      *** FILESYSTEM ***
      Filesystem     Type      Size  Used Avail Use% Mounted on
      udev           devtmpfs  1.6G     0  1.6G   0% /dev
      tmpfs          tmpfs     380M  1.4M  378M   1% /run
      /dev/sda2      ext4      117G   12G  100G  11% /
      tmpfs          tmpfs     1.9G  352K  1.9G   1% /dev/shm
      tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
      /dev/sda1      vfat      510M  114M  397M  23% /boot/firmware
      tmpfs          tmpfs     380M   36K  380M   1% /run/user/1000
      
      Messages concerning ext4 filesystem in dmesg:
      [Sun Sep 15 20:19:10 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=E4:5F:01:B8:A7:91 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=PARTUUID=cdb42d55-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=DE
      [Sun Sep 15 20:19:14 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
      [Sun Sep 15 20:19:17 2024] EXT4-fs (sda2): re-mounted. Quota mode: none.
      
      Show mounted filesystems:
      TARGET                                                  SOURCE      FSTYPE          OPTIONS
      /                                                       /dev/sda2   ext4            rw,noatime
      |-/sys                                                  sysfs       sysfs           rw,nosuid,nodev,noexec,relatime
      | |-/sys/kernel/security                                securityfs  securityfs      rw,nosuid,nodev,noexec,relatime
      | |-/sys/fs/cgroup                                      cgroup2     cgroup2         rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
      | |-/sys/fs/pstore                                      pstore      pstore          rw,nosuid,nodev,noexec,relatime
      | |-/sys/fs/bpf                                         bpf         bpf             rw,nosuid,nodev,noexec,relatime,mode=700
      | |-/sys/kernel/debug                                   debugfs     debugfs         rw,nosuid,nodev,noexec,relatime
      | |-/sys/kernel/tracing                                 tracefs     tracefs         rw,nosuid,nodev,noexec,relatime
      | |-/sys/kernel/config                                  configfs    configfs        rw,nosuid,nodev,noexec,relatime
      | `-/sys/fs/fuse/connections                            fusectl     fusectl         rw,nosuid,nodev,noexec,relatime
      |-/proc                                                 proc        proc            rw,relatime
      | `-/proc/sys/fs/binfmt_misc                            systemd-1   autofs          rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13492
      |   `-/proc/sys/fs/binfmt_misc                          binfmt_misc binfmt_misc     rw,nosuid,nodev,noexec,relatime
      |-/dev                                                  udev        devtmpfs        rw,nosuid,relatime,size=1669488k,nr_inodes=417372,mode=755
      | |-/dev/pts                                            devpts      devpts          rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
      | |-/dev/shm                                            tmpfs       tmpfs           rw,nosuid,nodev
      | `-/dev/mqueue                                         mqueue      mqueue          rw,nosuid,nodev,noexec,relatime
      |-/run                                                  tmpfs       tmpfs           rw,nosuid,nodev,noexec,relatime,size=388324k,mode=755
      | |-/run/lock                                           tmpfs       tmpfs           rw,nosuid,nodev,noexec,relatime,size=5120k
      | |-/run/credentials/systemd-sysctl.service             ramfs       ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
      | |-/run/credentials/systemd-sysusers.service           ramfs       ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
      | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs       ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
      | |-/run/credentials/systemd-tmpfiles-setup.service     ramfs       ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
      | |-/run/rpc_pipefs                                     sunrpc      rpc_pipefs      rw,relatime
      | `-/run/user/1000                                      tmpfs       tmpfs           rw,nosuid,nodev,relatime,size=388320k,nr_inodes=97080,mode=700,uid=1000,gid=1000
      |   |-/run/user/1000/gvfs                               gvfsd-fuse  fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
      |   `-/run/user/1000/doc                                portal      fuse.portal     rw,nosuid,nodev,relatime,user_id=1000,group_id=1000
      `-/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:
      1.8G    /var/
      1.3G    /var/cache/apt/archives
      1.3G    /var/cache/apt
      1.3G    /var/cache
      256M    /var/log
      
      Archived and active journals take up 254.2M in the file system.
      
      /opt/iobroker/backups:
      18M     /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      591M    /opt/iobroker/iobroker-data/
      539M    /opt/iobroker/iobroker-data/files
      441M    /opt/iobroker/iobroker-data/files/javascript.admin
      409M    /opt/iobroker/iobroker-data/files/javascript.admin/static
      408M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
      
      The five largest files in iobroker-data are:
      22M     /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js.map
      14M     /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.2cca4954.js
      9.0M    /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.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'
      
      
      
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v20.17.0
      /usr/bin/node           v20.17.0
      /usr/bin/npm            10.8.2
      /usr/bin/npx            10.8.2
      /usr/bin/corepack       0.29.3
      
      
      nodejs:
        Installed: 20.17.0-1nodesource1
        Candidate: 20.17.0-1nodesource1
        Version table:
       *** 20.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
              100 /var/lib/dpkg/status
           20.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.15.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.13.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.12.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.12.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.11.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.8.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.6.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.5.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.3.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_20.x nodistro/main armhf Packages
           20.0.0-1nodesource1 1001
              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 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.2
      javascript:     8.7.6
      
      nodejs modules from github:     0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
      + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
      + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
      + system.adapter.melcloud.0               : melcloud              : iobroker                                 -  enabled
      + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
      + system.adapter.mqtt-client.0            : mqtt-client           : iobroker                                 -  enabled, port: 1883
      + system.adapter.rpi2.0                   : rpi2                  : iobroker                                 -  enabled
      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.mqtt-client.0            : mqtt-client           : iobroker                                 -  enabled, port: 1883
      + system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
      
      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.2    , installed 7.1.2
      Adapter    "backitup"     : 3.0.22   , installed 3.0.22
      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
      Adapter    "javascript"   : 8.7.6    , installed 8.7.6
      Controller "js-controller": 6.0.11   , installed 6.0.11
      Adapter    "melcloud"     : 2.0.2    , installed 2.0.2
      Adapter    "modbus"       : 6.2.3    , installed 6.2.3
      Adapter    "mqtt-client"  : 2.0.0    , installed 2.0.0
      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
      Adapter    "shelly"       : 7.0.0    , installed 7.0.0
      
      Objects and States
      Please stand by - This may take a while
      Objects:        769
      States:         608
      
      *** 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...
      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       2571140    4718/iobroker.js-co
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       2571135    4718/iobroker.js-co
      tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          3219462    5791/cupsd
      tcp        0      0 0.0.0.0:502             0.0.0.0:*               LISTEN      0          764033     19352/./diagslave
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          1151360    17807/sshd: /usr/sb
      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      112        1951192    7254/mosquitto
      tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       2573597    4838/io.shelly.0
      tcp6       0      0 :::22                   :::*                    LISTEN      0          1150379    17807/sshd: /usr/sb
      tcp6       0      0 :::1883                 :::*                    LISTEN      112        1951193    7254/mosquitto
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       2571187    4736/io.admin.0
      tcp6       0      0 ::1:631                 :::*                    LISTEN      0          3219461    5791/cupsd
      udp        0      0 0.0.0.0:35779           0.0.0.0:*                           104        14264      581/avahi-daemon: r
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        14262      581/avahi-daemon: r
      udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          3219486    5793/cups-browsed
      udp6       0      0 :::52021                :::*                                104        14265      581/avahi-daemon: r
      udp6       0      0 :::5353                 :::*                                104        14263      581/avahi-daemon: r
      udp6       0      0 fe80::6711:3d16:ce9:546 :::*                                0          18821      674/NetworkManager
      
      *** Log File - Last 25 Lines ***
      
      2024-09-24 08:59:39.059  - debug: mqtt-client.0 (29679) trying to reconnect to broker
      2024-09-24 08:59:39.063  - warn: mqtt-client.0 (29679) client offline
      2024-09-24 09:00:00.005  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":0,"ack":false,"ts":1726896124848,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1726896124848}
      2024-09-24 09:00:00.006  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":0,"ack":false,"ts":1726896124848,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1726896124848}
      2024-09-24 09:00:00.006  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":0,"ack":false,"ts":1726896124848,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1726896124848}
      2024-09-24 09:00:00.006  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":0,"ack":false,"ts":1726896124848,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1726896124848}
      2024-09-24 09:00:00.006  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: setForeignState(id=mqtt-client.0.panasonic_heat_pump.commands.SetDemandControl, state={"val":234,"ack":false,"ts":1727161200006,"q":0,"from":"system.adapter.javascript.0","lc":1726981800022,"c":"script.js.ioBroker.Leistung_WP1"})
      2024-09-24 09:00:00.007  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: setForeignState(id=mqtt-client.0.panasonic_heat_pump.commands.SetQuietMode, state={"val":0,"ack":false,"ts":1727161200007,"q":0,"from":"system.adapter.javascript.0","lc":1726896600009,"c":"script.js.ioBroker.Leistung_WP1"})
      2024-09-24 09:00:00.007  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":0,"ack":false,"ts":1726896124848,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1726896124848}
      2024-09-24 09:00:00.007  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: Draussen hats jetzt 0°C
      2024-09-24 09:00:00.007  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: Demandcontrol steht auf 100%
      2024-09-24 09:00:00.007  - info: javascript.0 (4751) script.js.ioBroker.Leistung_WP1: QM-Stufe 0
      2024-09-24 09:00:00.018  - debug: mqtt-client.0 (29679) publishing mqtt-client.0.panasonic_heat_pump.commands.SetDemandControl
      2024-09-24 09:00:09.065  - debug: mqtt-client.0 (29679) trying to reconnect to broker
      2024-09-24 09:00:09.077  - warn: mqtt-client.0 (29679) client offline
      Copy text starting here:
      ```                                           ======================= SUMMARY =======================                                                             v.2024-05-22
      
       Static hostname: iobroker                           Icon name: computer
      Operating System: Raspbian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.1.0-rpi6-rpi-v8         Architecture: arm64
      Installation:           native
      Kernel:                 aarch64               Userland:               32 bit
      Timezone:               Europe/Busingen (CEST, +0200)
      User-ID:                1000
      Display-Server:         true
      Boot Target:            graphical.target
      Pending OS-Updates:     0
      Pending iob updates:    0
      
      Nodejs-Installation:
      /usr/bin/nodejs         v20.17.0
      /usr/bin/node           v20.17.0
      /usr/bin/npm            10.8.2
      /usr/bin/npx            10.8.2
      /usr/bin/corepack       0.29.3
      
      Recommended versions are nodejs 20.17.0 and npm 10.8.2
      Your nodejs installation is correct
      
      MEMORY:
                     total        used        free      shared  buff/cache   available
      Mem:            4.0G        920M        707M         28M        2.5G        3.1G
      Swap:           104M          0B        104M
      Total:          4.1G        920M        812M
      
      Active iob-Instances:   10
      Upgrade policy: none
      
      ioBroker Core:          js-controller        6.0.11
                              admin                7.1.2
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin and web instance:
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      
      Objects:                769
      States:                 608
      
      Size of iob-Database:
      
      11M     /opt/iobroker/iobroker-data/objects.jsonl
      3.8M    /opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      

      Mit der vorgehenden Version von MQTT-Client gabs keine Probleme. Der jetzige Adapter ist auch nur kurz in allen 3 Punkten grün.

      Was kann ich tun ?

      LG

      schorschi

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @schorschi last edited by

        @schorschi

        Dein Problem ist eher, das die Kiste nicht (zumindest nicht richtig) aktualisiert wurde.

        Setz das ganze Ding von Grund auf NEU auf.
        Auf einem Raspberry 12 'Bookworm' / RPI4 sollte eigentlich ein Kernel 6.6 laufen, das Userland sollte 64 Bit haben. Und ein Desktop läuft da auch nicht im Serverbetrieb.

        Und du bist wirklich einer der 20 Einwohner von Büsingen? Die Zeitzone habe ich noch nie wirklich im Einsatz gesehen. 😄

        Das sieht mir irgendwie ganz nach einem misslungenen Versuch aus von einer Vorversion 'in-line' auf RaspberryOS 12 'Bookworm' zu springen. Das funktioniert aber nicht richtig, wie man sieht.

        S 1 Reply Last reply Reply Quote 1
        • S
          schorschi @Thomas Braun last edited by

          @thomas-braun

          Hallo , guten Morgen.

          Ich hab das OS neu mit dem Raspiimager auf eine 128GB SD geschrieben. Ganz , incl deiner Anweisung im gepinnten "Installation auf Raspi - Einfacher geht's nicht" mit dem updating.

          diag ergibt

          *** iob diag is starting up, please wait ***  node:internal/modules/cjs/loader:1228
            throw err;
            ^                                           
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)                                  at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          
          ======== Start marking the full check here =========
          ```                                           Skript v.2024-05-22
          *** BASE SYSTEM ***                            Static hostname: IoBroker                           Icon name: computer
          Operating System: Debian GNU/Linux 12 (bookworm)
                    Kernel: Linux 6.6.47+rpt-rpi-v8         Architecture: arm64                       
          Model           : Raspberry Pi 4 Model B Rev 1.5
          Docker          : false
          Virtualization  : none
          Kernel          : aarch64
          Userland        : 64 bit                      
          Systemuptime and Load:                         09:24:01 up 11:09,  4 users,  load average: 0.14, 0.09, 0.09                               CPU threads: 4
          
          *** RASPBERRY THROTTLING ***                  Current issues:                               No throttling issues detected.
          
          Previously detected issues:
          No throttling issues detected.
          
          *** Time and Time Zones ***
                         Local time: Thu 2024-09-26 09:24:01 CEST
                     Universal time: Thu 2024-09-26 07:24:01 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':
          piiobr
          HOME=/home/piiobr
          GROUPS=piiobr adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
          
          User that is running 'js-controller':
          js-controller is not running
          
          *** Display-Server-Setup ***
          Display-Server: true
          Desktop:
          Terminal:       tty
          Boot Target:    graphical.target
          
          *** MEMORY ***
                         total        used        free      shared  buff/cache   available
          Mem:            4.0G        400M        2.6G         17M        1.0G        3.6G
          Swap:           209M          0B        209M
          Total:          4.2G        400M        2.8G
          
          Active iob-Instances:   0
          
                   3791 M total memory
                    381 M used memory
                    669 M active memory
                    466 M inactive memory
                   2506 M free memory
                     67 M buffer memory
                    928 M swap cache
                    199 M total swap
                      0 M used swap
                    199 M free swap
          
          *** top - Table Of Processes  ***
          top - 09:24:01 up 11:09,  4 users,  load average: 0.14, 0.09, 0.09
          Tasks: 207 total,   1 running, 206 sleeping,   0 stopped,   0 zombie
          %Cpu(s): 20.0 us, 20.0 sy,  0.0 ni, 60.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
          MiB Mem :   3792.0 total,   2506.7 free,    382.0 used,    995.9 buff/cache
          MiB Swap:    200.0 total,    200.0 free,      0.0 used.   3410.0 avail Mem
          
          *** FAILED SERVICES ***
          
            UNIT LOAD ACTIVE SUB DESCRIPTION
          0 loaded units listed.
          
          *** FILESYSTEM ***
          Filesystem     Type      Size  Used Avail Use% Mounted on
          udev           devtmpfs  1.6G     0  1.6G   0% /dev
          tmpfs          tmpfs     380M  1.4M  378M   1% /run
          /dev/mmcblk0p2 ext4      117G   13G   99G  12% /
          tmpfs          tmpfs     1.9G  352K  1.9G   1% /dev/shm
          tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
          /dev/mmcblk0p1 vfat      510M   76M  435M  15% /boot/firmware
          tmpfs          tmpfs     380M   44K  380M   1% /run/user/1000
          
          Messages concerning ext4 filesystem in dmesg:
          [Wed Sep 25 22:15:01 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=E4:5F:01:B8:A7:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=424e706b-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
          [Wed Sep 25 22:15:04 2024] EXT4-fs (mmcblk0p2): mounted filesystem f6bb7216-cc28-4ec3-86d6-b391f5f31405 ro with ordered data mode. Quota mode: none.
          [Wed Sep 25 22:15:05 2024] EXT4-fs (mmcblk0p2): re-mounted f6bb7216-cc28-4ec3-86d6-b391f5f31405 r/w. Quota mode: none.
          
          Show mounted filesystems:
          TARGET                                                  SOURCE         FSTYPE          OPTIONS
          /                                                       /dev/mmcblk0p2 ext4            rw,noatime,commit=600
          |-/sys                                                  sysfs          sysfs           rw,nosuid,nodev,noexec,relatime
          | |-/sys/kernel/security                                securityfs     securityfs      rw,nosuid,nodev,noexec,relatime
          | |-/sys/fs/cgroup                                      cgroup2        cgroup2         rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot
          | |-/sys/fs/pstore                                      pstore         pstore          rw,nosuid,nodev,noexec,relatime
          | |-/sys/fs/bpf                                         bpf            bpf             rw,nosuid,nodev,noexec,relatime,mode=700
          | |-/sys/kernel/debug                                   debugfs        debugfs         rw,nosuid,nodev,noexec,relatime
          | |-/sys/kernel/tracing                                 tracefs        tracefs         rw,nosuid,nodev,noexec,relatime
          | |-/sys/fs/fuse/connections                            fusectl        fusectl         rw,nosuid,nodev,noexec,relatime
          | `-/sys/kernel/config                                  configfs       configfs        rw,nosuid,nodev,noexec,relatime
          |-/proc                                                 proc           proc            rw,relatime
          | `-/proc/sys/fs/binfmt_misc                            systemd-1      autofs          rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=4471
          |   `-/proc/sys/fs/binfmt_misc                          binfmt_misc    binfmt_misc     rw,nosuid,nodev,noexec,relatime
          |-/dev                                                  udev           devtmpfs        rw,nosuid,relatime,size=1668224k,nr_inodes=417056,mode=755
          | |-/dev/pts                                            devpts         devpts          rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
          | |-/dev/shm                                            tmpfs          tmpfs           rw,nosuid,nodev
          | `-/dev/mqueue                                         mqueue         mqueue          rw,nosuid,nodev,noexec,relatime
          |-/run                                                  tmpfs          tmpfs           rw,nosuid,nodev,noexec,relatime,size=388300k,mode=755
          | |-/run/lock                                           tmpfs          tmpfs           rw,nosuid,nodev,noexec,relatime,size=5120k
          | |-/run/credentials/systemd-sysctl.service             ramfs          ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
          | |-/run/credentials/systemd-sysusers.service           ramfs          ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
          | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs          ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
          | |-/run/rpc_pipefs                                     sunrpc         rpc_pipefs      rw,relatime
          | |-/run/credentials/systemd-tmpfiles-setup.service     ramfs          ramfs           ro,nosuid,nodev,noexec,relatime,mode=700
          | `-/run/user/1000                                      tmpfs          tmpfs           rw,nosuid,nodev,relatime,size=388296k,nr_inodes=97074,mode=700,uid=1000,gid=1000
          |   |-/run/user/1000/gvfs                               gvfsd-fuse     fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000|   `-/run/user/1000/doc                                portal         fuse.portal     rw,nosuid,nodev,relatime,user_id=1000,group_id=1000`-/boot/firmware                                        /dev/mmcblk0p1 vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
          
          Files in neuralgic directories:
          
          /var:
          767M    /var/
          230M    /var/lib
          190M    /var/cache
          174M    /var/cache/apt
          145M    /var/log
          
          Archived and active journals take up 143.9M in the file system.
          
          /opt/iobroker/backups:
          du: cannot access '/opt/iobroker/backups/': No such file or directory
          
          /opt/iobroker/iobroker-data:
          du: cannot access '/opt/iobroker/iobroker-data/': No such file or directory
          
          The five largest files in iobroker-data are:
          find: '/opt/iobroker/iobroker-data': No such file or directory
          
          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'
          
          
          
          
          *** NodeJS-Installation ***
          
          /usr/bin/nodejs         v20.17.0
          /usr/bin/node           v20.17.0
          /usr/bin/npm            10.8.2
          /usr/bin/npx            10.8.2
          /usr/bin/corepack       0.29.3
          
          
          nodejs:
            Installed: 20.17.0-1nodesource1
            Candidate: 20.17.0-1nodesource1
            Version table:
           *** 20.17.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                  100 /var/lib/dpkg/status
               20.16.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.15.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.15.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.14.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.13.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.13.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.2-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.12.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.11.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.11.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.10.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.9.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.8.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.8.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.7.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.6.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.6.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.5.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.5.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.4.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.3.1-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.3.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.2.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.1.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               20.0.0-1nodesource1 1001
                  500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
               18.19.0+dfsg-6~deb12u2 500
                  500 http://deb.debian.org/debian bookworm/main arm64 Packages
               18.19.0+dfsg-6~deb12u1 500
                  500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages
          
          find: '/opt/iobroker/node_modules': No such file or directory
          Temp directories causing npm8 problem: 0
          No problems detected
          
          Errors in npm tree:
          
          *** ioBroker-Installation ***
          
          ioBroker Status
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          
          Core adapters versions
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          js-controller:
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          admin:
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          javascript:
          
          nodejs modules from github:     0
          
          Adapter State
          
          
          Enabled adapters with bindings
          
          ioBroker-Repositories
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          
          Installed ioBroker-Instances
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          
          Objects and States
          Please stand by - This may take a while
          Objects:        0
          States:         0
          
          *** OS-Repositories and Updates ***
          Hit:1 http://deb.debian.org/debian bookworm InRelease
          Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
          Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
          Hit:4 http://archive.raspberrypi.com/debian bookworm 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 0.0.0.0:22              0.0.0.0:*               LISTEN      0          6457       778/sshd: /usr/sbin
          tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          86990      19759/cupsd
          tcp6       0      0 :::22                   :::*                    LISTEN      0          6459       778/sshd: /usr/sbin
          tcp6       0      0 ::1:631                 :::*                    LISTEN      0          86989      19759/cupsd
          udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          90957      19765/cups-browsed
          udp        0      0 0.0.0.0:5353            0.Copy text starting here:                      
          ```                                           ======================= SUMMARY =======================
                                  v.2024-05-22          
           Static hostname: IoBroker                           Icon name: computer                    Operating System: Debian GNU/Linux 12 (bookworm)                                                      Kernel: Linux 6.6.47+rpt-rpi-v8         Architecture: arm64
          
          Installation:           native
          Kernel:                 aarch64
          Userland:               64 bit                Timezone:               Europe/Berlin (CEST, +0200)
          User-ID:                1000
          Display-Server:         true
          Boot Target:            graphical.target
          Pending OS-Updates:     0
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          Pending iob updates:    0
          
          Nodejs-Installation:
          /usr/bin/nodejs         v20.17.0
          /usr/bin/node           v20.17.0
          /usr/bin/npm            10.8.2
          /usr/bin/npx            10.8.2
          /usr/bin/corepack       0.29.3
          
          Recommended versions are nodejs  and npm
          Your nodejs installation is correct
          
          MEMORY:
                         total        used        free      shared  buff/cache   available
          Mem:            4.0G        406M        2.6G         17M        1.0G        3.6G
          Swap:           209M          0B        209M
          Total:          4.2G        406M        2.8G
          
          Active iob-Instances:   0
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          ioBroker Core:          js-controller
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
                                  admin
          
          node:internal/modules/cjs/loader:1228
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
              at Module._load (node:internal/modules/cjs/loader:1051:27)
              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
              at node:internal/main/run_main_module:28:49 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          Node.js v20.17.0
          ioBroker Status:
          
          Status admin and web instance:
          
          Objects:                0
          States:                 0
          
          Size of iob-Database:
          
          find: '/opt/iobroker/iobroker-data': No such file or directory
          find: '/opt/iobroker/iobroker-data': No such file or directory
          
          
          
          =================== END OF SUMMARY ====================
          

          === Mark text until here for copying ===
          piiobr@IoBroker:~ $

          Wie man sehen kann läuft der IoB nach Instalation mit dem skript

          curl -sSLf https://iobroker.net/install.sh | bash -
          

          nicht richtig.
          Über ssh komm ich ja ran aber im Brauser will er nicht.

          What nu?

          schorschi

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @schorschi last edited by

            @schorschi sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

            Display-Server: true

            Kann nicht nach meiner Anleitung gemacht worden sein, denn dann würde kein Display-Server laufen.

            S 1 Reply Last reply Reply Quote 0
            • S
              schorschi @Thomas Braun last edited by

              @thomas-braun

              Hi.

              Welchen Unterschied macht das und wie kann ich den Server loswerden?

              Und das ist der Grund das IoB nicht im Brauser sichtbr ist ?

              schorschi

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @schorschi last edited by Thomas Braun

                @schorschi sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

                Welchen Unterschied macht das und wie kann ich den Server loswerden?

                Das macht den Unterschied, das dann unnötiger Code gar nicht erst läuft.
                Das Zeug kann dann nicht abstürzen, kann keine Sicherheitslücken aufreißen, muss nicht aktualisert werden, erleichtert dist-upgrades, blockiert keine Ressourcen usw.
                Deswegen installiert man Server immer OHNE Desktop.

                Abschalten:

                sudo systemctl set-default multi-user.target
                sudo reboot
                

                Und das ist der Grund das IoB nicht im Brauser sichtbr ist ?

                Das spielt keine Rolle, ob das der Grund ist. Server halt grundsätzlich ohne GUI.

                Nach dem Reboot:

                cd /opt/iobroker
                sudo -H -u iobroker npm install iobroker.js-controller@6.0.11 --omit=dev
                
                S 1 Reply Last reply Reply Quote 0
                • S
                  schorschi @Thomas Braun last edited by schorschi

                  @thomas-braun
                  Nun hab ich Zeit das gemachte zu beschreiben.

                  Ich hab also deine beiden Befehle ausführen lassen und mosquitto neu aufgesetzt. Die Sicherungen zurück gespielt.
                  Leider noch immer das gleiche Bild.

                  MQTT-Client V2.0.0 läuft nur kurz mit 3 grünen Punkten.

                  Mosquitto funktioniert wie gewünscht: Kontolleingaben an die WP werden übermittelt aus der externen APP. Aus IoBroker kommt nichts an.

                  Gibt es eine Möglichkeit eines Adapterdosengrades?

                  *** ioBroker Diagnosis ***
                  
                  ======== Start marking the full check here =========
                  ```bash
                  Skript v.2024-08-12
                  
                  *** BASE SYSTEM ***
                   Static hostname: IoBroker
                         Icon name: computer
                  Operating System: Debian GNU/Linux 12 (bookworm)
                            Kernel: Linux 6.6.47+rpt-rpi-v8
                      Architecture: arm64
                  OS is similar to:
                  
                  Model           : Raspberry Pi 4 Model B Rev 1.5
                  Docker          : false
                  Virtualization  : none
                  Kernel          : aarch64
                  Userland        : 64 bit
                  
                  Systemuptime and Load:
                   18:02:35 up 1 day, 22:15,  4 users,  load average: 0.15, 0.11, 0.09
                  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-09-29 18:02:35 CEST
                             Universal time: Sun 2024-09-29 16:02:35 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':
                  piiobr
                  HOME=/home/piiobr
                  GROUPS=piiobr 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:            4.0G        1.2G        450M        1.5M        2.4G        2.8G
                  Swap:           209M          0B        209M
                  Total:          4.2G        1.2G        660M
                  
                  Active iob-Instances:   10
                  
                           3791 M total memory
                           1132 M used memory
                           1503 M active memory
                           1652 M inactive memory
                            429 M free memory
                             86 M buffer memory
                           2220 M swap cache
                            199 M total swap
                              0 M used swap
                            199 M free swap
                  
                  *** top - Table Of Processes  ***
                  top - 18:02:36 up 1 day, 22:15,  4 users,  load average: 0.15, 0.11, 0.09
                  Tasks: 190 total,   1 running, 189 sleeping,   0 stopped,   0 zombie
                  %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                  MiB Mem :   3792.0 total,    429.4 free,   1132.3 used,   2307.3 buff/cache
                  MiB Swap:    200.0 total,    200.0 free,      0.0 used.   2659.7 avail Mem
                  
                  *** FAILED SERVICES ***
                  
                    UNIT                               LOAD   ACTIVE SUB    DESCRIPTION
                  * NetworkManager-wait-online.service loaded failed failed Network Manager Wait Online
                  
                  LOAD   = Reflects whether the unit definition was properly loaded.
                  ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
                  SUB    = The low-level unit activation state, values depend on unit type.
                  1 loaded units listed.
                  
                  *** FILESYSTEM ***
                  Filesystem     Type      Size  Used Avail Use% Mounted on
                  udev           devtmpfs  1.6G     0  1.6G   0% /dev
                  tmpfs          tmpfs     380M  1.3M  378M   1% /run
                  /dev/mmcblk0p2 ext4      117G   15G   97G  14% /
                  tmpfs          tmpfs     1.9G  8.0K  1.9G   1% /dev/shm
                  tmpfs          tmpfs     5.0M   16K  5.0M   1% /run/lock
                  /dev/mmcblk0p1 vfat      510M   76M  435M  15% /boot/firmware
                  tmpfs          tmpfs     380M   40K  380M   1% /run/user/1000
                  
                  Messages concerning ext4 filesystem in dmesg:
                  [Fri Sep 27 19:46:46 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=E4:5F:01:B8:A7:91 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=424e706b-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
                  [Fri Sep 27 19:46:51 2024] EXT4-fs (mmcblk0p2): mounted filesystem f6bb7216-cc28-4ec3-86d6-b391f5f31405 ro with ordered data mode. Quota mode: none.
                  [Fri Sep 27 19:46:52 2024] EXT4-fs (mmcblk0p2): re-mounted f6bb7216-cc28-4ec3-86d6-b391f5f31405 r/w. Quota mode: none.
                  
                  Show mounted filesystems:
                  TARGET           SOURCE         FSTYPE OPTIONS
                  /                /dev/mmcblk0p2 ext4   rw,noatime,commit=600
                  `-/boot/firmware /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                  
                  Files in neuralgic directories:
                  
                  /var:
                  1.1G    /var/
                  423M    /var/log
                  422M    /var/log/journal/cbe45b0b7de54c63852227e9fea82b62
                  422M    /var/log/journal
                  230M    /var/lib
                  
                  Archived and active journals take up 421.2M in the file system.
                  
                  /opt/iobroker/backups:
                  11M     /opt/iobroker/backups/
                  
                  /opt/iobroker/iobroker-data:
                  588M    /opt/iobroker/iobroker-data/
                  539M    /opt/iobroker/iobroker-data/files
                  441M    /opt/iobroker/iobroker-data/files/javascript.admin
                  409M    /opt/iobroker/iobroker-data/files/javascript.admin/static
                  408M    /opt/iobroker/iobroker-data/files/javascript.admin/static/js
                  
                  The five largest files in iobroker-data are:
                  22M     /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js.map
                  14M     /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.2cca4954.js
                  9.0M    /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.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'
                  
                  
                  
                  
                  *** NodeJS-Installation ***
                  
                  /usr/bin/nodejs         v20.17.0
                  /usr/bin/node           v20.17.0
                  /usr/bin/npm            10.8.2
                  /usr/bin/npx            10.8.2
                  /usr/bin/corepack       0.29.3
                  
                  
                  nodejs:
                    Installed: 20.17.0-1nodesource1
                    Candidate: 20.17.0-1nodesource1
                    Version table:
                   *** 20.17.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                          100 /var/lib/dpkg/status
                       20.16.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.15.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.15.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.14.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.13.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.13.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.12.2-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.12.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.12.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.11.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.11.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.10.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.9.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.8.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.8.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.7.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.6.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.6.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.5.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.5.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.4.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.3.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.3.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.2.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.1.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       20.0.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
                       18.19.0+dfsg-6~deb12u2 500
                          500 http://deb.debian.org/debian bookworm/main arm64 Packages
                       18.19.0+dfsg-6~deb12u1 500
                          500 http://deb.debian.org/debian-security bookworm-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:  6.0.11
                  admin:          7.1.5
                  javascript:     8.7.6
                  
                  nodejs modules from github:     0
                  
                  Adapter State
                  + system.adapter.admin.0                  : admin                 : IoBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.backitup.0               : backitup              : IoBroker                                 -  enabled
                  + system.adapter.discovery.0              : discovery             : IoBroker                                 -  enabled
                  + system.adapter.javascript.0             : javascript            : IoBroker                                 -  enabled
                  + system.adapter.melcloud.0               : melcloud              : IoBroker                                 -  enabled
                  + system.adapter.modbus.0                 : modbus                : IoBroker                                 -  enabled
                  + system.adapter.mqtt-client.0            : mqtt-client           : IoBroker                                 -  enabled, port: 1883
                  + system.adapter.rpi2.0                   : rpi2                  : IoBroker                                 -  enabled
                  + system.adapter.shelly.0                 : shelly                : IoBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                  
                  + instance is alive
                  
                  Enabled adapters with bindings
                  + system.adapter.admin.0                  : admin                 : IoBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  + system.adapter.mqtt-client.0            : mqtt-client           : IoBroker                                 -  enabled, port: 1883
                  + system.adapter.shelly.0                 : shelly                : IoBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                  
                  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    "backitup"     : 3.0.22   , installed 3.0.22
                  Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                  Adapter    "javascript"   : 8.7.6    , installed 8.7.6
                  Controller "js-controller": 6.0.11   , installed 6.0.11
                  Adapter    "melcloud"     : 2.0.2    , installed 2.0.2
                  Adapter    "modbus"       : 6.2.3    , installed 6.2.3
                  Adapter    "mqtt-client"  : 2.0.0    , installed 2.0.0
                  Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                  Adapter    "shelly"       : 7.0.0    , installed 7.0.0
                  
                  Objects and States
                  Please stand by - This may take a while
                  Objects:        792
                  States:         618
                  
                  *** OS-Repositories and Updates ***
                  Hit:1 http://deb.debian.org/debian bookworm InRelease
                  Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
                  Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
                  Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
                  Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
                  Hit:6 https://repo.mosquitto.org/debian bookworm InRelease
                  Reading package lists...
                  Pending Updates: 21
                  
                  *** 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:1882            0.0.0.0:*               LISTEN      1001       308096     22522/io.shelly.0
                  tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      113        595554     54812/mosquitto
                  tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          7435       802/sshd: /usr/sbin
                  tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          788894     76959/cupsd
                  tcp        0      0 0.0.0.0:502             0.0.0.0:*               LISTEN      0          12091      1285/./diagslave
                  tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       306245     21310/iobroker.js-c
                  tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       306250     21310/iobroker.js-c
                  tcp6       0      0 :::8081                 :::*                    LISTEN      1001       723686     69792/io.admin.0
                  tcp6       0      0 :::1883                 :::*                    LISTEN      113        595555     54812/mosquitto
                  tcp6       0      0 :::22                   :::*                    LISTEN      0          7437       802/sshd: /usr/sbin
                  tcp6       0      0 ::1:631                 :::*                    LISTEN      0          788893     76959/cupsd
                  udp        0      0 0.0.0.0:631             0.0.0.0:*                           0          786233     76964/cups-browsed
                  udp        0      0 0.0.0.0:46159           0.0.0.0:*                           104        4032       557/avahi-daemon: r
                  udp        0      0 0.0.0.0:5353            0.0.0.0:*                           104        4030       557/avahi-daemon: r
                  udp6       0      0 :::48965                :::*                                104        4033       557/avahi-daemon: r
                  udp6       0      0 fe80::ff9:5487:4c2c:546 :::*                                0          17371      652/NetworkManager
                  udp6       0      0 :::5353                 :::*                                104        4031       557/avahi-daemon: r
                  
                  *** Log File - Last 25 Lines ***
                  
                  2024-09-29 18:00:00.018  - warn: javascript.0 (22433)     at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/Invocation.js:228:7)
                  2024-09-29 18:00:00.019  - warn: javascript.0 (22433)     at listOnTimeout (node:internal/timers:581:17)
                  2024-09-29 18:00:00.019  - warn: javascript.0 (22433)     at processTimers (node:internal/timers:519:7)
                  2024-09-29 18:00:00.019  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":28,"ack":true,"ts":1718798366442,"q":0,"from":"system.adapter.mqtt-client.0","user":"system.user.admin","lc":1718798226386}
                  2024-09-29 18:00:00.019  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: setForeignState(id=mqtt-client.0.panasonic_heat_pump.commands.SetDemandControl, state={"val":73,"ack":false,"ts":1727625600019,"q":0,"from":"system.adapter.javascript.0","lc":1717578000013,"c":"script.js.ioBroker.Leistung_WP1"})
                  2024-09-29 18:00:00.020  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: setForeignState(id=mqtt-client.0.panasonic_heat_pump.commands.SetQuietMode, state={"val":3,"ack":false,"ts":1727625600020,"q":0,"from":"system.adapter.javascript.0","lc":1717578000014,"c":"script.js.ioBroker.Leistung_WP1"})
                  2024-09-29 18:00:00.020  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: getState(id=mqtt-client.0.panasonic_heat_pump.main.Outside_Temp, timerId=undefined) => {"val":28,"ack":true,"ts":1718798366442,"q":0,"from":"system.adapter.mqtt-client.0","user":"system.user.admin","lc":1718798226386}
                  2024-09-29 18:00:00.021  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: Draussen hats jetzt 28°C
                  2024-09-29 18:00:00.021  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: Demandcontrol steht auf 20%
                  2024-09-29 18:00:00.021  - info: javascript.0 (22433) script.js.ioBroker.Leistung_WP1: QM-Stufe 3
                  2024-09-29 18:00:00.039  - debug: mqtt-client.0 (127189) publishing mqtt-client.0.panasonic_heat_pump.commands.SetDemandControl
                  2024-09-29 18:00:04.461  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:00:04.469  - warn: mqtt-client.0 (127189) client offline
                  2024-09-29 18:00:34.471  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:00:34.480  - warn: mqtt-client.0 (127189) client offline
                  2024-09-29 18:01:04.481  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:01:04.490  - warn: mqtt-client.0 (127189) client offline
                  2024-09-29 18:01:34.490  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:01:34.499  - warn: mqtt-client.0 (127189) client offline
                  2024-09-29 18:02:04.500  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:02:04.508  - warn: mqtt-client.0 (127189) client offline
                  2024-09-29 18:02:34.512  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:02:34.522  - warn: mqtt-client.0 (127189) client offline
                  2024-09-29 18:03:04.523  - debug: mqtt-client.0 (127189) trying to reconnect to broker
                  2024-09-29 18:03:04.530  - warn: mqtt-client.0 (127189) client offline
                  Copy text starting here:
                  
                  ```bash
                  ======================= SUMMARY =======================
                                          v.2024-08-12
                  
                  
                   Static hostname: IoBroker
                         Icon name: computer
                  Operating System: Debian GNU/Linux 12 (bookworm)
                            Kernel: Linux 6.6.47+rpt-rpi-v8
                      Architecture: arm64
                  
                  Installation:           native
                  Kernel:                 aarch64
                  Userland:               64 bit
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                1000
                  Display-Server:         false
                  Boot Target:            multi-user.target
                  
                  Pending OS-Updates:     21
                  Pending iob updates:    0
                  
                  Nodejs-Installation:
                  /usr/bin/nodejs         v20.17.0
                  /usr/bin/node           v20.17.0
                  /usr/bin/npm            10.8.2
                  /usr/bin/npx            10.8.2
                  /usr/bin/corepack       0.29.3
                  
                  Recommended versions are nodejs 20.17.0 and npm 10.8.2
                  Your nodejs installation is correct
                  
                  MEMORY:
                                 total        used        free      shared  buff/cache   available
                  Mem:            4.0G        1.2G        579M        1.5M        2.3G        2.8G
                  Swap:           209M          0B        209M
                  Total:          4.2G        1.2G        789M
                  
                  Active iob-Instances:   10
                  Upgrade policy: none
                  
                  ioBroker Core:          js-controller                                                       6.0.11
                                          admin                                                               7.1.5
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: jsonl
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : IoBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                  
                  Objects:                792
                  States:                 618
                  
                  Size of iob-Database:
                  
                  11M     /opt/iobroker/iobroker-data/objects.jsonl
                  1.3M    /opt/iobroker/iobroker-data/states.jsonl
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  

                  === Mark text until here for copying ===
                  piiobr@IoBroker:~ $

                  Thomas Braun Marc Berg 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @schorschi last edited by Thomas Braun

                    @schorschi
                    Irgendwas stimmt mit dem Netzwerk nicht.

                    systemctl status NetworkManager-wait-online.service 
                    

                    sagt?

                    Pending Updates: 21

                    Updates einspielen...

                    S 1 Reply Last reply Reply Quote 0
                    • Marc Berg
                      Marc Berg Most Active @schorschi last edited by

                      @schorschi sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

                      MQTT-Client V2.0.0 läuft nur kurz mit 3 grünen Punkten.

                      Nur eine Idee: Seit Version 2.0.0 des mqtt-client Adapters wird das Passwort verschlüsselt gepeichert. Es könnte sein, dass Sonderzeichen JETZT ein Problem sind.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        schorschi @Thomas Braun last edited by

                        @thomas-braun sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

                        @schorschi
                        Irgendwas stimmt mit dem Netzwerk nicht.

                        systemctl status NetworkManager-wait-online.service 
                        

                        sagt?

                        NetworkManager-wait-online.service - Networ>     Loaded: loaded (/lib/systemd/system/Netw>     Active: active (exited) since Mon 2024-0>       Docs: man:nm-online(1)                     Process: 767 ExecStart=/usr/bin/nm-online>   Main PID: 767 (code=exited, status=0/SUCCE>        CPU: 82ms                             Sep 30 06:00:30 IoBroker systemd[1]: Starting>Sep 30 06:00:36 IoBroker systemd[1]: Finished 
                        

                        Wenn damit was nicht stimmt hat es auf den übrigen MQTT-Verkehr und den MQTT-Broker der auf dem selben Raspi läuft keine spürbaren Auswirkungen. Ebenso auf den Modbus- Slave-Server auf diesem Raspi.

                        Ich hab zwischenzeitlich selbst raus gefunden wie man Adapter downgradet. Verschiedene Versionen ausprobiert. Keine Verbindung.

                        Ich muß das wieder zum Laufen bringen!
                        Was kann ich weiter versuchen?

                        LG
                        schorschi

                        1 Reply Last reply Reply Quote 0
                        • S
                          schorschi @Marc Berg last edited by schorschi

                          @marc-berg sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

                          @schorschi sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

                          MQTT-Client V2.0.0 läuft nur kurz mit 3 grünen Punkten.

                          Nur eine Idee: Seit Version 2.0.0 des mqtt-client Adapters wird das Passwort verschlüsselt gepeichert. Es könnte sein, dass Sonderzeichen JETZT ein Problem sind.

                          Zahlen und Buchstaben sollten doch gehen? Auch keine Leerzeichen im PWD.

                          schorschi

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            schorschi @schorschi last edited by schorschi

                            Mein Problem besteht weiterhin.
                            Der Mqtt-client published nicht auf Dauer und hat keinen Kontakt zum Mosquitto MQTT-Broker.
                            Der läuft aber problemlos und ich kann auch die entsprechenden Adressen ansprechen wenn ich ein externes Programm dazu nutze.

                            Schorschi,
                            der froh wäre wenn er ein unbeaufsichtigtes System hätte.

                            1 Reply Last reply Reply Quote 0
                            • T
                              TT-Tom last edited by

                              @schorschi
                              Was für Werte werden nicht permanent gesendet?
                              Wie sind die Einstellungen im Adapter und vom Datenpunkt?

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                schorschi @TT-Tom last edited by

                                @tt-tom

                                Hallo Tom.

                                Ich sende( bzw Versuche ich es mittlerweile mit keinem Erfolg mehr) aus einem blockly die benötigte Vorlauftemperatur.
                                Da hatte bis zum Beginn der Sommerpause geklappt.

                                Wie du im Eingangs Post lesen kannst ist das seit einem Update nicht mehr so.
                                Auch der Ansatz das es mir einem verkorksten Update-Verlauf des OS zu tun hat war eine Sackgasse.
                                Das System ist auf aktuellem Stand
                                aufgesetzt.

                                Noch immer steigt nach ein paar Minuten der MQTT-CLIENT Adapter mit dem Unterbruch zum Broker aus.

                                schorschi

                                T haselchen 2 Replies Last reply Reply Quote 0
                                • T
                                  TT-Tom @schorschi last edited by

                                  @schorschi

                                  Versuche doch mal den normalen MQTT Adapter als Client.
                                  Den nutze ich auch mit Mosquitto zusammen. Damit Schaufel ich Daten vom Produktivsystem zum Testsystem und zurück. Mosquitto bekommt von diversen Tasmota Geräten auch noch Daten, die ich mit beiden Iobroker Systemen abhole.

                                  1 Reply Last reply Reply Quote 0
                                  • haselchen
                                    haselchen Most Active @schorschi last edited by

                                    @schorschi

                                    Vermutlich würden auch die Einstellungen im MQTT Server und Client weiterhelfen.
                                    Mit einem : „das geht jetzt auf mal nicht mehr“ kann man nicht helfen.

                                    S 1 Reply Last reply Reply Quote 1
                                    • S
                                      schorschi @haselchen last edited by

                                      @haselchen

                                      Mosquitto läuft mit der Default-Konfiguration 1883 und nur mit PSWD.
                                      etwas anderes hab ich nicht eingestellt.

                                      Screenshot_20241007-090057~2.png

                                      Das ist im MQTT-Client als Grundeinstellung.

                                      Der Datenpunkt wird mit Einstellung 1000020648.png

                                      Published. Unterschiedliche QoS hatte ich auch schon probiert.

                                      Aber eigentlich sehe ich das Problem hier
                                      1000020651.png

                                      Wie schon mehrfach I'm tread geschrieben ist der Adapter nur kurz mit allen 3 Punkten grün.

                                      schorschi

                                      Marc Berg T 2 Replies Last reply Reply Quote 0
                                      • Marc Berg
                                        Marc Berg Most Active @schorschi last edited by

                                        @schorschi sagte in MQTT-Client Nach Update Problen mit Authentifizierung:

                                        Der Datenpunkt wird mit Einstellung 1000020648.png

                                        8fd7ae40-fca8-4be5-a4b8-7dfa37cea924-grafik.png

                                        Die Angabe mehrerer Topics an dieser Stelle ist weder erlaubt noch sinnvoll und wird vom mqtt-client in der Regel mit Fehlermeldungen quittiert, da Kommata im Topic nicht zulässig sind.

                                        Btw: Wenn du schon IP-Adressen schwärzen willst (was für private Adressen Unsinn ist), dann wenigstens konsequent. Dafür wissen wir jetzt, bei welcher Bank du bist.
                                        🤷‍♂️

                                        1 Reply Last reply Reply Quote 2
                                        • T
                                          TT-Tom @schorschi last edited by

                                          @schorschi
                                          Wie @Marc-Berg schon schreibt liegt da dein Fehler. du musst für jeden Datenpunkt, den du zum Broker senden willst separat einstellen.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            schorschi @TT-Tom last edited by

                                            @tt-tom @Marc-Berg

                                            Hallo.

                                            Ich habe gestern Abend alle Datenpunkte durchgegeben. In allen stand eine immergleichen Vielzahl von eigentlich einzelnen topics drin. Viel c&p später alles bereinigt.

                                            Das hatte ich gar nicht gesehen, dass dies automatisch so angelegt wurde.

                                            Jetzt ist das Problem keines mehr. Danke euch!

                                            Dürfte ein Bug sein. Nur aus welchem Grund bzw welchen Verursacher? Ich schätze ja der Versionssprung des MQTT-Clients.

                                            schorschi

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            759
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            mqtt-client 2.0.0
                                            5
                                            20
                                            597
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo