Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Fehlermeldungen bei Updates

    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

    UNSOLVED Fehlermeldungen bei Updates

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

      @arteck Das mag ein subjektiver Eindruck sein aber in den letzten Wochen habe ich gefühlt viel längere Fehlermeldungen. Keine Ahnung warum aber die einzige größere Änderung an meinem System war ein Upgrade auf node.js 12.16.3. Aber ob es damit zusammenhängt weiß ich nicht.

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

        Hallo zusammen,

        ich möchte mich hier mal anhängen, da ich das Erlebte von @amg_666 nachvollziehen kann und bei mir auch so nach der node 12.16 aufgetreten ist. Auch bei mir steht am Ende eines Adapter-Updates

        exited with code 0
        

        @Thomas-Braun sagte in Fehler nach Update:

        @Marcus-Hamburg Da hast du aber noch ein paar Leichen im gyp-Keller.

        Hallo @Thomas-Braun,

        könntest Du bitte mal einen Satz dazu schreiben, woher diese

        gyp ERR! 
        node-pre-gyp ERR!
        

        Meldungen kommen? Ich hatte das erstmals gesehen, nachdem ich node von 10.x auf 12.x geupdatet habe. Der Broker läuft unauffällig, deshalb habe ich nichts weiter unternommen. Allerdings hatten aus der Anleitung zum Versionsupdate von node die Hinweise bis zum iobroker rebuild bei mir nicht geholfen, diese Meldungen zu unterdrücken. Ich habe dann neu installiert, die Meldungen kommen aber immer wieder, auch bei Updates von Adaptern.

        Ich kann nachvollziehen, dass man das was @arteck geschrieben hat durchaus einfach durchgehen lässt. Allerdings hat der Linux-Spezialist @Thomas-Braun das als Leichen bezeichnet und für mich bedutet das, dass da was hängt und geändert respektive auf meinem System verbessert werden könnte. Und ansonsten lernen wir was dazu!

        Vielen Dank

        Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @XxJooO last edited by Glasfaser

          @XxJooO sagte in Fehlermeldungen bei Updates:

          Auch bei mir steht am Ende eines Adapter-Updates
          exited with code 0

          es ist schon interessant was auch davor steht !!
          @amg_666 hat die Meldung mit canvas und @Thomas-Braun hat Ihm daraufhin eine Codezeile genannt ... aber keine Antwort bekommen .

          Was bei dir ist kann man nur jetzt Raten 😉

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

            @XxJooO sagte in Fehlermeldungen bei Updates:

            könntest Du bitte mal einen Satz dazu schreiben, woher diese
            gyp ERR!
            node-pre-gyp ERR!

            Meldungen kommen?

            Die kommen von abgebrochenen Versuchen node-Module zu bauen. Oft fehlen da developer-Pakete, z. B. bei dem beliebten pixman-1/canvas.
            gyp schleppt diese Fehlversuche solange mit, bis das Modul sauber im System ist. Deswegen wird die Liste der Leichen auch immer länger.

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

              @Glasfaser ok, sorry das ich hier kein Feedback gegeben habe. Nach dem Canvas rebuild Befehl ging bei mir nix mehr, ich hab den iobroker nicht mehr gestartet bekommen (was auch imer da zerschossen war). Ich habe darauf ein backup eingespielt und wie @arteck empfohlen hat, ignoriere ich das im Moment.

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

                Hallo Leute,

                heute erst meinerseits ein Update über die Meldungen, die bei mir kommen. Kann jemand daraus ableiten, was vielleicht im Argen liegt?

                $ ./iobroker upgrade hm-rpc
                Update hm-rpc from @1.14.11 to @1.14.12
                NPM version: 6.14.5
                npm install iobroker.hm-rpc@1.14.12 --loglevel error --prefix "/opt/iobroker" (System call)
                In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]     , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)                                                              ^
                ../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.18.2/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.2/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.18.2/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], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.2/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.18.2/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.18.2/include/node/v8-internal.h:14,                 from /home/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.2/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.18.2/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], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /home/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.2/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.18.2/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], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.2/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.18.2/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], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.2/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.18.2/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.18.2/include/node/node.h:608: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.18.2/include/node/node.h:608: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:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                gyp ERR! System Linux 4.19.0-9-amd64gyp 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-pamgyp ERR! node -v v12.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                Update "system.adapter.hm-rpc.2"
                upload [200] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/94_hm-mod-re-8_thumb.png icons/94_hm-mod-re-8_thumb.png image/png
                
                
                gekürzt
                
                
                upload [1] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/100_hm-rc-8_thumb.png icons/100_hm-rc-8_thumb.png image/png
                upload [0] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/homematic.png homematic.png image/png
                Adapter "hm-rpc" updated
                process exited with code 0
                

                Vielen Dank fürs drüber schauen!

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

                  @XxJooO Vermutlich ein Versionskonflikt.

                  lsb_release -a
                  nodejs -v && node -v && npm -v
                  
                  XxJooO 1 Reply Last reply Reply Quote 0
                  • XxJooO
                    XxJooO @Thomas Braun last edited by

                    @Thomas-Braun sagte in Fehlermeldungen bei Updates:

                    lsb_release -a
                    nodejs -v && node -v && npm -v

                    iobroker@ioBrokerDebian10VM:~$ lsb_release -a
                    No LSB modules are available.
                    Distributor ID: Debian
                    Description:    Debian GNU/Linux 10 (buster)
                    Release:        10
                    Codename:       buster
                    iobroker@ioBrokerDebian10VM:~$ nodejs -v && node -v && npm -v
                    v12.18.2
                    v12.18.2
                    6.14.5
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @XxJooO last edited by Thomas Braun

                      @XxJooO Von der Kernel-Version her hätte ich gedacht das sei was älteres als Buster.
                      Rest-System auf Stand?

                      sudo apt update
                      sudo apt dist-upgrade
                      
                      XxJooO 2 Replies Last reply Reply Quote 0
                      • XxJooO
                        XxJooO @Thomas Braun last edited by

                        @Thomas-Braun sagte in Fehlermeldungen bei Updates:

                        sudo apt update sudo apt dist-upgrade

                        Sollte up to date sein, ich lass es aber nochmal laufen.

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

                          @Thomas-Braun

                          iobroker@ioBrokerDebian10VM:~$ sudo apt update
                          Holen:1 http://security.debian.org/debian-security buster/updates InRelease [65,4 kB]
                          OK:2 http://deb.debian.org/debian buster InRelease
                          Holen:3 http://deb.debian.org/debian buster-updates InRelease [51,9 kB]
                          Holen:4 http://security.debian.org/debian-security buster/updates/main Sources [130 kB]
                          Holen:5 http://security.debian.org/debian-security buster/updates/main amd64 Packages [208 kB]
                          OK:6 https://deb.nodesource.com/node_12.x buster InRelease
                          Es wurden 455 kB in 1 s geholt (480 kB/s).
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Alle Pakete sind aktuell.
                          iobroker@ioBrokerDebian10VM:~$ sudo apt dist-upgrade
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Paketaktualisierung (Upgrade) wird berechnet... Fertig
                          0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                          

                          Konsequenz wäre also tatsächlich ignorieren?

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

                            @XxJooO Ja, würde ich ignorieren. Da ist zwar irgendwas mit PAM nicht ganz gerade, kann aber auch mit der VM zusammenhängen.

                            1 Reply Last reply Reply Quote 1
                            • XxJooO
                              XxJooO last edited by

                              Danke für Deine Einschätzung!

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              614
                              Online

                              31.9k
                              Users

                              80.1k
                              Topics

                              1.3m
                              Posts

                              update adapter
                              5
                              18
                              1281
                              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