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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                    • MikeEcho
                                      MikeEcho @Glasfaser last edited by

                                      @glasfaser

                                      root@iobroker:/opt/iobroker# iobroker update
                                      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
                                      root@iobroker:/opt/iobroker# 
                                      
                                      Glasfaser 1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @MikeEcho last edited by

                                        @mikeecho

                                        pkill -u iobroker
                                        iobroker upgrade self --debug
                                        

                                        Ausgabe posten

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

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

                                          iobroker upgrade self --debug

                                          root@iobroker:/opt/iobroker# pkill -u iobroker
                                          root@iobroker:/opt/iobroker# iobroker upgrade self --debug
                                          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)
                                          npm ERR! code EBADENGINE
                                          npm ERR! engine Unsupported engine
                                          npm ERR! engine Not compatible with your version of node/npm: iobroker.daikin-cloud@0.2.3
                                          npm ERR! notsup Not compatible with your version of node/npm: iobroker.daikin-cloud@0.2.3
                                          npm ERR! notsup Required: {"node":"^12.19.0 || ^14.15.0 || ^16.13.0"}
                                          npm ERR! notsup Actual:   {"npm":"9.5.1","node":"v18.16.0"}
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /opt/iobroker/.npm/_logs/2023-06-21T17_11_44_239Z-debug-0.log
                                          root@iobroker:/opt/iobroker# 
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser last edited by

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

                                            npm ERR! engine Not compatible with your version of node/npm: iobroker.daikin-cloud@0.2.3

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

                                            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

                                            875
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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