Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
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
    22
    1
    993

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

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

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

Geplant Angeheftet Gesperrt Verschoben Off Topic
portsdocker portainerhost
22 Beiträge 4 Kommentatoren 2.5k Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • 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
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antworten Letzte Antwort
          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
            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #10

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

                OliverIOO 1 Antwort Letzte Antwort
                0
                • B blackburn

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

                  OliverIOO Offline
                  OliverIOO Offline
                  OliverIO
                  schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #12

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

                    1 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        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
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          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
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                0
                                • GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                    1
                                    • B Offline
                                      B Offline
                                      blackburn
                                      schrieb am zuletzt editiert von
                                      #21

                                      @andre Danke für die Info!

                                      Ja ich werden dann wohl die Ports frei machen bzw mal gucken ob ich das VLAN einrichte.
                                      @Glasfaser und @OliverIO danke für eure Hilfe und eure Geduld!

                                      OliverIOO 1 Antwort Letzte Antwort
                                      0
                                      • B blackburn

                                        @andre Danke für die Info!

                                        Ja ich werden dann wohl die Ports frei machen bzw mal gucken ob ich das VLAN einrichte.
                                        @Glasfaser und @OliverIO danke für eure Hilfe und eure Geduld!

                                        OliverIOO Offline
                                        OliverIOO Offline
                                        OliverIO
                                        schrieb am zuletzt editiert von OliverIO
                                        #22

                                        @blackburn
                                        Ich würde dann macvlan machen. Dann hast für iobroker eine eigene ip und alles ist ok wie Standard Installation.
                                        Und du musst keine Porta frei Räumen
                                        So hab ich das auch und will es nicht mehr anders

                                        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 Antwort Letzte Antwort
                                        0
                                        Antworten
                                        • In einem neuen Thema antworten
                                        Anmelden zum Antworten
                                        • Älteste zuerst
                                        • Neuste zuerst
                                        • Meiste Stimmen


                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        761

                                        Online

                                        32.5k

                                        Benutzer

                                        81.6k

                                        Themen

                                        1.3m

                                        Beiträge
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                        ioBroker Community 2014-2025
                                        logo
                                        • Anmelden

                                        • Du hast noch kein Konto? Registrieren

                                        • Anmelden oder registrieren, um zu suchen
                                        • Erster Beitrag
                                          Letzter Beitrag
                                        0
                                        • Home
                                        • Aktuell
                                        • Tags
                                        • Ungelesen 0
                                        • Kategorien
                                        • Unreplied
                                        • Beliebt
                                        • GitHub
                                        • Docu
                                        • Hilfe