Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Iobroker startet nicht mehr in Docker

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED [gelöst] Iobroker startet nicht mehr in Docker

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

      Hallo und guten Abend, ich habe heute meinen ioBroker in Docker (buanet/iobroker:latest) auf Traefik umgestellt. Das heisst lediglich das ich ioBroker von 8081 nun unter Port 80 erreichen kann. Mehr nicht. Natürlich habe ich dazu den Container mehrfach neu gestartet.

      Leider bekomme ich ihn nun nich mehr zum laufen 😕 Im log steht immer nur noch das:

      2020-05-01 22:59:15.777  - info: host.iobroker.tier01.intern iobroker.js-controller version 3.0.20 js-controller starting
      2020-05-01 22:59:15.786  - info: host.iobroker.tier01.intern Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
      2020-05-01 22:59:15.787  - info: host.iobroker.tier01.intern hostname: iobroker.tier01.intern, node: v10.20.1
      2020-05-01 22:59:15.793  - info: host.iobroker.tier01.intern ip addresses: 172.26.0.7
      2020-05-01 22:59:17.095  - info: host.iobroker.tier01.intern connected to Objects and States
      2020-05-01 22:59:17.626  - info: host.iobroker.tier01.intern 58 instances found
      2020-05-01 22:59:17.675  - warn: host.iobroker.tier01.intern does not start any instances on this host
      

      Auch ein zurückstellen auf das alte Netzwerk ohne Traefik Anbindung oder gar ein starten ohne Netzwerk bringt ihn nicht mehr zu laufen.

      Ein iobroker list instances bringt nur:

      root@iobroker:/opt/iobroker# iobroker list instances
        system.adapter.admin.0                 : admin                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
        system.adapter.backitup.0              : backitup              -  enabled
        system.adapter.cloud.0                 : cloud                 - disabled
        system.adapter.daswetter.0             : daswetter             - disabled
        system.adapter.devices.0               : devices               - disabled
        system.adapter.discovery.0             : discovery             - disabled
        system.adapter.dwd.0                   : dwd                   - disabled
        system.adapter.email.0                 : email                 - disabled
        system.adapter.feiertage.0             : feiertage             - disabled
        system.adapter.fullcalendar.0          : fullcalendar          - disabled
        system.adapter.hm-rega.0               : hm-rega               -  enabled
        system.adapter.hm-rpc.0                : hm-rpc                -  enabled, port: 0
        system.adapter.hm-rpc.1                : hm-rpc                -  enabled, port: 0
        system.adapter.hm-rpc.2                : hm-rpc                -  enabled, port: 0
        system.adapter.ical.0                  : ical                  - disabled
        system.adapter.icons-material-svg.0    : icons-material-svg    - disabled
        system.adapter.icons-mfd-svg.0         : icons-mfd-svg         - disabled
        system.adapter.influxdb.0              : influxdb              -  enabled, port: 8086
        system.adapter.info.0                  : info                  -  enabled
        system.adapter.iot.0                   : iot                   - disabled
        system.adapter.iqontrol.0              : iqontrol              - disabled
        system.adapter.javascript.0            : javascript            -  enabled
        system.adapter.javascript.1            : javascript            -  enabled
        system.adapter.jeelink.0               : jeelink               -  enabled
        system.adapter.lovelace.0              : lovelace              - disabled, port: 8091, bind: 0.0.0.0, run as: admin
        system.adapter.nina.0                  : nina                  - disabled
        system.adapter.node-red.0              : node-red              - disabled, port: 1880, bind: 192.168.200.43
        system.adapter.openweathermap.0        : openweathermap        - disabled
        system.adapter.parser.0                : parser                - disabled
        system.adapter.ping.0                  : ping                  - disabled
        system.adapter.rflink.0                : rflink                - disabled
        system.adapter.roadtraffic.0           : roadtraffic           - disabled
        system.adapter.sayit.0                 : sayit                 - disabled
        system.adapter.scenes.0                : scenes                - disabled
        system.adapter.schoolfree.0            : schoolfree            - disabled
        system.adapter.snmp.0                  : snmp                  - disabled
        system.adapter.socketio.0              : socketio              -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
        system.adapter.sourceanalytix.0        : sourceanalytix        - disabled
        system.adapter.statistics.0            : statistics            - disabled
        system.adapter.systeminfo.0            : systeminfo            - disabled
        system.adapter.tankerkoenig.0          : tankerkoenig          -  enabled
        system.adapter.telegram.0              : telegram              -  enabled, port: 8443, bind: 0.0.0.0
        system.adapter.terminal.0              : terminal              - disabled, port: 8089, bind: 0.0.0.0, run as: admin
        system.adapter.text2command.0          : text2command          -  enabled
        system.adapter.tradfri.0               : tradfri               -  enabled
        system.adapter.trashschedule.0         : trashschedule         - disabled
        system.adapter.upnp.0                  : upnp                  - disabled
        system.adapter.vis-bars.0              : vis-bars              - disabled
        system.adapter.vis-fancyswitch.0       : vis-fancyswitch       - disabled
        system.adapter.vis-google-fonts.0      : vis-google-fonts      - disabled
        system.adapter.vis-hqwidgets.0         : vis-hqwidgets         - disabled
      + system.adapter.vis-material-webfont.0  : vis-material-webfont  -  enabled
        system.adapter.vis-materialdesign.0    : vis-materialdesign    -  enabled
        system.adapter.vis-metro.0             : vis-metro             - disabled
        system.adapter.vis-players.0           : vis-players           - disabled
        system.adapter.vis-weather.0           : vis-weather           - disabled
        system.adapter.vis.0                   : vis                   -  enabled
        system.adapter.web.0                   : web                   -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      + instance is alive
      root@iobroker:/opt/iobroker#
      

      Vielleicht hat ja jemand eine Idee.

      Liebe Grüße

      1 Reply Last reply Reply Quote 0
      • P
        photographix last edited by

        Was ich gerade noch versucht habe, trotzdem aber keinen Erfolg darstellte:

        root@iobroker:/opt/iobroker# iobroker host iobroker
        A host with the name "iobroker.tier01.intern" already exists!
        root@iobroker:/opt/iobroker# iobroker host this
        A host with the name "iobroker.tier01.intern" already exists!
        root@iobroker:/opt/iobroker# iobroker start
        Starting iobroker controller daemon...
        iobroker controller daemon started. PID: 633
        root@iobroker:/opt/iobroker# tail -f /log/iobroker.current.log
        2020-05-01 22:59:17.675  - warn: host.iobroker.tier01.intern does not start any instances on this host
        2020-05-01 23:00:02.838  - info: host.iobroker.tier01.intern received SIGTERM
        2020-05-01 23:00:02.844  - info: host.iobroker.tier01.intern terminated
        2020-05-01 23:18:12.388  - info: host.iobroker.tier01.intern iobroker.js-controller version 3.0.20 js-controller starting
        2020-05-01 23:18:12.423  - info: host.iobroker.tier01.intern Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
        2020-05-01 23:18:12.425  - info: host.iobroker.tier01.intern hostname: iobroker.tier01.intern, node: v10.20.1
        2020-05-01 23:18:12.427  - info: host.iobroker.tier01.intern ip addresses: 172.26.0.7
        2020-05-01 23:18:13.788  - info: host.iobroker.tier01.intern connected to Objects and States
        2020-05-01 23:18:14.252  - info: host.iobroker.tier01.intern 58 instances found
        2020-05-01 23:18:14.303  - warn: host.iobroker.tier01.intern does not start any instances on this host
        
        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @photographix last edited by Glasfaser

          @photographix sagte in Iobroker startet nicht mehr in Docker:

          iobroker host

          und mit

          iobroker host this
          

          danach Neustart

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

            @Glasfaser sagte in Iobroker startet nicht mehr in Docker:

            iobroker host this

            Olá und guten Abend - folgendes habe ich getan:

            root@iobroker:/opt/iobroker# iobroker host
            The required argument "oldHostname" is missing! Example: "host oldHostname"
            root@iobroker:/opt/iobroker# iobroker host this
            A host with the name "iobroker.tier01.intern" already exists!
            root@iobroker:/opt/iobroker#
            

            weiterhin im Log nach Neustart des Containers:

            root@iobroker:/opt/iobroker/log# tail -f iobroker.current.log
            2020-05-01 23:25:24.681  - warn: host.iobroker.tier01.intern does not start any instances on this host
            2020-05-01 23:26:04.306  - info: host.iobroker.tier01.intern received SIGTERM
            2020-05-01 23:26:04.312  - info: host.iobroker.tier01.intern terminated
            2020-05-01 23:28:04.738  - info: host.iobroker.tier01.intern iobroker.js-controller version 3.0.20 js-controller starting
            2020-05-01 23:28:04.751  - info: host.iobroker.tier01.intern Copyright (c) 2014-2020 bluefox, 2014 hobbyquaker
            2020-05-01 23:28:04.752  - info: host.iobroker.tier01.intern hostname: iobroker.tier01.intern, node: v10.20.1
            2020-05-01 23:28:04.756  - info: host.iobroker.tier01.intern ip addresses: 172.26.0.7
            2020-05-01 23:28:06.017  - info: host.iobroker.tier01.intern connected to Objects and States
            2020-05-01 23:28:06.522  - info: host.iobroker.tier01.intern 58 instances found
            2020-05-01 23:28:06.618  - warn: host.iobroker.tier01.intern does not start any instances on this host
            
            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @photographix last edited by

              @photographix sagte in Iobroker startet nicht mehr in Docker:

              host with the name "iobroker.tier01.intern" already exists!

              Schau mal im Container wie dort der Hostname ist

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

                @Glasfaser

                der Container heisst iobroker (auch auf der Shell im Container) und die Domain ist auch auf tier01.intern gesetzt. Das sollte passen.

                Auszug aus Docker inspect:

                38fb205701e554901c5a9b99e1324af330a9a436fc55a5ce7d6741ad6100e60b
                AppArmorProfile docker-default
                Args
                0 -c
                1 /opt/scripts/iobroker_startup.sh
                Config
                ArgsEscaped true
                AttachStderr false
                AttachStdin false
                AttachStdout false
                Cmd [ ]
                Domainname tier01.intern
                Entrypoint [ /bin/bash, -c, /opt/scripts/iobroker_startup.sh ]
                Env [ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin, DEBIAN_FRONTEND=teletype, LANG=de_DE.UTF-8, LANGUAGE=de_DE:de, LC_ALL=de_DE.UTF-8, PACKAGES=nano, SETGID=1000, SETUID=1000, TZ=Europe/Berlin ]
                ExposedPorts { 2001/tcp: [object Object], 2010/tcp: [object Object], 8081/tcp: [object Object], 8082/tcp: [object Object], 8084/tcp: [object Object], 8091/tcp: [object Object], 9292/tcp: [object Object] }
                Hostname iobroker
                Image buanet/iobroker:latest
                Labels { com.docker.compose.config-hash: cb0328c969e9ae91510657c57c63bbb1acc239a3, com.docker.compose.container-number: 1, com.docker.compose.oneoff: False, com.docker.compose.project: iobroker, com.docker.compose.service: iobroker, com.docker.compose.version: 1.5.0, maintainer: Andre Germann, traefik.enable: true, traefik.http.routers.iobroker.entrypoints: web, traefik.http.routers.iobroker.rule: Host(`iobroker.tier01.intern`), traefik.http.services.iobroker.loadbalancer.server.port: 8081, url: https://buanet.de }
                OnBuild
                OpenStdin false
                StdinOnce false
                Tty false
                User
                Volumes { /opt/iobroker: [object Object] }
                WorkingDir /opt/iobroker
                Created 2020-05-01T20:58:34.73359995Z
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @photographix last edited by

                  @photographix sagte in Iobroker startet nicht mehr in Docker:

                  Domainname tier01.intern

                  Kenne dein Docker System nicht ..
                  Was ist wenn du das fehlen lässt oder war das so vorher auch ?

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

                    @Glasfaser

                    die FQDN Domain ist neu - ich stelle gerade alles auf komplette Domainnamen um.

                    root@iobroker:/opt/iobroker# iobroker host
                    The required argument "oldHostname" is missing! Example: "host oldHostname"
                    root@iobroker:/opt/iobroker# iobroker host this
                    Host "iobroker.tier01.intern" successfully renamed to "iobroker".
                    No instances found!
                    root@iobroker:/opt/iobroker#
                    

                    DANKE! das scheint das Problem gewesen zu sein. Kannst du mir noch sagen warum man keine Domain anhängen kann? Iobroker geht wieder!

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

                      @photographix sagte in Iobroker startet nicht mehr in Docker:

                      keine Domain

                      Sorry , kann ich dir nicht beantworten , hab ich bei dir zum ersten mal gesehen , was mir aufgefallen ist ... !

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

                        @Glasfaser

                        ok dann weiss ich das jetzt. Für Traefik ist es Best Practice wenn man komplette Domainnamen verwendet. Ich habe alle meine Container darauf umgebaut. Das ist auch über VPN einfacher, da gleich die Suchdomain mit dabei ist und man so ggf Probleme mit den selben Namen in dem anderen Netz vermeidet (SplitTunnel).

                        Danke und einen schönen Abend noch.

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

                          @photographix

                          Freut mich das es wieder läuft ...

                          Dann setze den Thread auf gelöst !

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          890
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          docker reverse proxy traefik
                          2
                          11
                          1045
                          Loading More Posts
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes
                          Reply
                          • Reply as topic
                          Log in to reply
                          Community
                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                          The ioBroker Community 2014-2023
                          logo