Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Inst via Docker Compose mit network=Host & Portänderung

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Inst via Docker Compose mit network=Host & Portänderung

Scheduled Pinned Locked Moved Off Topic
portsdocker portainerhost
22 Posts 4 Posters 2.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blackburn
    wrote on last edited by
    #1

    Hallo Zusammen,

    ich habe das Problem, dass ich einen Raspberry Pi 4 mit einer Docker (Portainer) Umgebung nutze um u.a. den IOBroker zu hosten. Da ich nun Netzwerkgeräte direkt ansprechn will (Sonos Boxen) möchte ich meinen Container ins Host Network hängen. Leider sind die Port für die beiden DBs breits im System belegt, sodass ich versuche die Ports über die environment variablen zu ändern. Ich hab gefühlt sämtliche Kombinationen von IPs, Ports und hostnames und trotzdem stürzt der erste Bootup immer in Schritt 3 ab. Hat jemand den entscheidenen Tipp wie das geht bzw. was ich falsch mache? Anbei die Compose Datei und eine Logdatei:

    version: '3'
    
    services:
      iobroker:
        restart: always
        image: buanet/iobroker:latest-v7
        container_name: iobroker
        hostname: iobroker
        volumes:
          - /docker/etc-iobrokerdata:/opt/iobroker
        network_mode: host
        environment:
          - IOB_ADMINPORT='9003'
          - IOB_OBJECTSDB_HOST='192.168.178.58'
          - IOB_OBJECTSDB_PORT='9100'
          - IOB_STATESDB_HOST='192.168.178.58'
          - IOB_STATESDB_PORT='9101'
    
    --------------------------------------------------------------------------------
    -----                          System Information                          -----
    -----                    arch:                armv7l                       -----
    -----                    hostname:            iobroker                     -----
    -----                                                                      -----
    -----                          Version Information                         -----
    -----                    image:               v7.2.0                       -----
    -----                    build:               2023-01-12T23:45:21+00:00    -----
    -----                    node:                v16.19.0                     -----
    -----                    npm:                 8.19.3                       -----
    -----                                                                      -----
    -----                        Environment Variables                         -----
    -----                    IOB_ADMINPORT:       '9003'                       -----
    -----                    IOB_OBJECTSDB_HOST:  '192.168.178.58'             -----
    -----                    IOB_OBJECTSDB_PORT:  '9100'                       -----
    -----                    IOB_STATESDB_HOST:   '192.168.178.58'             -----
    -----                    IOB_STATESDB_PORT:   '9101'                       -----
    -----                    SETGID:              1000                         -----
    -----                    SETUID:              1000                         -----
    --------------------------------------------------------------------------------
     
    --------------------------------------------------------------------------------
    -----                  Step 1 of 5: Preparing container                   -----
    --------------------------------------------------------------------------------
     
    Updating Linux packages on first run... 
    dpkg-preconfigure: unable to re-open stdin: 
    (Reading database ... 
    (Reading database ... 5%
    (Reading database ... 10%
    (Reading database ... 15%
    (Reading database ... 20%
    (Reading database ... 25%
    (Reading database ... 30%
    (Reading database ... 35%
    (Reading database ... 40%
    (Reading database ... 45%
    (Reading database ... 50%
    (Reading database ... 55%
    (Reading database ... 60%
    (Reading database ... 65%
    (Reading database ... 70%
    (Reading database ... 75%
    (Reading database ... 80%
    (Reading database ... 85%
    (Reading database ... 90%
    (Reading database ... 95%
    (Reading database ... 100%
    (Reading database ... 29167 files and directories currently installed.)
    Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_armhf.deb ...
    Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
    Setting up sudo (1.9.5p2-3+deb11u1) ...
    invoke-rc.d: could not determine current runlevel
    invoke-rc.d: policy-rc.d denied execution of restart.
    Done.
     
    Registering maintenance script as command... Done.
     
    --------------------------------------------------------------------------------
    -----             Step 2 of 5: Detecting ioBroker installation             -----
    --------------------------------------------------------------------------------
     
    Existing installation of ioBroker detected in "/opt/iobroker".
     
    --------------------------------------------------------------------------------
    -----             Step 3 of 5: Checking ioBroker installation              -----
    --------------------------------------------------------------------------------
     
    (Re)setting permissions (This might take a while! Please be patient!)... Done.
     
    Fixing "sudo-bug" by replacing sudo with gosu... Done.
     
    Installation broken or unknown objects type:  configured.
    There was a problem detecting the admin instance of your iobroker.
    Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
    For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
     
    This Script will exit now.
     
    --------------------------------------------------------------------------------
    -------------------------     2023-01-19 16:20:35      -------------------------
    --------------------------------------------------------------------------------
    -----                                                                      -----
    ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
    ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
    ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
    ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
    ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
    ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
    -----                                                                      -----
    -----              Welcome to your ioBroker Docker container!              -----
    -----                    Startupscript is now running!                     -----
    -----                          Please be patient!                          -----
    --------------------------------------------------------------------------------
     
    --------------------------------------------------------------------------------
    -----                          System Information                          -----
    -----                    arch:                armv7l                       -----
    -----                    hostname:            iobroker                     -----
    -----                                                                      -----
    -----                          Version Information                         -----
    -----                    image:               v7.2.0                       -----
    -----                    build:               2023-01-12T23:45:21+00:00    -----
    -----                    node:                v16.19.0                     -----
    -----                    npm:                 8.19.3                       -----
    -----                                                                      -----
    -----                        Environment Variables                         -----
    -----                    IOB_ADMINPORT:       '9003'                       -----
    -----                    IOB_OBJECTSDB_HOST:  '192.168.178.58'             -----
    -----                    IOB_OBJECTSDB_PORT:  '9100'                       -----
    -----                    IOB_STATESDB_HOST:   '192.168.178.58'             -----
    -----                    IOB_STATESDB_PORT:   '9101'                       -----
    -----                    SETGID:              1000                         -----
    -----                    SETUID:              1000                         -----
    --------------------------------------------------------------------------------
     
    --------------------------------------------------------------------------------
    -----                  Step 1 of 5: Preparing container                   -----
    --------------------------------------------------------------------------------
     
    Updating Linux packages on first run... 
    
    
    1 Reply Last reply
    0
    • GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      wrote on last edited by Glasfaser
      #2

      @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

      or unknown objects type: configured.

      .

      environment:
      - IOB_ADMINPORT='9003'
      - IOB_OBJECTSDB_HOST='192.168.178.58'
      - IOB_OBJECTSDB_PORT='9100'
      - IOB_STATESDB_HOST='192.168.178.58'
      - IOB_STATESDB_PORT='9101'

      ohne '

      environment:
            - IOB_ADMINPORT=9003
            - IOB_OBJECTSDB_HOST=192.168.178.58
            - IOB_OBJECTSDB_PORT=9100
            - IOB_STATESDB_HOST=192.168.178.58
            - IOB_STATESDB_PORT=9101
      

      EDIT :

      siehe auch hier im Thread
      https://forum.iobroker.net/topic/4733/howto-iobroker-unter-docker-auf-synology-diskstation

      bzw. hier eine Vorlage :

      https://forum.iobroker.net/post/918621

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      B 1 Reply Last reply
      1
      • GlasfaserG Glasfaser

        @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

        or unknown objects type: configured.

        .

        environment:
        - IOB_ADMINPORT='9003'
        - IOB_OBJECTSDB_HOST='192.168.178.58'
        - IOB_OBJECTSDB_PORT='9100'
        - IOB_STATESDB_HOST='192.168.178.58'
        - IOB_STATESDB_PORT='9101'

        ohne '

        environment:
              - IOB_ADMINPORT=9003
              - IOB_OBJECTSDB_HOST=192.168.178.58
              - IOB_OBJECTSDB_PORT=9100
              - IOB_STATESDB_HOST=192.168.178.58
              - IOB_STATESDB_PORT=9101
        

        EDIT :

        siehe auch hier im Thread
        https://forum.iobroker.net/topic/4733/howto-iobroker-unter-docker-auf-synology-diskstation

        bzw. hier eine Vorlage :

        https://forum.iobroker.net/post/918621

        B Offline
        B Offline
        blackburn
        wrote on last edited by
        #3

        @glasfaser danke für die schnelle Hilfe. wie sollte es anders sein, laufe ich in den nächsten Fehlerloop...

        Er findet jetzt meine Admin Instanz nicht...

        Ich hab verschiedene Hostnames durchprobiert und ihn auch mal weg gelassen.
        Vor jedem Versuch habe ich den Container gestoppt, gelöscht, den Ordner gelöscht, das Image gelöscht um bloß nichts zu behalten...

        Ich weiß echt nicht wie ich ansonsten einfluss auf die Installation bzw. den Zugriff auf die Admin Instanz (Port 9003?) haben soll.

        Anbei noch mal ein Logfile:

        --------------------------------------------------------------------------------
        -----                          System Information                          -----
        -----                    arch:                armv7l                       -----
        -----                    hostname:            raspberry1.local             -----
        -----                                                                      -----
        -----                          Version Information                         -----
        -----                    image:               v7.2.0                       -----
        -----                    build:               2023-01-12T23:45:21+00:00    -----
        -----                    node:                v16.19.0                     -----
        -----                    npm:                 8.19.3                       -----
        -----                                                                      -----
        -----                        Environment Variables                         -----
        -----                    IOB_ADMINPORT:       9003                         -----
        -----                    IOB_OBJECTSDB_HOST:  192.168.178.58               -----
        -----                    IOB_OBJECTSDB_PORT:  9100                         -----
        -----                    IOB_STATESDB_HOST:   192.168.178.58               -----
        -----                    IOB_STATESDB_PORT:   9101                         -----
        -----                    SETGID:              1000                         -----
        -----                    SETUID:              1000                         -----
        --------------------------------------------------------------------------------
         
        --------------------------------------------------------------------------------
        -----                  Step 1 of 5: Preparing container                   -----
        --------------------------------------------------------------------------------
         
        Updating Linux packages on first run... 
        dpkg-preconfigure: unable to re-open stdin: 
        (Reading database ... 
        (Reading database ... 5%
        (Reading database ... 10%
        (Reading database ... 15%
        (Reading database ... 20%
        (Reading database ... 25%
        (Reading database ... 30%
        (Reading database ... 35%
        (Reading database ... 40%
        (Reading database ... 45%
        (Reading database ... 50%
        (Reading database ... 55%
        (Reading database ... 60%
        (Reading database ... 65%
        (Reading database ... 70%
        (Reading database ... 75%
        (Reading database ... 80%
        (Reading database ... 85%
        (Reading database ... 90%
        (Reading database ... 95%
        (Reading database ... 100%
        (Reading database ... 29167 files and directories currently installed.)
        Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_armhf.deb ...
        Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
        Setting up sudo (1.9.5p2-3+deb11u1) ...
        invoke-rc.d: could not determine current runlevel
        invoke-rc.d: policy-rc.d denied execution of restart.
        Done.
         
        Registering maintenance script as command... Done.
         
        --------------------------------------------------------------------------------
        -----             Step 2 of 5: Detecting ioBroker installation             -----
        --------------------------------------------------------------------------------
         
        There is no data detected in /opt/iobroker.
        Restoring initial ioBroker installation... Done.
         
        --------------------------------------------------------------------------------
        -----             Step 3 of 5: Checking ioBroker installation              -----
        --------------------------------------------------------------------------------
         
        (Re)setting permissions (This might take a while! Please be patient!)... Done.
         
        Fixing "sudo-bug" by replacing sudo with gosu... Done.
         
        There was a problem detecting the admin instance of your iobroker.
        Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
        For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
         
        This Script will exit now.
         
        --------------------------------------------------------------------------------
        -------------------------     2023-01-19 21:50:35      -------------------------
        --------------------------------------------------------------------------------
        -----                                                                      -----
        ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
        ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
        ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
        ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
        ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
        ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
        -----                                                                      -----
        -----              Welcome to your ioBroker Docker container!              -----
        -----                    Startupscript is now running!                     -----
        -----                          Please be patient!                          -----
        --------------------------------------------------------------------------------
         
        --------------------------------------------------------------------------------
        -----                          System Information                          -----
        -----                    arch:                armv7l                       -----
        -----                    hostname:            raspberry1.local             -----
        -----                                                                      -----
        -----                          Version Information                         -----
        -----                    image:               v7.2.0                       -----
        -----                    build:               2023-01-12T23:45:21+00:00    -----
        -----                    node:                v16.19.0                     -----
        -----                    npm:                 8.19.3                       -----
        -----                                                                      -----
        -----                        Environment Variables                         -----
        -----                    IOB_ADMINPORT:       9003                         -----
        -----                    IOB_OBJECTSDB_HOST:  192.168.178.58               -----
        -----                    IOB_OBJECTSDB_PORT:  9100                         -----
        -----                    IOB_STATESDB_HOST:   192.168.178.58               -----
        -----                    IOB_STATESDB_PORT:   9101                         -----
        -----                    SETGID:              1000                         -----
        -----                    SETUID:              1000                         -----
        --------------------------------------------------------------------------------
         
        --------------------------------------------------------------------------------
        -----                  Step 1 of 5: Preparing container                   -----
        --------------------------------------------------------------------------------
         
        Updating Linux packages on first run... 
        
        
        GlasfaserG 1 Reply Last reply
        0
        • B blackburn

          @glasfaser danke für die schnelle Hilfe. wie sollte es anders sein, laufe ich in den nächsten Fehlerloop...

          Er findet jetzt meine Admin Instanz nicht...

          Ich hab verschiedene Hostnames durchprobiert und ihn auch mal weg gelassen.
          Vor jedem Versuch habe ich den Container gestoppt, gelöscht, den Ordner gelöscht, das Image gelöscht um bloß nichts zu behalten...

          Ich weiß echt nicht wie ich ansonsten einfluss auf die Installation bzw. den Zugriff auf die Admin Instanz (Port 9003?) haben soll.

          Anbei noch mal ein Logfile:

          --------------------------------------------------------------------------------
          -----                          System Information                          -----
          -----                    arch:                armv7l                       -----
          -----                    hostname:            raspberry1.local             -----
          -----                                                                      -----
          -----                          Version Information                         -----
          -----                    image:               v7.2.0                       -----
          -----                    build:               2023-01-12T23:45:21+00:00    -----
          -----                    node:                v16.19.0                     -----
          -----                    npm:                 8.19.3                       -----
          -----                                                                      -----
          -----                        Environment Variables                         -----
          -----                    IOB_ADMINPORT:       9003                         -----
          -----                    IOB_OBJECTSDB_HOST:  192.168.178.58               -----
          -----                    IOB_OBJECTSDB_PORT:  9100                         -----
          -----                    IOB_STATESDB_HOST:   192.168.178.58               -----
          -----                    IOB_STATESDB_PORT:   9101                         -----
          -----                    SETGID:              1000                         -----
          -----                    SETUID:              1000                         -----
          --------------------------------------------------------------------------------
           
          --------------------------------------------------------------------------------
          -----                  Step 1 of 5: Preparing container                   -----
          --------------------------------------------------------------------------------
           
          Updating Linux packages on first run... 
          dpkg-preconfigure: unable to re-open stdin: 
          (Reading database ... 
          (Reading database ... 5%
          (Reading database ... 10%
          (Reading database ... 15%
          (Reading database ... 20%
          (Reading database ... 25%
          (Reading database ... 30%
          (Reading database ... 35%
          (Reading database ... 40%
          (Reading database ... 45%
          (Reading database ... 50%
          (Reading database ... 55%
          (Reading database ... 60%
          (Reading database ... 65%
          (Reading database ... 70%
          (Reading database ... 75%
          (Reading database ... 80%
          (Reading database ... 85%
          (Reading database ... 90%
          (Reading database ... 95%
          (Reading database ... 100%
          (Reading database ... 29167 files and directories currently installed.)
          Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_armhf.deb ...
          Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
          Setting up sudo (1.9.5p2-3+deb11u1) ...
          invoke-rc.d: could not determine current runlevel
          invoke-rc.d: policy-rc.d denied execution of restart.
          Done.
           
          Registering maintenance script as command... Done.
           
          --------------------------------------------------------------------------------
          -----             Step 2 of 5: Detecting ioBroker installation             -----
          --------------------------------------------------------------------------------
           
          There is no data detected in /opt/iobroker.
          Restoring initial ioBroker installation... Done.
           
          --------------------------------------------------------------------------------
          -----             Step 3 of 5: Checking ioBroker installation              -----
          --------------------------------------------------------------------------------
           
          (Re)setting permissions (This might take a while! Please be patient!)... Done.
           
          Fixing "sudo-bug" by replacing sudo with gosu... Done.
           
          There was a problem detecting the admin instance of your iobroker.
          Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
          For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
           
          This Script will exit now.
           
          --------------------------------------------------------------------------------
          -------------------------     2023-01-19 21:50:35      -------------------------
          --------------------------------------------------------------------------------
          -----                                                                      -----
          ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
          ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
          ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
          ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
          ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
          ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
          -----                                                                      -----
          -----              Welcome to your ioBroker Docker container!              -----
          -----                    Startupscript is now running!                     -----
          -----                          Please be patient!                          -----
          --------------------------------------------------------------------------------
           
          --------------------------------------------------------------------------------
          -----                          System Information                          -----
          -----                    arch:                armv7l                       -----
          -----                    hostname:            raspberry1.local             -----
          -----                                                                      -----
          -----                          Version Information                         -----
          -----                    image:               v7.2.0                       -----
          -----                    build:               2023-01-12T23:45:21+00:00    -----
          -----                    node:                v16.19.0                     -----
          -----                    npm:                 8.19.3                       -----
          -----                                                                      -----
          -----                        Environment Variables                         -----
          -----                    IOB_ADMINPORT:       9003                         -----
          -----                    IOB_OBJECTSDB_HOST:  192.168.178.58               -----
          -----                    IOB_OBJECTSDB_PORT:  9100                         -----
          -----                    IOB_STATESDB_HOST:   192.168.178.58               -----
          -----                    IOB_STATESDB_PORT:   9101                         -----
          -----                    SETGID:              1000                         -----
          -----                    SETUID:              1000                         -----
          --------------------------------------------------------------------------------
           
          --------------------------------------------------------------------------------
          -----                  Step 1 of 5: Preparing container                   -----
          --------------------------------------------------------------------------------
           
          Updating Linux packages on first run... 
          
          
          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          wrote on last edited by
          #4

          @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

          Ich weiß echt nicht wie ich ansonsten einfluss auf die Installation bzw. den Zugriff auf die Admin Instanz (Port 9003?) haben soll.

          Muß der unbedingt auf 9003 , kannst du nicht den Standart erstmal nehmen , also den ENV Eintrag dazu erstmal weg lassen !?

          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

          B 1 Reply Last reply
          1
          • GlasfaserG Glasfaser

            @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

            Ich weiß echt nicht wie ich ansonsten einfluss auf die Installation bzw. den Zugriff auf die Admin Instanz (Port 9003?) haben soll.

            Muß der unbedingt auf 9003 , kannst du nicht den Standart erstmal nehmen , also den ENV Eintrag dazu erstmal weg lassen !?

            B Offline
            B Offline
            blackburn
            wrote on last edited by
            #5

            @glasfaser mittelfristig wäre es auch so ok. Habs laufen lassen und auch noch mal ohne die DB Hosts zusätzlich ausprobiert. Alle Tests laufen leider wieder in den adminlosen Fehler... :/

            GlasfaserG 1 Reply Last reply
            0
            • B blackburn

              @glasfaser mittelfristig wäre es auch so ok. Habs laufen lassen und auch noch mal ohne die DB Hosts zusätzlich ausprobiert. Alle Tests laufen leider wieder in den adminlosen Fehler... :/

              GlasfaserG Offline
              GlasfaserG Offline
              Glasfaser
              wrote on last edited by
              #6

              @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

              den adminlosen Fehler...

              fehlt da nicht noch was in den ENV !?

              eigenlich so ...:

              Vorlage zu deinem :

              environment:
                    - TZ=Europe/Berlin
                    - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                    - LANG=de_DE.UTF-8
                    - DEBIAN_FRONTEND=teletype
                    - LANGUAGE=de_DE:de
                    - LC_ALL=de_DE.UTF-8
                    - IOB_OBJECTSDB_HOST=0.0.0.0
                    - IOB_OBJECTSDB_PORT=9100
                    - IOB_OBJECTSDB_TYPE=jsonl
                    - IOB_STATESDB_HOST=0.0.0.0
                    - IOB_STATESDB_PORT=9101
                    - IOB_STATESDB_TYPE=jsonl
              

              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

              B 1 Reply Last reply
              0
              • GlasfaserG Glasfaser

                @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

                den adminlosen Fehler...

                fehlt da nicht noch was in den ENV !?

                eigenlich so ...:

                Vorlage zu deinem :

                environment:
                      - TZ=Europe/Berlin
                      - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                      - LANG=de_DE.UTF-8
                      - DEBIAN_FRONTEND=teletype
                      - LANGUAGE=de_DE:de
                      - LC_ALL=de_DE.UTF-8
                      - IOB_OBJECTSDB_HOST=0.0.0.0
                      - IOB_OBJECTSDB_PORT=9100
                      - IOB_OBJECTSDB_TYPE=jsonl
                      - IOB_STATESDB_HOST=0.0.0.0
                      - IOB_STATESDB_PORT=9101
                      - IOB_STATESDB_TYPE=jsonl
                
                B Offline
                B Offline
                blackburn
                wrote on last edited by
                #7

                @glasfaser leider nein bzw es löst das problem nicht. sollten dort nicht die default werte greifen, wenn diese nicht explizit überschrieben werden?

                OliverIOO GlasfaserG 2 Replies Last reply
                0
                • B blackburn

                  @glasfaser leider nein bzw es löst das problem nicht. sollten dort nicht die default werte greifen, wenn diese nicht explizit überschrieben werden?

                  OliverIOO Offline
                  OliverIOO Offline
                  OliverIO
                  wrote on last edited by OliverIO
                  #8

                  @blackburn
                  Lösche mal deine volume für diesen Container.
                  Da stehen ja Daten schon vom letzten Mal drin die evtl falsch sind.
                  Also lieber erst mal mit. CLean install beginnen.

                  Meine Adapter und Widgets
                  TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                  Links im Profil

                  B 1 Reply Last reply
                  0
                  • B blackburn

                    @glasfaser leider nein bzw es löst das problem nicht. sollten dort nicht die default werte greifen, wenn diese nicht explizit überschrieben werden?

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    wrote on last edited by Glasfaser
                    #9

                    @blackburn

                    Welche Portainer Version hast du dafür es gibt mit einer Version Probleme ..

                    siehe hier :

                    https://forum.iobroker.net/post/919177

                    sollten dort nicht die default werte greifen,

                    ja ist richtig nur die IP Angabe hat mich gewundert ... und oben hast du nur ein teil gepostet

                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                    B 1 Reply Last reply
                    0
                    • OliverIOO OliverIO

                      @blackburn
                      Lösche mal deine volume für diesen Container.
                      Da stehen ja Daten schon vom letzten Mal drin die evtl falsch sind.
                      Also lieber erst mal mit. CLean install beginnen.

                      B Offline
                      B Offline
                      blackburn
                      wrote on last edited by
                      #10

                      @oliverio docker/etc-iobrokerdata/ lösch ich schon immer, damit es clean ist

                      OliverIOO 1 Reply Last reply
                      0
                      • B blackburn

                        @oliverio docker/etc-iobrokerdata/ lösch ich schon immer, damit es clean ist

                        OliverIOO Offline
                        OliverIOO Offline
                        OliverIO
                        wrote on last edited by OliverIO
                        #11

                        @blackburn

                        Dann verwundern diese Meldungen allerdings

                        
                        Restoring initial ioBroker installation... Done.
                        
                        
                        
                        Existing installation of ioBroker detected in "/opt/iobroker".
                        
                        

                        Und alle env Angaben die du nicht explizit ändern willst, weglassen.
                        Insbesondere die Angaben zur ip Adresse, das ist alles im selben Container, da müsste der d3fault eigentlich 127.0.0.1 sein.
                        Die Angabe 0.0.0.0 weiß ich nicht ob das funktioniert.
                        Alternativ kannst für die ip Adresse mal den service Namen von docker compose nehmen, also iobroker. Das ist dann auch der Hostname des Containers.

                        Meine Adapter und Widgets
                        TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                        Links im Profil

                        B GlasfaserG 3 Replies Last reply
                        0
                        • GlasfaserG Glasfaser

                          @blackburn

                          Welche Portainer Version hast du dafür es gibt mit einer Version Probleme ..

                          siehe hier :

                          https://forum.iobroker.net/post/919177

                          sollten dort nicht die default werte greifen,

                          ja ist richtig nur die IP Angabe hat mich gewundert ... und oben hast du nur ein teil gepostet

                          B Offline
                          B Offline
                          blackburn
                          wrote on last edited by
                          #12

                          @glasfaser die habe ich heute von 2.11 auf 2.16 hoch gepatched. ein downgrade kann ich morgen mal testen

                          1 Reply Last reply
                          0
                          • OliverIOO OliverIO

                            @blackburn

                            Dann verwundern diese Meldungen allerdings

                            
                            Restoring initial ioBroker installation... Done.
                            
                            
                            
                            Existing installation of ioBroker detected in "/opt/iobroker".
                            
                            

                            Und alle env Angaben die du nicht explizit ändern willst, weglassen.
                            Insbesondere die Angaben zur ip Adresse, das ist alles im selben Container, da müsste der d3fault eigentlich 127.0.0.1 sein.
                            Die Angabe 0.0.0.0 weiß ich nicht ob das funktioniert.
                            Alternativ kannst für die ip Adresse mal den service Namen von docker compose nehmen, also iobroker. Das ist dann auch der Hostname des Containers.

                            B Offline
                            B Offline
                            blackburn
                            wrote on last edited by
                            #13

                            @oliverio tatsache... das mal jetzt nicht, aber spätestens nach dem zweiten loop sieht es dann so aus. ich mach morgen noch mal einen cleanen test

                            1 Reply Last reply
                            0
                            • OliverIOO OliverIO

                              @blackburn

                              Dann verwundern diese Meldungen allerdings

                              
                              Restoring initial ioBroker installation... Done.
                              
                              
                              
                              Existing installation of ioBroker detected in "/opt/iobroker".
                              
                              

                              Und alle env Angaben die du nicht explizit ändern willst, weglassen.
                              Insbesondere die Angaben zur ip Adresse, das ist alles im selben Container, da müsste der d3fault eigentlich 127.0.0.1 sein.
                              Die Angabe 0.0.0.0 weiß ich nicht ob das funktioniert.
                              Alternativ kannst für die ip Adresse mal den service Namen von docker compose nehmen, also iobroker. Das ist dann auch der Hostname des Containers.

                              GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              wrote on last edited by
                              #14

                              @oliverio sagte in Inst via Docker Compose mit network=Host & Portänderung:

                              Die Angabe 0.0.0.0 weiß ich nicht ob das funktioniert.

                              war nur eine Vorlage ... habe es vergessen zu erwähnen .!

                              stand auch im link oben drin ( IP anpassen ) habe nur ein teil angepasst ..

                              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                              OliverIOO 1 Reply Last reply
                              0
                              • GlasfaserG Glasfaser

                                @oliverio sagte in Inst via Docker Compose mit network=Host & Portänderung:

                                Die Angabe 0.0.0.0 weiß ich nicht ob das funktioniert.

                                war nur eine Vorlage ... habe es vergessen zu erwähnen .!

                                stand auch im link oben drin ( IP anpassen ) habe nur ein teil angepasst ..

                                OliverIOO Offline
                                OliverIOO Offline
                                OliverIO
                                wrote on last edited by
                                #15

                                @glasfaser

                                Wenn es eine Angabe für einen Server wäre wo er listen soll, wäre das schon eine gültige Angabe, nämlich ohne Einschränkung
                                D gehts es ja um eine connect Angabe, das kann andere verwirren.
                                Wenn es noch jemand anderes irgendwann liest wird er das jetzt auch finden. Alles gut.

                                Meine Adapter und Widgets
                                TVProgram, SqueezeboxRPC, OpenLiga, RSSFeed, MyTime,, pi-hole2, vis-json-template, skiinfo, vis-mapwidgets, vis-2-widgets-rssfeed
                                Links im Profil

                                1 Reply Last reply
                                0
                                • OliverIOO OliverIO

                                  @blackburn

                                  Dann verwundern diese Meldungen allerdings

                                  
                                  Restoring initial ioBroker installation... Done.
                                  
                                  
                                  
                                  Existing installation of ioBroker detected in "/opt/iobroker".
                                  
                                  

                                  Und alle env Angaben die du nicht explizit ändern willst, weglassen.
                                  Insbesondere die Angaben zur ip Adresse, das ist alles im selben Container, da müsste der d3fault eigentlich 127.0.0.1 sein.
                                  Die Angabe 0.0.0.0 weiß ich nicht ob das funktioniert.
                                  Alternativ kannst für die ip Adresse mal den service Namen von docker compose nehmen, also iobroker. Das ist dann auch der Hostname des Containers.

                                  B Offline
                                  B Offline
                                  blackburn
                                  wrote on last edited by
                                  #16

                                  @oliverio @Glasfaser Hi, ich hab jetzt folgendes alles getestet:

                                  • Portainer downgrade auf 2.15.1
                                  • ENVs ohne '
                                  • Version latest-v6 (hier komme ich auf andere Fehler, er erkennt nicht den default Wert von den DBS und setzt einen leeren Wert als Typ an und akzeptiert kein jsonl) und latest-v7

                                  Was funktiniert mit der latest-v7 ist der Start im bridge Networkmode, ohne irgendwelche ENV. Also würde ich vermuten, dass meine Toolchain nicht das Problem sein sollte (also Portainer, Docker, Docker-Compose, ...)

                                  Irgendwas in den ENV muss falsch sein, aber ich komm nicht drauf...
                                  Weiß einer ob die Reihenfolge wichtig ist?

                                  GlasfaserG 1 Reply Last reply
                                  0
                                  • B blackburn

                                    @oliverio @Glasfaser Hi, ich hab jetzt folgendes alles getestet:

                                    • Portainer downgrade auf 2.15.1
                                    • ENVs ohne '
                                    • Version latest-v6 (hier komme ich auf andere Fehler, er erkennt nicht den default Wert von den DBS und setzt einen leeren Wert als Typ an und akzeptiert kein jsonl) und latest-v7

                                    Was funktiniert mit der latest-v7 ist der Start im bridge Networkmode, ohne irgendwelche ENV. Also würde ich vermuten, dass meine Toolchain nicht das Problem sein sollte (also Portainer, Docker, Docker-Compose, ...)

                                    Irgendwas in den ENV muss falsch sein, aber ich komm nicht drauf...
                                    Weiß einer ob die Reihenfolge wichtig ist?

                                    GlasfaserG Offline
                                    GlasfaserG Offline
                                    Glasfaser
                                    wrote on last edited by Glasfaser
                                    #17

                                    @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

                                    Irgendwas in den ENV muss falsch sein, aber ich komm nicht drauf...

                                    Wir auch nicht ...

                                    poste mal den aktuelle gesamten Compose und das aktuelle Log

                                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                    B 1 Reply Last reply
                                    0
                                    • GlasfaserG Glasfaser

                                      @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

                                      Irgendwas in den ENV muss falsch sein, aber ich komm nicht drauf...

                                      Wir auch nicht ...

                                      poste mal den aktuelle gesamten Compose und das aktuelle Log

                                      B Offline
                                      B Offline
                                      blackburn
                                      wrote on last edited by blackburn
                                      #18

                                      @glasfaser

                                      version: '2.4'
                                      
                                      services:
                                        iobroker:
                                          restart: always
                                          image: buanet/iobroker:latest-v7
                                          container_name: iobroker
                                          hostname: iobroker
                                          network_mode: host
                                          volumes:
                                            - /docker/etc-iobrokerdata:/opt/iobroker
                                          environment:
                                            - IOB_ADMINPORT=9003
                                            - IOB_OBJECTSDB_PORT=9100
                                            - IOB_STATESDB_PORT=9101
                                          
                                      

                                      Beim Log hat sich nicht viel getan:

                                       
                                      --------------------------------------------------------------------------------
                                      -------------------------     2023-01-20 19:28:08      -------------------------
                                      --------------------------------------------------------------------------------
                                      -----                                                                      -----
                                      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                                      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                                      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                                      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                                      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                                      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                                      -----                                                                      -----
                                      -----              Welcome to your ioBroker Docker container!              -----
                                      -----                    Startupscript is now running!                     -----
                                      -----                          Please be patient!                          -----
                                      --------------------------------------------------------------------------------
                                       
                                      --------------------------------------------------------------------------------
                                      -----                          System Information                          -----
                                      -----                    arch:                armv7l                       -----
                                      -----                    hostname:            iobroker                     -----
                                      -----                                                                      -----
                                      -----                          Version Information                         -----
                                      -----                    image:               v7.2.0                       -----
                                      -----                    build:               2023-01-12T23:45:21+00:00    -----
                                      -----                    node:                v16.19.0                     -----
                                      -----                    npm:                 8.19.3                       -----
                                      -----                                                                      -----
                                      -----                        Environment Variables                         -----
                                      -----                    IOB_ADMINPORT:       9003                         -----
                                      -----                    IOB_OBJECTSDB_PORT:  9100                         -----
                                      -----                    IOB_STATESDB_PORT:   9101                         -----
                                      -----                    SETGID:              1000                         -----
                                      -----                    SETUID:              1000                         -----
                                      --------------------------------------------------------------------------------
                                       
                                      --------------------------------------------------------------------------------
                                      -----                  Step 1 of 5: Preparing container                   -----
                                      --------------------------------------------------------------------------------
                                       
                                      Updating Linux packages on first run... 
                                      dpkg-preconfigure: unable to re-open stdin: 
                                      (Reading database ... 
                                      (Reading database ... 5%
                                      (Reading database ... 10%
                                      (Reading database ... 15%
                                      (Reading database ... 20%
                                      (Reading database ... 25%
                                      (Reading database ... 30%
                                      (Reading database ... 35%
                                      (Reading database ... 40%
                                      (Reading database ... 45%
                                      (Reading database ... 50%
                                      (Reading database ... 55%
                                      (Reading database ... 60%
                                      (Reading database ... 65%
                                      (Reading database ... 70%
                                      (Reading database ... 75%
                                      (Reading database ... 80%
                                      (Reading database ... 85%
                                      (Reading database ... 90%
                                      (Reading database ... 95%
                                      (Reading database ... 100%
                                      (Reading database ... 29167 files and directories currently installed.)
                                      Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_armhf.deb ...
                                      Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
                                      Setting up sudo (1.9.5p2-3+deb11u1) ...
                                      invoke-rc.d: could not determine current runlevel
                                      invoke-rc.d: policy-rc.d denied execution of restart.
                                      Done.
                                       
                                      Registering maintenance script as command... Done.
                                       
                                      --------------------------------------------------------------------------------
                                      -----             Step 2 of 5: Detecting ioBroker installation             -----
                                      --------------------------------------------------------------------------------
                                       
                                      There is no data detected in /opt/iobroker.
                                      Restoring initial ioBroker installation... Done.
                                       
                                      --------------------------------------------------------------------------------
                                      -----             Step 3 of 5: Checking ioBroker installation              -----
                                      --------------------------------------------------------------------------------
                                       
                                      (Re)setting permissions (This might take a while! Please be patient!)... Done.
                                       
                                      Fixing "sudo-bug" by replacing sudo with gosu... Done.
                                       
                                      There was a problem detecting the admin instance of your iobroker.
                                      Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
                                      For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
                                       
                                      This Script will exit now.
                                       
                                      --------------------------------------------------------------------------------
                                      -------------------------     2023-01-20 19:29:50      -------------------------
                                      --------------------------------------------------------------------------------
                                      -----                                                                      -----
                                      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                                      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                                      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                                      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                                      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                                      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                                      -----                                                                      -----
                                      -----              Welcome to your ioBroker Docker container!              -----
                                      -----                    Startupscript is now running!                     -----
                                      -----                          Please be patient!                          -----
                                      --------------------------------------------------------------------------------
                                       
                                      --------------------------------------------------------------------------------
                                      -----                          System Information                          -----
                                      -----                    arch:                armv7l                       -----
                                      -----                    hostname:            iobroker                     -----
                                      -----                                                                      -----
                                      -----                          Version Information                         -----
                                      -----                    image:               v7.2.0                       -----
                                      -----                    build:               2023-01-12T23:45:21+00:00    -----
                                      -----                    node:                v16.19.0                     -----
                                      -----                    npm:                 8.19.3                       -----
                                      -----                                                                      -----
                                      -----                        Environment Variables                         -----
                                      -----                    IOB_ADMINPORT:       9003                         -----
                                      -----                    IOB_OBJECTSDB_PORT:  9100                         -----
                                      -----                    IOB_STATESDB_PORT:   9101                         -----
                                      -----                    SETGID:              1000                         -----
                                      -----                    SETUID:              1000                         -----
                                      --------------------------------------------------------------------------------
                                       
                                      --------------------------------------------------------------------------------
                                      -----                  Step 1 of 5: Preparing container                   -----
                                      --------------------------------------------------------------------------------
                                       
                                      Updating Linux packages on first run... 
                                      
                                      

                                      Was ich jetzt gleich mach ist, alle Container umziehen und versuchen den IOB im Host Network ohne Änderungen der Ports zu starten

                                      EDIT:

                                      Ohne ENV läuft es im Hostmode:

                                      Compose:

                                      version: '2.4'
                                      
                                      services:
                                        iobroker:
                                          restart: always
                                          image: buanet/iobroker:latest-v7
                                          container_name: iobroker
                                          hostname: iobroker
                                          network_mode: host
                                          volumes:
                                            - /docker/etc-iobrokerdata:/opt/iobroker
                                      

                                      Log:

                                       
                                      --------------------------------------------------------------------------------
                                      -------------------------     2023-01-20 19:39:10      -------------------------
                                      --------------------------------------------------------------------------------
                                      -----                                                                      -----
                                      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                                      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                                      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                                      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                                      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                                      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                                      -----                                                                      -----
                                      -----              Welcome to your ioBroker Docker container!              -----
                                      -----                    Startupscript is now running!                     -----
                                      -----                          Please be patient!                          -----
                                      --------------------------------------------------------------------------------
                                       
                                      --------------------------------------------------------------------------------
                                      -----                          System Information                          -----
                                      -----                    arch:                armv7l                       -----
                                      -----                    hostname:            iobroker                     -----
                                      -----                                                                      -----
                                      -----                          Version Information                         -----
                                      -----                    image:               v7.2.0                       -----
                                      -----                    build:               2023-01-12T23:45:21+00:00    -----
                                      -----                    node:                v16.19.0                     -----
                                      -----                    npm:                 8.19.3                       -----
                                      -----                                                                      -----
                                      -----                        Environment Variables                         -----
                                      -----                    SETGID:              1000                         -----
                                      -----                    SETUID:              1000                         -----
                                      --------------------------------------------------------------------------------
                                       
                                      --------------------------------------------------------------------------------
                                      -----                  Step 1 of 5: Preparing container                   -----
                                      --------------------------------------------------------------------------------
                                       
                                      Updating Linux packages on first run... 
                                      dpkg-preconfigure: unable to re-open stdin: 
                                      (Reading database ... 
                                      (Reading database ... 5%
                                      (Reading database ... 10%
                                      (Reading database ... 15%
                                      (Reading database ... 20%
                                      (Reading database ... 25%
                                      (Reading database ... 30%
                                      (Reading database ... 35%
                                      (Reading database ... 40%
                                      (Reading database ... 45%
                                      (Reading database ... 50%
                                      (Reading database ... 55%
                                      (Reading database ... 60%
                                      (Reading database ... 65%
                                      (Reading database ... 70%
                                      (Reading database ... 75%
                                      (Reading database ... 80%
                                      (Reading database ... 85%
                                      (Reading database ... 90%
                                      (Reading database ... 95%
                                      (Reading database ... 100%
                                      (Reading database ... 29167 files and directories currently installed.)
                                      Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_armhf.deb ...
                                      Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
                                      Setting up sudo (1.9.5p2-3+deb11u1) ...
                                      invoke-rc.d: could not determine current runlevel
                                      invoke-rc.d: policy-rc.d denied execution of restart.
                                      Done.
                                       
                                      Registering maintenance script as command... Done.
                                       
                                      --------------------------------------------------------------------------------
                                      -----             Step 2 of 5: Detecting ioBroker installation             -----
                                      --------------------------------------------------------------------------------
                                       
                                      There is no data detected in /opt/iobroker.
                                      Restoring initial ioBroker installation... Done.
                                       
                                      --------------------------------------------------------------------------------
                                      -----             Step 3 of 5: Checking ioBroker installation              -----
                                      --------------------------------------------------------------------------------
                                       
                                      (Re)setting permissions (This might take a while! Please be patient!)... Done.
                                       
                                      Fixing "sudo-bug" by replacing sudo with gosu... Done.
                                       
                                      Hostname in ioBroker does not match the hostname of this container.
                                      Updating hostname to iobroker... The host for instance "system.adapter.admin.0" was changed from "buildkitsandbox" to "iobroker".
                                      The host for instance "system.adapter.discovery.0" was changed from "buildkitsandbox" to "iobroker".
                                      The host for instance "system.adapter.backitup.0" was changed from "buildkitsandbox" to "iobroker".
                                      Done.
                                       
                                      --------------------------------------------------------------------------------
                                      -----                Step 4 of 5: Applying special settings                -----
                                      --------------------------------------------------------------------------------
                                       
                                      Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                                      For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
                                       
                                      --------------------------------------------------------------------------------
                                      -----                    Step 5 of 5: ioBroker startup                     -----
                                      --------------------------------------------------------------------------------
                                       
                                      Starting ioBroker... 
                                       
                                      ##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
                                      host.iobroker check instance "system.adapter.admin.0" for host "iobroker"
                                      host.iobroker check instance "system.adapter.discovery.0" for host "iobroker"
                                      host.iobroker check instance "system.adapter.backitup.0" for host "iobroker"
                                      object system.meta.uuid created: debb4421-84e2-46bc-958c-0f39a050c98a
                                      ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
                                      
                                      
                                      1 Reply Last reply
                                      0
                                      • GlasfaserG Offline
                                        GlasfaserG Offline
                                        Glasfaser
                                        wrote on last edited by
                                        #19

                                        @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

                                        Ohne ENV läuft es im Hostmode:

                                        Puhh ..
                                        ich weiß auch gerade nicht weiter ...
                                        eigentlich sollte die Ports per ENV genommen werden .

                                        @andre kannst du vielleicht hier weiterhelfen !?

                                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                        andreA 1 Reply Last reply
                                        0
                                        • GlasfaserG Glasfaser

                                          @blackburn sagte in Inst via Docker Compose mit network=Host & Portänderung:

                                          Ohne ENV läuft es im Hostmode:

                                          Puhh ..
                                          ich weiß auch gerade nicht weiter ...
                                          eigentlich sollte die Ports per ENV genommen werden .

                                          @andre kannst du vielleicht hier weiterhelfen !?

                                          andreA Offline
                                          andreA Offline
                                          andre
                                          Developer
                                          wrote on last edited by andre
                                          #20

                                          @glasfaser Die ENVs für Objects- und States-DB sind ausschließlich für Multihost und Redis-Anbindung gedacht und nicht um die DB Ports vom ioBroker zu verbiegen. Das ist derzeit weder unterstützt noch getestet. Tuts vielleicht auch ein MACVLAN anstelle des Hostmodes? Andernfalls schlage ich vor die Ports frei zu machen.
                                          Änderung des Admin Ports sollte funktionieren.

                                          MfG,
                                          André

                                          Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          605

                                          Online

                                          32.5k

                                          Users

                                          81.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe