Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. wieviel ist zu viel an Adapter?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    wieviel ist zu viel an Adapter?

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

      @andibr

      Der Service 'iobroker' ist nicht gestartet

      systemctl status iobroker.service
      

      sagt?

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

        @thomas-braun
        folgendes:

        andi@iobroker2:~$ iob stop
        andi@iobroker2:~$ systemctl status iobroker.service
        x iobroker.service - ioBroker Server
             Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; preset: enabled)
             Active: failed (Result: exit-code) since Tue 2024-10-29 18:38:44 CET; 8s ago
           Duration: 9min 33.668s
               Docs: http://iobroker.net
            Process: 19798 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILU>
           Main PID: 19798 (code=exited, status=1/FAILURE)
                CPU: 2min 38.872s
        andi@iobroker2:~$ iob start
        andi@iobroker2:~$ systemctl status iobroker.service
        * iobroker.service - ioBroker Server
             Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; preset: enabled)
             Active: active (running) since Tue 2024-10-29 18:39:09 CET; 4s ago
               Docs: http://iobroker.net
           Main PID: 21395 (iobroker.js-con)
              Tasks: 22 (limit: 38006)
             Memory: 951.2M
                CPU: 5.889s
             CGroup: /system.slice/iobroker.service
                     |-21395 iobroker.js-controller
                     `-21414 io.admin.0
        andi@iobroker2:~$ 
        

        also das ist von der neuen Installation

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

          @andibr

          Jetzt läuft er.

          A 1 Reply Last reply Reply Quote 0
          • Codierknecht
            Codierknecht Developer Most Active @andibr last edited by

            @andibr

            Objects:                181055
            States:                 146216
            

            Vielleicht sollte man hier mal über eine Umstellung auf Redis nachdenken.

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

              @thomas-braun
              richtig, aber weder mit https://192.168.130.49:8081 noch mit http://192.168.130.49:8081 ist etwas erreichbar. Weder mit Firefox noch mit chrome sucht er da, sondern er zeigt inner sekundruchteile "seite nicht vorhanden"

              in einem weiteren LXC läuft ein Maria-DB und eigentlich habe ich das ganze auch eingerichtet das er dorthin die Daten schreibt. Das hat auch funktioniert bis am Sonntag, und ja die Maria-DB hat noch genügend Platz. Eigentlich wollte ich das ganze von history nach SQL umstellen, ich habe auch schon etliches gemacht. Aber plötzlich kam da die Fehlermeldung das er genau einen Datenpunkt nicht mehr schreiben kann, weil der angeblich schon vorhanden sein. Ich habe den aber in der ganzen SQL (Heidi) auch mit suchen nicht gefunden.

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

                @andibr

                Da läuft/lauscht ja auch nix
                *** Listening Ports ***

                David G. A 2 Replies Last reply Reply Quote 0
                • David G.
                  David G. @Thomas Braun last edited by

                  @thomas-braun

                  In Zeile 253 im Log steht das der Admin läuft auf port 8081.
                  Hat der Admin das dann nicht korrekt eingestellt?

                  Oder ist das alt?
                  Es gibt wohl eine neue Installation?

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

                    @thomas-braun
                    klar ist ja auch das temporäre Backup restore und alle Adapter sind deaktiviert. Ich habe soeben den echten LXC nochmals gestartet und lasse gerade auch das diag laufen. das sieht ganz anderst aus:

                    ========== Start marking the full check here ===========
                    
                    ```bash
                    Script v.2024-10-19
                    
                    *** BASE SYSTEM ***
                     Static hostname: Iobroker
                           Icon name: computer-container
                             Chassis: container ☐
                      Virtualization: lxc
                    Operating System: Debian GNU/Linux 12 (bookworm)
                              Kernel: Linux 6.8.12-2-pve
                        Architecture: x86-64
                    OS is similar to: 
                    
                    model name      : 12th Gen Intel(R) Core(TM) i5-12400
                    Docker          : false
                    Virtualization  : lxc
                    Kernel          : x86_64
                    Userland        : 64 bit
                    
                    Systemuptime and Load:
                     18:54:17 up 15 min,  2 users,  load average: 1.76, 1.50, 1.56
                    CPU threads: 8
                    
                    
                    *** LIFE CYCLE STATUS ***
                    Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
                    
                    *** TIME AND TIMEZONES ***
                                   Local time: Tue 2024-10-29 18:54:17 CET
                               Universal time: Tue 2024-10-29 17:54:17 UTC
                                     RTC time: n/a
                                    Time zone: Europe/Zurich (CET, +0100)
                    System clock synchronized: yes
                                  NTP service: n/a
                              RTC in local TZ: no
                    
                    *** Users and Groups ***
                    User that called 'iob diag':
                    andi
                    HOME=/home/andi
                    GROUPS=andi adm sudo users iobroker
                    
                    User that is running 'js-controller':
                    js-controller is not running
                    
                    *** DISPLAY-SERVER SETUP ***
                    Display-Server: false
                    Desktop: 
                    Terminal: 
                    
                    *** MEMORY ***
                                   total        used        free      shared  buff/cache   available
                    Mem:             12G         45M         11G        118K        908M         12G
                    Swap:           8.6G          0B        8.6G
                    Total:           21G         45M         20G
                    
                    Active iob-Instances:   0
                    
                            12000 M total memory
                               43 M used memory
                              152 M active memory
                              732 M inactive memory
                            11090 M free memory
                                0 M buffer memory
                              866 M swap cache
                             8191 M total swap
                                0 M used swap
                             8191 M free swap
                    
                    *** top - Table Of Processes  ***
                    top - 18:54:17 up 15 min,  2 users,  load average: 1.76, 1.50, 1.56
                    Tasks:  26 total,   1 running,  25 sleeping,   0 stopped,   0 zombie
                    %Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
                    MiB Mem :  12000.0 total,  11088.6 free,     45.1 used,    866.4 buff/cache     
                    MiB Swap:   8192.0 total,   8192.0 free,      0.0 used.  11954.9 avail Mem 
                    
                    *** 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.
                    
                    
                    *** DMESG CRITICAL ERRORS ***
                    dmesg: read kernel buffer failed: Operation not permitted
                    No critical errors detected
                    
                    *** FILESYSTEM ***
                    Filesystem                       Type      Size  Used Avail Use% Mounted on
                    /dev/mapper/pve-vm--105--disk--0 ext4       98G   23G   71G  25% /
                    none                             tmpfs     492K  4.0K  488K   1% /dev
                    udev                             devtmpfs   16G     0   16G   0% /dev/tty
                    tmpfs                            tmpfs      16G     0   16G   0% /dev/shm
                    tmpfs                            tmpfs     6.2G  112K  6.2G   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:
                    TARGET SOURCE                           FSTYPE OPTIONS
                    /      /dev/mapper/pve-vm--105--disk--0 ext4   rw,relatime,stripe=16
                    
                    Files in neuralgic directories:
                    
                    /var:
                    507M    /var/
                    248M    /var/cache
                    244M    /var/cache/apt
                    168M    /var/cache/apt/archives
                    146M    /var/lib
                    
                    Archived and active journals take up 110.8M in the file system.
                    
                    /opt/iobroker/backups:
                    6.1G    /opt/iobroker/backups/
                    
                    /opt/iobroker/iobroker-data:
                    7.9G    /opt/iobroker/iobroker-data/
                    5.1G    /opt/iobroker/iobroker-data/history
                    1.3G    /opt/iobroker/iobroker-data/files
                    617M    /opt/iobroker/iobroker-data/files/javascript.admin
                    612M    /opt/iobroker/iobroker-data/esphome.0/.esphome
                    
                    The five largest files in iobroker-data are:
                    483M    /opt/iobroker/iobroker-data/objects.jsonl
                    183M    /opt/iobroker/iobroker-data/states.jsonl
                    35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
                    26M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.41cee985.js.map
                    26M     /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.41cee985.js.map
                    
                    USB-Devices by-id:
                    USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                    
                    No Devices found 'by-id'
                    
                    *** NodeJS-Installation ***
                    
                    /usr/bin/nodejs         v20.18.0
                    /usr/bin/node           v20.18.0
                    /usr/bin/npm            10.8.2
                    /usr/bin/npx            10.8.2
                    /usr/bin/corepack       0.29.3
                    
                    nodejs:
                      Installed: 20.18.0-1nodesource1
                      Candidate: 20.18.0-1nodesource1
                      Version table:
                     *** 20.18.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                            100 /var/lib/dpkg/status
                         20.17.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.16.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.15.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.15.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.14.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.13.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.13.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.12.2-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.12.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.12.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.11.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.11.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.10.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.9.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.8.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.8.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.7.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.6.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.6.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.5.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.5.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.4.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.3.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.3.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.2.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.1.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.0.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         18.19.0+dfsg-6~deb12u2 500
                            500 http://deb.debian.org/debian bookworm/main amd64 Packages
                         18.19.0+dfsg-6~deb12u1 500
                            500 http://security.debian.org bookworm-security/main amd64 Packages
                    
                    Temp directories causing deletion problem: 0
                    No problems detected
                    
                    Errors in npm tree: 0
                    No problems detected
                    
                    *** ioBroker-Installation ***
                    
                    ioBroker Status
                    
                    <--- Last few GCs --->
                    
                    [1413:0x752ffd0]    21777 ms: Scavenge 2034.9 (2081.3) -> 2034.8 (2086.3) MB, 3.70 / 0.00 ms  (average mu = 0.341, current mu = 0.186) allocation failure; 
                    [1413:0x752ffd0]    21792 ms: Scavenge 2037.7 (2086.3) -> 2037.6 (2087.3) MB, 5.01 / 0.00 ms  (average mu = 0.341, current mu = 0.186) allocation failure; 
                    [1413:0x752ffd0]    21981 ms: Scavenge 2038.6 (2087.3) -> 2038.2 (2097.3) MB, 184.96 / 0.00 ms  (average mu = 0.341, current mu = 0.186) allocation failure; 
                    
                    
                    <--- JS stacktrace --->
                    
                    FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                    ----- Native stack trace -----
                    
                     1: 0xb8ced1 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
                     2: 0xf06460 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
                     3: 0xf06747 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
                     4: 0x11182e5  [node]
                     5: 0x1130168 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
                     6: 0x1106281 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
                     7: 0x1107415 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
                     8: 0x10e3faa v8::internal::Factory::AllocateRawWithAllocationSite(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [node]
                     9: 0x10f1448 v8::internal::Factory::NewJSObjectFromMap(v8::internal::Handle<v8::internal::Map>, v8::internal::AllocationType, v8::internal::Handle<v8::internal::AllocationSite>) [node]
                    10: 0x1248ca3 v8::internal::JsonParser<unsigned char>::BuildJsonObject(v8::internal::JsonParser<unsigned char>::JsonContinuation const&, v8::base::SmallVector<v8::internal::JsonProperty, 16ul, std::allocator<v8::internal::JsonProperty> > const&, v8::internal::Handle<v8::internal::Map>) [node]
                    11: 0x124c6f7  [node]
                    12: 0x124e9a9 v8::internal::JsonParser<unsigned char>::ParseJson(v8::internal::Handle<v8::internal::Object>) [node]
                    13: 0xf98231 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [node]
                    14: 0x7c8745ed9df6 
                    /usr/bin/iob: line 21:  1411 Aborted                 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                    
                    Hosts:
                    
                    <--- Last few GCs --->
                    
                    [1453:0x7302250]    20704 ms: Scavenge 2036.9 (2083.3) -> 2036.8 (2088.5) MB, 3.73 / 0.00 ms  (average mu = 0.335, current mu = 0.201) allocation failure; 
                    [1453:0x7302250]    20718 ms: Scavenge 2039.8 (2088.5) -> 2039.7 (2089.5) MB, 4.73 / 0.00 ms  (average mu = 0.335, current mu = 0.201) allocation failure; 
                    [1453:0x7302250]    20895 ms: Scavenge 2040.6 (2089.5) -> 2040.2 (2099.3) MB, 174.24 / 0.00 ms  (average mu = 0.335, current mu = 0.201) allocation failure; 
                    
                    
                    <--- JS stacktrace --->
                    
                    FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                    ----- Native stack trace -----
                    
                     1: 0xb8ced1 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
                     2: 0xf06460 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
                     3: 0xf06747 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
                     4: 0x11182e5  [node]
                     5: 0x1130168 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
                     6: 0x1106281 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
                     7: 0x1107415 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
                     8: 0x10e3b36 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node]
                     9: 0x10d5764 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawWithImmortalMap(int, v8::internal::AllocationType, v8::internal::Map, v8::internal::AllocationAlignment) [node]
                    10: 0x10d7f46 v8::internal::FactoryBase<v8::internal::Factory>::NewRawOneByteString(int, v8::internal::AllocationType) [node]
                    11: 0x1247508 v8::internal::JsonParser<unsigned char>::MakeString(v8::internal::JsonString const&, v8::internal::Handle<v8::internal::String>) [node]
                    12: 0x124c96d  [node]
                    13: 0x124e9a9 v8::internal::JsonParser<unsigned char>::ParseJson(v8::internal::Handle<v8::internal::Object>) [node]
                    14: 0xf98231 v8::internal::Builtin_JsonParse(int, unsigned long*, v8::internal::Isolate*) [node]
                    15: 0x73f23bcd9df6 
                    /usr/bin/iob: line 21:  1451 Aborted                 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                    
                    Core adapters versions
                    js-controller:  6.0.11
                    admin:          7.1.5
                    javascript:     8.8.3
                    
                    nodejs modules from github:     4
                    +-- iobroker.esphome@0.5.0-beta.10 (git+ssh://git@github.com/DrozmotiX/ioBroker.esphome.git#d60377cc7c7d3092a8bcb1cf945ed256cba6e96f)
                    +-- iobroker.sourceanalytix@0.4.15-alpha.1 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#1010e11d126dc2e9639b70f17b79d082dead83ba)
                    +-- iobroker.time-switch@2.2.2 (git+ssh://git@github.com/walli545/ioBroker.time-switch.git#45b5addb484d270dcac6d1bfdb1a9f86b444d80e)
                    +-- iobroker.timer-switch@0.0.1 (git+ssh://git@github.com/Lucky-ESA/ioBroker.timer-switch.git#f38b114f0ed2d399b3f2665ea92a8f841727e0e5)
                    
                    Adapter State
                    
                    
                    Enabled adapters with bindings
                    
                    ioBroker-Repositories
                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                    ┌─────────┬────────────────────┬─────────────────────────────────────────────────────────┬──────────────┐
                    │ (index) │ name               │ url                                                     │ auto upgrade │
                    ├─────────┼────────────────────┼─────────────────────────────────────────────────────────┼──────────────┤
                    │ 0       │ 'Stable (default)' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                    │ 1       │ 'Beta (latest)'    │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                    └─────────┴────────────────────┴─────────────────────────────────────────────────────────┴──────────────┘
                    
                    Active repo(s): Stable (default)
                    Upgrade policy: none
                    
                    Installed ioBroker-Instances
                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                    Used repository: Stable (default)
                    Adapter    "admin"        : 7.1.5    , installed 7.1.5
                    Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                    Adapter    "backitup"     : 3.0.25   , installed 3.0.25
                    Adapter    "bestway"      : 0.0.4    , installed 0.0.4
                    Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                     Objects database error: read ECONNRESET
                     Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                    Adapter    "device-reminder": 3.1.2  , installed 3.0.0  [Updatable]
                    Adapter    "devices"      : 1.1.5    , installed 1.1.5
                    Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                    Adapter    "echarts"      : 1.9.2    , installed 1.9.2
                    Adapter    "email"        : 1.3.1    , installed 1.3.1
                    Adapter    "flot"         : 1.12.0   , installed 1.12.0
                    Adapter    "history"      : 3.0.1    , installed 3.0.1
                    Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
                    Adapter    "javascript"   : 8.8.3    , installed 8.8.3
                    Controller "js-controller": 6.0.11   , installed 6.0.11
                    Adapter    "modbus"       : 6.3.2    , installed 6.3.2
                    Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
                    Adapter    "octoprint"    : 5.1.0    , installed 5.1.0
                    Adapter    "pid"          : 1.1.3    , installed 1.1.3
                    Adapter    "proxmox"      : 2.3.0    , installed 2.3.0
                    Adapter    "pvforecast"   : 3.0.0    , installed 3.0.0
                    Adapter    "roborock"     : 0.6.16   , installed 0.6.16
                    Adapter    "rssfeed"      : 3.1.0    , installed 3.1.0
                    Adapter    "shelly"       : 8.2.1    , installed 8.2.1
                    Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                    Adapter    "snmp"         : 3.2.0    , installed 3.2.0
                    Adapter    "socketio"     : 6.7.1    , installed 6.7.1
                    Adapter    "sql"          : 3.0.1    , installed 3.0.1
                    Adapter    "statistics"   : 2.4.0    , installed 2.4.0
                    Adapter    "telegram"     : 3.9.0    , installed 3.9.0
                    Adapter    "unifi"        : 0.7.0    , installed 0.7.0
                    Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                    Adapter    "vis"          : 1.5.6    , installed 1.5.6
                    Adapter    "vis-2"        : 2.9.64   , installed 2.9.64
                    Adapter    "vis-2-widgets-energy": 1.0.2, installed 1.0.2
                    Adapter    "vis-2-widgets-gauges": 1.1.0, installed 1.1.0
                    Adapter    "vis-2-widgets-material": 1.4.10, installed 1.4.10
                    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-justgage" : 2.1.7    , installed 2.1.7
                    Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                    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.9    , installed 2.5.9
                    Adapter    "web"          : 6.2.5    , installed 6.2.5
                    Adapter    "wireless-mbus": 0.9.4    , installed 0.9.4
                    Adapter    "wled"         : 0.7.2    , installed 0.7.2
                    Adapter    "ws"           : 2.6.2    , installed 2.6.2
                    Adapter    "yr"           : 5.3.0    , installed 5.3.0
                     Cannot determine Lua scripts strategy: Connection is closed. ["cfg.o.system.host.Iobroker"]
                    
                    Objects and States
                    Please stand by - This may take a while
                    
                    
                    andi@Iobroker:~$ systemctl status iobroker.service
                    * iobroker.service - ioBroker Server
                         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; preset: enabled)
                         Active: active (running) since Tue 2024-10-29 19:00:59 CET; 6s ago
                           Docs: http://iobroker.net
                       Main PID: 1853 (iobroker.js-con)
                          Tasks: 11 (limit: 38006)
                         Memory: 1.9G
                            CPU: 8.338s
                         CGroup: /system.slice/iobroker.service
                                 `-1853 iobroker.js-controller
                    
                    Oct 29 19:00:59 Iobroker systemd[1]: Started iobroker.service - ioBroker Server.
                    andi@Iobroker:~$ 
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @David G. last edited by

                      @david-g

                      Der dort aufgeführte admin ist aber nicht 'alive'. Wenn er es wäre, dann würde er auf port 8081 SSL-verschlüsselt lauschen.

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

                        @thomas-braun

                        andi@Iobroker:~$ netstat -tulpen
                        (No info could be read for "-p": geteuid()=1000 but you should be root.)
                        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:25            0.0.0.0:*               LISTEN      0          4574757    -                   
                        tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       4631345    -                   
                        tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          4578329    -                   
                        tcp6       0      0 ::1:25                  :::*                    LISTEN      0          4574758    -                   
                        tcp6       0      0 :::22                   :::*                    LISTEN      0          4564985    -                   
                        tcp6       0      0 :::111                  :::*                    LISTEN      0          4578331    -                   
                        udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          4573038    -                   
                        udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          4578330    -                   
                        udp        0      0 192.168.130.10:123      0.0.0.0:*                           0          4579372    -                   
                        udp        0      0 127.0.0.1:123           0.0.0.0:*                           0          4579370    -                   
                        udp        0      0 0.0.0.0:123             0.0.0.0:*                           0          4579366    -                   
                        udp6       0      0 :::111                  :::*                                0          4578332    -                   
                        udp6       0      0 fe80::be24:11ff:fe6:123 :::*                                105        4579447    -                   
                        udp6       0      0 ::1:123                 :::*                                0          4579374    -                   
                        udp6       0      0 :::123  
                        
                        David G. 1 Reply Last reply Reply Quote 0
                        • David G.
                          David G. @andibr last edited by David G.

                          @andibr

                          Die Frage ist eher was das alles ist

                          FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
                          ----- Native stack trace -----
                           
                           1: 0xb8ced1 node::OOMErrorHandler(char const*, v8::black_right_pointing_double_triangle_with_vertical_bar: OMDetails const&) [node]
                           2: 0xf06460 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
                           3: 0xf06747 v8::internal
                          ... 
                          ... 
                          

                          Oder

                          Objects database error: connect ECONNREFUSED 0.0.0.0:9001
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            andibr @David G. last edited by

                            das ist genau mein Problem. Ich habe jetzt zwei Installationen, eine alte die völlig zerschossen ist und eine neue von heute die als nackte curl Installation lief und nach dem Backup Restore auch nicht mehr erreichbar ist.

                            Ich gehe davon aus, dass mein Backup schon irgendwie ein Fehler hat und darum den Restore zwar macht, aber die ganze Installation gleich zersetzt. Klar ich könnte es jetzt auch noch mit einem Backup von vor einer Woche testen, aber irgendwie möchte ich gerne wissen wo dass das Problem ist, damit ich es beseitigen kann. Genau darum habe ich auch diesenetwas merkwürdigen Titel gewählt.

                            Kann ich beim Restore irgendwie selektiv auswählen was er machen soll?

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              andibr @andibr last edited by

                              ich habe jetzt nochmals ein neuer LXC-Container mit einer älteren Debian 12 gemacht, jetzt hat auch der Restore irgendwie besser funktioniert.

                              Ich habe jetzt nur die allernötigsten Adapter eingeschaltet und schaue mal wie lange es jetzt stabil läuft.

                              1 Reply Last reply Reply Quote 0
                              • Codierknecht
                                Codierknecht Developer Most Active last edited by

                                @andibr

                                "Wenn aber der js-controller-Prozess ständig über 50-70% CPU in Anspruch nimmt oder seine IO-Last im Dateisystem spürbar wird, kann es Zeit werden sich über den Einsatz von Redis Gedanken zu machen"

                                https://forum.iobroker.net/topic/26327/redis-in-iobroker-überblick

                                1 Reply Last reply Reply Quote 0
                                • David G.
                                  David G. last edited by

                                  @andibr sagte in wieviel ist zu viel an Adapter?:

                                  ich habe jetzt nochmals ein neuer LXC-Container mit einer älteren Debian 12 gemacht, jetzt hat auch der Restore irgendwie besser funktioniert.

                                  Wartest aber nach dem restore einige Zeit oder?
                                  Da müssen alle Adapter neu geladen und gebaut werden. Das kann schonmal was dauern....

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    andibr @David G. last edited by

                                    Ja, das dauert bei mir mit dem aktuell Backup gut 1h. Solange kann man in der Linux Shell sehr gut die Auslastung sehen. Immerhin ist das ganze jetzt über Nacht durchgelaufen und macht wieder was es soll.
                                    Ich werde mich wohl mal mit Redis beschäftigen.

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      andibr @andibr last edited by andibr

                                      Leider funktioniert das ganze immer noch nicht zuverläsig, und ich stehe da etwas im abseits weil ich nicht mehr weiss wo suchen.

                                      Nach dem es gestern nach ca 23h. wieder komplett abgestürzt ist und der "iob fix" die Meldung "no connect Databases" gebracht hat, habe ich nun den kompletten Proxmox platt gemacht und alles neu aufgesetzt.

                                      Logischerweise zusätzlich gleich redis nach der Basis-Installation gemacht. Jetzt läuft es seit ca 12h mit diesem "iob diag":

                                      ========== Start marking the full check here ===========
                                      
                                      ```bash
                                      Script v.2024-10-19
                                      
                                      *** BASE SYSTEM ***
                                       Static hostname: iobroker
                                             Icon name: computer-container
                                               Chassis: container ☐
                                        Virtualization: lxc
                                      Operating System: Debian GNU/Linux 12 (bookworm)
                                                Kernel: Linux 6.8.12-2-pve
                                          Architecture: x86-64
                                      OS is similar to: 
                                      
                                      model name      : 12th Gen Intel(R) Core(TM) i5-12400
                                      Docker          : false
                                      Virtualization  : lxc
                                      Kernel          : x86_64
                                      Userland        : 64 bit
                                      
                                      Systemuptime and Load:
                                       08:10:13 up 10:42,  2 users,  load average: 0.11, 0.17, 0.11
                                      CPU threads: 8
                                      
                                      
                                      *** LIFE CYCLE STATUS ***
                                      Unknown release codenamed ''. Please check yourself if the Operating System is actively maintained.
                                      
                                      *** TIME AND TIMEZONES ***
                                                     Local time: Fri 2024-11-01 08:10:14 CET
                                                 Universal time: Fri 2024-11-01 07:10:14 UTC
                                                       RTC time: n/a
                                                      Time zone: Europe/Zurich (CET, +0100)
                                      System clock synchronized: yes
                                                    NTP service: inactive
                                                RTC in local TZ: no
                                      
                                      *** Users and Groups ***
                                      User that called 'iob diag':
                                      andi
                                      HOME=/home/andi
                                      GROUPS=andi sudo users iobroker
                                      
                                      User that is running 'js-controller':
                                      iobroker
                                      HOME=/home/iobroker
                                      GROUPS=iobroker tty dialout audio video plugdev redis
                                      
                                      *** DISPLAY-SERVER SETUP ***
                                      Display-Server: false
                                      Desktop: 
                                      Terminal: 
                                      
                                      *** MEMORY ***
                                                     total        used        free      shared  buff/cache   available
                                      Mem:             12G        2.9G        2.1G        131K        7.5G        9.6G
                                      Swap:           8.6G          0B        8.6G
                                      Total:           21G        2.9G         10G
                                      
                                      Active iob-Instances:   21
                                      
                                              12000 M total memory
                                               2806 M used memory
                                               2764 M active memory
                                               7016 M inactive memory
                                               2018 M free memory
                                                  0 M buffer memory
                                               7175 M swap cache
                                               8191 M total swap
                                                  0 M used swap
                                               8191 M free swap
                                      
                                      *** top - Table Of Processes  ***
                                      top - 08:10:14 up 10:42,  2 users,  load average: 0.11, 0.17, 0.11
                                      Tasks:  47 total,   1 running,  46 sleeping,   0 stopped,   0 zombie
                                      %Cpu(s):  0.0 us,100.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
                                      MiB Mem :  12000.0 total,   2016.7 free,   2808.1 used,   7175.4 buff/cache     
                                      MiB Swap:   8192.0 total,   8192.0 free,      0.0 used.   9191.9 avail Mem 
                                      
                                      *** 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.
                                      
                                      
                                      *** DMESG CRITICAL ERRORS ***
                                      dmesg: read kernel buffer failed: Operation not permitted
                                      No critical errors detected
                                      
                                      *** FILESYSTEM ***
                                      Filesystem                       Type      Size  Used Avail Use% Mounted on
                                      /dev/mapper/pve-vm--110--disk--0 ext4      196G   15G  172G   8% /
                                      none                             tmpfs     492K  4.0K  488K   1% /dev
                                      udev                             devtmpfs   16G     0   16G   0% /dev/tty
                                      tmpfs                            tmpfs      16G     0   16G   0% /dev/shm
                                      tmpfs                            tmpfs     6.2G  120K  6.2G   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:
                                      TARGET SOURCE                           FSTYPE OPTIONS
                                      /      /dev/mapper/pve-vm--110--disk--0 ext4   rw,relatime,stripe=16
                                      
                                      Files in neuralgic directories:
                                      
                                      /var:
                                      417M    /var/
                                      245M    /var/cache
                                      242M    /var/cache/apt
                                      166M    /var/cache/apt/archives
                                      146M    /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 8.0M in the file system.
                                      
                                      /opt/iobroker/backups:
                                      2.1G    /opt/iobroker/backups/
                                      
                                      /opt/iobroker/iobroker-data:
                                      7.2G    /opt/iobroker/iobroker-data/
                                      5.1G    /opt/iobroker/iobroker-data/history
                                      1.3G    /opt/iobroker/iobroker-data/files
                                      617M    /opt/iobroker/iobroker-data/files/javascript.admin
                                      612M    /opt/iobroker/iobroker-data/esphome.0/.esphome
                                      
                                      The five largest files in iobroker-data are:
                                      134M    /opt/iobroker/iobroker-data/states.jsonl
                                      130M    /opt/iobroker/iobroker-data/objects.jsonl
                                      35M     /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map
                                      26M     /opt/iobroker/iobroker-data/files/echarts/static/js/main.41cee985.js.map
                                      26M     /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.41cee985.js.map
                                      
                                      USB-Devices by-id:
                                      USB-Sticks -  Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id':
                                      
                                      No Devices found 'by-id'
                                      
                                      *** NodeJS-Installation ***
                                      
                                      /usr/bin/nodejs         v20.18.0
                                      /usr/bin/node           v20.18.0
                                      /usr/bin/npm            10.8.2
                                      /usr/bin/npx            10.8.2
                                      /usr/bin/corepack       0.29.3
                                      
                                      nodejs:
                                        Installed: 20.18.0-1nodesource1
                                        Candidate: 20.18.0-1nodesource1
                                        Version table:
                                       *** 20.18.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                              100 /var/lib/dpkg/status
                                           20.17.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.16.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.15.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.15.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.14.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.13.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.13.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.12.2-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.12.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.12.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.11.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.11.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.10.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.9.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.8.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.8.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.7.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.6.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.6.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.5.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.5.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.4.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.3.1-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.3.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.2.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.1.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           20.0.0-1nodesource1 1001
                                              500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           18.19.0+dfsg-6~deb12u2 500
                                              500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                           18.19.0+dfsg-6~deb12u1 500
                                              500 http://security.debian.org bookworm-security/main amd64 Packages
                                      
                                      Temp directories causing deletion problem: 0
                                      No problems detected
                                      
                                      Errors in npm tree: 0
                                      No problems detected
                                      
                                      *** ioBroker-Installation ***
                                      
                                      ioBroker Status
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: jsonl
                                      States  type: jsonl
                                      
                                      Hosts:
                                      iobroker            iobroker (version: 6.0.11, hostname: iobroker      , alive, uptime: 38570)
                                      
                                      Core adapters versions
                                      js-controller:  6.0.11
                                      admin:          7.1.5
                                      javascript:     8.8.3
                                      
                                      nodejs modules from github:     5
                                      +-- iobroker.enocean@0.9.4 (git+ssh://git@github.com/jey-cee/ioBroker.enocean.git#7a623c622a67ec6f723822940570dc0b36883ab2)
                                      +-- iobroker.esphome@0.5.0-beta.10 (git+ssh://git@github.com/DrozmotiX/ioBroker.esphome.git#8ca51cd0460c21c1a817acc18c774da1fcf4f5ff)
                                      +-- iobroker.sourceanalytix@0.4.15-alpha.1 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#1010e11d126dc2e9639b70f17b79d082dead83ba)
                                      +-- iobroker.time-switch@2.2.2 (git+ssh://git@github.com/walli545/ioBroker.time-switch.git#45b5addb484d270dcac6d1bfdb1a9f86b444d80e)
                                      +-- iobroker.timer-switch@0.0.1 (git+ssh://git@github.com/Lucky-ESA/ioBroker.timer-switch.git#f38b114f0ed2d399b3f2665ea92a8f841727e0e5)
                                      
                                      Adapter State
                                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                                        system.adapter.alias-manager.0          : alias-manager         : iobroker                                 - disabled
                                      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
                                        system.adapter.bestway.0                : bestway               : iobroker                                 - disabled
                                      + system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
                                        system.adapter.device-reminder.0        : device-reminder       : iobroker                                 - disabled
                                        system.adapter.devices.0                : devices               : iobroker                                 - disabled
                                        system.adapter.discovery.0              : discovery             : iobroker                                 - disabled
                                        system.adapter.echarts.0                : echarts               : iobroker                                 - disabled
                                      + system.adapter.enocean.0                : enocean               : iobroker                                 -  enabled
                                        system.adapter.esphome.0                : esphome               : iobroker                                 - disabled
                                        system.adapter.flot.0                   : flot                  : iobroker                                 - disabled
                                      + system.adapter.history.0                : history               : iobroker                                 -  enabled
                                        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 - disabled
                                      + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
                                      + system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
                                      + system.adapter.modbus.1                 : modbus                : iobroker                                 -  enabled
                                        system.adapter.modbus.2                 : modbus                : iobroker                                 - disabled
                                      + system.adapter.modbus.3                 : modbus                : iobroker                                 -  enabled
                                      + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
                                      + system.adapter.mqtt.1                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
                                        system.adapter.octoprint.0              : octoprint             : iobroker                                 - disabled
                                        system.adapter.octoprint.1              : octoprint             : iobroker                                 - disabled
                                        system.adapter.pid.0                    : pid                   : iobroker                                 - disabled
                                        system.adapter.proxmox.0                : proxmox               : iobroker                                 - disabled, port: 8006
                                      + system.adapter.pvforecast.0             : pvforecast            : iobroker                                 -  enabled
                                      + system.adapter.shelly.1                 : shelly                : iobroker                                 -  enabled, port: 1882, bind: 0.0.0.0
                                        system.adapter.sourceanalytix.0         : sourceanalytix        : iobroker                                 - disabled
                                        system.adapter.sql.0                    : sql                   : iobroker                                 - disabled, port: 3306
                                        system.adapter.statistics.0             : statistics            : iobroker                                 - disabled
                                      + system.adapter.telegram.0               : telegram              : iobroker                                 -  enabled, port: 8443, bind: 0.0.0.0
                                      + system.adapter.time-switch.0            : time-switch           : iobroker                                 -  enabled
                                      + system.adapter.timer-switch.0           : timer-switch          : iobroker                                 -  enabled
                                        system.adapter.unifi.0                  : unifi                 : iobroker                                 - disabled
                                        system.adapter.vis-2-widgets-energy.0   : vis-2-widgets-energy  : iobroker                                 - disabled
                                        system.adapter.vis-2-widgets-gauges.0   : vis-2-widgets-gauges  : iobroker                                 - disabled
                                        system.adapter.vis-2-widgets-material.0 : vis-2-widgets-material: iobroker                                 - disabled
                                        system.adapter.vis-2.0                  : vis-2                 : 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                                 - disabled
                                      + system.adapter.vis-inventwo.0           : vis-inventwo          : iobroker                                 -  enabled
                                        system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 - disabled
                                        system.adapter.vis-materialdesign.0     : vis-materialdesign    : 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.wireless-mbus.1          : wireless-mbus         : iobroker                                 - disabled
                                      + 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.yr.0                     : yr                    : iobroker                                 -  enabled
                                      
                                      + instance is alive
                                      
                                      Enabled adapters with bindings
                                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                                      + system.adapter.mqtt.0                   : mqtt                  : iobroker                                 -  enabled, port: 1884, bind: 0.0.0.0
                                      + system.adapter.mqtt.1                   : mqtt                  : iobroker                                 -  enabled, port: 1883, bind: 0.0.0.0
                                      + system.adapter.shelly.1                 : shelly                : iobroker                                 -  enabled, port: 1882, 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.ws.0                     : ws                    : iobroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
                                      
                                      ioBroker-Repositories
                                      ┌─────────┬────────────────────┬─────────────────────────────────────────────────────────┬──────────────┐
                                      │ (index) │ name               │ url                                                     │ auto upgrade │
                                      ├─────────┼────────────────────┼─────────────────────────────────────────────────────────┼──────────────┤
                                      │ 0       │ 'Stable (default)' │ 'http://download.iobroker.net/sources-dist.json'        │ false        │
                                      │ 1       │ 'Beta (latest)'    │ 'http://download.iobroker.net/sources-dist-latest.json' │ false        │
                                      └─────────┴────────────────────┴─────────────────────────────────────────────────────────┴──────────────┘
                                      
                                      Active repo(s): Stable (default)
                                      Upgrade policy: none
                                      
                                      Installed ioBroker-Instances
                                      Used repository: Stable (default)
                                      Adapter    "admin"        : 7.1.5    , installed 7.1.5
                                      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                      Adapter    "backitup"     : 3.0.25   , installed 3.0.25
                                      Adapter    "bestway"      : 0.0.4    , installed 0.0.4
                                      Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                                      Adapter    "device-reminder": 3.1.2  , installed 3.0.0  [Updatable]
                                      Adapter    "devices"      : 1.1.5    , installed 1.1.5
                                      Adapter    "discovery"    : 5.0.0    , installed 5.0.0
                                      Adapter    "echarts"      : 1.9.2    , installed 1.9.2
                                      Adapter    "flot"         : 1.12.0   , installed 1.12.0
                                      Adapter    "history"      : 3.0.1    , installed 3.0.1
                                      Adapter    "icons-mfd-svg": 1.2.0    , installed 1.2.0
                                      Adapter    "javascript"   : 8.8.3    , installed 8.8.3
                                      Controller "js-controller": 6.0.11   , installed 6.0.11
                                      Adapter    "modbus"       : 6.3.2    , installed 6.3.2
                                      Adapter    "mqtt"         : 6.1.2    , installed 6.1.2
                                      Adapter    "octoprint"    : 5.1.0    , installed 5.1.0
                                      Adapter    "pid"          : 1.1.3    , installed 1.1.3
                                      Adapter    "proxmox"      : 2.3.0    , installed 2.3.0
                                      Adapter    "pvforecast"   : 3.0.0    , installed 3.0.0
                                      Adapter    "shelly"       : 8.2.1    , installed 8.2.1
                                      Adapter    "simple-api"   : 2.8.0    , installed 2.8.0
                                      Adapter    "socketio"     : 6.7.1    , installed 6.7.1
                                      Adapter    "sql"          : 3.0.1    , installed 3.0.1
                                      Adapter    "statistics"   : 2.4.0    , installed 2.4.0
                                      Adapter    "telegram"     : 3.9.0    , installed 3.9.0
                                      Adapter    "unifi"        : 0.7.0    , installed 0.7.0
                                      Adapter    "vis"          : 1.5.6    , installed 1.5.6
                                      Adapter    "vis-2"        : 2.9.64   , installed 2.9.64
                                      Adapter    "vis-2-widgets-energy": 1.0.2, installed 1.0.2
                                      Adapter    "vis-2-widgets-gauges": 1.1.0, installed 1.1.0
                                      Adapter    "vis-2-widgets-material": 1.4.10, installed 1.4.10
                                      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-justgage" : 2.1.7    , installed 2.1.7
                                      Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                                      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.9    , installed 2.5.9
                                      Adapter    "web"          : 6.2.5    , installed 6.2.5
                                      Adapter    "wireless-mbus": 0.9.4    , installed 0.9.4
                                      Adapter    "wled"         : 0.7.2    , installed 0.7.3-beta.0
                                      Adapter    "ws"           : 2.6.2    , installed 2.6.2
                                      Adapter    "yr"           : 5.3.0    , installed 5.3.0
                                      
                                      Objects and States
                                      Please stand by - This may take a while
                                      Objects:        178881
                                      States:         144886
                                      
                                      *** OS-Repositories and Updates ***
                                      Hit:1 http://deb.debian.org/debian bookworm InRelease
                                      Hit:2 http://security.debian.org bookworm-security InRelease
                                      Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                                      Hit:4 https://deb.nodesource.com/node_20.x nodistro InRelease
                                      Reading package lists...
                                      Pending Updates: 0
                                      
                                      *** Listening Ports ***
                                      Active Internet connections (only servers)
                                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name    
                                      tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       10723      163/iobroker.js-con 
                                      tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       10718      163/iobroker.js-con 
                                      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          15136      321/master          
                                      tcp        0      0 0.0.0.0:1882            0.0.0.0:*               LISTEN      1001       10932      571/io.shelly.1     
                                      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       11882      556/io.mqtt.1       
                                      tcp        0      0 0.0.0.0:1884            0.0.0.0:*               LISTEN      1001       16944      541/io.mqtt.0       
                                      tcp        0      0 0.0.0.0:502             0.0.0.0:*               LISTEN      1001       11854      499/io.modbus.1     
                                      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          9892       1/init              
                                      tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      105        7651       151/redis-server 12 
                                      tcp6       0      0 ::1:6379                :::*                    LISTEN      105        7652       151/redis-server 12 
                                      tcp6       0      0 :::22                   :::*                    LISTEN      0          7620       1/init              
                                      tcp6       0      0 :::111                  :::*                    LISTEN      0          9894       1/init              
                                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       9057       692/io.web.0        
                                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       4574       332/io.admin.0      
                                      tcp6       0      0 :::8084                 :::*                    LISTEN      1001       11078      722/io.ws.0         
                                      tcp6       0      0 ::1:25                  :::*                    LISTEN      0          15137      321/master          
                                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       5885       707/io.wled.0       
                                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          11655      92/dhclient         
                                      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          9893       1/init              
                                      udp6       0      0 :::111                  :::*                                0          9895       1/init              
                                      
                                      *** Log File - Last 25 Lines ***
                                      
                                      2024-11-01 08:04:05.703  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:04:38.704  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:04:38.704  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:05:11.707  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:05:11.707  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:05:44.708  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:05:44.708  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:06:17.708  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:06:17.708  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:06:50.710  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:06:50.710  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:07:23.713  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:07:23.713  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:07:56.842  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:07:56.842  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:08:29.843  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:08:29.843  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:09:02.843  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:09:02.843  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:09:35.843  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:09:35.843  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:10:08.843  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:10:08.843  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      2024-11-01 08:10:41.845  - error: wled.0 (707) [requestDeviceDataByAPI] AxiosError: timeout of 3000ms exceeded
                                      2024-11-01 08:10:41.845  - warn: wled.0 (707) Unable to initialise 192.168.130.162 will retry in scheduled interval !
                                      
                                      

                                      ============ Mark until here for C&P =============

                                      und ja, es läuft bei weitem nicht alles was ich drauf habe, sondern nur dass was ich zum Betrieb meines Hauses wirklich brauche. Irgendwie traue ich der ganze Sache schlicht noch nicht, denn ich würde zu gerne wissen woran es scheitert um eine weitere solche Aktion verhindern zu können.

                                      Ich sehe hier gerade das bei den States wieder "json" steht, da stimmt doch was schon wieder nicht mehr. Stellt sich das mit einem Restore wieder auf json zurück

                                      andi@iobroker:~$ iob setup custom
                                      Current configuration:
                                      - Objects database:
                                        - Type: jsonl
                                        - Host/Unix Socket: 0.0.0.0
                                        - Port: 9001
                                      - States database:
                                        - Type: jsonl
                                        - Host/Unix Socket: 0.0.0.0
                                        - Port: 9000
                                      - Data Directory: ../../iobroker-data/
                                      

                                      Nur damit keiner fragen muss: ich habe das mit dem User "andi" der root rechte hat installiert. Ich habe jetzt die "States wieder auf redis gestellt und er hat mir die Daten konvertiert.

                                      Gibt es irgend eine ersichtlichen Grund wieso sich mein System so merkwürdig verhält, oder anderst gefragt was ist bei mir anderst und läuft darum nicht stabil? (ich weiss ist die berühmte "suche nach der Nadel im Heuhaufen" , aber vieleicht hat einer einen Magneten dafür).

                                      Danke für Tips

                                      Edit:

                                      und schon gehen die Probleme wieder los:

                                      andi@iobroker:~$ iob start
                                      andi@iobroker:~$ iob status
                                       Cannot read system.config: null (OK when migrating or restoring)
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: file
                                      States  type: redis
                                      andi@iobroker:~$ 
                                      

                                      ich verstehe es nicht mehr

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

                                        @andibr sagte in wieviel ist zu viel an Adapter?:

                                        Ich sehe hier gerade das bei den States wieder "json" steht, da stimmt doch was schon wieder nicht mehr. Stellt sich das mit einem Restore wieder auf json zurück

                                        Ist das eine Frage? Wenn das Backup aus Zeiten stammt, in denen der ioBroker noch auf "jsonl" lief, ist das Verhalten normal.

                                        andi@iobroker:~$ iob status
                                        
                                        Cannot read system.config: null (OK when migrating or restoring)
                                        
                                        iobroker is running on this host.
                                        Objects type: file
                                        States  type: redis
                                        

                                        Keine Ahnung, ob das mit deinen Problemen zusammenhängt, aber "file" ist schon länger nicht mehr der empfohlene Type. Wenn du sowieso Redis hast, warum nicht auch die Objects-DB umstellen?

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          andibr @Marc Berg last edited by andibr

                                          @marc-berg

                                          Ich habe erst seit dem jetzt vorletzen installieren aus redis umgestellt. Aber gut zu wissen, das er beim restore die "state" auch überschreibt. Ich habe jetzt auf der Konsole das Backup von heute morgen 03.00 zurück geholt und jetzt scheint es wieder zu laufen.

                                          andi@iobroker:~$ iob status
                                          iobroker is running on this host.
                                          
                                          
                                          Objects type: jsonl
                                          States  type: redis
                                          andi@iobroker:~$ 
                                          

                                          Ich frage mich langsam ob es an meinen Fähigkeiten liegt, oder ob ich irgendwo rundum ein Problem habe. Die Hardware möchte ich ja nicht ganz ausschliessen, aber die ist noch kein halbes Jahr alt und zeugt auch bei der SSD bisher keine Auffälligkeiten.

                                          Edit:
                                          Was ich sicher schon bezeugen kann: die vis ist mit redis sehr viel schneller in der Anzeige

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          971
                                          Online

                                          31.7k
                                          Users

                                          79.7k
                                          Topics

                                          1.3m
                                          Posts

                                          7
                                          24
                                          1052
                                          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