Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. web Adapter lässt dich nicht updaten

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    13
    1
    636

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    2.0k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    893

web Adapter lässt dich nicht updaten

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
web adapter update
46 Beiträge 5 Kommentatoren 3.3k Aufrufe 4 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • L lumajo

    Hallo,
    leider lässt sich mein Web Adapter nicht updaten.
    Folgende Fehlermeldung:
    Wie kann ich den denn updaten?
    Danke

    $ iobroker upgrade web@3.4.7
    
    Update web from @3.4.1 to @3.4.7
    
    NPM version: 7.6.0
    
    npm install iobroker.web@3.4.7 --loglevel error --prefix "/opt/iobroker" (System call)
    
    npm notice npm notice New minor version of npm available! 7.6.0 -> 7.21.1npm notice Changelog: <https://github.com/npm/cli/releases/tag/v7.21.1>npm notice Run `npm install -g npm@7.21.1` to update!npm notice
    
    npm ERR! code ENOTEMPTYnpm ERR! syscall renamenpm ERR! path /opt/iobroker/node_modules/@iobroker/adapter-corenpm ERR! dest /opt/iobroker/node_modules/@iobroker/.adapter-core-RS8CTvkynpm ERR! errno -39
    
    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@iobroker/adapter-core' -> '/opt/iobroker/node_modules/@iobroker/.adapter-core-RS8CTvky'
    
    npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-08-27T09_25_44_216Z-debug.log
    
    host.raspberrypi Cannot install iobroker.web@3.4.7: 217
    
    ERROR: Process exited with code 25
    
    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von Homoran
    #34

    @lumajo sagte in web Adapter lässt dich nicht updaten:

    NPM version: 7.6.0

    da muss wahrscheinlich auch die package-lock.json gelöscht werden

    kein Support per PN! - Fragen im Forum stellen -
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    L 1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @lumajo sagte in web Adapter lässt dich nicht updaten:

      NPM version: 7.6.0

      da muss wahrscheinlich auch die package-lock.json gelöscht werden

      L Offline
      L Offline
      lumajo
      schrieb am zuletzt editiert von
      #35

      @homoran ah und wo ist die?

      HomoranH 1 Antwort Letzte Antwort
      0
      • L lumajo

        @homoran ah und wo ist die?

        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #36

        @lumajo müsste direkt in /opt/iobroker liegen, wenn ich mich richtig erinnere

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        L 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @lumajo müsste direkt in /opt/iobroker liegen, wenn ich mich richtig erinnere

          L Offline
          L Offline
          lumajo
          schrieb am zuletzt editiert von
          #37

          werd ich mal heute abend machen..muss jetzt weg..danke soweit an euch

          L 1 Antwort Letzte Antwort
          0
          • L lumajo

            werd ich mal heute abend machen..muss jetzt weg..danke soweit an euch

            L Offline
            L Offline
            lumajo
            schrieb am zuletzt editiert von
            #38

            @lumajo leider erkennt die Phoscon app jetzt auch keine Sensoren mehr, kann das sein?

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • L lumajo

              @lumajo leider erkennt die Phoscon app jetzt auch keine Sensoren mehr, kann das sein?

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #39

              @lumajo

              Das hat nichts mit der npm-Version zu tun.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              L 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @lumajo

                Das hat nichts mit der npm-Version zu tun.

                L Offline
                L Offline
                lumajo
                schrieb am zuletzt editiert von
                #40

                @thomas-braun aber der telegram adapter meldet auch Fehler beim update...eigentlich jetzt alle updates die so anstehen.
                Soll ich die package-lock.json löschen? weis ehrlich gar nicht was die macht...

                $ iobroker upgrade telegram@1.10.0
                
                Update telegram from @1.8.0 to @1.10.0
                
                NPM version: 6.14.14
                
                npm install iobroker.telegram@1.10.0 --loglevel error --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: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::String>)' Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked()); ^In file included from /home/iobroker/.cache/node-gyp/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided../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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037:7: note: no known conversion for argument 1 from 'char [128]' to 'v8::Isolate*'../authenticate_pam.cc:152:69: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::String>)' res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked()); ^In file included from /home/iobroker/.cache/node-gyp/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided../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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:758: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/14.17.5/include/node/node.h:758: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: 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:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
                
                gyp ERR! System Linux 5.10.52-v7l+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-pamgyp ERR! node -v v14.17.5gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                
                upload [6] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/words.js words.js application/javascript
                
                Update "system.adapter.telegram.0"
                
                upload [5] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/telegram.png telegram.png image/png
                
                upload [4] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/jsonCustom.json jsonCustom.json application/json
                
                upload [3] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index_m.html index_m.html text/html
                
                upload [2] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index.html index.html text/html
                
                upload [1] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/custom_m.html custom_m.html text/html
                
                upload [0] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/blockly.js blockly.js application/javascript
                
                Adapter "telegram" updated
                
                Process exited with code 0
                
                HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                0
                • L lumajo

                  @thomas-braun aber der telegram adapter meldet auch Fehler beim update...eigentlich jetzt alle updates die so anstehen.
                  Soll ich die package-lock.json löschen? weis ehrlich gar nicht was die macht...

                  $ iobroker upgrade telegram@1.10.0
                  
                  Update telegram from @1.8.0 to @1.10.0
                  
                  NPM version: 6.14.14
                  
                  npm install iobroker.telegram@1.10.0 --loglevel error --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: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::String>)' Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked()); ^In file included from /home/iobroker/.cache/node-gyp/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided../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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037:7: note: no known conversion for argument 1 from 'char [128]' to 'v8::Isolate*'../authenticate_pam.cc:152:69: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::String>)' res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked()); ^In file included from /home/iobroker/.cache/node-gyp/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided../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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:758: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/14.17.5/include/node/node.h:758: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: 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:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
                  
                  gyp ERR! System Linux 5.10.52-v7l+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-pamgyp ERR! node -v v14.17.5gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                  
                  upload [6] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/words.js words.js application/javascript
                  
                  Update "system.adapter.telegram.0"
                  
                  upload [5] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/telegram.png telegram.png image/png
                  
                  upload [4] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/jsonCustom.json jsonCustom.json application/json
                  
                  upload [3] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index_m.html index_m.html text/html
                  
                  upload [2] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index.html index.html text/html
                  
                  upload [1] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/custom_m.html custom_m.html text/html
                  
                  upload [0] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/blockly.js blockly.js application/javascript
                  
                  Adapter "telegram" updated
                  
                  Process exited with code 0
                  
                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #41

                  @lumajo sagte in web Adapter lässt dich nicht updaten:

                  aber der telegram adapter meldet auch Fehler beim update

                  nein, nicht wirklich

                  @lumajo sagte in web Adapter lässt dich nicht updaten:

                  Adapter "telegram" updated                                                                             
                  Process exited with code 0
                  

                  kein Support per PN! - Fragen im Forum stellen -
                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  L 1 Antwort Letzte Antwort
                  0
                  • HomoranH Homoran

                    @lumajo sagte in web Adapter lässt dich nicht updaten:

                    aber der telegram adapter meldet auch Fehler beim update

                    nein, nicht wirklich

                    @lumajo sagte in web Adapter lässt dich nicht updaten:

                    Adapter "telegram" updated                                                                             
                    Process exited with code 0
                    
                    L Offline
                    L Offline
                    lumajo
                    schrieb am zuletzt editiert von lumajo
                    #42

                    @homoran ja auch der Web adapter ist die neueste version habe es gerade gesehen. ok, dann belasse ich es mal dabei und wende mich dem nächsten Problem zu :-)
                    Danke soweit

                    1 Antwort Letzte Antwort
                    0
                    • L lumajo

                      @thomas-braun aber der telegram adapter meldet auch Fehler beim update...eigentlich jetzt alle updates die so anstehen.
                      Soll ich die package-lock.json löschen? weis ehrlich gar nicht was die macht...

                      $ iobroker upgrade telegram@1.10.0
                      
                      Update telegram from @1.8.0 to @1.10.0
                      
                      NPM version: 6.14.14
                      
                      npm install iobroker.telegram@1.10.0 --loglevel error --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: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::String>)' Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked()); ^In file included from /home/iobroker/.cache/node-gyp/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided../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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037:7: note: no known conversion for argument 1 from 'char [128]' to 'v8::Isolate*'../authenticate_pam.cc:152:69: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::String>)' res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked()); ^In file included from /home/iobroker/.cache/node-gyp/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, ^~~/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided../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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/v8.h:3037: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/14.17.5/include/node/node.h:758: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/14.17.5/include/node/node.h:758: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: 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:400:28)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
                      
                      gyp ERR! System Linux 5.10.52-v7l+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-pamgyp ERR! node -v v14.17.5gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                      
                      upload [6] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/words.js words.js application/javascript
                      
                      Update "system.adapter.telegram.0"
                      
                      upload [5] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/telegram.png telegram.png image/png
                      
                      upload [4] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/jsonCustom.json jsonCustom.json application/json
                      
                      upload [3] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index_m.html index_m.html text/html
                      
                      upload [2] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/index.html index.html text/html
                      
                      upload [1] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/custom_m.html custom_m.html text/html
                      
                      upload [0] telegram.admin /opt/iobroker/node_modules/iobroker.telegram/admin/blockly.js blockly.js application/javascript
                      
                      Adapter "telegram" updated
                      
                      Process exited with code 0
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #43

                      @lumajo

                      Schmeiß mal den terminal-Adapter aus dem System, wenn der drin sein sollte. Der sorgt gerne für diese Meldungen mit authenticate_pam.
                      Brauchen tut den eigentlich keiner...

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      L 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @lumajo

                        Schmeiß mal den terminal-Adapter aus dem System, wenn der drin sein sollte. Der sorgt gerne für diese Meldungen mit authenticate_pam.
                        Brauchen tut den eigentlich keiner...

                        L Offline
                        L Offline
                        lumajo
                        schrieb am zuletzt editiert von lumajo
                        #44

                        @thomas-braun den hab ich nicht, den brauche ich ja nicht, ich geh ja normal aufs Terminal..
                        verstehen tu ich nicht warum bei einem Fresh Install ohne viel rumgefrickel diese Fehlermeldungen kommen. Ich bin da wohl ein bischen von Domoticz verwöhnt. ;-) aber soweit läuft es jetzt ich widme mich meinen Anderen baustellen, dem backup Adapter und der Alexa ;-)
                        DANKE soweit hast mir gut geholfen

                        HomoranH J 2 Antworten Letzte Antwort
                        0
                        • L lumajo

                          @thomas-braun den hab ich nicht, den brauche ich ja nicht, ich geh ja normal aufs Terminal..
                          verstehen tu ich nicht warum bei einem Fresh Install ohne viel rumgefrickel diese Fehlermeldungen kommen. Ich bin da wohl ein bischen von Domoticz verwöhnt. ;-) aber soweit läuft es jetzt ich widme mich meinen Anderen baustellen, dem backup Adapter und der Alexa ;-)
                          DANKE soweit hast mir gut geholfen

                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von
                          #45

                          @lumajo sagte in web Adapter lässt dich nicht updaten:

                          verstehen tu ich nicht warum bei einem Fresh Install ohne viel rumgefrickel diese Fehlermeldungen kommen

                          das sind z.B. Meldungen, dass es keine fertigen Pakete gibt und diese gebaut werden. Dabei werden auch optionale Dependencies übersprungen

                          @lumajo sagte in web Adapter lässt dich nicht updaten:

                          c hbin da wohl einbische nvon Domoticz verwöhnt.

                          Vielleicht unterdrückt Domodings diese Meldungen einfach

                          kein Support per PN! - Fragen im Forum stellen -
                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          1 Antwort Letzte Antwort
                          0
                          • L lumajo

                            @thomas-braun den hab ich nicht, den brauche ich ja nicht, ich geh ja normal aufs Terminal..
                            verstehen tu ich nicht warum bei einem Fresh Install ohne viel rumgefrickel diese Fehlermeldungen kommen. Ich bin da wohl ein bischen von Domoticz verwöhnt. ;-) aber soweit läuft es jetzt ich widme mich meinen Anderen baustellen, dem backup Adapter und der Alexa ;-)
                            DANKE soweit hast mir gut geholfen

                            J Offline
                            J Offline
                            Jan1
                            schrieb am zuletzt editiert von
                            #46

                            @lumajo sagte in web Adapter lässt dich nicht updaten:

                            von Domoticz verwöhnt.

                            Ich lach mich schlapp, das hatte ich mal kurz vor IObroker angeschaut und war ganz schnell wieder weg ;)

                            1 Antwort Letzte Antwort
                            0

                            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                            Registrieren Anmelden
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate
                            FAQ Cloud / IOT
                            HowTo: Node.js-Update
                            HowTo: Backup/Restore
                            Downloads
                            BLOG

                            527

                            Online

                            32.9k

                            Benutzer

                            83.0k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe