Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob diag - Skript

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Glasfaser last edited by

      @glasfaser
      Ziehst du das nochmal?
      Und kannst du auch mal die Langfassung wie auch die Summary posten?

      1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser last edited by Glasfaser

        @thomas-braun

        EDIT


        EDIT

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

          @glasfaser

          Passt also.
          Was ich aber immer noch nicht verstanden habe: Wenn es einen user mit der uid=1000 gibt (wird der 'iobroker' sein), warum kann es keinen user 'glasfaser' mit uid=1001 im docker geben?

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

            @thomas-braun sagte in iob diag - Skript:

            Wenn es einen user mit der uid=1000 gibt

            ist doch schon ein non-root-user

            https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15

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

              @glasfaser

              Ja mir wird immer erzählt das ginge nicht mit einem standard user und man müsse da immer als root herumgeistern.

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

                @thomas-braun sagte in iob diag - Skript:

                Ja mir wird immer erzählt das ginge nicht mit einem standard user

                Das Docker Image ist im Default auf 1000 SETGID und SETUID

                siehe auch hier :

                https://hub.docker.com/r/buanet/iobroker/dockerfile

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

                  @glasfaser
                  Und einen weiteren user gibt der host nicht her?

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

                    @thomas-braun sagte in iob diag - Skript:

                    Und einen weiteren user gibt der host nicht her?

                    Soweit habe ich mich nicht damit befaßt ...

                    SETGID (default: 1000) In some cases it might be useful to specify the gid of the containers iobroker user to match an existing group on the docker host
                    SETUID (default: 1000) In some cases it might be useful to specify the uid of the containers iobroker user to match an existing user on the docker host
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Glasfaser last edited by

                      Der Docker ist jetzt beim Onkel Do(c)ktor gewesen, wie schaut es denn bei Proxmox/LXC aus? Läuft da das skript durch?

                      M Negalein 2 Replies Last reply Reply Quote 0
                      • M
                        mrjeschke @Thomas Braun last edited by

                        @thomas-braun
                        LXC sieht bei mir so aus.
                        Teil 1

                        Skript v.2023-04-04
                        
                        *** BASE SYSTEM ***
                        Architecture    : x86_64
                        Docker          : false
                        Virtualization  : lxc
                        Distributor ID: Debian
                        Description:    Debian GNU/Linux 11 (bullseye)
                        Release:        11
                        Codename:       bullseye
                        
                        PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
                        NAME="Debian GNU/Linux"
                        VERSION_ID="11"
                        VERSION="11 (bullseye)"
                        VERSION_CODENAME=bullseye
                        ID=debian
                        HOME_URL="https://www.debian.org/"
                        SUPPORT_URL="https://www.debian.org/support"
                        BUG_REPORT_URL="https://bugs.debian.org/"
                        
                        Systemuptime and Load:
                        22:16:48 up  6:24,  1 user,  load average: 0.68, 0.50, 0.51
                        CPU threads: 2
                        
                        *** Time and Time Zones ***
                                      Local time: Tue 2023-04-04 22:16:48 CEST
                                  Universal time: Tue 2023-04-04 20:16:48 UTC
                                        RTC time: n/a
                                       Time zone: Europe/Berlin (CEST, +0200)
                        System clock synchronized: yes
                                     NTP service: inactive
                                 RTC in local TZ: no
                        
                        *** User and Groups ***
                        maik
                        /home/maik
                        maik sudo iobroker
                        
                        *** X-Server-Setup ***
                        X-Server:       false
                        Desktop:
                        Terminal:       tty
                        Boot Target:    graphical.target
                        
                        *** MEMORY ***
                                      total        used        free      shared  buff/cache   available
                        Mem:            8.2G        3.8G        3.7G        0.0K        708M        4.4G
                        Swap:           512M          0B        512M
                        Total:          8.7G        3.8G        4.2G
                        
                                8192 M total memory
                                3789 M used memory
                                 317 M active memory
                                3942 M inactive memory
                                3693 M free memory
                                   0 M buffer memory
                                 708 M swap cache
                                 512 M total swap
                                   0 M used swap
                                 512 M free swap
                        
                        *** FILESYSTEM ***
                        Filesystem                       Type      Size  Used Avail Use% Mounted on
                        /dev/mapper/pve-vm--181--disk--0 ext4       24G   13G  9.9G  56% /
                        none                             tmpfs     492K  4.0K  488K   1% /dev
                        udev                             devtmpfs  7.8G     0  7.8G   0% /dev/tty
                        tmpfs                            tmpfs     7.8G     0  7.8G   0% /dev/shm
                        tmpfs                            tmpfs     3.2G  120K  3.2G   1% /run
                        tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
                        tmpfs                            tmpfs     1.6G     0  1.6G   0% /run/user/1002
                        
                        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--181--disk--0 ext4   rw,relatime,stripe=16
                        
                        Files in neuralgic directories:
                        
                        /var:
                        2.1G    /var/
                        1.8G    /var/log
                        1.7G    /var/log/journal/868e9388609f44c0bd45afa85cfd0401
                        1.7G    /var/log/journal
                        222M    /var/cache
                        
                        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 72.0M in the file system.
                        
                        /opt/iobroker/backups:
                        2.5G    /opt/iobroker/backups/
                        
                        /opt/iobroker/iobroker-data:
                        du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/btble/.piolibdeps/btble/AsyncTCP-esphome': Permission denied
                        du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/btble/.piolibdeps/btble/ESPAsyncWebServer-esphome': Permission denied
                        du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/btble/.piolibdeps/btble/ESPAsyncTCP-esphome': Permission denied
                        du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.piolibdeps/esphome-web-350e5c/AsyncTCP-esphome': Permission denied
                        du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.piolibdeps/esphome-web-350e5c/ESPAsyncWebServer-esphome': Permission denied
                        du: cannot read directory '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.piolibdeps/esphome-web-350e5c/ESPAsyncTCP-esphome': Permission denied
                        1.5G    /opt/iobroker/iobroker-data/
                        739M    /opt/iobroker/iobroker-data/esphome.0
                        738M    /opt/iobroker/iobroker-data/esphome.0/.esphome
                        736M    /opt/iobroker/iobroker-data/esphome.0/.esphome/build
                        645M    /opt/iobroker/iobroker-data/files
                        
                        The five largest files in iobroker-data are:
                        find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/btble/.piolibdeps/btble/AsyncTCP-esphome': Permission denied
                        find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/btble/.piolibdeps/btble/ESPAsyncWebServer-esphome': Permission denied
                        find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/btble/.piolibdeps/btble/ESPAsyncTCP-esphome': Permission denied
                        find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.piolibdeps/esphome-web-350e5c/AsyncTCP-esphome': Permission denied
                        find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.piolibdeps/esphome-web-350e5c/ESPAsyncWebServer-esphome': Permission denied
                        find: '/opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.piolibdeps/esphome-web-350e5c/ESPAsyncTCP-esphome': Permission denied
                        41M     /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js.map
                        33M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map
                        24M     /opt/iobroker/iobroker-data/esphome.0/.esphome/build/ir-remote/.pioenvs/ir-remote/libFrameworkArduino.a
                        24M     /opt/iobroker/iobroker-data/esphome.0/.esphome/build/gls10/.pioenvs/gls10/libFrameworkArduino.a
                        24M     /opt/iobroker/iobroker-data/esphome.0/.esphome/build/esphome-web-350e5c/.pioenvs/esphome-web-350e5c/libFrameworkArduino.a
                        
                        *** NodeJS-Installation ***
                        
                        /usr/bin/nodejs         v18.15.0
                        /usr/bin/node           v18.15.0
                        /usr/bin/npm            9.5.0
                        /usr/bin/npx            9.5.0
                        
                        nodejs:
                         Installed: 18.15.0-deb-1nodesource1
                         Candidate: 18.15.0-deb-1nodesource1
                         Version table:
                        *** 18.15.0-deb-1nodesource1 500
                               500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages
                               100 /var/lib/dpkg/status
                            12.22.12~dfsg-1~deb11u3 500
                               500 http://security.debian.org bullseye-security/main amd64 Packages
                            12.22.5~dfsg-2~11u1 500
                               500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                        
                        Temp directories causing npm8 problem: 0
                        No problems detected
                        
                        *** ioBroker-Installation ***
                        
                        ioBroker Status
                        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Core adapters versions
                        js-controller:  4.0.24
                        admin:          6.4.3
                        javascript:     7.0.3
                        
                        Adapters from github:   3
                        
                        Adapter State
                        + system.adapter.accuweather.0            : accuweather           : iobroker                                 -  enabled
                        + 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                                 - disabled
                        + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                         system.adapter.birthdays.0              : birthdays             : iobroker                                 -  enabled
                         system.adapter.daswetter.0              : daswetter             : iobroker                                 -  enabled
                         system.adapter.devices.0                : devices               : iobroker                                 - disabled
                        + system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
                        + system.adapter.echarts.0                : echarts               : iobroker                                 -  enabled
                        + system.adapter.enigma2.0                : enigma2               : iobroker                                 -  enabled
                        + system.adapter.esphome.0                : esphome               : iobroker                                 -  enabled
                        + system.adapter.fullybrowser.0           : fullybrowser          : iobroker                                 -  enabled
                        + system.adapter.harmony.0                : harmony               : iobroker                                 -  enabled
                        + system.adapter.history.0                : history               : iobroker                                 -  enabled
                         system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
                         system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker                                 - disabled
                         system.adapter.icons-icons8.0           : icons-icons8          : iobroker                                 - disabled
                         system.adapter.icons-material-png.0     : icons-material-png    : iobroker                                 - disabled
                         system.adapter.icons-material-svg.0     : icons-material-svg    : iobroker                                 - disabled
                         system.adapter.icons-mfd-png.0          : icons-mfd-png         : iobroker                                 - disabled
                         system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 - disabled
                         system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker                                 - disabled
                        + system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
                        + system.adapter.info.0                   : info                  : iobroker                                 -  enabled
                        + system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
                        + system.adapter.iqontrol.0               : iqontrol              : iobroker                                 -  enabled
                        + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                        + system.adapter.javascript.1             : javascript            : iobroker                                 -  enabled
                        + system.adapter.javascript.2             : javascript            : iobroker                                 -  enabled
                        + system.adapter.lg-thinq.0               : lg-thinq              : iobroker                                 -  enabled
                        + system.adapter.linux-control.0          : linux-control         : iobroker                                 -  enabled
                         system.adapter.material.0               : material              : iobroker                                 - disabled
                        + system.adapter.mqtt-client.0            : mqtt-client           : iobroker                                 -  enabled, port: 1883
                         system.adapter.netatmo-crawler.0        : netatmo-crawler       : iobroker                                 -  enabled
                        + system.adapter.netatmo.0                : netatmo               : iobroker                                 -  enabled
                         system.adapter.odl.0                    : odl                   : iobroker                                 -  enabled
                         system.adapter.openweathermap.0         : openweathermap        : iobroker                                 -  enabled
                        + system.adapter.pi-hole.0                : pi-hole               : iobroker                                 -  enabled
                        + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
                        + system.adapter.pushover.0               : pushover              : iobroker                                 -  enabled
                        + system.adapter.rest-api.0               : rest-api              : iobroker                                 -  enabled, port: 8093, bind: 0.0.0.0, run as: admin
                        + system.adapter.scenes.0                 : scenes                : iobroker                                 -  enabled
                        + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                        + system.adapter.snmp.0                   : snmp                  : iobroker                                 -  enabled
                        + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1881, bind: 0.0.0.0
                        + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
                         system.adapter.vis-bars.0               : vis-bars              : iobroker                                 - disabled
                         system.adapter.vis-colorpicker.0        : vis-colorpicker       : iobroker                                 - disabled
                         system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : iobroker                                 - disabled
                         system.adapter.vis-google-fonts.0       : vis-google-fonts      : iobroker                                 -  enabled
                         system.adapter.vis-history.0            : vis-history           : iobroker                                 - disabled
                         system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : iobroker                                 - disabled
                         system.adapter.vis-icontwo.0            : vis-icontwo           : iobroker                                 - disabled
                        + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
                         system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 - disabled
                         system.adapter.vis-lcars.0              : vis-lcars             : iobroker                                 - disabled
                         system.adapter.vis-material-advanced.0  : vis-material-advanced : iobroker                                 - disabled
                         system.adapter.vis-material-webfont.0   : vis-material-webfont  : iobroker                                 - disabled
                         system.adapter.vis-material.0           : vis-material          : iobroker                                 - disabled
                         system.adapter.vis-materialdesign.0     : vis-materialdesign    : iobroker                                 - disabled
                         system.adapter.vis-metro.0              : vis-metro             : iobroker                                 - disabled
                         system.adapter.vis-players.0            : vis-players           : iobroker                                 - disabled
                         system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 - disabled
                         system.adapter.vis-weather.0            : vis-weather           : iobroker                                 - disabled
                         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.wled.0                   : wled                  : iobroker                                 -  enabled
                        + system.adapter.ws.0                     : ws                    : iobroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                        + system.adapter.yahka.0                  : yahka                 : iobroker                                 -  enabled
                        + system.adapter.yamaha.0                 : yamaha                : iobroker                                 -  enabled
                        + system.adapter.zigbee.1                 : zigbee                : iobroker                                 -  enabled, port: tcp://172.16.4.180:6638
                        
                        + 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.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
                        + system.adapter.mqtt-client.0            : mqtt-client           : iobroker                                 -  enabled, port: 1883
                        + system.adapter.proxmox.0                : proxmox               : iobroker                                 -  enabled, port: 8006
                        + system.adapter.rest-api.0               : rest-api              : iobroker                                 -  enabled, port: 8093, bind: 0.0.0.0, run as: admin
                        + system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                        + system.adapter.sonoff.0                 : sonoff                : iobroker                                 -  enabled, port: 1881, bind: 0.0.0.0
                        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                        + system.adapter.ws.0                     : ws                    : iobroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                        + system.adapter.zigbee.1                 : zigbee                : iobroker                                 -  enabled, port: tcp://172.16.4.180:6638
                        
                        ioBroker-Repositories
                        beta          : http://download.iobroker.net/sources-dist-latest.json
                        stable        : http://download.iobroker.net/sources-dist.json
                        
                        Active repo(s): beta
                        
                        Installed ioBroker-Instances
                        Used repository: beta
                        Adapter    "accuweather"  : 1.2.4    , installed 1.2.4
                        Adapter    "admin"        : 6.4.3    , installed 6.4.3
                        Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                        Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                        Adapter    "backitup"     : 2.6.16   , installed 2.6.16
                        Adapter    "birthdays"    : 2.2.1    , installed 2.2.1
                        Adapter    "daswetter"    : 3.1.7    , installed 3.1.7
                        Adapter    "devices"      : 1.1.2    , installed 1.1.2
                        Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                        Adapter    "echarts"      : 1.4.13   , installed 1.4.13
                        Adapter    "esphome"      : 0.2.4    , installed 0.2.4
                        Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                        Adapter    "harmony"      : 1.2.2    , installed 1.2.2
                        Adapter    "history"      : 2.2.4    , installed 2.2.4
                        Adapter    "ical"         : 1.13.2   , installed 1.13.2
                        Adapter    "icons-addictive-flavour-png": 0.1.0, installed 0.1.0
                        Adapter    "icons-icons8" : 0.0.1    , installed 0.0.1
                        Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                        Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
                        Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                        Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                        Adapter    "icons-open-icon-library-png": 0.1.2, installed 0.1.3
                        Adapter    "influxdb"     : 3.2.0    , installed 3.2.0
                        Adapter    "info"         : 1.9.26   , installed 1.9.26
                        Adapter    "iot"          : 1.14.5   , installed 1.14.5
                        Adapter    "iqontrol"     : 2.2.0    , installed 2.2.0
                        Adapter    "javascript"   : 7.0.3    , installed 7.0.3
                        Controller "js-controller": 4.0.24   , installed 4.0.24
                        Adapter    "lg-thinq"     : 0.1.4    , installed 0.1.4
                        Adapter    "linux-control": 1.1.5    , installed 1.1.5
                        Adapter    "material"     : 1.3.1    , installed 1.3.1
                        Adapter    "mqtt-client"  : 1.6.3    , installed 1.6.3
                        Adapter    "netatmo"      : 3.1.0    , installed 3.1.0
                        Adapter    "netatmo-crawler": 0.8.1  , installed 0.8.1
                        Adapter    "odl"          : 2.0.5    , installed 2.0.5
                        Adapter    "openweathermap": 0.3.8   , installed 0.3.8
                        Adapter    "pi-hole"      : 1.3.4    , installed 1.3.4
                        Adapter    "proxmox"      : 1.3.5    , installed 1.3.5
                        Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                        Adapter    "rest-api"     : 1.0.5    , installed 1.0.5
                        Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                        Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                        Adapter    "smartthings"  : 0.0.4    , installed 0.0.4
                        Adapter    "snmp"         : 2.4.6    , installed 2.4.6
                        Adapter    "socketio"     : 6.3.5    , installed 6.3.5
                        Adapter    "sonoff"       : 2.5.3    , installed 2.5.3
                        Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
                        Adapter    "vis"          : 1.4.16   , installed 1.4.16
                        Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                        Adapter    "vis-colorpicker": 2.0.3  , installed 2.0.3
                        Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                        Adapter    "vis-google-fonts": 1.0.4 , installed 1.0.4
                        Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
                        Adapter    "vis-hqwidgets": 1.3.1    , installed 1.3.1
                        Adapter    "vis-icontwo"  : 0.90.0   , installed 0.90.0
                        Adapter    "vis-inventwo" : 3.3.3    , installed 3.3.3
                        Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                        Adapter    "vis-lcars"    : 1.0.4    , installed 1.0.4
                        Adapter    "vis-material" : 0.1.3    , installed 0.1.3
                        Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                        Adapter    "vis-material-webfont": 0.0.3, installed 0.0.3
                        Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                        Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                        Adapter    "vis-players"  : 0.1.6    , installed 0.1.6
                        Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                        Adapter    "vis-weather"  : 2.5.6    , installed 2.5.6
                        Adapter    "web"          : 5.5.3    , installed 5.5.3
                        Adapter    "wled"         : 0.6.7    , installed 0.6.7
                        Adapter    "ws"           : 2.3.6    , installed 2.3.6
                        Adapter    "yahka"        : 1.0.3    , installed 1.0.3
                        Adapter    "yamaha"       : 0.5.3    , installed 0.5.3
                        Adapter    "zigbee"       : 1.8.10   , installed 1.8.10
                        
                        Objects and States
                        Please stand by - This may take a while
                        Objects:        13550
                        States:         12232
                        
                        *** OS-Repositories and Updates ***
                        Hit:1 http://ftp.debian.org/debian bullseye InRelease
                        Hit:2 http://security.debian.org bullseye-security InRelease
                        Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
                        Hit:4 https://repos.influxdata.com/debian stable InRelease
                        Hit:5 https://deb.nodesource.com/node_18.x bullseye InRelease
                        Reading package lists... Done
                        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:38643         0.0.0.0:*               LISTEN      1001       102302972  437/io.yahka.0
                        tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          102294343  1/init
                        tcp        0      0 0.0.0.0:1881            0.0.0.0:*               LISTEN      1001       102328465  1769/io.sonoff.0
                        tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          102297522  331/master
                        tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       102298931  162/iobroker.js-con
                        tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       102299714  162/iobroker.js-con
                        tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      104        102297393  96/systemd-resolved
                        tcp        0      0 0.0.0.0:6052            0.0.0.0:*               LISTEN      1001       102316322  953/python3
                        tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      104        102297387  96/systemd-resolved
                        tcp6       0      0 ::1:25                  :::*                    LISTEN      0          102297523  331/master
                        tcp6       0      0 :::111                  :::*                    LISTEN      0          102294345  1/init
                        tcp6       0      0 :::22                   :::*                    LISTEN      0          102297281  1/init
                        tcp6       0      0 :::8093                 :::*                    LISTEN      1001       102304846  531/io.rest-api.0
                        tcp6       0      0 :::8084                 :::*                    LISTEN      1001       102300363  400/io.ws.0
                        tcp6       0      0 :::8087                 :::*                    LISTEN      1001       102303082  505/io.simple-api.0
                        tcp6       0      0 :::8081                 :::*                    LISTEN      1001       102298996  346/io.admin.0
                        tcp6       0      0 :::8082                 :::*                    LISTEN      1001       102302763  385/io.web.0
                        tcp6       0      0 :::61991                :::*                    LISTEN      1001       102306933  731/io.harmony.0
                        tcp6       0      0 :::46469                :::*                    LISTEN      1001       102302949  437/io.yahka.0
                        tcp6       0      0 :::5355                 :::*                    LISTEN      104        102297390  96/systemd-resolved
                        udp        0      0 127.0.0.53:53           0.0.0.0:*                           104        102297392  96/systemd-resolved
                        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          102294521  84/dhclient
                        udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          102294344  1/init
                        udp        0      0 0.0.0.0:35644           0.0.0.0:*                           1001       102328469  1780/io.snmp.0
                        udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1001       102306934  731/io.harmony.0
                        udp        0      0 127.0.0.1:5353          0.0.0.0:*                           1001       102316332  953/python3
                        udp        0      0 172.16.4.181:5353       0.0.0.0:*                           1001       102316331  953/python3
                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       102316325  953/python3
                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       102302950  437/io.yahka.0
                        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       102300532  452/io.wled.0
                        udp        0      0 0.0.0.0:5355            0.0.0.0:*                           104        102297386  96/systemd-resolved
                        udp6       0      0 :::111                  :::*                                0          102294346  1/init
                        udp6       0      0 :::5355                 :::*                                104        102297389  96/systemd-resolved
                        
                        *** Log File - Last 25 Lines ***
                        
                        2023-04-04 21:56:08.793  - error: linux-control.0 (670) [getConnection] Could not establish a connection to 'raspi4' (172.16.2.181:22)!
                        2023-04-04 21:56:08.794  - error: linux-control.0 (670) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
                           at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:1014:23)
                           at listOnTimeout (node:internal/timers:569:17)
                           at processTimers (node:internal/timers:512:7)
                        2023-04-04 22:01:13.817  - error: linux-control.0 (670) [getConnection] Could not establish a connection to 'raspi4' (172.16.2.181:22)!
                        2023-04-04 22:01:13.817  - error: linux-control.0 (670) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
                           at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:1014:23)
                           at listOnTimeout (node:internal/timers:569:17)
                           at processTimers (node:internal/timers:512:7)
                        2023-04-04 22:06:18.840  - error: linux-control.0 (670) [getConnection] Could not establish a connection to 'raspi4' (172.16.2.181:22)!
                        2023-04-04 22:06:18.841  - error: linux-control.0 (670) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
                           at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:1014:23)
                           at listOnTimeout (node:internal/timers:569:17)
                           at processTimers (node:internal/timers:512:7)
                        2023-04-04 22:11:23.862  - error: linux-control.0 (670) [getConnection] Could not establish a connection to 'raspi4' (172.16.2.181:22)!
                        2023-04-04 22:11:23.863  - error: linux-control.0 (670) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
                           at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:1014:23)
                           at listOnTimeout (node:internal/timers:569:17)
                           at processTimers (node:internal/timers:512:7)
                        2023-04-04 22:16:28.885  - error: linux-control.0 (670) [getConnection] Could not establish a connection to 'raspi4' (172.16.2.181:22)!
                        2023-04-04 22:16:28.887  - error: linux-control.0 (670) [getConnection] error: Timed out while waiting for handshake, stack: Error: Timed out while waiting for handshake
                           at Timeout._onTimeout (/opt/iobroker/node_modules/ssh2/lib/client.js:1014:23)
                           at listOnTimeout (node:internal/timers:569:17)
                           at processTimers (node:internal/timers:512:7)
                        
                        

                        Teil 2

                        ======================= SUMMARY =======================
                                            v.2023-04-04
                        
                        
                        Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                        Kernel:                 5.15.102-1-pve
                        Installation:           lxc
                        Timezone:               Europe/Berlin (CEST, +0200)
                        User-ID:                1002
                        X-Server:               false
                        Boot Target:            graphical.target
                        
                        Pending OS-Updates:     0
                        Pending iob updates:    0
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v18.15.0
                                               /usr/bin/node           v18.15.0
                                               /usr/bin/npm            9.5.0
                                               /usr/bin/npx            9.5.0
                        
                        Recommended versions are nodejs 18.x.y and npm 9.x.y
                        
                        MEMORY:
                                      total        used        free      shared  buff/cache   available
                        Mem:            8.2G        3.8G        3.7G        0.0K        709M        4.4G
                        Swap:           512M          0B        512M
                        Total:          8.7G        3.8G        4.2G
                        
                        Active iob-Instances:   39
                        Active repo(s): beta
                        
                        ioBroker Core:          js-controller           4.0.24
                                               admin                   6.4.3
                        
                        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
                         system.adapter.vis-material-webfont.0   : vis-material-webfont  : iobroker                                 - disabled
                        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                        
                        Objects:                13550
                        States:                 12232
                        
                        Size of iob-Database:
                        
                        19M     /opt/iobroker/iobroker-data/objects.jsonl
                        4.4M    /opt/iobroker/iobroker-data/states.jsonl
                        
                        
                        
                        =================== END OF SUMMARY ====================
                        

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

                          @mrjeschke sagte in iob diag - Skript:

                          Danke. Aber wie erwartet gibt es beim LXC weniger Huddel als beim Docker.

                          Aber deinem raspi4 geht es nicht gut. Ist der etwa krank? 😉

                          1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @Thomas Braun last edited by

                            @thomas-braun sagte in iob diag - Skript:

                            wie schaut es denn bei Proxmox/LXC aus? Läuft da das skript durch?


                            neu 13.txt

                            ======================= SUMMARY =======================
                                                 v.2023-04-04
                            
                            
                            Operatingsystem:        Ubuntu 20.04.5 LTS
                            Kernel:                 5.15.30-2-pve
                            Installation:           lxc
                            Timezone:               Europe/Vienna (CEST, +0200)
                            User-ID:                1001
                            X-Server:               false
                            Boot Target:            graphical.target
                            
                            Pending OS-Updates:     50
                            Pending iob updates:    2
                            
                            Nodejs-Installation:    /usr/bin/nodejs         v16.19.0
                                                    /usr/bin/node           v16.19.0
                                                    /usr/bin/npm            8.19.3
                                                    /usr/bin/npx            8.19.3
                            
                            Recommended versions are nodejs 18.x.y and npm 9.x.y
                            
                            MEMORY:
                                          total        used        free      shared  buff/cache   available
                            Mem:            10G        5.5G        2.9G        0.0K        1.7G        4.5G
                            Swap:          2.0G        1.3G        732M
                            Total:          12G        6.8G        3.6G
                            
                            Active iob-Instances:   58
                            Active repo(s): Beta (latest)
                            
                            ioBroker Core:          js-controller           4.0.24
                                                    admin                   6.4.3
                            
                            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 (SSL), run as: admin
                            + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                            
                            Objects:                49358
                            States:                 45467
                            
                            Size of iob-Database:
                            
                            62M     /opt/iobroker/iobroker-data/objects.jsonl
                            29M     /opt/iobroker/iobroker-data/objects.json.migrated
                            29M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                            0       /opt/iobroker/iobroker-data/objects.json.broken
                            104M    /opt/iobroker/iobroker-data/states.jsonl
                            9.4M    /opt/iobroker/iobroker-data/states.json.migrated
                            9.4M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                            0       /opt/iobroker/iobroker-data/states.json.broken
                            
                            
                            
                            =================== END OF SUMMARY ====================
                            

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

                              @negalein sagte in iob diag - Skript:

                              Danke.
                              Ist zwar nicht Thema des Threads, aber da solltest du ran:

                              Pending OS-Updates: 50

                              Das läuft dir wieder weg und nachher wird es bei so einem großen Berg an Updates nur schwieriger die einzuspielen. Davon ganz abgesehen, das die mit Sicherheit aus Gründen released worden sind.

                              Negalein 1 Reply Last reply Reply Quote 0
                              • Negalein
                                Negalein Global Moderator @Thomas Braun last edited by

                                @thomas-braun sagte in iob diag - Skript:

                                Pending OS-Updates: 50

                                I know.
                                Ist für morgen geplant. War etwas Stress in letzter Zeit.
                                Machs normal wöchentlich.

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

                                  Nochmal die Bitte um Testergebnisse:

                                  Werden Multiusersysteme mit

                                  iobroker status all | grep MULTIHOSTSERVICE/enabled
                                  

                                  erkannt?
                                  Auf einem Single-Host sieht es jedenfalls so aus:

                                  echad@chet:~ $ iobroker status all | grep MULTIHOSTSERVICE/enabled
                                  MULTIHOSTSERVICE/enabled: false
                                  

                                  Ändert sich der Eintrag auf true beim Master und beim Slave?

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

                                    @thomas-braun habe zwei Slaves, in der Ausgabe kommt aber nichts davon

                                    
                                    mirko@iobroker:~$ iobroker status all | grep MULTIHOSTSERVICE/enabled
                                    mirko@iobroker:~$
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @wendy2702 last edited by

                                      @wendy2702 Hm, okay.
                                      Und der Master sagt?

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

                                        @thomas-braun das ist die Ausgabe vom master.

                                        Oder was genau willst du sehen?

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

                                          @wendy2702

                                          Komisch. Ich hätte da jetzt sowas wie

                                          MULTIHOSTSERVICE/enabled: true
                                          

                                          erwartet...

                                          iobroker status all
                                          

                                          spuckt auch nix aus?

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

                                            @thomas-braun kommt das mit „Fehlern“ !?

                                            
                                             iob status all
                                            iobroker is running on this host.
                                            
                                            
                                            Instance "admin.0" is running
                                            Instance "admin.1" is running
                                            Instance "admin.2" is not running
                                            Instance "daswetter.0" is not running
                                            Instance "dwd.0" is not running
                                            Instance "email.0" is running
                                            Instance "enigma2.0" is running
                                            Instance "feiertage.0" is not running
                                            Instance "flot.0" is not running
                                            Instance "fritzbox.0" is running
                                            Instance "harmony.0" is running
                                            Instance "history.0" is running
                                            Instance "hm-rega.0" is running
                                            Instance "hm-rpc.0" is running
                                            Instance "hm-rpc.1" is running
                                            Instance "hm-rpc.2" is running
                                            Instance "hue.0" is running
                                            Instance "ical.0" is not running
                                            Instance "ical.1" is not running
                                            Instance "ical.2" is not running
                                            Instance "icons-addictive-flavour-png.0" is not running
                                            Instance "icons-fatcow-hosting.0" is not running
                                            Instance "icons-icons8.0" is not running
                                            Instance "icons-material-png.0" is not running
                                            Instance "icons-material-svg.0" is not running
                                            Instance "icons-mfd-png.0" is not running
                                            Instance "icons-mfd-svg.0" is not running
                                            Instance "icons-open-icon-library-png.0" is not running
                                            Instance "icons-ultimate-png.0" is not running
                                            Instance "javascript.0" is running
                                            Instance "javascript.1" is running
                                            Instance "javascript.2" is running
                                            Instance "js2fs.0" is not running
                                            Instance "modbus.0" is running
                                            Instance "modbus.2" is running
                                            Instance "modbus.3" is running
                                            Instance "modbus.4" is not running
                                            Instance "musiccast.0" is not running
                                            Instance "nut.0" is not running
                                            Instance "ping.0" is running
                                            Instance "rpi2.0" is not running
                                            Instance "rpi2.1" is not running
                                            Instance "sayit.0" is running
                                            Instance "simple-api.0" is running
                                            Instance "smartmeter.0" is running
                                            Instance "tankerkoenig.0" is running
                                            Instance "telegram.0" is running
                                            Instance "tr-064.0" is not running
                                            Instance "vis-bars.0" is not running
                                            Instance "vis-canvas-gauges.0" is not running
                                            Instance "vis-colorpicker.0" is not running
                                            Instance "vis-fancyswitch.0" is not running
                                            Instance "vis-google-fonts.0" is not running
                                            Instance "vis-hqwidgets.0" is not running
                                            Instance "vis-jqui-mfd.0" is not running
                                            Instance "vis-justgage.0" is not running
                                            Instance "vis-keyboard.0" is not running
                                            Instance "vis-metro.0" is not running
                                            Instance "vis-plumb.0" is not running
                                            Instance "vis-rgraph.0" is not running
                                            Instance "vis-timeandweather.0" is not running
                                            Instance "vis.0" is not running
                                            Instance "weatherunderground.0" is not running
                                            Instance "web.0" is running
                                            Instance "yahka.0" is running
                                            Instance "yahka.1" is running
                                            Instance "yamaha.0" is running
                                            Instance "yr.0" is not running
                                            Instance "yahka.2" is running
                                            Instance "trashschedule.0" is running
                                            Instance "vis-material-webfont.0" is not running
                                            Instance "vis-materialdesign.0" is not running
                                            Instance "vis-material.0" is not running
                                            Instance "influxdb.0" is running
                                            Instance "vis-inventwo.0" is running
                                            Instance "vis-icontwo.0" is not running
                                            Instance "yahka.3" is not running
                                            Instance "homeconnect.0" is not running
                                            Instance "hue-extended.0" is not running
                                            Instance "linux-control.0" is running
                                            Instance "yahka.4" is running
                                            Instance "socketio.0" is running
                                            Instance "birthdays.0" is not running
                                            Instance "birthdays.1" is not running
                                            Instance "pushover.0" is not running
                                            Instance "alias-manager.0" is not running
                                            Instance "discovery.0" is not running
                                            Instance "net-tools.0" is not running
                                            Instance "sayit.1" is not running
                                            Instance "modbus.5" is running
                                            Instance "enocean.0" is running
                                            Instance "modbus.1" is running
                                            Instance "shuttercontrol.0" is running
                                            Instance "energiefluss.0" is running
                                            Instance "ws.0" is running
                                            Instance "web.1" is running
                                            Instance "backitup.0" is not running
                                            Instance "modbus.6" is not running
                                            Instance "shelly.0" is running
                                            Instance "sourceanalytix.0" is running
                                            Instance "roborock.0" is not running
                                            Instance "vis-2-beta.0" is running
                                            Instance "vis-2-widgets-material.0" is not running
                                            Instance "vis-2-widgets-energy.0" is not running
                                            Instance "vis-2-widgets-gauges.0" is not running
                                            Instance "smartstate.0" is running
                                            Instance "smartmeter.1" is not running
                                            Instance "energiefluss.1" is not running
                                            
                                            NETWORK/IPv4: true
                                            NETWORK/IPv6: true
                                            NETWORK/useSystemNpm: true
                                            OBJECTS/type: jsonl
                                            OBJECTS/host: 0.0.0.0
                                            OBJECTS/port: 9001
                                            OBJECTS/user:
                                            OBJECTS/pass:
                                            OBJECTS/noFileCache: true
                                            OBJECTS/connectTimeout: 5000
                                            OBJECTS/OPTIONS/retryStrategy: reconnectCount => {
                                                        if (!ready && initError && ignoreErrors) {
                                                            return new Error('No more tries');
                                                        }
                                                        if (this.stop) {
                                                            return new Error('Client has stopped ... no retries anymore');
                                                        }
                                                        if (ready && reconnectCount >= retry_max_count) {
                                                            return new Error('Stop trying to reconnect');
                                                        }
                                                        // A function that receives an options object as parameter including the retry attempt,
                                                        // the total_retry_time indicating how much time passed since the last time connected,
                                                        // the error why the connection was lost and the number of times_connected in total.
                                                        // If you return a number from this function, the retry will happen exactly after that
                                                        // time in milliseconds. If you return a non-number, no further retry will happen and
                                                        // all offline commands are flushed with errors. Return an error to return that
                                                        // specific error to all offline commands.
                                            
                                                        if (!ready) {
                                                            return 300;
                                                        } else {
                                                            return retry_max_delay;
                                                        }
                                                        /*if (options.error.code === 'ECONNREFUSED') {
                                                            // End reconnecting on a specific error and flush all commands with a individual error
                                                            return new Error('The server refused the connection');
                                                        }
                                                        if (options.total_retry_time > 1000 * 60 * 60) {
                                                            // End reconnecting after a specific timeout and flush all commands with a individual error
                                                            return new Error('Retry time exhausted');
                                                        }
                                                        if (options.times_connected > 10) {
                                                            // End reconnecting with built in error
                                                            return undefined;
                                                        }
                                                        // reconnect after
                                                        return Math.max(options.attempt * 100, 3000);*/
                                                    }
                                            OBJECTS/OPTIONS/enableReadyCheck: true
                                            OBJECTS/OPTIONS/host: 0.0.0.0
                                            OBJECTS/OPTIONS/port: 9001
                                            OBJECTS/OPTIONS/db: 0
                                            OBJECTS/OPTIONS/family: 0
                                            OBJECTS/OPTIONS/autoResubscribe: false
                                            OBJECTS/OPTIONS/connectionName:
                                            OBJECTS/dataDir: ../../iobroker-data/
                                            OBJECTS/maxQueue: 1000
                                            STATES/type: jsonl
                                            STATES/host: 0.0.0.0
                                            STATES/port: 9000
                                            STATES/OPTIONS/retryStrategy: reconnectCount => {
                                                        if (!ready && initError) {
                                                            return new Error('No more tries');
                                                        }
                                                        if (this.stop) {
                                                            return new Error('Client has stopped ... no retries anymore');
                                                        }
                                                        if (ready && reconnectCount >= retry_max_count) {
                                                            return new Error('Stop trying to reconnect');
                                                        }
                                                        // A function that receives an options object as parameter including the retry attempt,
                                                        // the total_retry_time indicating how much time passed since the last time connected,
                                                        // the error why the connection was lost and the number of times_connected in total.
                                                        // If you return a number from this function, the retry will happen exactly after that
                                                        // time in milliseconds. If you return a non-number, no further retry will happen and
                                                        // all offline commands are flushed with errors. Return an error to return that
                                                        // specific error to all offline commands.
                                            
                                                        if (!ready) {
                                                            return 300;
                                                        }
                                                        return retry_max_delay;
                                                        /*if (options.error.code === 'ECONNREFUSED') {
                                                            // End reconnecting on a specific error and flush all commands with a individual error
                                                            return new Error('The server refused the connection');
                                                        }
                                                        if (options.total_retry_time > 1000 * 60 * 60) {
                                                            // End reconnecting after a specific timeout and flush all commands with a individual error
                                                            return new Error('Retry time exhausted');
                                                        }
                                                        if (options.times_connected > 10) {
                                                            // End reconnecting with built in error
                                                            return undefined;
                                                        }
                                                        // reconnect after
                                                        return Math.max(options.attempt * 100, 3000);*/
                                                    }
                                            STATES/OPTIONS/enableReadyCheck: true
                                            STATES/OPTIONS/host: 0.0.0.0
                                            STATES/OPTIONS/port: 9000
                                            STATES/OPTIONS/db: 0
                                            STATES/OPTIONS/family: 0
                                            STATES/OPTIONS/autoResubscribe: false
                                            STATES/OPTIONS/connectionName:
                                            STATES/dataDir: ../../iobroker-data/
                                            STATES/connectTimeout: 5000
                                            STATES/maxQueue: 1000
                                            LOG/level: info
                                            LOG/maxDays: 7
                                            LOG/TRANSPORT/FILE1/type: file
                                            LOG/TRANSPORT/FILE1/enabled: true
                                            LOG/TRANSPORT/FILE1/filename: log/iobroker
                                            LOG/TRANSPORT/FILE1/fileext: .log
                                            dataDir: ../../iobroker-data/
                                            SYSTEM/hostname:
                                            
                                            
                                            Thomas Braun 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

                                            540
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            149045
                                            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