Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker unter Docker auf Synology DiskStation

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    [HowTo] ioBroker unter Docker auf Synology DiskStation

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

      @glasfaser und @andre

      Sorry, überhastet. Du hast Recht, ich gehe das nochmal systematisch durch...

      Container neu einmal neu anlegen, das Recreate vom Portainer ist immer mal wieder buggy. Alternative: Bau dir einen Stack! Dann vermeidest du in Zukunft Bugs der Portainer web UI bei Recreate oder Duplicate/ Edit.

      Check. Container neu angelegt - mappt auf den ursprünglichen Ordner.
      Verwendet wird Image buanet/iobroker:latest-v7

      Umgebungsvariable DEBUG hinzufügen und auf true setzen. Das macht, dass der Container an der Stelle wo es bei dir hakt stehen bleibt und weiter läuft. So hast du die Möglichkeit auf die Kommandozeile zu gehen und z.B. ein iobroker status auszuführen. Eventuell bekommen wir über die Ausgabe mehr Infos warum es Probleme bei der Erkennung der Admin Instanz gab.

      Bei ENV ist DEBUG mit true gesetzt (s. Log). Außerdem USBDEVICES auf /dev/ttyUSB0

      Poste das komplette Log deines Containers beim Start. Nur mit der Fehlermeldung kommen wir hier nicht weit.

      Gerne:

      --------------------------------------------------------------------------------
      -----                  Step 1 of 5: Preparing container                   -----
      --------------------------------------------------------------------------------
       
      Updating Linux packages on first run... 
      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.
       
      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
       
      [DEBUG] Debug mode prevents the container from exiting on errors.
      [DEBUG] This enables you to investigate or fix your issue on the command line.
      [DEBUG] If you want to stop or restart your container you have to do it manually.
      [DEBUG] IoBroker is not running!
      

      Der Tipp mit DEBUG true ist klasse, @andre - das kannte ich nicht. Da der Container jetzt am Leben gehalten wird, habe ich es mal mit iobroker status probiert. Aber er gibt mir nur zurück:
      iobroker is not running on this host.
      Objects type: jsonl
      States type: jsonl

      Merci und Grüße

      clfberlin 1 Reply Last reply Reply Quote 0
      • clfberlin
        clfberlin @clfberlin last edited by

        Ergänzung:
        iob fix habe ich auch probiert.

        Danach gestartet

        root@iobroker:/opt/iobroker# iob start
        Starting iobroker controller daemon...
        iobroker controller daemon started. PID: 1073
        root@iobroker:/opt/iobroker# iob start all
        The adapter "admin.0" was started.
        The adapter "history.0" was started.
        The adapter "influxdb.0" was started.
        The adapter "javascript.1" was started.
        The adapter "pushover.0" was started.
        The adapter "scenes.0" was started.
        The adapter "alexa2.0" was started.
        The adapter "ham.0" was started.
        The adapter "hue.1" was started.
        The adapter "ical.0" was started.
        The adapter "modbus.0" was started.
        The adapter "netatmo.0" was started.
        The adapter "ping.0" was started.
        The adapter "samsung.0" was started.
        The adapter "sonos.0" was started.
        The adapter "zigbee.0" was started.
        The adapter "backitup.0" was started.
        The adapter "bluelink.0" was started.
        The adapter "cloud.0" was started.
        The adapter "daswetter.0" was started.
        The adapter "devices.0" was started.
        The adapter "discovery.0" was started.
        The adapter "dwd.0" was started.
        The adapter "firetv.0" was started.
        The adapter "flot.0" was started.
        The adapter "fullybrowser.0" was started.
        The adapter "homeconnect.0" was started.
        The adapter "hue-extended.1" was started.
        The adapter "icons-material-svg.0" was started.
        The adapter "icons-mfd-svg.0" was started.
        The adapter "info.0" was started.
        The adapter "iot.0" was started.
        The adapter "jarvis.0" was started.
        The adapter "lovelace.0" was started.
        The adapter "net-tools.0" was started.
        The adapter "openligadb.0" was started.
        The adapter "renault.0" was started.
        The adapter "tankerkoenig.0" was started.
        The adapter "text2command.0" was started.
        The adapter "tradfri.0" was started.
        The adapter "trashschedule.0" was started.
        The adapter "unifi.0" was started.
        The adapter "vis-google-fonts.0" was started.
        The adapter "vis-justgage.0" was started.
        The adapter "vis-timeandweather.0" was started.
        The adapter "vis.0" was started.
        The adapter "web.0" was started.
        The adapter "web.1" was started.
        The adapter "vis-materialdesign.0" was started.
        The adapter "simple-api.0" was started.
        root@iobroker:/opt/iobroker#
        

        aber der Container bleibt im selben Zustand.

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

          @clfberlin

          Starting iobroker controller daemon..

          Log von iobroker wäre interessant

          iob logs --watch
          

          und

          iobroker list instances
          
          1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @andre last edited by

            @clfberlin

            @andre sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:
            @clfberlin Hast du versucht von v7.1.2 auf v7.2.0 zu gehen? Waren alle deine Adapter und der js-controller vorher auf der aktuellsten (stable) Version?

            was war hiermit !?

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

              @glasfaser
              Ok... Log ist wirklich lang. Wenn ich mal nur auf die Fehler schaue, dann dreht sich das Meiste um die Instanz des Adapters daswetter 🤔

              2023-01-03 12:30:35.597  - error: daswetter.0 (1107) force terminate
              2023-01-03 12:30:35.598  - warn: daswetter.0 (1107) Terminated (UNKNOWN_ERROR): Without reason
              2023-01-03 12:30:36.125  - warn: daswetter.0 (1107) get state error: Connection is closed.
              2023-01-03 12:30:36.127  - error: daswetter.0 (1107) exception in await insertIntoList [Error: DB closed]
              2023-01-03 12:30:36.141  - error: daswetter.0 (1107) exception in await insertIntoList [Error: DB closed]
              2023-01-03 12:30:36.143  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_value2": Connection is closed.
              2023-01-03 12:30:36.145  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_value2: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_value2": Connection is closed.]
              2023-01-03 12:30:36.147  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_desc": Connection is closed.
              2023-01-03 12:30:36.149  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_desc: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_desc": Connection is closed.]
              2023-01-03 12:30:36.152  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_value": Connection is closed.
              2023-01-03 12:30:36.154  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.symbol_value": Connection is closed.]
              2023-01-03 12:30:36.156  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.iconURL": Connection is closed.
              2023-01-03 12:30:36.157  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.iconURL: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.iconURL": Connection is closed.]
              2023-01-03 12:30:36.159  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_symbolB": Connection is closed.
              2023-01-03 12:30:36.161  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_symbolB: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_symbolB": Connection is closed.]
              2023-01-03 12:30:36.162  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_symbol": Connection is closed.
              2023-01-03 12:30:36.164  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_symbol: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_symbol": Connection is closed.]
              2023-01-03 12:30:36.166  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_dir": Connection is closed.
              2023-01-03 12:30:36.167  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_dir: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_dir": Connection is closed.]
              2023-01-03 12:30:36.169  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_value": Connection is closed.
              2023-01-03 12:30:36.170  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.wind_value": Connection is closed.]
              2023-01-03 12:30:36.172  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windIconURL": Connection is closed.
              2023-01-03 12:30:36.173  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windIconURL: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windIconURL": Connection is closed.]
              2023-01-03 12:30:36.175  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windgusts_value": Connection is closed.
              2023-01-03 12:30:36.176  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windgusts_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windgusts_value": Connection is closed.]
              2023-01-03 12:30:36.177  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.rain_value": Connection is closed.
              2023-01-03 12:30:36.180  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.rain_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.rain_value": Connection is closed.]
              2023-01-03 12:30:36.182  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.humidity_value": Connection is closed.
              2023-01-03 12:30:36.183  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.humidity_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.humidity_value": Connection is closed.]
              2023-01-03 12:30:36.185  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.pressure_value": Connection is closed.
              2023-01-03 12:30:36.187  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.pressure_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.pressure_value": Connection is closed.]
              2023-01-03 12:30:36.188  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.clouds_value": Connection is closed.
              2023-01-03 12:30:36.190  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.clouds_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.clouds_value": Connection is closed.]
              2023-01-03 12:30:36.191  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.snowline_value": Connection is closed.
              2023-01-03 12:30:36.193  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.snowline_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.snowline_value": Connection is closed.]
              2023-01-03 12:30:36.194  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windchill_value": Connection is closed.
              2023-01-03 12:30:36.195  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windchill_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.windchill_value": Connection is closed.]
              2023-01-03 12:30:36.197  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.uv_index_value": Connection is closed.
              2023-01-03 12:30:36.198  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.uv_index_value: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_2.uv_index_value": Connection is closed.]
              2023-01-03 12:30:36.201  - error: daswetter.0 (1107) Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_3": Connection is closed.
              2023-01-03 12:30:36.207  - error: daswetter.0 (1107) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_3: Cannot check object existence of "daswetter.0.NextDaysDetailed.Location_1.Day_4.Hour_3": Connection is closed.]
              2023-01-03 12:30:36.246  - info: hue-extended.1 (1120) State value to set for "hue-extended.1.groups.000-all_lights.lightlevel.state.lightlevel" has to be type "string" but received type "number" 
              2023-01-03 12:30:36.497  - error: host.iobroker instance system.adapter.daswetter.0 terminated with code 15 (UNKNOWN_ERROR)
              

              Und die Liste der Instanzen:

              system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              system.adapter.alexa2.0                 : alexa2                : iobroker                                 -  enabled
              system.adapter.backitup.0               : backitup              : iobroker                                 -  enabled
              system.adapter.bluelink.0               : bluelink              : iobroker                                 -  enabled
              system.adapter.cloud.0                  : cloud                 : iobroker                                 -  enabled
              system.adapter.daswetter.0              : daswetter             : iobroker                                 -  enabled
              system.adapter.devices.0                : devices               : iobroker                                 -  enabled
              system.adapter.discovery.0              : discovery             : iobroker                                 -  enabled
              system.adapter.dwd.0                    : dwd                   : iobroker                                 -  enabled
              system.adapter.firetv.0                 : firetv                : iobroker                                 -  enabled
              system.adapter.flot.0                   : flot                  : iobroker                                 -  enabled
              system.adapter.fullybrowser.0           : fullybrowser          : iobroker                                 -  enabled
              system.adapter.ham.0                    : ham                   : iobroker                                 -  enabled
              system.adapter.history.0                : history               : iobroker                                 -  enabled
              system.adapter.homeconnect.0            : homeconnect           : iobroker                                 -  enabled
              system.adapter.hue-extended.1           : hue-extended          : iobroker                                 -  enabled
              system.adapter.hue.1                    : hue                   : iobroker                                 -  enabled, port: 443
              system.adapter.ical.0                   : ical                  : iobroker                                 -  enabled
              system.adapter.icons-material-svg.0     : icons-material-svg    : iobroker                                 -  enabled
              system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : iobroker                                 -  enabled
              system.adapter.influxdb.0               : influxdb              : iobroker                                 -  enabled, port: 8086
              system.adapter.info.0                   : info                  : iobroker                                 -  enabled
              system.adapter.iot.0                    : iot                   : iobroker                                 -  enabled
              system.adapter.jarvis.0                 : jarvis                : iobroker                                 -  enabled
              system.adapter.javascript.1             : javascript            : iobroker                                 -  enabled
              system.adapter.lovelace.0               : lovelace              : iobroker                                 -  enabled, port: 8091, bind: 0.0.0.0, run as: admin
              system.adapter.modbus.0                 : modbus                : iobroker                                 -  enabled
              system.adapter.net-tools.0              : net-tools             : iobroker                                 -  enabled
              system.adapter.netatmo.0                : netatmo               : iobroker                                 -  enabled
              system.adapter.openligadb.0             : openligadb            : iobroker                                 -  enabled
              system.adapter.ping.0                   : ping                  : iobroker                                 -  enabled
              system.adapter.pushover.0               : pushover              : iobroker                                 -  enabled
              system.adapter.renault.0                : renault               : iobroker                                 -  enabled
              system.adapter.samsung.0                : samsung               : iobroker                                 -  enabled
              system.adapter.scenes.0                 : scenes                : iobroker                                 -  enabled
              system.adapter.simple-api.0             : simple-api            : iobroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
              system.adapter.sonos.0                  : sonos                 : iobroker                                 -  enabled
              system.adapter.tankerkoenig.0           : tankerkoenig          : iobroker                                 -  enabled
              system.adapter.text2command.0           : text2command          : iobroker                                 -  enabled
              system.adapter.tradfri.0                : tradfri               : iobroker                                 -  enabled
              system.adapter.trashschedule.0          : trashschedule         : iobroker                                 -  enabled
              system.adapter.unifi.0                  : unifi                 : iobroker                                 -  enabled
              system.adapter.vis-google-fonts.0       : vis-google-fonts      : iobroker                                 -  enabled
              system.adapter.vis-justgage.0           : vis-justgage          : iobroker                                 -  enabled
              system.adapter.vis-materialdesign.0     : vis-materialdesign    : iobroker                                 -  enabled
              system.adapter.vis-timeandweather.0     : vis-timeandweather    : iobroker                                 -  enabled
              system.adapter.vis.0                    : vis                   : iobroker                                 -  enabled
              system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              system.adapter.web.1                    : web                   : iobroker                                 -  enabled, port: 8083, bind: 0.0.0.0, run as: admin
              system.adapter.zigbee.0                 : zigbee                : iobroker                                 -  enabled, port: /dev/ttyUSB0
              
              + instance is alive
              

              @clfberlin Hast du versucht von v7.1.2 auf v7.2.0 zu gehen? Waren alle deine Adapter und der js-controller vorher auf der aktuellsten (stable) Version?

              Ich war auf 7.1.2. Der js-controller war nicht auf dem aktuellsten Stand. Das war auch der Anlass, warum ich bei der Gelegenheit in den Portainer gegangen und Recreate ausgeführt habe (mit pull und der Auswahl buanet/iobroker:latest). Da begann der Schlamassel, denn da startete er nicht mehr.
              Ach ja, in den Docker-Labels stand danach trotzdem org.opencontainers.image.version noch bei v7.1.2. Im neu angelegten Container steht allerdings die v7.2 mit dem selben Ergebnis.

              clfberlin 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser last edited by

                @clfberlin

                daswetter lege mal bei Seite ...

                der ioBroker Start im Log wäre wichtiger ...

                mache mal ein :

                pkill -u iobroker
                iobroker host this
                

                Container danach neu starten

                1 Reply Last reply Reply Quote 0
                • clfberlin
                  clfberlin @clfberlin last edited by

                  @glasfaser und @andre

                  Ihr habt die richtige Richtung eingeschlagen!
                  Mit dem DEBUG true Eintrag @andre und dem damit möglichen iob logs --watch @Glasfaser war der Adapter daswetter.0 erstmal ein Fehler-Kandidat. Ich habe ihn gelöscht und komme jetzt bis Schritt 4/5.
                  Jetzt erkennt er gerade den USB-Stick nicht.

                  Looks like the device "/dev/ttyUSB0" does not exist.
                  

                  Aber das ist schon mal ein großer Schritt. DANKE!

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

                    @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                    Jetzt erkennt er gerade den USB-Stick nicht.

                    auch als --device eingetragen !?

                    Denn ab v7.2 muß er eingetragen sein , wenn er nicht da ist dann startet der Container nicht , aber dazu steht auch eine Meldung in der SYN / Container Log !

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

                      @glasfaser
                      In meinem ursprünglichen Container läuft alles. Ich bin überglücklich...!
                      Den USB-Stick hatte ich im Portainer unter Runtime & Resources als Device eingetragen.
                      von Host /dev/ttyUSB0 zu Container /dev/ttyUSB0

                      Oder kann ich ihm noch irgendwo gesondert mitgeben, dass er mit dem ttyUSB0 als --device starten soll?

                      Mein js-controller ist jetzt noch auf 4.0.23.

                      Ich gehe jetzt mal vorsichtig durch alles durch und achte auf evtl. Instabilitäten.
                      Mann bin ich froh! Und nicht nur das, ich habe auch wieder was gelernt.

                      PS: Früher hatte ich mal nach der Slaesh-Anleitung Container so angelegt.
                      Also

                      sudo docker run -itd --name="irgendwas" --net=host -e TZ=Europe/Berlin --device=/dev/ttyUSB0
                      

                      Aber ich gehe davon aus, dass die Device-Einbindung in Portainer auf dasselbe hinausläuft?

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

                        @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                        Den USB-Stick hatte ich im Portainer unter Runtime & Resources als Device eingetragen.
                        von Host /dev/ttyUSB0 zu Container /dev/ttyUSB0

                        das reicht ,
                        es kann auch vorkommen , das bei einem Syn Neustart sich der Port auf USB1 wechselt .

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

                          @glasfaser
                          Ja, ich schaue mitunter immer mal in /dev rein. Bislang blieb es immer bei USB0. Am anderen USB-Port hängt noch ein Datenträger. Die Synology ist quasi in Kunstharz gegossen. Da stöpsel ich im Betrieb nix ein und aus.

                          Ich bin echt erleichtert. Leider noch zu früh für nen Schnaps. 😀
                          Danke nochmal!

                          1 Reply Last reply Reply Quote 1
                          • andre
                            andre Developer @clfberlin last edited by

                            @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            den gesamten Inhalt des vorigen Ordners dorthin kopiert, also /iobroker-data, /node_modules etc.

                            @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            ganze Reihe an Ordnern rüber kopiert

                            Nein. Bitte niemals einfach so drauf los kopieren!

                            @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            Danach gestartet

                            Nein, nein! iobroker start gehört nicht in den Container! Wenn du nach einer Aktion auf der Kommandozeile ioBroker neu starten willst, dass startest du bitte den gesamten Container neu! Das Startscript wurde ja unterbrochen und läuft nicht weiter, bloß weil du was auf der Kommandozeile eintipperst...

                            @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            Ach ja, in den Docker-Labels stand danach trotzdem org.opencontainers.image.version noch bei v7.1.2.

                            Labels werden bei einem recreate nicht aktualisiert. Ist ein Docker Problem. Auschlaggebend ist die Version die im Container Log steht. Daher immer das ganze Log posten! (Übrigens ist dein Log oben auch nicht vollständig. Es fehlt der Kopf in dem Versionen und Umgebungsvariablen stehen!)

                            @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            Mein js-controller ist jetzt noch auf 4.0.23.

                            Bitte vor einem Update des Container Images immer schauen, dass alle Adapter und der js-controller aktuell sind. Sonst gilt: es kann (und wird meist) klappen, aber es kann die keiner garantieren. Ich teste das Image nach dem Build ausschließlich mit den letzten stable Versionen.

                            Und zum Schluss nochmal ein gut gemeinter Rat für den Fall, dass du nochmal Unterstützung benötigst. Schalt einen Gang runter und lies die Antworten die wir geben gründlich. Nicht immer können wir mit einer Antwort das Problem sofort lösen. Manchmal braucht es zwei, drei oder mehr Schritte in denen wir uns erst einmal herantasten müssen. Gerade ein Docker Setup ist in der Regel sehr individuell (siehe Docker Netzwerk oder USB Devices). Da hilft es dann wenig wenn du zwischendrin Sachen wild umher kopierst oder irgendwelche Kommandos einhämmerst.
                            Ich verstehe dass es Kacke ist wenn es nicht funktioniert. Aber wenn du Unterstützung brauchst, musst du uns auch die Chance geben dir zu helfen.

                            MfG,
                            André

                            clfberlin 1 Reply Last reply Reply Quote 4
                            • clfberlin
                              clfberlin @andre last edited by

                              @andre
                              Ja, dem kann ich in der Tat nicht widersprechen. Und ja, ich war ungeduldig. Und in der Tat hatte ich den Kopf beim Posten nicht mitkopiert. Als mir das auffiel, war aber schon der fehlerbehaftete Adapter identifiziert.
                              iobroker start nicht im Container, nehme ich als weiteres Learning mit.
                              Ebenso den kritischen Blick, dass wirklich alles aktuell ist vor einem Update.

                              Und ich bin mal wieder beeindruckt, wie robust iobroker im Grunde ist. Ich hatte mich schon fast damit abgefunden, den Neu-Container mit einem Backup und den fehlenden Dateien (vor allem aus dem VIS-Bereich) zusammen zu patchen. Viel Aktionismus. Aber letztendlich brachte doch die hilfreiche Strukturierung von @andre und @Glasfaser die bestmögliche Lösung.

                              Vielen Dank und Grüße, clfberlin

                              1 Reply Last reply Reply Quote 1
                              • N
                                neunteufels last edited by

                                Hallo zusammen,

                                nach einem Neustart meiner virtuellen Maschine (Synology Virtual Machine) startet der Radar2 Adapter nicht und nach kurzer Zeit wird der Adapter wegen Erkennung eines Boot Loops abgewürgt (ergibt Sinn).
                                Log siehe unten.
                                Nach mehreren Neustarts hat es dann meistens wieder funktioniert, aber ich konnte noch nicht eingrenzen was das Problem ist.

                                Was mache ich falsch?
                                Was muss ich ändern?

                                Danke vorab.

                                2023-01-03 22:16:57.197  - error: radar2.0 (6467) uncaught exception: spawn arp ENOENT
                                2023-01-03 22:16:57.200  - error: radar2.0 (6467) Error: spawn arp ENOENT
                                    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
                                    at onErrorNT (node:internal/child_process:485:16)
                                    at processTicksAndRejections (node:internal/process/task_queues:83:21)
                                2023-01-03 22:16:57.200  - error: radar2.0 (6467) Exception-Code: ENOENT: spawn arp ENOENT
                                2023-01-03 22:16:57.202  - warn: radar2.0 (6467) Uncaught Exception: spawn arp ENOENT
                                2023-01-03 22:16:57.211  - warn: radar2.0 (6467) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2023-01-03 22:16:57.842  - error: host.IOBroker instance system.adapter.radar2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2023-01-03 22:16:57.843  - info: host.IOBroker Restart adapter system.adapter.radar2.0 because enabled
                                2023-01-03 22:16:58.874  - info: host.IOBroker instance system.adapter.radar2.0 started with pid 6709
                                2023-01-03 22:17:00.152  - info: javascript.0 (534) script.js.Rollo_EG.Rollo_geschlossen: Alle Rollos sind geschlossen.
                                2023-01-03 22:17:01.205  - error: radar2.0 (6709) uncaught exception: spawn arp ENOENT
                                2023-01-03 22:17:01.208  - error: radar2.0 (6709) Error: spawn arp ENOENT
                                    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
                                    at onErrorNT (node:internal/child_process:485:16)
                                    at processTicksAndRejections (node:internal/process/task_queues:83:21)
                                2023-01-03 22:17:01.209  - error: radar2.0 (6709) Exception-Code: ENOENT: spawn arp ENOENT
                                2023-01-03 22:17:01.210  - warn: radar2.0 (6709) Uncaught Exception: spawn arp ENOENT
                                2023-01-03 22:17:01.218  - warn: radar2.0 (6709) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2023-01-03 22:17:01.821  - error: host.IOBroker instance system.adapter.radar2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2023-01-03 22:17:01.821  - info: host.IOBroker Restart adapter system.adapter.radar2.0 because enabled
                                2023-01-03 22:17:02.847  - info: host.IOBroker instance system.adapter.radar2.0 started with pid 6878
                                2023-01-03 22:17:05.153  - error: radar2.0 (6878) uncaught exception: spawn arp ENOENT
                                2023-01-03 22:17:05.155  - error: radar2.0 (6878) Error: spawn arp ENOENT
                                    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
                                    at onErrorNT (node:internal/child_process:485:16)
                                    at processTicksAndRejections (node:internal/process/task_queues:83:21)
                                2023-01-03 22:17:05.156  - error: radar2.0 (6878) Exception-Code: ENOENT: spawn arp ENOENT
                                2023-01-03 22:17:05.158  - warn: radar2.0 (6878) Uncaught Exception: spawn arp ENOENT
                                2023-01-03 22:17:05.183  - warn: radar2.0 (6878) Terminated (UNCAUGHT_EXCEPTION): Without reason
                                2023-01-03 22:17:05.960  - error: host.IOBroker instance system.adapter.radar2.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                                2023-01-03 22:17:05.961  - info: host.IOBroker Restart adapter system.adapter.radar2.0 because enabled
                                2023-01-03 22:17:05.961  - warn: host.IOBroker Do not restart adapter system.adapter.radar2.0 because restart loop detected
                                
                                
                                Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @neunteufels last edited by

                                  @neunteufels

                                  Ist arp überhaupt installiert?

                                  which arp
                                  

                                  sagt?

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

                                    @neunteufels sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                    (Synology Virtual Machine) startet der Radar2 Adapter nicht

                                    Bitte nicht hier im Thread , mache bitte dafür einen eigenen Thread auf , das hat nichts mit Docker zu tun !

                                    EDIT :

                                    sehe gerade , hier ist dein Thread :

                                    https://forum.iobroker.net/topic/61686/radar2-enoent-spawn-arp-enoent

                                    N 1 Reply Last reply Reply Quote 1
                                    • N
                                      neunteufels @Glasfaser last edited by

                                      @glasfaser
                                      Hab bemerkt, dass ich im falschen Thread war, hab es aber nicht geschafft meinen Post zu löschen.
                                      Sorry.

                                      clfberlin 1 Reply Last reply Reply Quote 0
                                      • clfberlin
                                        clfberlin @neunteufels last edited by clfberlin

                                        Guten Abend. Und täglich grüßt das Murmeltier.
                                        Bei mir ist wieder der selbe Fehler aufgetreten wie vor zwei Tagen:
                                        Beim Start bricht ioBroker ab bei 3/5 mit There was a problem detecting the admin instance of your iobroker.

                                        Der Auslöser dürfte ein Update des Zigbee-Adapters gewesen sein. Denn danach funktionierte erst Zigbee nicht mehr in der laufenden Umgebung. Dann iob stop, update, fix - anschließend den Container neu gestartet. Ab da wollte er nicht mehr.

                                        Da ich ja (halbwegs) lernfähig bin: Diesmal das Start-Log mit Kopf (aber ohne debug-Disclaimer).

                                        --------------------------------------------------------------------------------
                                        -----                          System Information                          -----
                                        -----                    arch:                x86_64                       -----
                                        -----                    hostname:            c86c0775aa76                 -----
                                        -----                                                                      -----
                                        -----                          Version Information                         -----
                                        -----                    image:               v7.2.0                       -----
                                        -----                    build:               2022-12-30T23:45:26+00:00    -----
                                        -----                    node:                v16.19.0                     -----
                                        -----                    npm:                 8.19.3                       -----
                                        -----                                                                      -----
                                        -----                        Environment Variables                         -----
                                        -----                    DEBUG:               true                         -----
                                        -----                    SETGID:              1000                         -----
                                        -----                    SETUID:              1000                         -----
                                        -----                    USBDEVICES:          /dev/ttyUSB0                 -----
                                        --------------------------------------------------------------------------------
                                        --------------------------------------------------------------------------------
                                        -----                  Step 1 of 5: Preparing container                   -----
                                        --------------------------------------------------------------------------------
                                         
                                        Updating Linux packages on first run... 
                                        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.
                                         
                                        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
                                         
                                        [DEBUG] Debug mode prevents the container from exiting on errors.
                                        [DEBUG] This enables you to investigate or fix your issue on the command line.
                                        [DEBUG] If you want to stop or restart your container you have to do it manually.
                                        [DEBUG] IoBroker is not running!
                                        

                                        Leider bekomme ich in den Logs den Start nicht zu sehen, wenn ich

                                        iob logs --watch
                                        

                                        eingebe. Nur eine lange Liste, die sich hauptsächlich um besagten Zigbee Adapter dreht.
                                        Beginnend mit einer häufigen Wiederholung von

                                        2023-01-04 21:40:08.700  - warn: zigbee.0 (28213) get state error: Connection is closed.
                                        

                                        Dann kommen ein paar "Adapter requested termination"

                                        2023-01-04 21:40:08.649  - info: host.iobroker instance system.adapter.alexa2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        

                                        Anschließend viele Zeilen

                                        2023-01-04 21:40:08.890  - warn: zigbee.0 (28213) get state error: Connection is closed.
                                        2023-01-04 21:40:08.890  - warn: zigbee.0 (28213) Could not perform strict object check of state zigbee.0.0015bc002f013e16.current: DB closed
                                        

                                        Dann gegen Ende noch ein etwas abwechslungsreicherer Block

                                        2023-01-04 21:40:09.089  - error: zigbee.0 (28213) Cannot find view "system" for search "state" : Connection is closed.
                                        2023-01-04 21:40:09.093  - error: zigbee.0 (28213) getDevices error: Error: Cannot find view "system"
                                            at ObjectsInRedisClient._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3816:59)
                                            at runMicrotasks (<anonymous>)
                                            at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                            at runNextTicks (node:internal/process/task_queues:65:3)
                                            at processImmediate (node:internal/timers:437:9)
                                        2023-01-04 21:40:09.093  - error: zigbee.0 (28213) getDevices error: Error: Cannot find view "system"
                                            at ObjectsInRedisClient._getObjectView (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3816:59)
                                        2023-01-04 21:40:09.115  - info: host.iobroker instance system.adapter.tradfri.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        2023-01-04 21:40:09.115  - info: host.iobroker instance system.adapter.web.0 terminated with code 0 (NO_ERROR)
                                        2023-01-04 21:40:09.115  - info: host.iobroker instance system.adapter.web.1 terminated with code 0 (NO_ERROR)
                                        2023-01-04 21:40:09.115  - info: host.iobroker instance system.adapter.simple-api.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        2023-01-04 21:40:09.234  - error: host.iobroker Caught by controller[0]: Error: DB closed
                                        2023-01-04 21:40:09.234  - error: host.iobroker Caught by controller[0]:     at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                        2023-01-04 21:40:09.235  - error: host.iobroker Caught by controller[0]:     at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                        2023-01-04 21:40:09.235  - error: host.iobroker Caught by controller[0]:     at Object.onceWrapper (node:events:628:26)
                                        2023-01-04 21:40:09.235  - error: host.iobroker Caught by controller[0]:     at Socket.emit (node:events:513:28)
                                        2023-01-04 21:40:09.235  - error: host.iobroker Caught by controller[0]:     at TCP.<anonymous> (node:net:301:12)
                                        2023-01-04 21:40:09.235  - info: host.iobroker instance system.adapter.virtualpowermeter.0 terminated with code 0 (NO_ERROR)
                                        2023-01-04 21:40:09.236  - info: host.iobroker instance system.adapter.cloud.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        2023-01-04 21:40:09.237  - info: host.iobroker instance system.adapter.pushover.0 terminated with code 11
                                        

                                        unten auch ein

                                        2023-01-04 21:40:10.559  - error: dwd.0 (31378) adapter disabled
                                        2023-01-04 21:40:10.606  - warn: dwd.0 (31378) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                                        2023-01-04 21:40:11.127  - error: host.iobroker instance system.adapter.dwd.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
                                        2023-01-04 21:47:05.388  - info: host.iobroker received SIGTERM
                                        2023-01-04 21:47:05.391  - info: host.iobroker stopInstance system.adapter.admin.0 (force=false, process=false)
                                        

                                        Soweit das Ergebnis von iob logs --watch.
                                        Nun die Liste der Instanzen...

                                        system.adapter.admin.0                  : admin                 : c86c0775aa76                             - disabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        system.adapter.alexa2.0                 : alexa2                : c86c0775aa76                             - disabled
                                        system.adapter.backitup.0               : backitup              : c86c0775aa76                             - disabled
                                        system.adapter.bluelink.0               : bluelink              : c86c0775aa76                             - disabled
                                        system.adapter.cloud.0                  : cloud                 : c86c0775aa76                             - disabled
                                        system.adapter.daswetter.0              : daswetter             : c86c0775aa76                             - disabled
                                        system.adapter.devices.0                : devices               : c86c0775aa76                             - disabled
                                        system.adapter.discovery.0              : discovery             : c86c0775aa76                             - disabled
                                        system.adapter.dwd.0                    : dwd                   : c86c0775aa76                             - disabled
                                        system.adapter.firetv.0                 : firetv                : c86c0775aa76                             - disabled
                                        system.adapter.flot.0                   : flot                  : c86c0775aa76                             - disabled
                                        system.adapter.fullybrowser.0           : fullybrowser          : c86c0775aa76                             - disabled
                                        system.adapter.ham.0                    : ham                   : c86c0775aa76                             - disabled
                                        system.adapter.history.0                : history               : c86c0775aa76                             - disabled
                                        system.adapter.homeconnect.0            : homeconnect           : c86c0775aa76                             - disabled
                                        system.adapter.hue-extended.1           : hue-extended          : c86c0775aa76                             - disabled
                                        system.adapter.hue.1                    : hue                   : c86c0775aa76                             - disabled, port: 443
                                        system.adapter.ical.0                   : ical                  : c86c0775aa76                             - disabled
                                        system.adapter.icons-material-svg.0     : icons-material-svg    : c86c0775aa76                             - disabled
                                        system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : c86c0775aa76                             - disabled
                                        system.adapter.influxdb.0               : influxdb              : c86c0775aa76                             - disabled, port: 8086
                                        system.adapter.info.0                   : info                  : c86c0775aa76                             - disabled
                                        system.adapter.iot.0                    : iot                   : c86c0775aa76                             - disabled
                                        system.adapter.jarvis.0                 : jarvis                : c86c0775aa76                             - disabled
                                        system.adapter.javascript.1             : javascript            : c86c0775aa76                             - disabled
                                        system.adapter.lovelace.0               : lovelace              : c86c0775aa76                             - disabled, port: 8091, bind: 0.0.0.0, run as: admin
                                        system.adapter.modbus.0                 : modbus                : c86c0775aa76                             - disabled
                                        system.adapter.net-tools.0              : net-tools             : c86c0775aa76                             - disabled
                                        system.adapter.netatmo.0                : netatmo               : c86c0775aa76                             - disabled
                                        system.adapter.openligadb.0             : openligadb            : c86c0775aa76                             - disabled
                                        system.adapter.ping.0                   : ping                  : c86c0775aa76                             - disabled
                                        system.adapter.pushover.0               : pushover              : c86c0775aa76                             - disabled
                                        system.adapter.renault.0                : renault               : c86c0775aa76                             - disabled
                                        system.adapter.samsung.0                : samsung               : c86c0775aa76                             - disabled
                                        system.adapter.scenes.0                 : scenes                : c86c0775aa76                             - disabled
                                        system.adapter.simple-api.0             : simple-api            : c86c0775aa76                             - disabled, port: 8087, bind: 0.0.0.0, run as: admin
                                        system.adapter.sonos.0                  : sonos                 : c86c0775aa76                             - disabled
                                        system.adapter.tankerkoenig.0           : tankerkoenig          : c86c0775aa76                             - disabled
                                        system.adapter.text2command.0           : text2command          : c86c0775aa76                             - disabled
                                        system.adapter.tradfri.0                : tradfri               : c86c0775aa76                             - disabled
                                        system.adapter.trashschedule.0          : trashschedule         : c86c0775aa76                             - disabled
                                        system.adapter.unifi.0                  : unifi                 : c86c0775aa76                             - disabled
                                        system.adapter.virtualpowermeter.0      : virtualpowermeter     : c86c0775aa76                             - disabled
                                        system.adapter.vis-google-fonts.0       : vis-google-fonts      : c86c0775aa76                             - disabled
                                        system.adapter.vis-justgage.0           : vis-justgage          : c86c0775aa76                             - disabled
                                        system.adapter.vis-materialdesign.0     : vis-materialdesign    : c86c0775aa76                             - disabled
                                        system.adapter.vis-timeandweather.0     : vis-timeandweather    : c86c0775aa76                             - disabled
                                        system.adapter.vis.0                    : vis                   : c86c0775aa76                             - disabled
                                        system.adapter.web.0                    : web                   : c86c0775aa76                             - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                        system.adapter.web.1                    : web                   : c86c0775aa76                             - disabled, port: 8083, bind: 0.0.0.0, run as: admin
                                        system.adapter.zigbee.0                 : zigbee                : c86c0775aa76                             - disabled, port: /dev/ttyUSB0
                                        

                                        Zigbee war, wie gesagt, der Auslöser.
                                        Intuitiv würde ich denken, dass ich den mit iobroker del zigbee löschen sollte, warte aber natürlich gerne die eine oder andere Expertenmeinung ab und lasse so lange die Pfoten vom System.

                                        Vielen Dank und Grüße, clfberlin

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

                                          @clfberlin sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                          system.adapter.admin.0 : admin : c86c0775aa76 - disabled,

                                          Wenn man von unten anfängt ... dann wundet mich das alle deine Adapter ausgeschaltet sind .

                                          Vorschlag ...

                                          Container neu erstellen mit einem frischen ioBroker und dann ein Backup einspielen .

                                          Hintergrund , meine Vermutung ist , was auch @hollywoot schreibt , das der Portainer eine macke hat und bei dir eventuell alles durcheinader gebracht hat .

                                          Anfrage hier :
                                          https://forum.iobroker.net/post/917863

                                          Antwort

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

                                          clfberlin 1 Reply Last reply Reply Quote 1
                                          • clfberlin
                                            clfberlin @Glasfaser last edited by

                                            @glasfaser
                                            Ja, einmal reinen Tisch machen, ist vermutlich nicht verkehrt. Also...

                                            • Neuen leeren Ordner /volume1/docker/iobroker angelegt.
                                              Laut dem Tipp von André https://docs.buanet.de/iobroker-docker-image/docs/#backup habe ich darin das letzte *_backupiobroker.tar.gz abgelegt. Nur das, nicht die zigbee, javascripts und jarvis Backups.

                                            • Dann neuen Container aufgesetzt mit buanet/iobroker:latest**-v7**

                                            • Ports, Volumes Env und Reources eingetragen und los.

                                            Das Backup wurde erkannt und verwendet.

                                            -----             Step 2 of 5: Detecting ioBroker installation             -----
                                            IoBroker backup file detected in /opt/iobroker.
                                            [DEBUG] Backup file name:  iobroker_2023_01_04-02_40_10_backupiobroker.tar.gz
                                            Preparing restore... Done.
                                            

                                            Dann installierte er alle Adapter in alphabetischer Reihenfolge. Bis web.01.
                                            Zigbee nicht - aber dafür gibt es ja auch ein separates Backup.

                                            Nur: Nun war Schluss. Das Log endet mit

                                            host.iobroker check instance "system.adapter.web.0" for host "7f5574fa2a98"
                                            host.iobroker check instance "system.adapter.web.1" for host "7f5574fa2a98"
                                            

                                            Keine Bewegung mehr im Log, Container healthy, aber nicht erreichbar über ip:8081

                                            Im Log stand der fette Hinweis:

                                            !!!! Check /opt/iobroker/log/restore.log to see if restore was successful.  !!!!
                                            !!!! When ioBroker now starts it will reinstall all Adapters automatically. !!!!
                                            !!!!         This might be take a looooong time! Please be patient!         !!!!
                                            !!!!  You can view installation process by taking a look at ioBroker log.   !!!!
                                            

                                            Daher habe ich wirklich lange auf Neustarts und Activitäten in der Konsole verzichtet.
                                            Aber da das restore.log abschloss mit System successfully restored! habe ich nach einer Stunde für mich beschlossen, dass der Container evtl. nur noch im Debug-Modus sein dürfte und ich den Container mal neu starten könnte.

                                            Also nochmal gestartet... Nachdem wieder nichts passierte, dann doch ein Blick in die Konsole (iob logs --watch)

                                            2023-01-05 08:00:44.230  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                                            2023-01-05 08:00:44.236  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                            2023-01-05 08:00:44.237  - info: host.iobroker hostname: iobroker, node: v16.19.0
                                            2023-01-05 08:00:44.237  - info: host.iobroker ip addresses: 172.17.0.4
                                            2023-01-05 08:00:46.287  - info: host.iobroker connected to Objects and States
                                            2023-01-05 08:00:46.365  - info: host.iobroker added notifications configuration of host
                                            2023-01-05 08:00:47.251  - info: host.iobroker Delete host system.host.7f5574fa2a98
                                            2023-01-05 08:00:47.479  - info: host.iobroker Delete state "system.host.iobroker.versions.nodeCurrent"
                                            2023-01-05 08:00:47.481  - info: host.iobroker 50 instances found
                                            2023-01-05 08:00:47.506  - warn: host.iobroker does not start any instances on this host
                                            2023-01-05 08:00:47.563  - info: host.iobroker Delete state "system.host.iobroker.versions.nodeNewest"
                                            2023-01-05 08:00:47.615  - info: host.iobroker Delete state "system.host.iobroker.versions.nodeNewestNext"
                                            2023-01-05 08:00:47.666  - info: host.iobroker Delete state "system.host.iobroker.versions.npmCurrent"
                                            2023-01-05 08:00:47.718  - info: host.iobroker Delete state "system.host.iobroker.versions.npmNewest"
                                            2023-01-05 08:00:47.769  - info: host.iobroker Delete state "system.host.iobroker.versions.npmNewestNext"
                                            2023-01-05 08:00:47.821  - info: host.iobroker Some obsolete host states deleted.
                                            2023-01-05 09:03:15.119  - info: host.iobroker received SIGTERM
                                            2023-01-05 09:03:15.153  - info: host.iobroker terminated
                                            2023-01-05 09:04:49.311  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                                            2023-01-05 09:04:49.317  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                            2023-01-05 09:04:49.318  - info: host.iobroker hostname: iobroker, node: v16.19.0
                                            2023-01-05 09:04:49.319  - info: host.iobroker ip addresses: 172.17.0.4
                                            2023-01-05 09:04:51.374  - info: host.iobroker connected to Objects and States
                                            2023-01-05 09:04:51.456  - info: host.iobroker added notifications configuration of host
                                            2023-01-05 09:04:52.408  - info: host.iobroker 50 instances found
                                            2023-01-05 09:04:52.427  - warn: host.iobroker does not start any instances on this host
                                            

                                            Ansonsten nix. Bei einem Blick in iobroker list instances fällt dann auf, dass er zigbee.0 listet, aber laut Log nur bis web.1 kommt und dann dort verharrt.

                                            system.adapter.web.0                    : web                   : 7f5574fa2a98                             - disabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            system.adapter.web.1                    : web                   : 7f5574fa2a98                             - disabled, port: 8083, bind: 0.0.0.0, run as: admin
                                            system.adapter.zigbee.0                 : zigbee                : 7f5574fa2a98                             - disabled, port: /dev/ttyUSB0
                                            
                                            + instance is alive
                                            

                                            Sollte ich mal das zigbee.0 Backup wiederherstellen (geht das über iob restore)? Oder umgekehrt: Den Adapter löschen und nach einem erfolgreichen Start über die Weboberfläche wieder installieren?

                                            Glasfaser 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            917
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1167234
                                            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