Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Upgrade zigbee immer error

    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

    Upgrade zigbee immer error

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

      @chucky666 Wie schaut deine node-Installation aus?

      chucky666 1 Reply Last reply Reply Quote 0
      • chucky666
        chucky666 @UncleSam last edited by

        @unclesam
        Aber wird der Fehler nicht mit gesichert ?

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

          @thomas-braun

          6.1.4.8

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

            @chucky666
            Was soll das sein? Node6?

            Ausgabe davon posten:

            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
            
            chucky666 1 Reply Last reply Reply Quote 0
            • chucky666
              chucky666 @Thomas Braun last edited by

              @thomas-braun sagte in Upgrade zigbee immer error:

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

              
              usr/bin/nodejs
              v12.19.0
              /usr/bin/node
              v12.19.0
              /usr/bin/npm
              6.14.8
              nodejs:
                Installiert:           12.19.0-1nodesource1
                Installationskandidat: 12.19.0-1nodesource1
                Versionstabelle:
               *** 12.19.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x stretch/main amd64 Packages
                      100 /var/lib/dpkg/status
                   4.8.2~dfsg-1 500
                      500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @chucky666 last edited by

                @chucky666

                sudo apt update 
                sudo apt dist-upgrade
                sudo reboot
                

                Und mal schauen, ob du den Stretch nicht langsam hinter dir lassen willst. Der stirbt langsam.

                chucky666 1 Reply Last reply Reply Quote 0
                • UncleSam
                  UncleSam Developer @chucky666 last edited by

                  @chucky666 Nein, bei einem Restore werden alle Adapter frisch (in der von dir vor dem Backup verwendeten Version) installiert. Damit sollte der Fehler weg sein.

                  Aber du kannst problemlos noch zuerst ein dist-upgrade machen wie @Thomas-Braun vorschlägt.

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

                    @thomas-braun
                    Node.js
                    v12.20.1
                    NPM
                    6.14.10

                    Erledigt und nun ? Nochmal versuchen zu löschen oder zu updaten (zigbee Adapter ) ?

                    
                    host.iobroker	2021-01-22 12:56:19.765	error	iobroker You might have to delete it yourself!
                    host.iobroker	2021-01-22 12:56:19.764	error	iobroker Error deleting adapter zigbee from disk: Error: host.iobroker: Cannot uninstall iobroker.zigbee: 1
                    
                    

                    Das steht immer im log wenn ich ihn löschen will

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

                      @chucky666
                      Warum kann der nicht gelöscht werden?
                      Dateisystem in den Seilen?
                      Rechte verfummelt?

                      dmesg | grep -i ext4
                      
                      chucky666 1 Reply Last reply Reply Quote 0
                      • chucky666
                        chucky666 @Thomas Braun last edited by

                        @thomas-braun sagte in Upgrade zigbee immer error:

                        dmesg | grep -i ext4

                        
                        [    2.187949] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
                        [    2.510257] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @chucky666 last edited by

                          @chucky666
                          Das ist in Ordnung.

                          iobroker update
                          iobroker upgrade
                          
                          chucky666 1 Reply Last reply Reply Quote 0
                          • chucky666
                            chucky666 @Thomas Braun last edited by chucky666

                            @thomas-braun

                            Versuche ich

                            Ich habe gerade mal ein paar Updates gemacht , dieser Fehler kommt bei manchen . Hängt das damit zusammen ? ```

                            
                            ./iobroker upgrade vis
                            Update vis from @1.2.12 to @1.3.4
                            NPM version: 6.14.10
                            npm install iobroker.vis@1.3.4 --loglevel error --prefix "/opt/iobroker" (System call)
                            ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67:0,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const                 Local<String> ToString(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67:0,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note: 
                            
                            
                            Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @chucky666 last edited by

                              @chucky666
                              Bitte in CodeTags packen.
                              Das kann ja keiner lesen so.

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

                                @chucky666
                                Das ist doch mit Sicherheit nicht aus einem Terminal.
                                Bitte ein richtiges Terminal/Konsole/shell/Eingabeaufforderung verwenden.

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

                                  @thomas-braun
                                  Sorry der hat das nicht richtig kopiert , er sagte immer etwas mit serialport error .

                                  Jetzt habe ich versucht ein downgrade vom zigbee Adapter zu machen , gleicher Fehler

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

                                    @chucky666
                                    Ich möchte bitte die kompletten Ein- und Ausgeben in einem Terminal sehen.

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

                                      @thomas-braun

                                      So sehen alle Updates aus

                                      
                                      $ ./iobroker upgrade openligadb
                                      Update openligadb from @1.1.0 to @1.2.0
                                      NPM version: 6.14.10
                                      npm install iobroker.openligadb@1.2.0 --loglevel error --prefix "/opt/iobroker" (System call)
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’   v8::String::Utf8Value path(info[0]->ToString());                                                ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67:0,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2668:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const                 Local<String> ToString(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2684:31: note:   candidate expects 1 argument, 0 provided                 Local<String> ToString(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:48:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67:0,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const                 Local<Object> ToObject(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                      ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:113:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67:0,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const                 Local<Object> ToObject(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:250:53: error: no matching function for call to ‘v8::Value::ToObject()’   v8::Local<v8::Object> options = info[1]->ToObject();                                                     ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67:0,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note: candidate: v8::MaybeLocal<v8::Object> v8::Value::ToObject(v8::Local<v8::Context>) const   V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(                                            ^~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2672:44: note:   candidate expects 1 argument, 0 providedIn file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2686:31: note: candidate: v8::Local<v8::Object> v8::Value::ToObject(v8::Isolate*) const                 Local<Object> ToObject(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:2686:31: note:   candidate expects 1 argument, 0 provided                 Local<Object> ToObject(Isolate* isolate) const);                               ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~
                                      ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));                                                                                                ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                      ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]     results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));                                                                                                          ^In file included from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:67,                 from ../../../../nan/nan.h:54,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8.h:3499:22: note: declared here                 bool Set(Local<Value> key, Local<Value> value));                      ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’   declarator __attribute__((deprecated(message)))   ^~~~~~~~~~../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(2, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]   data->callback.Call(1, argv);                              ^In file included from ../src/./serialport.h:6:0,                 from ../src/serialport.cpp:1:../../../../nan/nan.h:1740:3: note: declared here   Call(int argc, v8::Local<v8::Value> argv[]) const {   ^~~~
                                      ../src/serialport.cpp: At global scope:../src/serialport.cpp:460:17: error: variable or field ‘init’ declared void   void init(v8::Handle<v8::Object> target) {                 ^~~~~~../src/serialport.cpp:460:13: error: ‘Handle’ is not a member of ‘v8’   void init(v8::Handle<v8::Object> target) {             ^~../src/serialport.cpp:460:34: error: expected primary-expression before ‘>’ token   void init(v8::Handle<v8::Object> target) {                                  ^../src/serialport.cpp:460:36: error: ‘target’ was not declared in this scope   void init(v8::Handle<v8::Object> target) {                                    ^~~~~~In file included from ../../../../nan/nan.h:54:0,                 from ../src/./serialport.h:6,                 from ../src/serialport.cpp:1:../src/serialport.cpp:485:25: error: ‘init’ was not declared in this scope NODE_MODULE(serialport, init);                         ^/home/iobroker/.cache/node-gyp/12.20.1/include/node/node.h:737:36: note: in definition of macro ‘NODE_MODULE_X’       (node::addon_register_func) (regfunc),                          \                                    ^~~~~~~../src/serialport.cpp:485:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
                                      make: *** [Release/obj.target/serialport/src/serialport.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:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 4.9.0-14-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/cc-znp/node_modules/serialportgyp ERR! node -v v12.20.1gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                      upload [8] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/words.js words.js application/javascript
                                      Adapter "system.adapter.vis.0" restarted.
                                      upload [7] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/tsconfig.json tsconfig.json application/json
                                      upload [6] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/style.css style.css text/css
                                      upload [5] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/openligadb_b.png openligadb_b.png image/png
                                      upload [4] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/openligadb.png openligadb.png image/png
                                      upload [3] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/index_m.html index_m.html text/html
                                      upload [2] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/cb_true.png cb_true.png image/png
                                      upload [1] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/cb_false.png cb_false.png image/png
                                      upload [0] openligadb.admin /opt/iobroker/node_modules/iobroker.openligadb/admin/admin.d.ts admin.d.ts video/mp2t
                                      Adapter "openligadb" updated
                                      process exited with code 0
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @chucky666 last edited by Thomas Braun

                                        @chucky666
                                        Da liegt immer noch der angeknabberte serialport build rum.

                                        iobroker del zigbee
                                        cd /opt/iobroker
                                        npm cache clean --force
                                        

                                        Bitte vollständige Ein- und Ausgabe posten.

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

                                          @thomas-braun sagte in Upgrade zigbee immer error:

                                          npm cache clean --force

                                          root@iobroker:~# iobroker del zigbee
                                          Delete adapter "zigbee"
                                          npm uninstall iobroker.zigbee --error --prefix "/opt/iobroker" (System call)
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/avrgirl-arduino/package.json'
                                          
                                          npm ERR! code ENOTSUP
                                          npm ERR! notsup Unsupported engine for dissolve@0.3.3: wanted: {"node":"~0.10.0"} (current: {"node":"12.20.1","npm":"6.14.10"})
                                          npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3
                                          npm ERR! notsup Not compatible with your version of node/npm: dissolve@0.3.3
                                          npm ERR! notsup Required: {"node":"~0.10.0"}
                                          npm ERR! notsup Actual:   {"npm":"6.14.10","node":"12.20.1"}
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/iobroker/.npm/_logs/2021-01-22T14_27_41_981Z-debug.log
                                          Error deleting adapter zigbee from disk: Error: host.iobroker: Cannot uninstall iobroker.zigbee: 1
                                          You might have to delete it yourself!
                                          root@iobroker:~# cd /opt/iobroker
                                          root@iobroker:/opt/iobroker# npm cache clean --force
                                          npm WARN using --force I sure hope you know what you are doing.
                                          
                                          root@iobroker:/opt/iobroker# 
                                          root@iobroker:/opt/iobroker# 
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @chucky666 last edited by

                                            @chucky666 sagte in Upgrade zigbee immer error:

                                            root@iobroker

                                            Ist schon mal Obermurks.
                                            Und eigentlich verschwende ich auch keine Zeit an so verfummelte Systeme.
                                            Als user anmelden und per sudo das System administrieren. Ist das vielleicht auch noch Docker/Container-Gefummel?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            754
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee
                                            4
                                            44
                                            1369
                                            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