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

      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

                        580
                        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