Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]Adapter update geht nicht mehr

    NEWS

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

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

    [gelöst]Adapter update geht nicht mehr

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

      @thomas-braun
      OK beim "iobroker upgrade self" kommt folgendes: ?????

      pi@raspberrypi:~ $ iobroker upgrade self
      Update js-controller from @3.2.16 to @3.3.22
      NPM version: 6.14.16
      npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
      ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
      ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                             ^
      In file included from ../authenticate_pam.cc:23:
      ../../nan/nan.h:1026:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                             ^
      In file included from ../authenticate_pam.cc:23:
      ../../nan/nan.h:1026:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                         ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8-internal.h:14,
                       from /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:27,
                       from /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:3553:51: note: declared here
         V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                         ^~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                           ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                           ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8-internal.h:14,
                       from /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:27,
                       from /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:3553:51: note: declared here
         V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                         ^~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                        ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
        username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
        password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc: At global scope:
      ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
       void init(Handle<Object> exports) {
                 ^~~~~~
      ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
      ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
       void init(Handle<Object> exports) {
                 ^~~~~~
                 rand_r
      ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
       void init(Handle<Object> exports) {
                              ^
      ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
       void init(Handle<Object> exports) {
                                ^~~~~~~
      In file included from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
       NODE_MODULE(authenticate_pam, init);
                                     ^~~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
             (node::addon_register_func) (regfunc),                          \
                                          ^~~~~~~
      ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(authenticate_pam, init);
       ^~~~~~~~~~~
      ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
       NODE_MODULE(authenticate_pam, init);
                                     ^~~~
      /home/iobroker/.cache/node-gyp/12.22.10/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
             (node::addon_register_func) (regfunc),                          \
                                          ^~~~~~~
      ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(authenticate_pam, init);
       ^~~~~~~~~~~
      make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
      gyp ERR! System Linux 5.10.11-v7+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
      gyp ERR! node -v v12.22.10
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok
      Starting node restart.js
      pi@raspberrypi:~ $
      
      
      S 1 Reply Last reply Reply Quote 0
      • S
        stoffel67 @stoffel67 last edited by stoffel67

        @thomas-braun
        ich hab die Fehler mal ignoriert...
        es lief alles weiter durch ... und alles scheint jetzt auch auf meine Peroduktivsystem "up-to-date" zu sein.
        Vielen Dank nochmal für deine Hilfe ... und die "How-to's"

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

          @stoffel67
          Die Fehler beim compile stammen höchstwahrscheinlich vom Adapter 'terminal'. Schmeiß den raus, braucht es eh nicht.
          Du bist da aber noch auf node12 unterwegs, ich würde da halt auf 14 springen.

          S 1 Reply Last reply Reply Quote 0
          • S
            stoffel67 @Thomas Braun last edited by stoffel67

            @thomas-braun
            Terminal hab ich gelsöcht...
            auf node14 geht halt nicht, siehe Fehlermeldung(wie schon oben),

            pi@raspberrypi:~ $ sudo apt update
            OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            OK:2 http://archive.raspberrypi.org/debian buster InRelease
            OK:3 https://deb.nodesource.com/node_12.x buster InRelease
            Holen:4 https://deb.nodesource.com/node_14.x buster InRelease [4.584 B]
            Fehl:4 https://deb.nodesource.com/node_14.x buster InRelease
              Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 1655A0AB68576280
            Paketlisten werden gelesen... Fertig
            W: GPG-Fehler: https://deb.nodesource.com/node_14.x buster InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 1655A0AB68576280
            E: Das Depot »https://deb.nodesource.com/node_14.x buster InRelease« ist nicht signiert.
            N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
            N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
            
             
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @stoffel67 last edited by

              @stoffel67 sagte in Adapter update geht nicht mehr:

              1655A0AB68576280

              key mal so einspielen:

              curl --silent https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
              
              S 1 Reply Last reply Reply Quote 0
              • S
                stoffel67 @Thomas Braun last edited by

                @thomas-braun
                gleiches Ergebnis:

                pi@raspberrypi:/opt/iobroker/log $ curl --silent https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
                OK
                pi@raspberrypi:/opt/iobroker/log $ sudo apt update
                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:2 http://archive.raspberrypi.org/debian buster InRelease
                OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                Holen:4 https://deb.nodesource.com/node_14.x buster InRelease [4.584 B]
                Fehl:4 https://deb.nodesource.com/node_14.x buster InRelease
                  Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 1655A0AB68576280
                Paketlisten werden gelesen... Fertig
                W: GPG-Fehler: https://deb.nodesource.com/node_14.x buster InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 1655A0AB68576280
                E: Das Depot »https://deb.nodesource.com/node_14.x buster InRelease« ist nicht signiert.
                N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                pi@raspberrypi:/opt/iobroker/log $
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @stoffel67 last edited by

                  @stoffel67
                  Dann anders...

                  sudo mv /etc/apt/sources.list.d/nodesource.list /etc/apt/sources.list.d/nodesource.listbackup
                  curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash
                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                  sudo apt update
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Thomas Braun last edited by

                    @stoffel67

                    Wenn das durch ist:

                    sudo rm /etc/apt/sources.list.d/nodesource.listbackup
                    sudo apt update
                    sudo apt autoremove
                    apt policy nodejs
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      stoffel67 @Thomas Braun last edited by

                      @thomas-braun
                      OK ist durchgelaufen, aber muss ich jetzt doch noch irgenwie nodejs updaten?

                      pi@raspberrypi:/opt/iobroker/log $ apt policy nodejs
                      nodejs:
                        Installiert:           12.22.10-deb-1nodesource1
                        Installationskandidat: 14.19.0-deb-1nodesource1
                        Versionstabelle:
                           14.19.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                       *** 12.22.10-deb-1nodesource1 100
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      pi@raspberrypi:/opt/iobroker/log $ ^C
                      pi@raspberrypi:/opt/iobroker/log $
                      pi@raspberrypi:/opt/iobroker/log $ nodejs -v && which nodejs && node -v && which node && npm -v && which npm && apt policy nodejs #
                      v12.22.10
                      /usr/bin/nodejs
                      v12.22.10
                      /usr/bin/node
                      6.14.16
                      /usr/bin/npm
                      nodejs:
                        Installiert:           12.22.10-deb-1nodesource1
                        Installationskandidat: 14.19.0-deb-1nodesource1
                        Versionstabelle:
                           14.19.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                       *** 12.22.10-deb-1nodesource1 100
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                      pi@raspberrypi:/opt/iobroker/log $
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @stoffel67 last edited by

                        @stoffel67

                        Ja, jetzt bist du auf der richtigen Fährte.
                        nodeJS schwimmt jetzt mit dem üblichen Upgrade-Prozedere mit:

                        iobroker stop
                        sudo apt update
                        sudo apt full-upgrade
                        sudo reboot
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          stoffel67 @Thomas Braun last edited by stoffel67

                          @thomas-braun
                          Super👍

                          pi@raspberrypi:/opt/iobroker/log $ nodejs -v && which nodejs && node -v && which node && npm -v && which npm && apt policy nodejs #
                          v14.19.0
                          /usr/bin/nodejs
                          v14.19.0
                          /usr/bin/node
                          6.14.16
                          /usr/bin/npm
                          nodejs:
                            Installiert:           14.19.0-deb-1nodesource1
                            Installationskandidat: 14.19.0-deb-1nodesource1
                            Versionstabelle:
                           *** 14.19.0-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                  100 /var/lib/dpkg/status
                               10.24.0~dfsg-1~deb10u1 500
                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                          
                          

                          gleiches mach ich jetzt auch auf meinem Produktivsystem...

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            stoffel67 @stoffel67 last edited by stoffel67

                            @thomas-braun
                            so... lief jetzt auch in meinen Produktivsystem durch
                            nodejs V 14.19.0
                            npm 6.14.16

                            alles up-to-date 👍
                            Vielen Dank Thomas, warst' mir ein große Hilfe....👏

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

                              @stoffel67

                              Dann kannst du dir demnächst anschauen, wie man den buster durch bullseye ersetzt. Im Sommer erreicht buster sein EndOfLife.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                stoffel67 @Thomas Braun last edited by stoffel67

                                @thomas-braun
                                😰
                                ich hoffe, dann bin ich nicht der Einzige und es gibt einen Thread 😁

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

                                  @stoffel67

                                  Gibt es natürlich schon. Hab das mal an einem Beispiel auf einem Raspberry 4 gemacht. Findest bestimmt den Beitrag von mir zu dem Thema.

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    stoffel67 @Thomas Braun last edited by

                                    @thomas-braun 👍 👍 👍

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

                                      @stoffel67

                                      https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        stoffel67 @Thomas Braun last edited by

                                        @thomas-braun
                                        OK, und schon muß ich nicht bis zum Sommer warten 😊 👍

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

                                          @stoffel67
                                          Ein Release-Upgrade sollte man auch weder am ersten noch am letzten Tag machen. Dafür sind die Termine ja lang genug angekündigt. 1 Jahr Vorlaufzeit sollte ausreichen.

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

                                            Ich bin auch noch auf Buster unterwegs das andere bringt nur Ärger denke ich mal.

                                            Homoran Thomas Braun 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

                                            510
                                            Online

                                            32.2k
                                            Users

                                            80.9k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            56
                                            2973
                                            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