Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Frage zu Umstellung auf Redis

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Frage zu Umstellung auf Redis

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

      @apollon77 Kannst du mir hier weiterhelfen?
      Ich hab heute einen erneuten Versuch gestartet, ist wieder schiefgegangen.
      Master und Slave sind wie oben im Thread eingerichtet (Objects jsonl und States redis)
      Ich habe iob auf Master und Slave gestoppt.
      Ich habe auf dem Master iob setup custom durchgeführt und auch die Objects auf redis ip 0.0.0.0 Port 6379 gestellt.
      Dann hat er eine ganze Weile rumgerödelt, ohne Fehler, danach habe ich den Slave auf objects redis ip 192.168.1.23 Port 6379 umgestellt und dann am Master iob upload all (wurde so am Ende von setup custom vorgeschlagen). Danach Master und Slave gestartet. Im Admin fehlt "fast alles" (Homematic, Unifi, Vis, der Slave etc werden nicht mehr gezeigt)
      b8913327-2f0e-4ed1-8fc0-16e5ca4bbfc5-grafik.png

      Auch die meisten Instanzen fehlen, wenn ich auf den Reiter Instanzen gehe dauert es gefühlt ewig bis er was anzeigt und es kommt die Meldung

      Cannot read compact mode by host "": timeout
      

      d99d0c41-939b-42b2-833f-555c370abfc2-grafik.png

      Ich hab dann iob diag durchlaufen lassen:

      Skript v.2023-10-10
      
      *** BASE SYSTEM ***
       Static hostname: iobroker
             Icon name: computer-container
               Chassis: container ☐
        Virtualization: lxc
      Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.5.13-1-pve
          Architecture: x86-64
      
      model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
      Docker          : false
      Virtualization  : lxc
      Kernel          : x86_64
      Userland        : amd64
      
      Systemuptime and Load:
       17:54:17 up 3 days, 23:21,  2 users,  load average: 0.60, 1.11, 1.04
      CPU threads: 4
      
      
      *** Time and Time Zones ***
                     Local time: Sun 2024-03-10 17:54:17 CET
                 Universal time: Sun 2024-03-10 16:54:17 UTC
                       RTC time: n/a
                      Time zone: Europe/Berlin (CET, +0100)
      System clock synchronized: yes
                    NTP service: inactive
                RTC in local TZ: no
      
      *** User and Groups ***
      andreas
      /home/andreas
      andreas sudo iobroker
      
      *** X-Server-Setup ***
      X-Server:       false
      Desktop: 
      Terminal: 
      Boot Target:    graphical.target
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:             12G        1.6G        9.7G         53K        1.7G         11G
      Swap:           4.3G         61K        4.3G
      Total:           17G        1.6G         13G
      
              12288 M total memory
               1487 M used memory
               1366 M active memory
               1386 M inactive memory
               9217 M free memory
                  0 M buffer memory
               1582 M swap cache
               4096 M total swap
                  0 M used swap
               4095 M free swap
      
      *** FAILED SERVICES ***
      
        UNIT                    LOAD   ACTIVE SUB    DESCRIPTION
      * run-rpc_pipefs.mount    loaded failed failed RPC Pipe File System
      * sys-kernel-config.mount loaded failed failed Kernel Configuration File System
      
      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.
      2 loaded units listed.
      
      *** FILESYSTEM ***
      Filesystem                       Type      Size  Used Avail Use% Mounted on
      /dev/mapper/pve-vm--100--disk--1 ext4      147G   39G  101G  28% /
      none                             tmpfs     492K  4.0K  488K   1% /dev
      udev                             devtmpfs  7.7G     0  7.7G   0% /dev/tty
      tmpfs                            tmpfs     7.8G     0  7.8G   0% /dev/shm
      tmpfs                            tmpfs     3.1G  100K  3.1G   1% /run
      tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
      
      Messages concerning ext4 filesystem in dmesg:
      dmesg: read kernel buffer failed: Operation not permitted
      
      Show mounted filesystems \(real ones only\):
      TARGET SOURCE                           FSTYPE OPTIONS
      /      /dev/mapper/pve-vm--100--disk--1 ext4   rw,relatime,stripe=16
      
      Files in neuralgic directories:
      
      /var:
      2.2G    /var/
      1.3G    /var/cache/apt/archives
      1.3G    /var/cache/apt
      1.3G    /var/cache
      489M    /var/lib
      
      Hint: You are currently not seeing messages from other users and the system.
            Users in groups 'adm', 'systemd-journal' can see all messages.
            Pass -q to turn off this notice.
      Archived and active journals take up 84.2M in the file system.
      
      /opt/iobroker/backups:
      2.4G    /opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      15G     /opt/iobroker/iobroker-data/history
      15G     /opt/iobroker/iobroker-data/
      549M    /opt/iobroker/iobroker-data/files
      167M    /opt/iobroker/iobroker-data/backup-objects
      92M     /opt/iobroker/iobroker-data/files/vis-2-beta
      
      The five largest files in iobroker-data are:
      33M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.1797d034.js.map
      29M     /opt/iobroker/iobroker-data/objects.jsonl
      24M     /opt/iobroker/iobroker-data/files/web.admin/static/js/main.135279a0.js.map
      24M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.2b7495c2.js.map
      24M     /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.2b7495c2.js.map
      
      USB-Devices by-id:
      USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
      
      find: '/dev/serial/by-id/': No such file or directory
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs         v18.19.1
      /usr/bin/node           v18.19.1
      /usr/bin/npm            10.2.4
      /usr/bin/npx            10.2.4
      /usr/bin/corepack       0.22.0
      
      
      nodejs:
        Installed: 18.19.1-1nodesource1
        Candidate: 18.19.1-1nodesource1
        Version table:
       *** 18.19.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           18.19.0+dfsg-6~deb12u1 500
              500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
           18.19.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.18.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.18.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.18.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.17.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.17.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.16.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.16.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.15.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.2-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.13.0+dfsg1-1 500
              500 http://deb.debian.org/debian bookworm/main amd64 Packages
           18.13.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.12.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.11.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.10.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.9.1-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.9.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.8.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.7.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.6.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.5.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.4.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.3.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.2.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.1.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.0.0-1nodesource1 1001
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      Errors in npm tree:
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      At least one iobroker host is running.
      
      Objects type: redis
      States  type: redis
      
      Core adapters versions
      js-controller:  5.0.19
      admin:          6.15.2
      javascript:     7.8.0
      
      Adapters from github:   0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
        system.adapter.alias-manager.0          : alias-manager         : iobroker                                 -  enabled
      + system.adapter.awtrix-light.0           : awtrix-light          : iobroker                                 -  enabled
      + system.adapter.awtrix-light.1           : awtrix-light          : iobroker                                 -  enabled
      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
      + system.adapter.backitup.1               : backitup              : iobroker                                 -  enabled
      + system.adapter.bmw.0                    : bmw                   : iobroker                                 -  enabled
        system.adapter.daswetter.0              : daswetter             : iobroker                                 -  enabled
        system.adapter.device-watcher.0         : device-watcher        : iobroker                                 - disabled
        system.adapter.discovery.0              : discovery             : iobroker                                 - disabled
      + system.adapter.echarts.0                : echarts               : iobroker                                 -  enabled
      + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
        system.adapter.energiefluss.0           : energiefluss          : iobroker                                 - disabled
        system.adapter.feiertage.0              : feiertage             : iobroker                                 -  enabled
        system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
        system.adapter.fullcalendar.0           : fullcalendar          : iobroker                                 -  enabled
        system.adapter.history.0                : history               : iobroker                                 -  enabled
        system.adapter.hm-rega.0                : hm-rega               : iobroker                                 -  enabled
        system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.hm-rpc.2                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.hm-rpc.3                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
        system.adapter.ical.1                   : ical                  : iobroker                                 -  enabled
        system.adapter.ical.2                   : ical                  : iobroker                                 -  enabled
        system.adapter.ical.3                   : ical                  : iobroker                                 -  enabled
        system.adapter.ical.6                   : ical                  : iobroker                                 -  enabled
        system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
        system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
        system.adapter.klf200.0                 : klf200                : iobroker                                 -  enabled
        system.adapter.lgtv.0                   : lgtv                  : iobroker                                 -  enabled
        system.adapter.lgtv.1                   : lgtv                  : iobroker                                 -  enabled
        system.adapter.milight-smart-light.0    : milight-smart-light   : iobroker                                 -  enabled
        system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
        system.adapter.nina.0                   : nina                  : iobroker                                 -  enabled
        system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
        system.adapter.plenticore.0             : plenticore            : iobroker                                 -  enabled, port: 80
        system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
        system.adapter.proxmox.1                : proxmox               : iobroker                                 -  enabled, port: 8006
        system.adapter.proxmox.2                : proxmox               : iobroker                                 -  enabled, port: 8006
        system.adapter.rpi2.0                   : rpi2                  : iostrom                                  -  enabled
        system.adapter.rssfeed.0                : rssfeed               : iobroker                                 -  enabled
        system.adapter.schoolfree.0             : schoolfree            : iobroker                                 -  enabled
        system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
        system.adapter.shuttercontrol.0         : shuttercontrol        : iobroker                                 -  enabled
        system.adapter.smartmeter.0             : smartmeter            : iostrom                                  -  enabled
        system.adapter.snmp.0                   : snmp                  : iobroker                                 -  enabled
        system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
        system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
        system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
        system.adapter.tr-064.0                 : tr-064                : iobroker                                 -  enabled
        system.adapter.tr-064.2                 : tr-064                : iobroker                                 -  enabled
        system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
        system.adapter.unifi.0                  : unifi                 : iobroker                                 -  enabled
        system.adapter.vis-2-beta.0             : vis-2-beta            : iobroker                                 -  enabled
        system.adapter.vis-2-widgets-gauges.0   : vis-2-widgets-gauges  : iobroker                                 -  enabled
        system.adapter.vis-bars.0               : vis-bars              : iobroker                                 - disabled
        system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : iobroker                                 - disabled
        system.adapter.vis-colorpicker.0        : vis-colorpicker       : iobroker                                 - disabled
        system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 - disabled
        system.adapter.vis-icontwo.0            : vis-icontwo           : iobroker                                 -  enabled
        system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
        system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 -  enabled
        system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 - disabled
        system.adapter.vis-map.0                : vis-map               : iobroker                                 - disabled
        system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
        system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
        system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 20002, bind: 0.0.0.0, run as: admin
        system.adapter.wifilight.0              : wifilight             : iobroker                                 -  enabled
        system.adapter.wolf.0                   : wolf                  : iobroker                                 -  enabled, port: 12004, bind: 0.0.0.0
        system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyUSB0
        system.adapter.zigbee.2                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.1.224:1053
      
      + 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.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.hm-rpc.1                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.hm-rpc.2                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.hm-rpc.3                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
        system.adapter.plenticore.0             : plenticore            : iobroker                                 -  enabled, port: 80
        system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
        system.adapter.proxmox.1                : proxmox               : iobroker                                 -  enabled, port: 8006
        system.adapter.proxmox.2                : proxmox               : iobroker                                 -  enabled, port: 8006
        system.adapter.shelly.0                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
        system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
        system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
        system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
        system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 20002, bind: 0.0.0.0, run as: admin
        system.adapter.wolf.0                   : wolf                  : iobroker                                 -  enabled, port: 12004, bind: 0.0.0.0
        system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyUSB0
        system.adapter.zigbee.2                 : zigbee                : iobroker                                 -  enabled, port: tcp://192.168.1.224:1053
      
      ioBroker-Repositories
      stable        : http://download.iobroker.net/sources-dist.json
      beta          : http://download.iobroker.net/sources-dist-latest.json
      
      Active repo(s): beta
      
      Installed ioBroker-Instances
      Used repository: beta
      Cannot download repository hash file from "http://download.iobroker.net/sources-dist-latest-hash.json": timeout of 10000ms exceeded
      Adapter    "admin"        : 6.15.2   , installed 6.15.2
      Adapter    "alexa2"       : 3.26.4   , installed 3.26.4
      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
      Adapter    "awtrix-light" : 0.15.0   , installed 0.15.0
      Adapter    "backitup"     : 2.11.0   , installed 2.11.0
      Adapter    "bmw"          : 2.8.0    , installed 2.8.0
      Adapter    "daswetter"    : 3.1.13   , installed 3.1.13
      Adapter    "device-watcher": 2.10.5  , installed 2.10.5
      Adapter    "discovery"    : 4.4.0    , installed 4.4.0
      Adapter    "echarts"      : 1.7.2    , installed 1.7.2
      Adapter    "email"        : 1.2.2    , installed 1.2.2
      Adapter    "energiefluss" : 3.6.0    , installed 3.6.0
      Adapter    "feiertage"    : 1.1.4    , installed 1.1.4
      Adapter    "flot"         : 1.12.0   , installed 1.12.0
      Adapter    "fullcalendar" : 2.3.4    , installed 2.3.4
      Adapter    "history"      : 3.0.1    , installed 3.0.1
      Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
      Adapter    "hm-rpc"       : 1.16.1   , installed 1.16.1
      Adapter    "ical"         : 1.14.3   , installed 1.14.3
      Adapter    "iot"          : 2.0.11   , installed 2.0.11
      Adapter    "javascript"   : 7.8.0    , installed 7.8.0
      Controller "js-controller": 5.0.19   , installed 5.0.19
      Adapter    "klf200"       : 1.2.0    , installed 1.2.0
      Adapter    "lgtv"         : 2.1.2    , installed 2.1.2
      Adapter    "milight-smart-light": 1.2.2, installed 1.2.2
      Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
      Adapter    "nina"         : 0.0.26   , installed 0.0.26
      Adapter    "ping"         : 1.6.2    , installed 1.6.2
      Adapter    "plenticore"   : 2.3.1    , installed 2.3.1
      Adapter    "proxmox"      : 2.2.3    , installed 2.2.3
      Adapter    "rssfeed"      : 2.8.1    , installed 2.8.1
      Adapter    "schoolfree"   : 1.1.4    , installed 1.1.4
      Adapter    "shelly"       : 6.8.0    , installed 6.8.0
      Adapter    "shuttercontrol": 1.7.0   , installed 1.7.0
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "snmp"         : 3.1.0    , installed 3.1.0
      Adapter    "socketio"     : 6.6.1    , installed 6.6.1
      Adapter    "sonoff"       : 3.0.3    , installed 3.0.3
      Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
      Adapter    "telegram"     : 3.1.0    , installed 3.1.0
      Adapter    "tr-064"       : 4.2.18   , installed 4.2.18
      Adapter    "trashschedule": 3.2.0    , installed 3.2.0
      Adapter    "unifi"        : 0.6.7    , installed 0.6.7
      Adapter    "vis"          : 1.5.4    , installed 1.5.4
      Adapter    "vis-2-widgets-gauges": 1.0.2, installed 1.0.2
      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
      Adapter    "vis-canvas-gauges": 1.0.1, installed 1.0.1
      Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
      Adapter    "vis-hqwidgets": 1.5.1    , installed 1.5.1
      Adapter    "vis-icontwo"  : 1.5.0    , installed 1.5.0
      Adapter    "vis-inventwo" : 3.3.4    , installed 3.3.4
      Adapter    "vis-jqui-mfd" : 1.1.1    , installed 1.1.1
      Adapter    "vis-justgage" : 2.1.7    , installed 2.1.7
      Adapter    "vis-map"      : 1.1.0    , installed 1.1.0
      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
      Adapter    "web"          : 6.2.5    , installed 6.2.5
      Adapter    "wifilight"    : 1.1.4    , installed 1.1.4
      Adapter    "wolf"         : 1.7.0    , installed 1.7.0
      Adapter    "ws"           : 2.5.11   , installed 2.5.11
      Adapter    "zigbee"       : 1.10.2   , installed 1.10.2
      
      Objects and States
      Please stand by - This may take a while
      Objects:        40342
      States:         32552
      
      *** OS-Repositories and Updates ***
      Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
      Hit:2 http://deb.debian.org/debian bookworm InRelease
      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
      Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
      Reading package lists...
      Pending Updates: 0
      
      *** Listening Ports ***
      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          9211040    1/init              
      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          9211250    293/master          
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          9209464    170/sshd: /usr/sbin 
      tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      109        9211206    117/redis-server 0. 
      tcp6       0      0 :::111                  :::*                    LISTEN      0          9211042    1/init              
      tcp6       0      0 :::22                   :::*                    LISTEN      0          9209466    170/sshd: /usr/sbin 
      tcp6       0      0 ::1:6379                :::*                    LISTEN      109        9211207    117/redis-server 0. 
      tcp6       0      0 ::1:25                  :::*                    LISTEN      0          9211251    293/master          
      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       21851831   129048/io.admin.0   
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          9211041    1/init              
      udp6       0      0 :::111                  :::*                                0          9211043    1/init              
      
      *** Log File - Last 25 Lines ***
      
      2024-03-10 17:51:03.343  - info: alexa2.0 (129206) starting. Version 3.26.4 in /opt/iobroker/node_modules/iobroker.alexa2, node: v18.19.1, js-controller: 5.0.19
      2024-03-10 17:51:03.396  - info: alexa2.0 (129206) Starting Alexa2 adapter ... it can take several minutes to initialize all data. Please be patient! A done message is logged.
      2024-03-10 17:51:05.220  - info: bmw.0 (129150) Start getting bmw vehicles
      2024-03-10 17:51:05.680  - info: bmw.0 (129150) Found 1 bmw vehicles
      2024-03-10 17:51:12.184  - info: admin.0 (129048) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
      2024-03-10 17:51:12.438  - info: admin.0 (129048) ==> Connected system.user.admin from ::ffff:192.168.1.3
      2024-03-10 17:51:12.849  - info: admin.0 (129048) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
      2024-03-10 17:51:13.357  - info: admin.0 (129048) ==> Connected system.user.admin from ::ffff:192.168.1.3
      2024-03-10 17:51:14.711  - error: host.iobroker No adapter name is specified for readBaseSettings command from  system.adapter.admin.0
      2024-03-10 17:51:18.359  - info: daswetter.0 (129135) still wrong data structure from server received! repaired...
      2024-03-10 17:51:23.103  - info: daswetter.0 (129135) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
      2024-03-10 17:51:23.612  - info: daswetter.0 (129135) cleaned everything up...
      2024-03-10 17:51:23.983  - info: host.iobroker instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
      2024-03-10 17:51:25.761  - info: bmw.0 (129150) No charging session available. Ignore WBA31BL070WY06090 until restart
      2024-03-10 17:51:26.985  - info: alexa2.0 (129206) Initialize all Device states ...
      2024-03-10 17:51:35.848  - info: bmw.0 (129150) No charging session available. Ignore WBA31BL070WY06090 until restart
      2024-03-10 17:51:45.927  - warn: bmw.0 (129150) Out of call volume quota. Quota will be replenished in 00:08:15.
      2024-03-10 17:52:04.090  - info: alexa2.0 (129206) No smart home devices to query
      2024-03-10 17:52:04.946  - info: alexa2.0 (129206) Subscribing to states...
      2024-03-10 17:52:06.906  - info: alexa2.0 (129206) Alexa-Push-Connection (macDms = true) established. Disable Polling
      2024-03-10 17:52:17.178  - info: alexa2.0 (129206) Initialization Done ...
      2024-03-10 17:52:17.955  - info: admin.0 (129048) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
      2024-03-10 17:52:18.012  - info: admin.0 (129048) ==> Connected system.user.admin from ::ffff:192.168.1.3
      2024-03-10 17:52:18.039  - info: admin.0 (129048) <== Disconnect system.user.admin from ::ffff:192.168.1.3 admin
      2024-03-10 17:52:18.575  - info: admin.0 (129048) ==> Connected system.user.admin from ::ffff:192.168.1.3
      
      
      ============ Mark until here for C&P =============
      
      iob diag has finished.
      
      
      Press any key for a summary
      
      ======================= SUMMARY =======================
                              v.2023-10-10
      
      
       Static hostname: iobroker
             Icon name: computer-container
               Chassis: container ☐
        Virtualization: lxc
      Operating System: Debian GNU/Linux 12 (bookworm)
                Kernel: Linux 6.5.13-1-pve
          Architecture: x86-64
      
      Installation:           lxc
      Kernel:                 x86_64
      Userland:               amd64
      Timezone:               Europe/Berlin (CET, +0100)
      User-ID:                1000
      X-Server:               false
      Boot Target:            graphical.target
      
      Pending OS-Updates:     0
      

      Irgendeine Idee, was hier schiefgelaufen ist?
      Bin im Beta Repository, alle Adapter sind up-to-date
      node.js 18.19.1, npm 10.2.4 js-controller 5.0.19 auf beiden Maschinen (Master ist ein Container unter proxmox und Slave ein Raspi 3b)

      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @amg_666 last edited by

        @amg_666 sagte in Frage zu Umstellung auf Redis:

        0.0.0.0

        Warum? Du solltest da schon die IP und Port des Redis eingeben bei ioBroker wenn das auch Redis zeigen soll

        amg_666 1 Reply Last reply Reply Quote 0
        • amg_666
          amg_666 @apollon77 last edited by

          @apollon77 sagte in Frage zu Umstellung auf Redis:

          im Moment läuft redis noch auf dem gleichen Gerät wie iobroker Master, deshalb habe ich da 0.0.0.0 eingegeben damit der Salve sich da auch drauf connecten kann. Wenn ich redis für states und objets am Laufen habe, würde ich auf einen getrennten redis Server umstellen,

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @amg_666 last edited by

            @amg_666 sagte in Frage zu Umstellung auf Redis:

            deshalb habe ich da 0.0.0.0 eingegeben damit der Salve sich da auch drauf connecten kann.

            in der .conf muss das rein.
            in setup custom muss die IP des Masters rein

            amg_666 1 Reply Last reply Reply Quote 0
            • amg_666
              amg_666 @Homoran last edited by amg_666

              @homoran sagte in Frage zu Umstellung auf Redis:

              in der .conf muss das rein.

              ich steh grad auf dem Schlauch, welche config meinst du?

              Homoran Meister Mopper 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @amg_666 last edited by

                @amg_666 sagte in Frage zu Umstellung auf Redis:

                @homoran sagte in Frage zu Umstellung auf Redis:

                in der .conf muss das rein.

                ich steh grad auf dem Schlauch, welche config meinst du?

                die redis.conf

                1 Reply Last reply Reply Quote 0
                • Meister Mopper
                  Meister Mopper @amg_666 last edited by

                  @amg_666 sagte in Frage zu Umstellung auf Redis:

                  ich steh grad auf dem Schlauch

                  Hast du das mal durchgearbeitet?

                  amg_666 1 Reply Last reply Reply Quote 1
                  • amg_666
                    amg_666 @Meister Mopper last edited by

                    @meister-mopper ja, nach der Anleitung bin ich vorgegangen und da steht
                    "Falls auch andere Hosts auf diesen Redis-Server zugreifen sollen (Slaves oder so), dann muss dies noch erlaubt werden. Dazu muss /etc/redis/redis.conf editiert werden und die Zeile bind 127.0.0.1 zu bind 0.0.0.0 geändert werden und direkt darunter der protected_mode auf no gesetzt werden." und das hab ich auch so in der redis.conf gesetzt:

                    bind 0.0.0.0 ::1
                    
                    Homoran W 2 Replies Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @amg_666 last edited by

                      @amg_666 sagte in Frage zu Umstellung auf Redis:

                      das hab ich auch so in der redis.conf gesetzt:

                      dann ist das ok, aber in iob setup custom musst du die IP des Masters auf dem Redis läuft eingeben und nicht 0.0.0.0

                      Meister Mopper 1 Reply Last reply Reply Quote 0
                      • W
                        Wildbill @amg_666 last edited by Wildbill

                        @amg_666 Hast Du redis nach der Änderung auch mal neu gestartet? Vorher wird die Änderung eh nicht wirksam. Am Besten neu Booten (sauber per sudo reboot) dann läuft das automatisch.

                        Gruss, Jürgen

                        EDIT: Ansonsten gilt das bereits Gesagte. Bei iob setup custom darf keine 0.0.0.0 rein, sondern die IP, wo redis läuft (wenn zusammen mit iobroker, dann dessen IP). Und das sowohl auf dem master als auch slave.

                        1 Reply Last reply Reply Quote 0
                        • Meister Mopper
                          Meister Mopper @Homoran last edited by Meister Mopper

                          @amg_666
                          @homoran sagte in Frage zu Umstellung auf Redis:

                          dann ist das ok, aber in iob setup custom musst du die IP des Masters auf dem Redis läuft eingeben und nicht 0.0.0.0

                          Genau, und da gehört dann, wenn redis auf demselben host läuft wie der ioBroker, die 127.0.0.1 hin, ansonsten ggf. die IP eines extern genutzten redis Servers.

                          Homoran 1 Reply Last reply Reply Quote 1
                          • Homoran
                            Homoran Global Moderator Administrators @Meister Mopper last edited by

                            @meister-mopper sagte in Frage zu Umstellung auf Redis:

                            wenn redis auf demselben host läuft wie der ioBroker, die 127.0.0.1 hin,

                            genau!
                            Also muss @amg_666 bei iob setup custom auf dem Master 127.0.0.1 und auf dem Slave die IP des Masters eingeben

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

                              @homoran sagte in Frage zu Umstellung auf Redis:

                              genau!
                              Also muss @amg_666 bei iob setup custom auf dem Master 127.0.0.1 und auf dem Slave die IP des Masters eingeben

                              Man muss aber auch sagen, dass es so (0.0.0.0) in der Doku steht:

                              https://www.iobroker.net/#de/documentation/config/multihost.md

                                Type of objects DB [(f)ile, (c)ouch, (r)edis], default [file]: f
                                Host / Unix Socket of objects DB(file), default[0.0.0.0]:
                                Port of objects DB(file), default[9001]:
                                Type of states DB [(f)file, (r)edis], default [file]: r
                                Host / Unix Socket of states DB (redis), default[127.0.0.1]: 0.0.0.0
                                Port of states DB (redis), default[6379]:
                                Data directory (file), default[../../../iobroker-data/]: /opt/iobroker/iobroker-data/
                                Host name of this machine [ioBroker-RasPi]:
                              
                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @Marc Berg last edited by Homoran

                                @marc-berg sagte in Frage zu Umstellung auf Redis:

                                dass es so (0.0.0.0) in der Doku steht:

                                Menno 😡
                                Dann bin ich jetzt aber echt verwirrt 😕

                                Die Doku stammt noch von mir (denke ich).
                                Ist dann aber fast 10 Jahre alt. Da kann ich mich nicht mehr genau dran erinnern warum das so drin steht.

                                Der Kalk hat auch eher zu- statt abgenommen.

                                muss mich mal wieder reindenken.

                                EDIT:
                                Nee, das ist nicht mehr meine Version 😁
                                Heisst nicht, dass ich nicht 0.0.0.0 drin hatte.

                                amg_666 1 Reply Last reply Reply Quote 0
                                • amg_666
                                  amg_666 @Homoran last edited by

                                  @homoran Du bist entschuldigt 🙂 Die Doku ist von @apollon77 .
                                  Ich hab jetzt erstmal auf dem Master die custom für die states auf die richtige IP Adresse gestellt, das läuft seit 2 Stunden stabil.
                                  Heute abend mache ich einen neuen Anlauf und stelle mal redis komplett um, Ergebnis kommt dann noch.

                                  amg_666 apollon77 2 Replies Last reply Reply Quote 0
                                  • amg_666
                                    amg_666 @amg_666 last edited by

                                    Das hat wieder nicht geklappt.

                                    1. slave gestoppt
                                    2. master gestoppt
                                    3. iob setup custom auf slave und da objects und states auf redis mit ip des masters eingestellt
                                    4. iob setup custom auf master und da beides auf ip 127,0,0,1 gestellt
                                    Current configuration:
                                    - Objects database:
                                      - Type: redis
                                      - Host/Unix Socket: 127.0.0.1
                                      - Port: 6379
                                    - States database:
                                      - Type: redis
                                      - Host/Unix Socket: 127.0.0.1
                                      - Port: 6379
                                    
                                    

                                    Dann hat er ewig rumgerödlet, adapter neu initialisiert etc das lief fehlerfrei durch und ich sollte "iob upload all" machen, nachdem alle slaves laufen.
                                    Also
                                    5. Slave gestartet (iob start)
                                    6. auf master "iob upload all" eingegeben, das hat wieder ewig gedauert, jede Menge Adapter neu initialisiert, alles fehlerfrei. Dann
                                    7. iob auf master gestartet

                                    Es ist dasselbe Ergebnis wie ganz oben im Thread. iob startet, aber es sind so gut wie keine Adapter mehr im Admin sichtbar und nur ein paar Instanzen.
                                    Das log im Admin sieht wie folgt aus

                                    host.iostrom	2024-03-12 23:18:47.968	error	No adapter name is specified for readBaseSettings command from system.adapter.admin.0
                                    host.iostrom	2024-03-12 23:16:36.959	error	No adapter name is specified for readBaseSettings command from system.adapter.admin.0
                                    host.iostrom	2024-03-12 23:15:56.632	error	No adapter name is specified for readBaseSettings command from system.adapter.admin.0
                                    host.iostrom	2024-03-12 23:13:59.216	error	No adapter name is specified for readBaseSettings command from system.adapter.admin.0
                                    host.iostrom	2024-03-12 23:08:42.338	warn	does not start any instances on this host
                                    host.iostrom	2024-03-12 23:08:42.315	info	14 instances found
                                    host.iostrom	2024-03-12 23:08:40.589	info	added notifications configuration of host
                                    host.iostrom	2024-03-12 23:08:40.531	info	connected to Objects and States
                                    host.iostrom	2024-03-12 23:08:39.116	info	ip addresses: 192.168.1.16 fe80::9c4:1195:f2a7:2fcc
                                    host.iostrom	2024-03-12 23:08:39.112	info	hostname: iostrom, node: v18.19.1
                                    host.iostrom	2024-03-12 23:08:39.110	info	Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
                                    host.iostrom	2024-03-12 23:08:39.098	info	iobroker.js-controller version 5.0.19 js-controller starting
                                    host.iostrom	2024-03-12 23:04:11.061	info	terminated
                                    host.iostrom	2024-03-12 23:04:11.036	info	All instances are stopped.
                                    host.iostrom	2024-03-12 23:04:11.034	info	instance system.adapter.smartmeter.0 terminated with code 0 (NO_ERROR)
                                    host.iostrom	2024-03-12 23:04:10.837	info	instance system.adapter.rpi2.0 terminated with code 0 (NO_ERROR)
                                    host.iostrom	2024-03-12 23:04:10.836	error	Caught by controller[3]: cat: /sys/class/net/eth0/statistics/tx_bytes: Datei oder Verzeichnis nicht gefunden
                                    host.iostrom	2024-03-12 23:04:10.836	error	Caught by controller[2]: cat: /sys/class/net/eth0/statistics/rx_bytes: Datei oder Verzeichnis nicht gefunden
                                    host.iostrom	2024-03-12 23:04:10.835	error	Caught by controller[1]: cat: /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq: Keine Berechtigung
                                    smartmeter.0	2024-03-12 23:04:10.138	info	terminating
                                    smartmeter.0	2024-03-12 23:04:09.642	info	Terminated (NO_ERROR): Without reason
                                    smartmeter.0	2024-03-12 23:04:09.640	info	terminating
                                    smartmeter.0	2024-03-12 23:04:09.636	info	Got terminate signal TERMINATE_YOURSELF
                                    host.iostrom	2024-03-12 23:04:09.634	info	stopInstance system.adapter.smartmeter.0 send kill signal
                                    host.iostrom	2024-03-12 23:04:09.631	info	stopInstance system.adapter.rpi2.0 send kill signal
                                    host.iostrom	2024-03-12 23:04:09.622	info	stopInstance system.adapter.smartmeter.0 (force=false, process=true)
                                    host.iostrom	2024-03-12 23:04:09.621	info	stopInstance system.adapter.rpi2.0 (force=false, process=true)
                                    host.iostrom	2024-03-12 23:04:09.614	info	received SIGTERM
                                    
                                    

                                    Das sind alles Infos/Fehler vom Slave, vom Master sehe ich nix. Ich kann auch im Admin nicht den Host ändern, weil der den Slave nicht kennt (obwohl der im Log Einträge macht).

                                    Hat hier jemand eine Idee, was hier falsch läuft (oder ehrlicherweise was ich falsch gemacht habe 🙂 )?

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @amg_666 last edited by

                                      @amg_666 Wo bitte steht in meiner Doku das du im iobroker 0.0.0.0 eintragen sollst? Das würde ich gern sehen 🙂

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @amg_666 last edited by

                                        @amg_666 Ok langsam ... Du hast einen Master und einen Slave ... und hast zuerst den Slave auf Redis umgestellt? Das klingt nicht so sinnvoll bzw ... falsch.

                                        Also am besten alles zurück auf JSONL und schauen das beides läuft.

                                        Dann Slave stoppen.
                                        Dann master per setup custom auf redis umstellen und darüber die Migration machen
                                        Dann master starten und schauen das das alles tut wie es soll.
                                        DANN slave umstellen und an sich dort migration verneinen (sollte dort auch genau so vorgeschlagen werden)
                                        Dann ggf noch ein ioob upload all
                                        Dann slave starten

                                        amg_666 1 Reply Last reply Reply Quote 1
                                        • Homoran
                                          Homoran Global Moderator Administrators @apollon77 last edited by

                                          @apollon77 sagte in Frage zu Umstellung auf Redis:

                                          @amg_666 Wo bitte steht in meiner Doku das du im iobroker 0.0.0.0 eintragen sollst? Das würde ich gern sehen 🙂

                                          ist das von dir?
                                          Screenshot_20240313-083830_Firefox.jpg

                                          Sieht nach meinem Grundgerüst von 1884 aus. ist aber modifiziert

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @Homoran last edited by

                                            @homoran nee eher nicht von mir und ja sollte man bitte fixen

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

                                            Support us

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

                                            570
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            40
                                            1575
                                            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