Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst!] Docker update schlägt fehl!

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst!] Docker update schlägt fehl!

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

      Ich habe nach Anleitung:

      maintenance on
      iob update
      iob upgrade self
      iob upgrade

      Container Neustart

      gehandelt.

      Leider bleibt der js-controller danach trotz Neustart auf der alten js-controller Version
      e1246cc5-9d7e-468f-b3ee-bb02be7c4128-image.png
      Ich betreibe folgendes System:

      --------------------------------------------------------------------------------
      -------------------------     2023-06-21 17:25:12      -------------------------
      --------------------------------------------------------------------------------
      -----                                                                      -----
      ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
      ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
      ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
      ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
      ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
      ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
      -----                                                                      -----
      -----              Welcome to your ioBroker Docker container!              -----
      -----                    Startupscript is now running!                     -----
      -----                          Please be patient!                          -----
      --------------------------------------------------------------------------------
       
      --------------------------------------------------------------------------------
      -----                          System Information                          -----
      -----                    arch:                x86_64                       -----
      -----                    hostname:            iobroker                     -----
      -----                                                                      -----
      -----                          Version Information                         -----
      -----                    image:               v8.0.1                       -----
      -----                    build:               2023-06-19T23:45:21+00:00    -----
      -----                    node:                v18.16.0                     -----
      -----                    npm:                 9.5.1                        -----
      -----                                                                      -----
      -----                        Environment Variables                         -----
      -----                    IOB_STATESDB_TYPE:   redis                        -----
      -----                    IOB_STATESDB_HOST:   10.11.12.253                 -----
      -----                    IOB_STATESDB_PORT:   6379                         -----
      -----                    SETGID:              1000                         -----
      -----                    SETUID:              1000                         -----
      --------------------------------------------------------------------------------
       
      

      Weiß jemand Rat?

      Bei Bedarf kann ich gerne LOG-Files nachreichen, wollte den BEitrag aber erstmal übersichtlich gestalten.

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @MikeEcho last edited by

        @mikeecho sagte in Docker update schlägt fehl!:

        t auf der alten js-controller Version

        du weisst, dass der Controller noch sehr Beta ist?

        MikeEcho 1 Reply Last reply Reply Quote 0
        • MikeEcho
          MikeEcho @Homoran last edited by

          @homoran Ich beschwere mich garnicht. Ich frage ja nur, ob vllt jemand eine Idee hat. Bei "sehr Alpha" hätte ich sicher Abstand von der Installation genommen. 😉 Und da die Installation bei meinen anderen Systemen problemlos lief, habe ich es einfach gewagt.
          Wie gesagt, rein nach der CLI-Ausgabe lief auch das Docker Update problemlos, nur leider ist dann real weder ein Adapter aktualisiert, noch der js-controller.

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @MikeEcho last edited by

            @mikeecho sagte in Docker update schlägt fehl!:

            Ich frage ja nur, ob vllt jemand eine Idee hat.

            mit Sicherheit.
            ich arbeite nicht mit Docker, da es mir viel zu komplex ist. Meines Wissens läuftein controller update da auch ganz anders ab.

            MikeEcho 1 Reply Last reply Reply Quote 0
            • MikeEcho
              MikeEcho @Homoran last edited by

              @homoran Soweit ich das verstanden habe, ist die "Besonderheit" der Docker-Variante nur, dass iob stop nicht funktioniert. Deswegen habe ich ja maintenance on benutzt, was innerhalb des Container das stoppen des ioBrokers übernimmt.

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @MikeEcho last edited by

                @mikeecho pkill -u iobroker ist jetzt nach meinen Recherchen das entsprechende Pendant zu iob stop

                MikeEcho FredF 2 Replies Last reply Reply Quote 0
                • MikeEcho
                  MikeEcho @Homoran last edited by MikeEcho

                  @homoran Absolut richtig. Maintenance on ist wahrscheinlich nur ein script, dass diesen Befehl ausführt und prüft, ob noch irgendwas von ioBroker läuft. Wie gesagt, das funktioniert soweit auch alles.

                  1 Reply Last reply Reply Quote 0
                  • FredF
                    FredF Most Active Forum Testing @Homoran last edited by

                    @homoran Ja, das stimmt schon. Buanet hat aber in seinem Docker Container ein maintenance skript implementiert, das einiges automatisiert https://docs.buanet.de/iobroker-docker-image/docs/#use-maintenance-script

                    @MikeEcho Mir fällt auch nichts dazu ein, außer mit dem Befehl

                    maintenance upgrade
                    

                    braucht es nicht die einzelnen Befehle.

                    root@Tower:/opt/iobroker# maintenance --help
                    This script helps you manage your ioBroker container!
                    
                    Usage: maintenance [ COMMAND ] [ OPTION ]
                          maint [ COMMAND ] [ OPTION ]
                          m [ COMMAND ] [ OPTION ]
                    
                    COMMANDS
                    ------------------
                          status     > reports the current state of maintenance mode
                          on         > switches mantenance mode ON
                          off        > switches mantenance mode OFF and stops or restarts the container
                          upgrade    > puts the container to maintenance mode and upgrades ioBroker
                          restart    > stops iobroker and stops or restarts the container
                          restore    > stops iobroker and restores the last backup
                          help       > shows this help
                    
                    OPTIONS
                    ------------------
                          -y|--yes   > confirms the used command without asking
                          -h|--help  > shows this help
                    
                    root@Tower:/opt/iobroker#
                    

                    Homoran 1 Reply Last reply Reply Quote 1
                    • Homoran
                      Homoran Global Moderator Administrators @FredF last edited by

                      @fredf Danke!

                      kann es ggf. am neuen Controller liegen, dass der noch nicht mit Docker kann?

                      FredF 1 Reply Last reply Reply Quote 0
                      • FredF
                        FredF Most Active Forum Testing @Homoran last edited by

                        @homoran sagte in Docker update schlägt fehl!:

                        kann es ggf. am neuen Controller liegen, dass der noch nicht mit Docker kann?

                        Möglich, müsste man Buanet fragen... ich weiß nur gerade nicht seinen Nick hier...

                        MikeEcho 1 Reply Last reply Reply Quote 0
                        • MikeEcho
                          MikeEcho @FredF last edited by

                          @fredf Ich bin davon ausgegangen, dass das buanet-build bereits js-controller 5.x "ready" ist, da es vor zwei Tagen aktualisiert wurde. Ich teste es mal mit maintenance upgrade. Vielleicht hat das ja noch eine "geheime" Zutat. 😉

                          FredF 1 Reply Last reply Reply Quote 0
                          • FredF
                            FredF Most Active Forum Testing @MikeEcho last edited by

                            @mikeecho sagte in Docker update schlägt fehl!:

                            Vielleicht hat das ja noch eine "geheime" Zutat.

                            Glaube ich eher nicht. Aber Versuch macht kluch...

                            MikeEcho 1 Reply Last reply Reply Quote 0
                            • MikeEcho
                              MikeEcho @FredF last edited by MikeEcho

                              @fredf said in Docker update schlägt fehl!:

                              Glaube ich eher nicht. Aber Versuch macht kluch...

                              So siehts aus. Leider klappt es auch so nicht.

                              root@iobroker:/opt/iobroker# maintenance upgrade
                              You are now going to upgrade your js-controller.
                              As this will change data in /opt/iobroker, make sure you have a backup!
                              During the upgrade process, the container will automatically switch into maintenance mode and stop ioBroker.
                              Depending on the restart policy, your container will be stopped or restarted automatically after the upgrade.
                              Do you want to continue [yes/no]? y
                              You are now going to stop ioBroker and activate maintenance mode for this container.
                              This command was already confirmed by the -y or --yes option.
                              Activating maintenance mode...
                              Done.
                              Stopping ioBroker...........
                              Done.
                              Upgrading js-controller...
                              Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.
                              Used repository: beta
                              Adapter    "admin"        : 6.5.9    , installed 6.4.3  [Updatable]
                              Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                              Adapter    "backitup"     : 2.6.23   , installed 2.6.16 [Updatable]
                              Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                              Adapter    "daikin-cloud" : 0.2.3    , installed 0.2.3
                              Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                              Adapter    "denon"        : 1.15.2   , installed 1.15.0 [Updatable]
                              Adapter    "discovery"    : 3.2.0    , installed 3.1.0  [Updatable]
                              Adapter    "dwd"          : 2.8.5    , installed 2.8.3  [Updatable]
                              Adapter    "esphome"      : 0.2.4    , installed 0.2.4
                              Adapter    "fronius"      : 2.0.1    , installed 1.1.3  [Updatable]
                              Adapter    "hm-rega"      : 3.0.46   , installed 3.0.46
                              Adapter    "hm-rpc"       : 1.15.18  , installed 1.15.16 [Updatable]
                              Adapter    "ical"         : 1.13.3   , installed 1.13.2 [Updatable]
                              Adapter    "iot"          : 2.0.11   , installed 1.14.5 [Updatable]
                              Adapter    "javascript"   : 7.1.1    , installed 7.0.3  [Updatable]
                              Adapter    "jeelink"      : 1.0.3    , installed 1.0.3
                              Controller "js-controller": 5.0.5    , installed 4.0.24 [Updatable]
                              Adapter    "meater"       : 1.0.0    , installed 0.2.2  [Updatable]
                              Adapter    "mihome-vacuum": 3.11.0   , installed 3.9.5  [Updatable]
                              Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
                              Adapter    "mqtt-client"  : 1.6.3    , installed 1.6.3
                              Adapter    "node-red"     : 4.0.3    , installed 4.0.3
                              Adapter    "openweathermap": 0.3.9   , installed 0.3.8  [Updatable]
                              Adapter    "ring"         : 3.4.0    , installed 3.2.7  [Updatable]
                              Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                              Adapter    "shelly"       : 6.4.1    , installed 6.4.0  [Updatable]
                              Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                              Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                              Adapter    "smartthings"  : 0.0.4    , installed 0.0.4
                              Adapter    "socketio"     : 6.3.5    , installed 6.3.5
                              Adapter    "telegram"     : 1.16.0   , installed 1.15.6 [Updatable]
                              Adapter    "trashschedule": 2.2.0    , installed 2.2.0
                              Adapter    "vis"          : 1.4.16   , installed 1.4.16
                              Adapter    "vw-connect"   : 0.0.71   , installed 0.0.66 [Updatable]
                              Adapter    "web"          : 5.5.3    , installed 5.5.3
                              Adapter    "ws"           : 2.3.6    , installed 2.3.6
                              Adapter    "zoneminder"   : 0.3.3    , installed 0.3.3
                              Server Objects 10.10.10.110:40690 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                              Server Objects 10.10.10.110:40730 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                              Server Objects 10.10.10.110:40716 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                              Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.
                              Update js-controller from @4.0.24 to @5.0.5
                              Stopped Objects DB
                              Stopped States DB
                              NPM version: 9.5.1
                              Installing iobroker.js-controller@5.0.5... (System call)
                              Done!
                              
                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @MikeEcho last edited by Glasfaser

                                @mikeecho sagte in Docker update schlägt fehl!:

                                Die Befehl funktionieren , was @FredF dir gegeben hat

                                Das liegt daran :

                                Server Configured backup period 120 is larger than the supported maximum of 35791 minutes. Defaulting to 120 minutes.

                                https://forum.iobroker.net/topic/54655/probleme-von-4-0-21-auf-4-0-23

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

                                  @glasfaser Danke für den Link.

                                  root@iobroker:/opt/iobroker# maintenance upgrade
                                  You are now going to upgrade your js-controller.
                                  As this will change data in /opt/iobroker, make sure you have a backup!
                                  During the upgrade process, the container will automatically switch into maintenance mode and stop ioBroker.
                                  Depending on the restart policy, your container will be stopped or restarted automatically after the upgrade.
                                  Do you want to continue [yes/no]? y
                                  You are now going to stop ioBroker and activate maintenance mode for this container.
                                  This command was already confirmed by the -y or --yes option.
                                  Activating maintenance mode...
                                  Done.
                                  Stopping ioBroker............
                                  Done.
                                  Upgrading js-controller...
                                  Used repository: beta
                                  Adapter    "admin"        : 6.5.9    , installed 6.4.3  [Updatable]
                                  Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                                  Adapter    "backitup"     : 2.6.23   , installed 2.6.16 [Updatable]
                                  Adapter    "broadlink2"   : 2.1.5    , installed 2.1.5
                                  Adapter    "daikin-cloud" : 0.2.3    , installed 0.2.3
                                  Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                                  Adapter    "denon"        : 1.15.2   , installed 1.15.0 [Updatable]
                                  Adapter    "discovery"    : 3.2.0    , installed 3.1.0  [Updatable]
                                  Adapter    "dwd"          : 2.8.5    , installed 2.8.3  [Updatable]
                                  Adapter    "esphome"      : 0.2.4    , installed 0.2.4
                                  Adapter    "fronius"      : 2.0.1    , installed 1.1.3  [Updatable]
                                  Adapter    "hm-rega"      : 3.0.46   , installed 3.0.46
                                  Adapter    "hm-rpc"       : 1.15.18  , installed 1.15.16 [Updatable]
                                  Adapter    "ical"         : 1.13.3   , installed 1.13.2 [Updatable]
                                  Adapter    "iot"          : 2.0.11   , installed 1.14.5 [Updatable]
                                  Adapter    "javascript"   : 7.1.1    , installed 7.0.3  [Updatable]
                                  Adapter    "jeelink"      : 1.0.3    , installed 1.0.3
                                  Controller "js-controller": 5.0.5    , installed 4.0.24 [Updatable]
                                  Adapter    "meater"       : 1.0.0    , installed 0.2.2  [Updatable]
                                  Adapter    "mihome-vacuum": 3.11.0   , installed 3.9.5  [Updatable]
                                  Adapter    "mqtt"         : 4.1.1    , installed 4.1.1
                                  Adapter    "mqtt-client"  : 1.6.3    , installed 1.6.3
                                  Adapter    "node-red"     : 4.0.3    , installed 4.0.3
                                  Adapter    "openweathermap": 0.3.9   , installed 0.3.8  [Updatable]
                                  Adapter    "ring"         : 3.4.0    , installed 3.2.7  [Updatable]
                                  Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                  Adapter    "shelly"       : 6.4.1    , installed 6.4.0  [Updatable]
                                  Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                  Adapter    "smartmeter"   : 3.3.4    , installed 3.3.4
                                  Adapter    "smartthings"  : 0.0.4    , installed 0.0.4
                                  Adapter    "socketio"     : 6.3.5    , installed 6.3.5
                                  Adapter    "telegram"     : 1.16.0   , installed 1.15.6 [Updatable]
                                  Adapter    "trashschedule": 2.2.0    , installed 2.2.0
                                  Adapter    "vis"          : 1.4.16   , installed 1.4.16
                                  Adapter    "vw-connect"   : 0.0.71   , installed 0.0.66 [Updatable]
                                  Adapter    "web"          : 5.5.3    , installed 5.5.3
                                  Adapter    "ws"           : 2.3.6    , installed 2.3.6
                                  Adapter    "zoneminder"   : 0.3.3    , installed 0.3.3
                                  Server Objects 10.10.10.110:39420 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                  Server Objects 10.10.10.110:39452 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                  Server Objects 10.10.10.110:39454 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
                                  Update js-controller from @4.0.24 to @5.0.5
                                  Stopped Objects DB
                                  Stopped States DB
                                  NPM version: 9.5.1
                                  Installing iobroker.js-controller@5.0.5... (System call)
                                  Done.
                                  Container will be stopped or restarted in 5 seconds...
                                  

                                  Leider löst es das Problem nicht, obwohl die vermeintliche Ursache behoben ist.

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

                                    @mikeecho sagte in Docker update schlägt fehl!:

                                    Server Objects 10.10.10.110:39420 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]

                                    Das kann ich gerade nicht einordnen ... hast du das immer schon gehabt !?

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

                                      @glasfaser said in Docker update schlägt fehl!:

                                      Das kann ich gerade nicht einordnen ... hast du das immer schon gehabt !?

                                      Das kann ich leider nicht genau sagen. Gefühlt erst seit dem Update.

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

                                        @mikeecho

                                        Teste mal mit

                                        pkill -u iobroker
                                        sudo -H -u iobroker npm cache clean --force 
                                        iob upgrade self
                                        

                                        wenns durchläuft , dann den Container neu starten

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

                                          @glasfaser said in Docker update schlägt fehl!:

                                          iob upgrade self

                                          root@iobroker:/opt/iobroker# pkill -u iobroker
                                          root@iobroker:/opt/iobroker# sudo -H -u iobroker npm cache clean --force
                                          npm WARN using --force Recommended protections disabled.
                                          root@iobroker:/opt/iobroker# iob upgrade self
                                          Update js-controller from @4.0.24 to @5.0.5
                                          Stopped Objects DB
                                          Stopped States DB
                                          NPM version: 9.5.1
                                          Installing iobroker.js-controller@5.0.5... (System call)
                                          root@iobroker:/opt/iobroker#
                                          

                                          So wie es aussieht ist es durchgelaufen.

                                          Nach Container-Neustart leider:
                                          ffdaa8ae-8333-4dfb-90e4-f41637ef18f2-image.png

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

                                            @mikeecho

                                            zeige

                                            iobroker update
                                            
                                            MikeEcho 1 Reply 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

                                            543
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            28
                                            1155
                                            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