Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update vom Host schlägt fehl

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Update vom Host schlägt fehl

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

      @mibr85 said in Update vom Host schlägt fehl:

      Hallo zusammen
      ich habe das Problem das mein Host update nicht funktioniert.
      iob läuft im container mit buanet/iobroker:latest
      Plattform: docker (official image - v10.0.0)
      RAM: 19.3 GB
      Node.js: v20.17.0(20.19.4 / 22.18.0)
      NPM: 10.8.2(10.9.3)

      wenn ich unter Host auf js-controler (derzeit 7.0.3 -> 7.0.7) update clicke kommt folgender fehler:
      SyntaxError: JSON Parse error: Unrecognized token '<'
      laut chatgpt ein DNS problem?

      ich komme nicht weiter 😞

      Sag dem tratschGpt das er KAI (ka Intelligenz) ist....

      DNS spielt in dem Bereich gar nicht mit. Er könnte genusogut deinen Rasenschnitt für die Meldung verantwortlich machen. Es gab hir einen Fehler der schon seit einigen js-controlelr Versionen behoben ist. Da du aber erst jetzt von 7.0.3 aktualisisert hast du den noch.

      https://github.com/ioBroker/ioBroker.js-controller/issues/2988
      https://github.com/ioBroker/ioBroker.js-controller/issues/2964

      DOCKER User müssen hier manuell aktualisisern - also die Commandline benutzen:

      iobroker stop
      iobroker update
      iobroker upgrade self
      
      FlySmack created this issue in ioBroker/ioBroker.js-controller

      closed [bug]: Docker js-contoller update from 7.0.2 to 7.0.x fails - SyntaxError: JSON Parse error: Unrecognized token '<' #2988

      schnitzel14 created this issue in ioBroker/ioBroker.js-controller

      closed [bug]: Docker UI Upgrade 7.0.2 -> 7.0.3 fails #2964

      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @mibr85 last edited by

        @mibr85 Man sollte auch den Docker anheben.
        Da ist v11 oder v12 aktuell, soweit ich weiß.

        1 Reply Last reply Reply Quote 1
        • M
          mibr85 @bahnuhr last edited by mibr85

          Danke für die schnellen antworten

          @bahnuhr Warum sollte ich nicht auf latest sein mit meinem container image?

          @mcm
          iobroker stop funktioniert im container nicht.

          iobroker@xxx:~$ iobroker stop
          The execution of this command is blocked as your ioBroker is running inside a Docker container!
          For more details see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs/) or use the maintenance script 'maintenance --help'.
          iobroker@xxx:~$ 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
           
          iobroker@xxx:~$ m status
          Maintenance mode is turned OFF.
          iobroker@xxx:~$ m 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
          
          haselchen icebear 2 Replies Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @mibr85 last edited by

            @mibr85

            pkill -u iobroker

            1 Reply Last reply Reply Quote 0
            • icebear
              icebear @mibr85 last edited by

              @mibr85 said in Update vom Host schlägt fehl:

              Warum sollte ich nicht auf latest sein mit meinem container image?

              Deshalb, Zitat https://docs.buanet.de/de/iobroker-docker-image/docs/#docker-health-check

              Vermeide latest Tag

              Das Docker Tag "latest" (buanet/iobroker:latest) zeigt immer auf die aktuellste Version des Docker Images. Daher kann es vorkommen, dass beim Neuladen (z.B. Recreate) des Docker Images unbewusst eine neue Hauptversion geladen wird und ungewollt eine Hochrüstung (Upgrade) angestoßen wird.

              Damit dies nicht geschieht ist es in einer Produktivumgebung sinnvoll einen Versionstag zu verwenden. Für eine spezielle Version z.B. "buanet/iobroker:v5.2.0" oder für einen ganzen Hauptversionszweig z.B. "buanet/iobroker:latest-v5". So sind Aktualisierungen des Docker Images gefahrlos möglich und man hat immer die Kontrolle über die verwendete Version.

              bahnuhr 1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @icebear last edited by

                @icebear
                Lass ihn auf latest.

                @mibr85
                scheint es ja besser zu wissen.

                M 1 Reply Last reply Reply Quote 0
                • M
                  mibr85 @bahnuhr last edited by

                  @bahnuhr
                  nachfragen darf ja wohl erlaubt sein 😉
                  Ich deploye meine container selten bis nie neu, deshalb ist das Risiko relativ gering ausersehen zu updaten.
                  Ich habe es jetzt auf V11 geupdatet und umgestellt, danke für den Hinweis.

                  Funktioniert wieder alles Danke für euren Support

                  Jim Knopf 1 Reply Last reply Reply Quote 1
                  • Jim Knopf
                    Jim Knopf @mibr85 last edited by

                    Nabend zusammen! Darf ich mich hier mal aufsatteln? Habe auch ein Problem mit dem js-controler beim Update auf 7.0.7. Derzeit installiert ist 7.0.6. !
                    2fbea65e-d03e-441c-b310-790051ab2ab5-grafik.png

                    Soweit zum Stand der Dinge. Beim Versuch auf das Update 7.0.7 upzudaten läuft folgender Fehler auf (sowohl bei der Inatallation aus dem ioB raus, wie auch in der Konsole).
                    0dbde04f-9512-4543-a192-644e3b1dcebf-grafik.png

                    Währe gut wenn mir jemand mal auf die Sprünge helfen könnte was da schief läuft. Bitte dann aber gaaanz langsam für einen Anfänger. Danke schon mal vorab!

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Jim Knopf last edited by

                      @jim-knopf

                      Bitte keine Bildchens von Texten. Sowas geht als Text in CodeTags eingebettet hier rein.

                      Zum Problem:

                      iob stop
                      iob fix
                      iob update
                      iob upgrade self
                      iob start
                      
                      Jim Knopf 1 Reply Last reply Reply Quote 0
                      • Jim Knopf
                        Jim Knopf @Thomas Braun last edited by

                        @thomas-braun Haleluja! Jetzt passts. Was hatte ich mir daran einen abgebrochen.

                        Danke für die Hilfe!

                        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

                        838
                        Online

                        32.0k
                        Users

                        80.5k
                        Topics

                        1.3m
                        Posts

                        7
                        12
                        194
                        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