Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. (gelöst) neues System auf Synology NAS mit docker

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (gelöst) neues System auf Synology NAS mit docker

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

      Hallo,
      ich bin dabei meine Hausautomation auf iobroker neu zu installieren. Bisher lief alles ca. 10 Jahre störungsfrei auf einer CCU2 mit Homeputer. Nun wurde es mal Zeit das system auf einen neuen Stand zu bringen. (Homeputer wird nicht weiter unterstützt)
      Mein System ist nicht alzu groß. Ich habe ca 120 Hardwaregeräte von Homematic am laufen. (Den einen oder anderen vom Forum kenne ich noch vom Stammtisch. Homoran, Blacky. Homoran du hast damals iobroker vorgestellt) nur so nebenbei.
      Jedenfalls habe ich mich entschlossen auf iobroker umzusteigen. Da ich eine nichtstuende Synology NAS hier habe die ständig läuft, lag es nahe iobroker darauf zu installieren. Mein Start war dann Anfang November. Nach ein paar Fehlversuchen hatte ich dann docker und iobroker zu laufen gebracht. Mittlerweile hab ich die Funktionalität von dem alten Stand erreicht mit einer besseren Visu. Es sind reichlich Scripte entstanden.
      Das System läuft gut und stabil (bisher)
      Soweit erst mal zu mir.

      Jetzt meine Fragen:

      1. zur Auslastung, wie hoch sollte auf so einem kleinen System die CPU Auslastung sein. Liegt hier nur im durchschnitt um 1%.
        Scripte laufen. Steuerung funktioniert.
      2. diverse Fehlermeldungen. Ab und zu kommt eine Fehlermeldung
      host.iobroker
      2023-12-02 00:42:27.181	error	Invalid request getRepository. "callback"(false) or "from"(true) is null
      
      1. History Adapter stürzt ab und an ab. Hier vermute ich einen Fehler bei Tankerkönig. Da der Absturz immer dann kommt wenn im Historyeintrag
        ein geändert erscheint.
        Screenshot 2023-12-02 210529.png

      Das war es auch schon soweit. Wie schon gesagt, mein System umfast ca. 120 Hardwaregeräte, 3800Objekte und 3000 Zustände.
      zum Abschluß noch ein iob diag

      Skript v.2023-10-10
      
      *** BASE SYSTEM ***
      Hardware Vendor : Synology
      Kernel          : x86_64
      Userland        : amd64
      Docker          : v9.0.1
      Virtualization  : Docker
      Kernel          : x86_64
      Userland        : amd64
      
      Systemuptime and Load:
       12:23:38 up 9 days, 14 min,  0 user,  load average: 0.25, 0.19, 0.12
      CPU threads: 4
      
      
      *** Time and Time Zones ***
      Sat Dec  2 11:23:38 UTC 2023
      Sat Dec  2 12:23:38 CET 2023
      CET +0100
      Etc/UTC
      
      *** User and Groups ***
      root
      /root
      root
      
      *** X-Server-Setup ***
      X-Server: 	false
      Desktop: 	
      Terminal: 	
      
      
      *** MEMORY ***
                     total        used        free      shared  buff/cache   available
      Mem:            8.2G        3.2G        307M        177M        5.2G        5.0G
      Swap:           7.1G        791M        6.3G
      Total:           15G        4.0G        6.6G
      
               7792 M total memory
               3046 M used memory
               2462 M active memory
               3966 M inactive memory
                292 M free memory
                 98 M buffer memory
               4820 M swap cache
               6723 M total swap
                754 M used swap
               5969 M free swap
      
      *** FILESYSTEM ***
      Filesystem             Type   Size  Used Avail Use% Mounted on
      /dev/mapper/cachedev_0 btrfs  7.0T  3.1T  3.9T  45% /
      tmpfs                  tmpfs   64M     0   64M   0% /dev
      tmpfs                  tmpfs  3.9G     0  3.9G   0% /sys/fs/cgroup
      shm                    tmpfs   64M     0   64M   0% /dev/shm
      /dev/mapper/cachedev_0 btrfs  7.0T  3.1T  3.9T  45% /opt/iobroker
      /dev/mapper/cachedev_0 btrfs  7.0T  3.1T  3.9T  45% /etc/hosts
      tmpfs                  tmpfs  3.9G     0  3.9G   0% /proc/acpi
      tmpfs                  tmpfs  3.9G     0  3.9G   0% /proc/scsi
      tmpfs                  tmpfs  3.9G     0  3.9G   0% /sys/firmware
      
      Messages concerning ext4 filesystem in dmesg:
      sudo: unable to resolve host iobroker: Name or service not known
      [Thu Nov 23 12:09:24 2023] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities
      [Thu Nov 23 12:09:24 2023] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
      [Thu Nov 23 12:09:24 2023] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities
      [Thu Nov 23 12:09:24 2023] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: barrier=1
      [Thu Nov 23 12:09:28 2023] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities
      [Thu Nov 23 12:09:28 2023] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
      [Thu Nov 23 12:09:29 2023] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities
      [Thu Nov 23 12:09:29 2023] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: barrier=1
      [Thu Nov 23 12:09:49 2023] EXT4-fs (usb1p1): mounted filesystem with ordered data mode. Opts: nodelalloc,synoacl
      
      Show mounted filesystems \(real ones only\):
      TARGET             SOURCE                                                                                                                         FSTYPE OPTIONS
      /                  /dev/mapper/cachedev_0[/@syno/@docker/btrfs/subvolumes/f10b8c11c5cb4e0266fdf6662bdc9a71db29486ee071ee2f83a5d307fdb82891]       btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_tree,syno_allocator,subvolid=823,subvol=/@syno/@docker/btrfs/subvolumes/f10b8c11c5cb4e0266fdf6662bdc9a71db29486ee071ee2f83a5d307fdb82891
      |-/opt/iobroker    /dev/mapper/cachedev_0[/@syno/docker/iobroker]                                                                                 btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_tree,syno_allocator,subvolid=693,subvol=/@syno/docker
      |-/etc/resolv.conf /dev/mapper/cachedev_0[/@syno/@docker/containers/06b989158f32532a564b744fc5c0e575c4de6e3858da6c11fd8e0f933047f582/resolv.conf] btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_tree,syno_allocator,subvolid=256,subvol=/@syno
      |-/etc/hostname    /dev/mapper/cachedev_0[/@syno/@docker/containers/06b989158f32532a564b744fc5c0e575c4de6e3858da6c11fd8e0f933047f582/hostname]    btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_tree,syno_allocator,subvolid=256,subvol=/@syno
      `-/etc/hosts       /dev/mapper/cachedev_0[/@syno/@docker/containers/06b989158f32532a564b744fc5c0e575c4de6e3858da6c11fd8e0f933047f582/hosts]       btrfs  rw,nodev,relatime,ssd,synoacl,space_cache=v2,auto_reclaim_space,metadata_ratio=50,block_group_cache_tree,syno_allocator,subvolid=256,subvol=/@syno
      
      Files in neuralgic directories:
      
      /var:
      sudo: unable to resolve host iobroker: Name or service not known
      34M	/var/
      32M	/var/lib
      19M	/var/lib/apt/lists
      19M	/var/lib/apt
      13M	/var/lib/dpkg
      
      
      
      /opt/iobroker/backups:
      92M	/opt/iobroker/backups/
      
      /opt/iobroker/iobroker-data:
      225M	/opt/iobroker/iobroker-data/
      178M	/opt/iobroker/iobroker-data/files
      67M	/opt/iobroker/iobroker-data/files/javascript.admin
      48M	/opt/iobroker/iobroker-data/files/javascript.admin/static
      47M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js
      
      The five largest files in iobroker-data are:
      21M	/opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js.map
      8.3M	/opt/iobroker/iobroker-data/files/web.admin/static/js/main.aaea95f8.js
      7.5M	/opt/iobroker/iobroker-data/objects.jsonl
      7.5M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js/691.26ff76ce.chunk.js.map
      7.1M	/opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.d3cce782.chunk.js.map
      
      USB-Devices by-id:
      USB-Sticks -  Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id':
      
      find: '/dev/serial/by-id/': No such file or directory
      
      *** NodeJS-Installation ***
      
      /usr/bin/nodejs 	v18.18.2
      /usr/bin/node 		v18.18.2
      /usr/bin/npm 		9.8.1
      /usr/bin/npx 		9.8.1
      /usr/bin/corepack 	0.19.0
      
      
      nodejs:
        Installed: 18.18.2-1nodesource1
        Candidate: 18.18.2-1nodesource1
        Version table:
       *** 18.18.2-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
              100 /var/lib/dpkg/status
           18.18.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.18.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.17.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.17.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.16.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.16.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.15.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.2-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.14.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.13.0+dfsg1-1 500
              500 http://deb.debian.org/debian bookworm/main amd64 Packages
           18.13.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.12.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.11.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.10.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.9.1-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.9.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.8.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.7.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.6.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.5.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.4.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.3.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.2.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.1.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
           18.0.0-1nodesource1 500
              500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages
      
      Temp directories causing npm8 problem: 0
      No problems detected
      
      Errors in npm tree:
      
      *** ioBroker-Installation ***
      
      ioBroker Status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Core adapters versions
      js-controller: 	5.0.16
      admin: 		6.12.0
      javascript: 	7.1.6
      
      Adapters from github: 	0
      
      Adapter State
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 10.88.0.5, run as: admin
      + system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
        system.adapter.discovery.0              : discovery             : iobroker                                 - disabled
      + system.adapter.email.0                  : email                 : iobroker                                 -  enabled
        system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
      + system.adapter.history.0                : history               : iobroker                                 -  enabled
      + system.adapter.hm-rega.0                : hm-rega               : iobroker                                 -  enabled
      + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
        system.adapter.icons-material-svg.0     : icons-material-svg    : iobroker                                 -  enabled
        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
      + system.adapter.javascript.0             : javascript            : iobroker                                 -  enabled
      + system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
        system.adapter.vis-history.0            : vis-history           : iobroker                                 -  enabled
        system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : iobroker                                 -  enabled
        system.adapter.vis-material-advanced.0  : vis-material-advanced : iobroker                                 -  enabled
        system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: ubecker
      
      + instance is alive
      
      Enabled adapters with bindings
      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 10.88.0.5, run as: admin
      + system.adapter.hm-rpc.0                 : hm-rpc                : iobroker                                 -  enabled, port: 0
      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: ubecker
      
      ioBroker-Repositories
      stable        : http://download.iobroker.net/sources-dist.json
      beta          : http://download.iobroker.net/sources-dist-latest.json
      
      Active repo(s): stable
      
      Installed ioBroker-Instances
      Used repository: stable
      Adapter    "admin"        : 6.12.0   , installed 6.12.0
      Adapter    "backitup"     : 2.8.7    , installed 2.8.7
      Adapter    "discovery"    : 4.2.0    , installed 4.2.0
      Adapter    "email"        : 1.2.0    , installed 1.2.0
      Adapter    "flot"         : 1.12.0   , installed 1.12.0
      Adapter    "history"      : 3.0.1    , installed 3.0.1
      Adapter    "hm-rega"      : 4.0.0    , installed 4.0.0
      Adapter    "hm-rpc"       : 1.15.19  , installed 1.15.19
      Adapter    "icons-material-svg": 0.1.0, installed 0.1.0
      Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
      Adapter    "javascript"   : 7.1.6    , installed 7.1.6
      Controller "js-controller": 5.0.16   , installed 5.0.16
      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
      Adapter    "socketio"     : 6.6.0    , installed 6.6.0
      Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
      Adapter    "vis"          : 1.4.16   , installed 1.4.16
      Adapter    "vis-history"  : 1.0.0    , installed 1.0.0
      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
      Adapter    "vis-material-advanced": 1.7.4, installed 1.7.4
      Adapter    "web"          : 6.1.10   , installed 6.1.10
      Adapter    "ws"           : 2.5.8    , installed 2.5.8
      
      Objects and States
      Please stand by - This may take a while
      Objects: 	3576
      States: 	2747
      
      *** OS-Repositories and Updates ***
      sudo: unable to resolve host iobroker: Name or service not known
      sudo: unable to resolve host iobroker: Name or service not known
      Hit:1 http://deb.debian.org/debian bookworm InRelease
      Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
      Hit:3 http://deb.debian.org/debian-security bookworm-security InRelease
      Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
      Reading package lists...
      Pending Updates: 5
      
      *** Listening Ports ***
      sudo: unable to resolve host iobroker: Name or service not known
      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:512           0.0.0.0:*               LISTEN      0          95395      -                   
      tcp        0      0 127.0.0.1:161           0.0.0.0:*               LISTEN      0          40357      -                   
      tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN      0          37385      -                   
      tcp        0      0 0.0.0.0:6690            0.0.0.0:*               LISTEN      0          104087     -                   
      tcp        0      0 0.0.0.0:514             0.0.0.0:*               LISTEN      0          96368      -                   
      tcp        0      0 0.0.0.0:5510            0.0.0.0:*               LISTEN      192868     81389      -                   
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1000       1765106    -                   
      tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      0          40424      -                   
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1000       1767132    -                   
      tcp        0      0 0.0.0.0:5001            0.0.0.0:*               LISTEN      0          40426      -                   
      tcp        0      0 0.0.0.0:873             0.0.0.0:*               LISTEN      0          36861      -                   
      tcp        0      0 0.0.0.0:42              0.0.0.0:*               LISTEN      0          28168      -                   
      tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      0          39569      -                   
      tcp        0      0 0.0.0.0:5357            0.0.0.0:*               LISTEN      0          93725      -                   
      tcp        0      0 0.0.0.0:4045            0.0.0.0:*               LISTEN      0          40314      -                   
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          21321      -                   
      tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      0          40428      -                   
      tcp        0      0 10.88.0.5:8081          0.0.0.0:*               LISTEN      1000       2671356    -                   
      tcp        0      0 10.88.0.5:2001          0.0.0.0:*               LISTEN      1000       1771406    -                   
      tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      0          37129      -                   
      tcp        0      0 0.0.0.0:662             0.0.0.0:*               LISTEN      0          31712      -                   
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          28164      -                   
      tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      55         56297      -                   
      tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      0          40430      -                   
      tcp        0      0 0.0.0.0:892             0.0.0.0:*               LISTEN      0          32898      -                   
      tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      0          39568      -                   
      tcp6       0      0 :::3263                 :::*                    LISTEN      0          42699      -                   
      tcp6       0      0 :::3264                 :::*                    LISTEN      0          44376      -                   
      tcp6       0      0 :::3265                 :::*                    LISTEN      0          44475      -                   
      tcp6       0      0 :::2049                 :::*                    LISTEN      0          37398      -                   
      tcp6       0      0 :::6690                 :::*                    LISTEN      0          104088     -                   
      tcp6       0      0 :::5510                 :::*                    LISTEN      192868     81390      -                   
      tcp6       0      0 :::5000                 :::*                    LISTEN      0          40425      -                   
      tcp6       0      0 :::5001                 :::*                    LISTEN      0          40427      -                   
      tcp6       0      0 :::873                  :::*                    LISTEN      0          36862      -                   
      tcp6       0      0 :::42                   :::*                    LISTEN      0          28170      -                   
      tcp6       0      0 :::139                  :::*                    LISTEN      0          39567      -                   
      tcp6       0      0 :::5357                 :::*                    LISTEN      0          93726      -                   
      tcp6       0      0 :::4045                 :::*                    LISTEN      0          38533      -                   
      tcp6       0      0 :::111                  :::*                    LISTEN      0          21324      -                   
      tcp6       0      0 :::80                   :::*                    LISTEN      0          40429      -                   
      tcp6       0      0 :::8082                 :::*                    LISTEN      1000       1774944    -                   
      tcp6       0      0 :::21                   :::*                    LISTEN      0          37130      -                   
      tcp6       0      0 :::662                  :::*                    LISTEN      0          31716      -                   
      tcp6       0      0 :::22                   :::*                    LISTEN      0          28166      -                   
      tcp6       0      0 :::443                  :::*                    LISTEN      0          40431      -                   
      tcp6       0      0 :::892                  :::*                    LISTEN      0          32904      -                   
      tcp6       0      0 :::3261                 :::*                    LISTEN      0          44375      -                   
      tcp6       0      0 :::445                  :::*                    LISTEN      0          39566      -                   
      tcp6       0      0 :::5566                 :::*                    LISTEN      0          65618      -                   
      udp        0      0 0.0.0.0:3702            0.0.0.0:*                           99         84988      -                   
      udp        0      0 0.0.0.0:4045            0.0.0.0:*                           0          40313      -                   
      udp        0      0 10.88.0.5:69            0.0.0.0:*                           0          65037      -                   
      udp        0      0 127.0.0.1:69            0.0.0.0:*                           0          65036      -                   
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          21319      -                   
      udp        0      0 0.0.0.0:123             0.0.0.0:*                           0          34020      -                   
      udp        0      0 10.88.0.255:137         0.0.0.0:*                           0          21026158   -                   
      udp        0      0 10.88.0.5:137           0.0.0.0:*                           0          21026157   -                   
      udp        0      0 0.0.0.0:137             0.0.0.0:*                           0          21026117   -                   
      udp        0      0 10.88.0.255:138         0.0.0.0:*                           0          21026160   -                   
      udp        0      0 10.88.0.5:138           0.0.0.0:*                           0          21026159   -                   
      udp        0      0 0.0.0.0:138             0.0.0.0:*                           0          21026118   -                   
      udp        0      0 127.0.0.1:161           0.0.0.0:*                           0          40356      -                   
      udp        0      0 0.0.0.0:53553           0.0.0.0:*                           0          21320      -                   
      udp        0      0 127.0.0.1:323           0.0.0.0:*                           0          34018      -                   
      udp        0      0 0.0.0.0:514             0.0.0.0:*                           0          96366      -                   
      udp        0      0 0.0.0.0:662             0.0.0.0:*                           0          31710      -                   
      udp        0      0 0.0.0.0:892             0.0.0.0:*                           0          32893      -                   
      udp        0      0 127.0.0.1:902           0.0.0.0:*                           0          32980      -                   
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           0          35907      -                   
      udp        0      0 0.0.0.0:9997            0.0.0.0:*                           0          30118      -                   
      udp        0      0 0.0.0.0:9998            0.0.0.0:*                           0          30117      -                   
      udp        0      0 0.0.0.0:9999            0.0.0.0:*                           0          30116      -                   
      udp        0      0 0.0.0.0:1900            0.0.0.0:*                           0          93856      -                   
      udp        0      0 0.0.0.0:2049            0.0.0.0:*                           0          37395      -                   
      udp        0      0 127.0.0.1:31067         0.0.0.0:*                           0          77951      -                   
      udp        0      0 127.0.0.1:31068         0.0.0.0:*                           0          77952      -                   
      udp        0      0 0.0.0.0:60044           0.0.0.0:*                           0          35909      -                   
      udp6       0      0 :::3702                 :::*                                99         84990      -                   
      udp6       0      0 :::4045                 :::*                                0          40315      -                   
      udp6       0      0 :::111                  :::*                                0          21322      -                   
      udp6       0      0 :::123                  :::*                                0          34021      -                   
      udp6       0      0 ::1:323                 :::*                                0          34019      -                   
      udp6       0      0 :::514                  :::*                                0          96367      -                   
      udp6       0      0 :::662                  :::*                                0          31714      -                   
      udp6       0      0 :::892                  :::*                                0          32901      -                   
      udp6       0      0 :::1194                 :::*                                0          73707      -                   
      udp6       0      0 :::5353                 :::*                                0          35908      -                   
      udp6       0      0 :::46941                :::*                                0          35910      -                   
      udp6       0      0 :::2049                 :::*                                0          37456      -                   
      udp6       0      0 :::51530                :::*                                0          21323      -                   
      
      *** Log File - Last 25 Lines ***
      
      2023-12-02 00:42:27.181  - error: host.iobroker Invalid request getRepository. "callback"(false) or "from"(true) is null
      
      
      ======================= SUMMARY =======================
      			v.2023-10-10
      
      
      model name	: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz
      Kernel          : x86_64
      Userland        : amd64
      Docker          : v9.0.1
      
      Installation: 		Docker
      Kernel: 		x86_64
      Userland: 		amd64
      Timezone: 		Etc/UTC
      User-ID: 		0
      X-Server: 		false
      
      
      Pending OS-Updates: 	5
      Pending iob updates: 	0
      
      Nodejs-Installation: 	/usr/bin/nodejs 	v18.18.2
      			/usr/bin/node 		v18.18.2
      			/usr/bin/npm 		9.8.1
      			/usr/bin/npx 		9.8.1
      			/usr/bin/corepack 	0.19.0
      
      Recommended versions are nodejs 18.19.0 and npm 10.2.3
      Your nodejs installation is correct
      
      MEMORY: 
                     total        used        free      shared  buff/cache   available
      Mem:            8.2G        3.4G        331M        177M        5.0G        4.8G
      Swap:           7.1G        779M        6.3G
      Total:           15G        4.1G        6.6G
      
      Active iob-Instances: 	10
      Active repo(s): stable
      
      ioBroker Core: 		js-controller 		5.0.16
      			admin 			6.12.0
      
      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: 10.88.0.5, run as: admin
      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: ubecker
      
      Objects: 		3576
      States: 		2747
      
      Size of iob-Database:
      
      12M	/opt/iobroker/iobroker-data/objects.jsonl
      1.1M	/opt/iobroker/iobroker-data/states.jsonl
      
      
      
      =================== END OF SUMMARY ====================
      

      Screenshot 2023-12-02 205529.png

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

        @ubecker
        Gut 300 MB free klingt arg wenig.
        Ich meine schon öfters gelesen zu haben, dass der Tankerkönig sich mit der Zeit recht viel genehmigt.
        Vielleicht könnte es helfen, den zyklisch neu zu starten.

        Was läuft da sonst noch auf der Syno?
        Ich hatte da bei 8 GB RAM deutlich mehr freien Speicher - bei wesentlich mehr Instanzen.

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

          @codierknecht sagte in neues System auf Synology NAS mit docker:

          300 MB free klingt arg wenig.

          dachte ich auch erst, da sind aber 5G available!
          Wobei ich mich mit dem Gedockere nicht die Bohne auskenne.

          @ubecker sagte in neues System auf Synology NAS mit docker:

          History Adapter stürzt ab und an ab.

          Das sollte nicht passieren.

          @ubecker sagte in neues System auf Synology NAS mit docker:

          Hier vermute ich einen Fehler bei Tankerkönig. Da der Absturz immer dann kommt wenn im Historyeintrag
          ein geändert erscheint.

          auch da sollte kein Zusammenhang mit dem Eintrag und dem History Absturz bestehen.

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

            @homoran said in neues System auf Synology NAS mit docker:

            auch da sollte kein Zusammenhang mit dem Eintrag und dem History Absturz bestehen.

            doch da ist ein Zusammenhang.
            hier noch die log Einträge zu den Datan aus Historie

            2023-11-28 19:19:01.130  - error: history.0 (24109) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
            2023-11-28 19:19:01.169  - error: history.0 (24109) unhandled promise rejection: Cannot read properties of undefined (reading 'ts')
            2023-11-28 19:19:01.385  - error: history.0 (24109) TypeError: Cannot read properties of undefined (reading 'ts')
                at Object.beautify (/opt/iobroker/node_modules/iobroker.history/lib/aggregate.js:686:31)
                at /opt/iobroker/node_modules/iobroker.history/main.js:1318:31
                at getFileData (/opt/iobroker/node_modules/iobroker.history/main.js:1116:5)
                at /opt/iobroker/node_modules/iobroker.history/main.js:1294:17
                at getCachedData (/opt/iobroker/node_modules/iobroker.history/main.js:1021:5)
                at getHistory (/opt/iobroker/node_modules/iobroker.history/main.js:1270:9)
                at processMessage (/opt/iobroker/node_modules/iobroker.history/main.js:349:9)
                at Object.message (/opt/iobroker/node_modules/iobroker.history/main.js:255:25)
                at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11132:47)
                at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:379:37)
            2023-11-28 19:19:01.386  - error: history.0 (24109) Cannot read properties of undefined (reading 'ts')
            2023-11-28 19:19:01.468  - info: history.0 (24109) terminating
            2023-11-28 19:19:01.469  - warn: history.0 (24109) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2023-11-28 19:19:02.009  - error: host.iobroker Caught by controller[0]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'ts')
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at Object.beautify (/opt/iobroker/node_modules/iobroker.history/lib/aggregate.js:686:31)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at /opt/iobroker/node_modules/iobroker.history/main.js:1318:31
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at getFileData (/opt/iobroker/node_modules/iobroker.history/main.js:1116:5)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at /opt/iobroker/node_modules/iobroker.history/main.js:1294:17
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at getCachedData (/opt/iobroker/node_modules/iobroker.history/main.js:1021:5)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at getHistory (/opt/iobroker/node_modules/iobroker.history/main.js:1270:9)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at processMessage (/opt/iobroker/node_modules/iobroker.history/main.js:349:9)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at Object.message (/opt/iobroker/node_modules/iobroker.history/main.js:255:25)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11132:47)
            2023-11-28 19:19:02.037  - error: host.iobroker Caught by controller[1]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:379:37)
            2023-11-28 19:19:02.038  - error: host.iobroker instance system.adapter.history.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            2023-11-28 19:19:02.038  - info: host.iobroker Restart adapter system.adapter.history.0 because enabled
            2023-11-28 19:19:32.082  - info: host.iobroker instance system.adapter.history.0 started with pid 7557
            
            Homoran 1 Reply Last reply Reply Quote 0
            • ubecker
              ubecker last edited by

              @codierknecht said in neues System auf Synology NAS mit docker:

              Gut 300 MB free klingt arg wenig.

              bei den Instanzen wird das angezeigt
              Freier Festplattenspeicher: 56%, Gesamte RAM-Auslastung: 1364 Mb / Frei: 66% = 5127 Mb [Server: iobroker - 10 Prozesse]

              Auf dem Synology läuft nichts besonnderes. Datensicherung, VPN, Datensyncronisation mit einem externen Verzeichnis. (NAS vom Freund)
              088bc20e-f01e-4863-ba2d-ff11d29e76b8-image.png

              ich denke da ist alles im grünen Bereich.

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

                @ubecker sagte in neues System auf Synology NAS mit docker:

                doch da ist ein Zusammenhang.

                vielleicht zeitlich, sollte aber nicht ursächlich sein.

                in dem log sehe ich nichts vom Tankerkönig.
                da steht soweit ich es verstehe nur, dass eine Eigenschaft (ich nehme an ts ist Timestamp) nicht gelesen werden kann, weil nicht vorhanden.

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

                  @homoran said in neues System auf Synology NAS mit docker:

                  vielleicht zeitlich, sollte aber nicht ursächlich sein.

                  es kommt nicht oft vor. Bisher 4 mal in der Zeit an dem das System läuft. (ca. 3 Wochen)
                  und immer war im Historie vom Tankerkönig so ein Eintrag.
                  Ich beobachte das mal weiter. Hat ja sonst keine Auswirkungen, stört hat.

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

                    @ubecker wenn es ursächlich mit dem Tankerkönig zusammenhängt, müsste es bei jeder Änderung vom Tankerkönig kommen.

                    es klingt für mich eher so, dass -warum auch immer- in dem Fall wo es klemmt die Redisdaten korrupt wären.

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

                      @codierknecht said in neues System auf Synology NAS mit docker:

                      Gut 300 MB free klingt arg wenig.

                      noch was dazu, der NAS läuft schon ein paar Jahre ohne Zwischenfälle mit 4GB RAM.
                      für iobroker hab ich dem nochmal zusätzlich 4GB RAM spendiert.
                      Die erste iobroker Installation lief auch noch mit den 4 GB RAM. Da wurde dann bei den Instanzen 100MB frei gezeigt was mir zu wenig erschien.

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

                        @ubecker sagte in neues System auf Synology NAS mit docker:

                        Da wurde dann bei den Instanzen 100MB frei gezeigt was mir zu wenig erschien.

                        den vernünftigen Wert erhältst du über top w8bei ich bei den Containern nie weiß was da angezeigt wird, nur der Container oder der gesamte Host.

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

                          @homoran said in neues System auf Synology NAS mit docker:

                          den vernünftigen Wert erhältst du über top

                          mach ich ab und an zum Nachschauen. Erste ist ausserhalb des Container, das Zeite im Container.
                          Sieht für mich so aus als wenn der NAS den Speicher für Cache benutzt.

                          
                          root@DS2:~# top
                          top - 11:50:13 up 9 days, 23:41,  1 user,  load average: 0.16, 0.17, 0.12 [IO: 0.06, 0.03, 0.00 CPU: 0.10, 0.13, 0.09]
                          Tasks: 565 total,   1 running, 564 sleeping,   0 stopped,   0 zombie
                          %Cpu(s):  0.8 us,  0.5 sy,  0.0 ni, 98.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
                          GiB Mem :    7.610 total,    0.205 free,    2.390 used,    5.015 buff/cache
                          GiB Swap:    6.566 total,    5.635 free,    0.931 used.    4.765 avail Mem
                          
                          root@DS2:~# docker exec -it iobroker sh
                          # top
                          top - 11:49:14 up 9 days, 23:40,  0 user,  load average: 0,12, 0,16, 0,12
                          Tasks:  14 total,   1 running,  13 sleeping,   0 stopped,   0 zombie
                          %Cpu(s):  2,8 us,  1,6 sy,  0,0 ni, 95,4 id,  0,3 wa,  0,0 hi,  0,0 si,  0,0 st
                          MiB Mem :   7792,1 total,    173,0 free,   2920,7 used,   5163,8 buff/cache
                          MiB Swap:   6723,9 total,   5770,4 free,    953,5 used.   4871,4 avail Mem
                          
                          
                          
                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • ubecker
                            ubecker last edited by

                            @homoran said in neues System auf Synology NAS mit docker:

                            wenn es ursächlich mit dem Tankerkönig zusammenhängt, müsste es bei jeder Änderung vom Tankerkönig kommen.

                            kommt ja auch. Ich denke wenn die Daten vom Tankerkönig händisch geändert werden.
                            cea888ed-21b3-4e7e-bcb7-fb6ddf1058ba-image.png `

                            ubecker Homoran 2 Replies Last reply Reply Quote 0
                            • ubecker
                              ubecker @ubecker last edited by

                              @ubecker
                              wünsche euch einen schönen 1. Advent

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

                                @ubecker sagte in neues System auf Synology NAS mit docker:

                                kommt ja auch.

                                dann müsste es aber öfter als 4x passiert sein.
                                Der Tankerkönig sendet doch viel öfter, oder fragst du nur jeden Tag einmal ab?

                                @ubecker sagte in neues System auf Synology NAS mit docker:

                                wenn die Daten vom Tankerkönig händisch geändert werden.

                                wie machst du das?
                                dann müsste als Quelle aber admin drin stehen.

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

                                  @homoran said in neues System auf Synology NAS mit docker:

                                  wie machst du das?
                                  dann müsste als Quelle aber admin drin stehen.

                                  sorry war nicht eindeutig. Ich frage alle 15min die Daten ab. Normal steht da als Quelle Tankerkönig drin ohne eine Änderung in der letzten Spalte.
                                  Wenn der Fehler auftritt steht in Änderung eine Zeit. Dann kommt ein Eintrag von History als Quelle ein Nullwert. In dieser Zeit stürzt History ab und startet dann wieder neu.

                                  4fd716ab-6299-4084-8b2f-f22953f0ff2b-image.png

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

                                    @ubecker sagte in neues System auf Synology NAS mit docker:

                                    Dann kommt ein Eintrag von History als Quelle

                                    dann ist history möglicherweise falsch konfiguriert oder installiert

                                    history als Quelle kommt dann, wenn history neue Haltepunkte für die Grafik schreibt um optimale charts zu erhalten, oder wenn history gestoptt und gestartet eird.

                                    ersteres kann im zu loggenden Datenpunkt mit der Checkbox "optimierte...." deaktiviert wrrden, zweiteres über die konfig der Instanz

                                    trotzdem darf nichts abstürzen

                                    ubecker 2 Replies Last reply Reply Quote 0
                                    • ubecker
                                      ubecker @Homoran last edited by

                                      @homoran said in neues System auf Synology NAS mit docker:

                                      dann ist history möglicherweise falsch konfiguriert oder installiert

                                      ok kann sein, werde ich testen, kann aber etwas dauern bis ich ein Ergebnis habe. War ja bisher auch nur alle paar Tage mal.

                                      danke und ich melde mich wieder. (wenn ok dann erst in 2 Wochen, wenn nicht ok wenn es wieder auftritt)

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        marian.t last edited by

                                        Hallo,
                                        @ubecker: wie ich sehe hast du HM-RPC und HM-REGA am laufen. Sofern du die ccu über Raspimatic Container betreibst, könntest du bitte die Details zu deiner Docker-/Iobroker-Netzwerk Einstellungen mitteilen? Gerne compose.yaml, falls vorhanden.

                                        Ich habe die Anleitung für Raspimatic-Docker Installation auf 'Installation Docker OCI' mit ccu auf Macvlan Netzwerk gefolgt und iobroker auch im Docker. Trotz funktionierenden HM-RPC kriege ich leider die HM-REGA nicht zum laufen, vermute irgendein Netzwerk-Problem (Details siehe mein Beitrag).
                                        Gruß Manni

                                        Marc Berg 1 Reply Last reply Reply Quote 0
                                        • Marc Berg
                                          Marc Berg Most Active @marian.t last edited by

                                          @marian-t

                                          Habe mal versucht, das Problem zu verstehen --> https://github.com/jens-maus/RaspberryMatic/discussions/2545#discussioncomment-7777336

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

                                            @ubecker sagte in neues System auf Synology NAS mit docker:

                                            Sieht für mich so aus als wenn der NAS den Speicher für Cache benutzt.

                                            root@DS2:

                                            Über ein root im Docker würde ich jetzt nichts sagen !

                                            ABER als root in der Synology selber ... ein No Go !!!!!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            949
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            22
                                            1202
                                            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