Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [solved] MQTT adapter update problems V2.1.14->2.3.4->2.3.5

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [solved] MQTT adapter update problems V2.1.14->2.3.4->2.3.5

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @WillyIobrok last edited by

      @willyiobrok sagte in MQTT adapter Update von Version 2.1.14 auf 2.3.4 geht nicht:

      cd /opt/iobroker 
      npm cache clear --force
      
      W 1 Reply Last reply Reply Quote 0
      • W
        WillyIobrok @Thomas Braun last edited by

        @thomas-braun

        super, danke das war's 🙂 👍

        Bei der Gelegenheit habe ich auch gleich auf npm v7.6.3 upgedated und danach lief das update von mqtt problemlos durch !

        Viele Grüße,

        WillyIobrok

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

          @willyiobrok sagte in MQTT adapter Update von Version 2.1.14 auf 2.3.4 geht nicht:

          Bei der Gelegenheit habe ich auch gleich auf npm v7.6.3 upgedated

          NEEEEEEIIIIINNN!
          Nie nicht von Hand npm global aktualisieren.
          Insbesondere nicht auf npm@7, das läuft noch nicht rund zusammen mit dem ioBroker.

          W 1 Reply Last reply Reply Quote 0
          • W
            WillyIobrok @Thomas Braun last edited by

            @thomas-braun

            oh sh.... das war so in der message, die ich als Reaktion auf "npm cache clear --force" bekommen habe dringestanden.

            ist da jetzt was schlimmes passiert ?

            Gruß,

            WillyIobrok

            W 1 Reply Last reply Reply Quote 0
            • W
              WillyIobrok @WillyIobrok last edited by

              @willyiobrok

              muß ich jetzt was rückgängig machen, und wenn ja wie?

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

                @willyiobrok

                https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2

                W 1 Reply Last reply Reply Quote 0
                • W
                  WillyIobrok @Thomas Braun last edited by

                  @thomas-braun
                  OK, danke für die Info - ich bin über diese message Box gestolpert und hab's brav gemacht.😂 🙄
                  Aber bevor ich noch tiefer in die Materie (und mögliche Fallen) einsteige - ich habe ja Gottseidank noch ein Backup des Images von heute Mittag 😊

                  Trotzdem vielen Dank nochmal.

                  Grüße

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

                    @willyiobrok
                    Mach doch einfach ein reinstall von nodejs. Das ist 1000x fixer als da jetzt ein Backup reinzuknallen.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      WillyIobrok @Thomas Braun last edited by

                      @thomas-braun
                      cool - hat geklappt 👍

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

                        @willyiobrok
                        Was gibt denn

                        which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                        

                        jetzt aus?

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          WillyIobrok @Thomas Braun last edited by

                          @thomas-braun
                          npm_update2.jpg

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

                            @willyiobrok
                            Bitte Konsolenoutput künftig als Text in CodeTags einbetten.

                            Passt jetzt wieder, ich würde aber in Kürze auf node12 oder 14 upgraden, 10 wird in wenigen Wochen angekündigt.

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              WillyIobrok @Thomas Braun last edited by

                              @thomas-braun
                              ok, alles klar !
                              Danke

                              W 1 Reply Last reply Reply Quote 0
                              • W
                                WillyIobrok @WillyIobrok last edited by

                                Hallo zusammen,
                                jetzt muß ich mich leider wieder zu diesem Thema melden - jetzt geht das Update von mqtt 2.3.4 auf 2.3.5 nicht!

                                Das Mittel von Thoms Braun:

                                cd /opt/iobroker 
                                npm cache clear --force
                                

                                hat zwar letztes Mal gut geholfen, dieses Mal aber leider nicht ...

                                Fehlermeldung im Log:

                                host.ioBroker-4	2021-04-02 12:56:49.848	info	iobroker exit 0
                                host.ioBroker-4	2021-04-02 12:56:48.836	info	iobroker Adapter "mqtt" updated
                                host.ioBroker-4	2021-04-02 12:56:48.780	info	iobroker upload [0] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/index.html index.html text/html
                                host.ioBroker-4	2021-04-02 12:56:48.724	info	iobroker upload [1] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/index_m.html index_m.html text/html
                                host.ioBroker-4	2021-04-02 12:56:48.667	info	iobroker upload [2] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/mqtt.png mqtt.png image/png
                                host.ioBroker-4	2021-04-02 12:56:48.477	info	iobroker upload [3] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/words.js words.js application/javascript
                                host.ioBroker-4	2021-04-02 12:56:48.366	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-04-02T10_56_48_211Z-debug.log
                                host.ioBroker-4	2021-04-02 12:56:48.199	info	iobroker npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/buffer: Integrity verification failed for sha512-LU3E2pFIyHqdtYjAKQPbxFParK1I5edDjpMuKevSgQOJlsdppHAx+zlGObr+r
                                host.ioBroker-4	2021-04-02 12:56:48.193	info	iobroker npm ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY
                                host.ioBroker-4	2021-04-02 12:56:32.782	info	iobroker npm install iobroker.mqtt@2.3.5 --loglevel error --prefix "/opt/iobroker" (System call)
                                host.ioBroker-4	2021-04-02 12:56:32.781	info	iobroker NPM version: 6.11.3
                                host.ioBroker-4	2021-04-02 12:56:32.184	info	iobroker Update mqtt from @2.3.4 to @2.3.5
                                host.ioBroker-4	2021-04-02 12:56:30.051	info	iobroker upgrade mqtt
                                

                                Das passiert ausschliesslich beim mqtt-Adapter - Update, alle anderen Adapter lassen sich reibungslos und ohne Probleme updaten.

                                Was könnte hier helfen ?

                                Grüße,

                                WillyIoBrok

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

                                  @willyiobrok sagte in MQTT adapter Update von Version 2.1.14 auf 2.3.4 geht nicht:

                                  iobroker NPM version: 6.11.3

                                  Ziemlich alt.
                                  node sauber installiert?

                                  which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                  

                                  Aktualisier das mal auf node12 oder node14.

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    WillyIobrok @Thomas Braun last edited by

                                    @thomas-braun said in MQTT adapter Update von Version 2.1.14 auf 2.3.4 geht nicht:

                                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    v10.17.0
                                    /usr/bin/node
                                    v10.17.0
                                    /usr/bin/npm
                                    6.11.3
                                    nodejs:
                                      Installiert:           10.17.0-1nodesource1
                                      Installationskandidat: 10.17.0-1nodesource1
                                      Versionstabelle:
                                     *** 10.17.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         10.15.2~dfsg-2+rpi1 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    pi@ioBroker-4:/home/iobroker/.npm/_logs $
                                    

                                    OK, dann werde ich mich mal an das Update von nodejs wagen 🙂

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

                                      @willyiobrok

                                      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        WillyIobrok @Thomas Braun last edited by

                                        @thomas-braun
                                        so, update auf Nodejs 14.16.0 durchgeführt 🙂
                                        lief reibungslos durch - danke für die super Anleitung !

                                         which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                        /usr/bin/nodejs
                                        v14.16.0
                                        /usr/bin/node
                                        v14.16.0
                                        /usr/bin/npm
                                        6.14.11
                                        nodejs:
                                          Installiert:           14.16.0-1nodesource1
                                          Installationskandidat: 14.16.0-1nodesource1
                                          Versionstabelle:
                                         *** 14.16.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                                100 /var/lib/dpkg/status
                                             12.22.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                             10.24.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_10.x buster/main armhf Packages
                                             10.24.0~dfsg-1~deb10u1 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        

                                        Leider geht der mqtt -Adapter-Update immer noch nicht (auch nach "npm cache clear --force" gehts nicht)

                                        host.ioBroker-4	2021-04-02 14:06:55.934	info	iobroker exit 0
                                        host.ioBroker-4	2021-04-02 14:06:54.911	info	iobroker Adapter "mqtt" updated
                                        host.ioBroker-4	2021-04-02 14:06:54.854	info	iobroker upload [0] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/index.html index.html text/html
                                        host.ioBroker-4	2021-04-02 14:06:54.797	info	iobroker upload [1] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/index_m.html index_m.html text/html
                                        host.ioBroker-4	2021-04-02 14:06:54.739	info	iobroker upload [2] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/mqtt.png mqtt.png image/png
                                        host.ioBroker-4	2021-04-02 14:06:54.559	info	iobroker upload [3] mqtt.admin /opt/iobroker/node_modules/iobroker.mqtt/admin/words.js words.js application/javascript
                                        host.ioBroker-4	2021-04-02 14:06:54.509	info	iobroker npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-04-02T12_06_54_481Z-debug.log
                                        host.ioBroker-4	2021-04-02 14:06:54.476	info	iobroker npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/buffer: Integrity verification failed for sha512-LU3E2pFIyHqdtYjAKQPbxFParK1I5edDjpMuKevSgQOJlsdppHAx+zlGObr+r
                                        host.ioBroker-4	2021-04-02 14:06:54.450	info	iobroker ERR! code EINTEGRITYnpm ERR! errno EINTEGRITY
                                        host.ioBroker-4	2021-04-02 14:06:54.447	info	iobroker npm
                                        host.ioBroker-4	2021-04-02 14:06:39.594	info	iobroker npm install iobroker.mqtt@2.3.5 --loglevel error --prefix "/opt/iobroker" (System call)
                                        host.ioBroker-4	2021-04-02 14:06:39.591	info	iobroker NPM version: 6.14.11
                                        host.ioBroker-4	2021-04-02 14:06:38.909	info	iobroker Update mqtt from @2.3.4 to @2.3.5
                                        host.ioBroker-4	2021-04-02 14:06:36.846	info	iobroker upgrade mqtt
                                        host.ioBroker-4	2021-04-02 14:01:57.894	info	iobroker exit 0
                                        

                                        was nun ? 🤔

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

                                          @willyiobrok

                                          iobroker update
                                          iobroker upgrade
                                          

                                          Wenn es danach auch nicht läuft: Abwarten.

                                          W 1 Reply Last reply Reply Quote 0
                                          • W
                                            WillyIobrok @Thomas Braun last edited by

                                            @thomas-braun
                                            OK, also abwarten - 😏
                                            Es lief auch nach dem letzten Versuch nicht durch.
                                            Ich wundere mich jetzt schon, daß nur dieser!!! - mqtt-Adapter solche Zicken beim Update macht.
                                            Es kann deshalb ja wohl kaum am Gesamtsystem ioBroker liegen, die anderen Adapter lassen sich ja auch problemlos updaten, oder ?
                                            Na gut, ich bin nicht auf die neue Version angewiesen, die alte Version läuft für meine Zwecke auch sehr gut.
                                            Vielen Dank für die Hilfe, Frohe Ostern.

                                            WillyIoBrok

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            508
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            2
                                            45
                                            2448
                                            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