Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • 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. Neue Installationsroutine (für Linux)

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Neue Installationsroutine (für Linux)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installation
415 Beiträge 64 Kommentatoren 117.0k Aufrufe 31 Watching
  • Ä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.
  • M Mercator

    ich habe eine neue VM unter Proxmox mit Debian 10.6 mit dem User pi erstellt, mit welchem ich analog zu Mic´s Anleitung dann nodejs v12.20 installiert habe.

    Installation verlief auch ohne irgendeine Fehlermeldung, weshalb ich bis hier von einem "sauberen" System ausgehe.

    pi@ioBroker3:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && whoami
    /usr/bin/nodejs
    v12.20.0
    /usr/bin/node
    v12.20.0
    /usr/bin/npm
    6.14.10
    nodejs:
      Installiert:           12.20.0-1nodesource1
      Installationskandidat: 12.20.0-1nodesource1
      Versionstabelle:
     *** 12.20.0-1nodesource1 500
            500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
            100 /var/lib/dpkg/status
         10.21.0~dfsg-1~deb10u1 500
            500 http://deb.debian.org/debian buster/main amd64 Packages
            500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
             Runlevel 5   2020-12-20 13:50
    pi
    

    Trotzdem bekomme ich beim anschließenden Installieren von ioBroker folgenden Fehler:

    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    In file included from ../../nan/nan.h:56,
                     from ../src/main.cpp:3:
    /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(diskusage, Init)
     ^~~~~~~~~~~
    In file included from ../../nan/nan.h:56,
                     from ../src/unix_dgram.cc:5:
    /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(unix_dgram, Initialize)
     ^~~~~~~~~~~
    
    ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
    
    ioBroker wants to make sure to deliver the most stable smart home system.
    
    

    Ja, es heißt dann zwar ioBroker was installed successfully und ich kann die Installation per Browser erreichen, aber beim restore mit Backitup kommen zig node-gyp und authenticate_pam.cc Fehler, wie auf meinem Produktivsystem. (weshalb ich es umziehen möchte).

    Beispielsweise:

    Update vis from @1.3.4 to @1.3.6
    NPM version: 6.14.8
    npm install iobroker.vis@1.3.6 --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:0:../../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.3/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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: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:0,                 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.3/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: *** [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.9.0-8-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.3gyp ERR! node-gyp -v v5.1.0
    gyp ERR! not ok 
    upload [3] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/words.js words.js application/javascript
    Adapter "system.adapter.vis.0" restarted.
    

    Wie könnte ich eine Installation ohne Fehlermeldungen hinbekommen?

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

    @Mercator
    In der Fehlermeldung steht was von node -v v12.18.3 drin. Oben schreibst du 12.20.0

    Da passt was nicht.

    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

    HomoranH 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @Mercator
      In der Fehlermeldung steht was von node -v v12.18.3 drin. Oben schreibst du 12.20.0

      Da passt was nicht.

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

      @Thomas-Braun
      @Mercator

      Ich weiß nicht, ob das wirklich "echte" Fehler sind, oder ob da nur vom Installer eine Meldung vergessen wird zu unterdrücken, die keine wirkliche Relevanz hat.

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @Thomas-Braun
        @Mercator

        Ich weiß nicht, ob das wirklich "echte" Fehler sind, oder ob da nur vom Installer eine Meldung vergessen wird zu unterdrücken, die keine wirkliche Relevanz hat.

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

        @Homoran

        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.9.0-8-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.3gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        

        Sind definitiv Fehler beim build.
        Die Meldungen beim der Installation sind harmlos, stimmt.

        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

        1 Antwort Letzte Antwort
        0
        • M Mercator

          ich habe eine neue VM unter Proxmox mit Debian 10.6 mit dem User pi erstellt, mit welchem ich analog zu Mic´s Anleitung dann nodejs v12.20 installiert habe.

          Installation verlief auch ohne irgendeine Fehlermeldung, weshalb ich bis hier von einem "sauberen" System ausgehe.

          pi@ioBroker3:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && whoami
          /usr/bin/nodejs
          v12.20.0
          /usr/bin/node
          v12.20.0
          /usr/bin/npm
          6.14.10
          nodejs:
            Installiert:           12.20.0-1nodesource1
            Installationskandidat: 12.20.0-1nodesource1
            Versionstabelle:
           *** 12.20.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                  100 /var/lib/dpkg/status
               10.21.0~dfsg-1~deb10u1 500
                  500 http://deb.debian.org/debian buster/main amd64 Packages
                  500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                   Runlevel 5   2020-12-20 13:50
          pi
          

          Trotzdem bekomme ich beim anschließenden Installieren von ioBroker folgenden Fehler:

          ==========================================================================
              Installing ioBroker (3/4)
          ==========================================================================
          
          In file included from ../../nan/nan.h:56,
                           from ../src/main.cpp:3:
          /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                 (node::addon_register_func) (regfunc),                          \
                                                     ^
          /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
             ^~~~~~~~~~~~~
          ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
           NODE_MODULE(diskusage, Init)
           ^~~~~~~~~~~
          In file included from ../../nan/nan.h:56,
                           from ../src/unix_dgram.cc:5:
          /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                 (node::addon_register_func) (regfunc),                          \
                                                     ^
          /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
             ^~~~~~~~~~~~~
          ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
           NODE_MODULE(unix_dgram, Initialize)
           ^~~~~~~~~~~
          
          ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
          
          ioBroker wants to make sure to deliver the most stable smart home system.
          
          

          Ja, es heißt dann zwar ioBroker was installed successfully und ich kann die Installation per Browser erreichen, aber beim restore mit Backitup kommen zig node-gyp und authenticate_pam.cc Fehler, wie auf meinem Produktivsystem. (weshalb ich es umziehen möchte).

          Beispielsweise:

          Update vis from @1.3.4 to @1.3.6
          NPM version: 6.14.8
          npm install iobroker.vis@1.3.6 --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:0:../../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.3/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/v8-internal.h:14:0,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27,                 from /home/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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.3/include/node/node.h:67:0,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/home/iobroker/.cache/node-gyp/12.18.3/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.3/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: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:0,                 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.3/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: *** [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.9.0-8-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.3gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok 
          upload [3] vis.admin /opt/iobroker/node_modules/iobroker.vis/admin/words.js words.js application/javascript
          Adapter "system.adapter.vis.0" restarted.
          

          Wie könnte ich eine Installation ohne Fehlermeldungen hinbekommen?

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

          @Mercator sagte in Neue Installationsroutine (für Linux):

          beim restore mit Backitup kommen zig node-gyp und authenticate_pam.cc Fehler, wie auf meinem Produktivsystem. (weshalb ich es umziehen möchte).

          Vermutlich ist da der Wurm schon im Alt-System, den backupst du dann natürlich.

          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

          M 1 Antwort Letzte Antwort
          0
          • Thomas BraunT Thomas Braun

            @Mercator sagte in Neue Installationsroutine (für Linux):

            beim restore mit Backitup kommen zig node-gyp und authenticate_pam.cc Fehler, wie auf meinem Produktivsystem. (weshalb ich es umziehen möchte).

            Vermutlich ist da der Wurm schon im Alt-System, den backupst du dann natürlich.

            M Offline
            M Offline
            Mercator
            schrieb am zuletzt editiert von
            #332

            @Thomas-Braun Ja, ich denke auch, dass im Altsystem etwas vermurkst ist, daher plane ich den Umzug auf ein Neues. Das sehe ich im Moment auch erstmal als ein getrenntes Problem an.
            Aber wie gesagt, die Fehlermeldung vom Install-Script kommt ja auf einem ganz frischen Debian und ist reproduzierbar?!?

            Ich habe zwischenzeitlich 5 VM´s erstellt (straight forward, mal mit mal ohne GUI oder Web Server, immer plus SSH-Server, auch wieder nicht mit user root, sondern mit sudo pi gearbeitet, 1 x debian-10.7.0-amd64-netinst.iso neu runtergeladen und neu installiert) und bekomme bei "Installing ioBroker (3/4)" immer diese node-gyp Fehler.

            Würde mich normalerweise vermutlich auch nicht weiter stören, nur hat mein Produktivsystem halt genau ein Problem mit node-gyp, weshalb ich hier schon gerne ein "sauberes" neues System hätte, um den Fehler im Alt-System auszumerzen ;-)

            Lieben Dank aber für eure Mühe und Antwort!

            Beispiel:
            Letzte VM mit debian-10.7.0-amd64-netinst erstellt und dann nur apt-get install -y sudo, adduser pi sudo, via Putty apt-gets gemacht und curl installiert. Reboot.
            Dann kam nach curl -sL https://iobroker.net/install.sh | bash -

            Last login: Sun Dec 20 17:46:19 2020 from 192.168.178.41
            pi@iobroker5:~$ curl -sL https://iobroker.net/install.sh | bash -
            library: loaded
            Library version=2020-12-07
            
            ==========================================================================
            
                Welcome to the ioBroker installer!
                Installer version: 2020-12-07
            
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            [sudo] Passwort für pi:
            OK:1 http://deb.debian.org/debian buster InRelease
            OK:2 http://security.debian.org/debian-security buster/updates InRelease
            OK:3 http://deb.debian.org/debian buster-updates InRelease
            Paketlisten werden gelesen... Fertig
            
            ==========================================================================
            
                Node.js not found. Installing...
            
            ==========================================================================
            
            
            ## Installing the NodeSource Node.js 12.x repo...
            
            
            ## Populating apt-get cache...
            
            + apt-get update
            OK:1 http://security.debian.org/debian-security buster/updates InRelease
            OK:2 http://deb.debian.org/debian buster InRelease
            OK:3 http://deb.debian.org/debian buster-updates InRelease
            Paketlisten werden gelesen... Fertig
            
            ## Installing packages required for setup: gnupg...
            
            + apt-get install -y gnupg > /dev/null 2>&1
            
            ## Confirming "buster" is supported...
            
            + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Rele                                                                                         ase'
            
            ## Adding the NodeSource signing key to your keyring...
            
            + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
            OK
            
            ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
            
            + echo 'deb https://deb.nodesource.com/node_12.x buster main' > /etc/apt/sources                                                                                         .list.d/nodesource.list
            + echo 'deb-src https://deb.nodesource.com/node_12.x buster main' >> /etc/apt/so                                                                                         urces.list.d/nodesource.list
            
            ## Running `apt-get update` for you...
            
            + apt-get update
            OK:1 http://security.debian.org/debian-security buster/updates InRelease
            OK:2 http://deb.debian.org/debian buster InRelease
            OK:3 http://deb.debian.org/debian buster-updates InRelease
            Holen:4 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]
            Holen:5 https://deb.nodesource.com/node_12.x buster/main amd64 Packages [765 B]
            Es wurden 5.349 B in 1 s geholt (4.498 B/s).
            Paketlisten werden gelesen... Fertig
            
            ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
            ## You may also need development tools to build native addons:
                 sudo apt-get install gcc g++ make
            ## To install the Yarn package manager, run:
                 curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/s                                                                                         ources.list.d/yarn.list
                 sudo apt-get update && sudo apt-get install yarn
            
            
            Installed nodejs
            Node.js Installed successfully!
            Changing npm registry to https://registry.npmjs.org
            Installed build-essential
            Installed gcc-c++
            Installed libavahi-compat-libdnssd-dev
            Installed libudev-dev
            Installed libpam0g-dev
            Installed git
            Installed net-tools
            Installed python-dev
            
            ==========================================================================
                Creating ioBroker user and directory (2/4)
            ==========================================================================
            
            User iobroker created
            Created /etc/sudoers.d/iobroker
            Directory /opt/iobroker created
            
            ==========================================================================
                Installing ioBroker (3/4)
            ==========================================================================
            
            In file included from ../../nan/nan.h:56,
                             from ../src/main.cpp:3:
            /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon    _register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                   (node::addon_register_func) (regfunc),                          \
                                                       ^
            /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
               ^~~~~~~~~~~~~
            ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
             NODE_MODULE(diskusage, Init)
             ^~~~~~~~~~~
            In file included from ../../nan/nan.h:56,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon    _register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                   (node::addon_register_func) (regfunc),                          \
                                                       ^
            /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
               ^~~~~~~~~~~~~
            ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
             NODE_MODULE(unix_dgram, Initialize)
             ^~~~~~~~~~~
            
            ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
            
            ioBroker wants to make sure to deliver the most stable smart home system.
            To allow this we decided to implement an automatic error and crash reporting solution into the js-controller and also into adapters.
            
            THIS REPORTING WILL BE ENABLED WITH THE NEXT START OF YOUR IOBROKER!
            
            For any error that leads to the crash of the js-controller or one of the relevant adapters the error details are send to a server. For the js-controller and core ada    pters this server is located and operated in germany. For community adapters please check the Github Readme of the affected adapter for details which Sentry server i    s used.
            
            If you want to disable the error reporting you can use the command
            'iobroker plugin disable sentry'
            This command will also make sure that no adapter that runs on this host will send crash reporting data to sentry.
            
            
            
            ==========================================================================
                Finalizing installation (4/4)
            ==========================================================================
            
            Enabling autostart...
            Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
            Autostart enabled!
            Fixing directory permissions...
            
            ==========================================================================
            
                ioBroker was installed successfully
                Open http://192.168.178.108:8081 in a browser and start configuring!
            
            ==========================================================================
            
            
            You need to re-login before doing anything else on the console!
            
            
            HomoranH 1 Antwort Letzte Antwort
            0
            • M Mercator

              @Thomas-Braun Ja, ich denke auch, dass im Altsystem etwas vermurkst ist, daher plane ich den Umzug auf ein Neues. Das sehe ich im Moment auch erstmal als ein getrenntes Problem an.
              Aber wie gesagt, die Fehlermeldung vom Install-Script kommt ja auf einem ganz frischen Debian und ist reproduzierbar?!?

              Ich habe zwischenzeitlich 5 VM´s erstellt (straight forward, mal mit mal ohne GUI oder Web Server, immer plus SSH-Server, auch wieder nicht mit user root, sondern mit sudo pi gearbeitet, 1 x debian-10.7.0-amd64-netinst.iso neu runtergeladen und neu installiert) und bekomme bei "Installing ioBroker (3/4)" immer diese node-gyp Fehler.

              Würde mich normalerweise vermutlich auch nicht weiter stören, nur hat mein Produktivsystem halt genau ein Problem mit node-gyp, weshalb ich hier schon gerne ein "sauberes" neues System hätte, um den Fehler im Alt-System auszumerzen ;-)

              Lieben Dank aber für eure Mühe und Antwort!

              Beispiel:
              Letzte VM mit debian-10.7.0-amd64-netinst erstellt und dann nur apt-get install -y sudo, adduser pi sudo, via Putty apt-gets gemacht und curl installiert. Reboot.
              Dann kam nach curl -sL https://iobroker.net/install.sh | bash -

              Last login: Sun Dec 20 17:46:19 2020 from 192.168.178.41
              pi@iobroker5:~$ curl -sL https://iobroker.net/install.sh | bash -
              library: loaded
              Library version=2020-12-07
              
              ==========================================================================
              
                  Welcome to the ioBroker installer!
                  Installer version: 2020-12-07
              
                  You might need to enter your password a couple of times.
              
              ==========================================================================
              
              
              ==========================================================================
                  Installing prerequisites (1/4)
              ==========================================================================
              
              [sudo] Passwort für pi:
              OK:1 http://deb.debian.org/debian buster InRelease
              OK:2 http://security.debian.org/debian-security buster/updates InRelease
              OK:3 http://deb.debian.org/debian buster-updates InRelease
              Paketlisten werden gelesen... Fertig
              
              ==========================================================================
              
                  Node.js not found. Installing...
              
              ==========================================================================
              
              
              ## Installing the NodeSource Node.js 12.x repo...
              
              
              ## Populating apt-get cache...
              
              + apt-get update
              OK:1 http://security.debian.org/debian-security buster/updates InRelease
              OK:2 http://deb.debian.org/debian buster InRelease
              OK:3 http://deb.debian.org/debian buster-updates InRelease
              Paketlisten werden gelesen... Fertig
              
              ## Installing packages required for setup: gnupg...
              
              + apt-get install -y gnupg > /dev/null 2>&1
              
              ## Confirming "buster" is supported...
              
              + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/buster/Rele                                                                                         ase'
              
              ## Adding the NodeSource signing key to your keyring...
              
              + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
              OK
              
              ## Creating apt sources list file for the NodeSource Node.js 12.x repo...
              
              + echo 'deb https://deb.nodesource.com/node_12.x buster main' > /etc/apt/sources                                                                                         .list.d/nodesource.list
              + echo 'deb-src https://deb.nodesource.com/node_12.x buster main' >> /etc/apt/so                                                                                         urces.list.d/nodesource.list
              
              ## Running `apt-get update` for you...
              
              + apt-get update
              OK:1 http://security.debian.org/debian-security buster/updates InRelease
              OK:2 http://deb.debian.org/debian buster InRelease
              OK:3 http://deb.debian.org/debian buster-updates InRelease
              Holen:4 https://deb.nodesource.com/node_12.x buster InRelease [4.584 B]
              Holen:5 https://deb.nodesource.com/node_12.x buster/main amd64 Packages [765 B]
              Es wurden 5.349 B in 1 s geholt (4.498 B/s).
              Paketlisten werden gelesen... Fertig
              
              ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
              ## You may also need development tools to build native addons:
                   sudo apt-get install gcc g++ make
              ## To install the Yarn package manager, run:
                   curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
                   echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/s                                                                                         ources.list.d/yarn.list
                   sudo apt-get update && sudo apt-get install yarn
              
              
              Installed nodejs
              Node.js Installed successfully!
              Changing npm registry to https://registry.npmjs.org
              Installed build-essential
              Installed gcc-c++
              Installed libavahi-compat-libdnssd-dev
              Installed libudev-dev
              Installed libpam0g-dev
              Installed git
              Installed net-tools
              Installed python-dev
              
              ==========================================================================
                  Creating ioBroker user and directory (2/4)
              ==========================================================================
              
              User iobroker created
              Created /etc/sudoers.d/iobroker
              Directory /opt/iobroker created
              
              ==========================================================================
                  Installing ioBroker (3/4)
              ==========================================================================
              
              In file included from ../../nan/nan.h:56,
                               from ../src/main.cpp:3:
              /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon    _register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(diskusage, Init)
               ^~~~~~~~~~~
              In file included from ../../nan/nan.h:56,
                               from ../src/unix_dgram.cc:5:
              /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:737:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon    _register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                     (node::addon_register_func) (regfunc),                          \
                                                         ^
              /home/pi/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro ‘NODE_MODULE_X’
                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                 ^~~~~~~~~~~~~
              ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
               NODE_MODULE(unix_dgram, Initialize)
               ^~~~~~~~~~~
              
              ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
              
              ioBroker wants to make sure to deliver the most stable smart home system.
              To allow this we decided to implement an automatic error and crash reporting solution into the js-controller and also into adapters.
              
              THIS REPORTING WILL BE ENABLED WITH THE NEXT START OF YOUR IOBROKER!
              
              For any error that leads to the crash of the js-controller or one of the relevant adapters the error details are send to a server. For the js-controller and core ada    pters this server is located and operated in germany. For community adapters please check the Github Readme of the affected adapter for details which Sentry server i    s used.
              
              If you want to disable the error reporting you can use the command
              'iobroker plugin disable sentry'
              This command will also make sure that no adapter that runs on this host will send crash reporting data to sentry.
              
              
              
              ==========================================================================
                  Finalizing installation (4/4)
              ==========================================================================
              
              Enabling autostart...
              Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
              Autostart enabled!
              Fixing directory permissions...
              
              ==========================================================================
              
                  ioBroker was installed successfully
                  Open http://192.168.178.108:8081 in a browser and start configuring!
              
              ==========================================================================
              
              
              You need to re-login before doing anything else on the console!
              
              
              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #333

              @Mercator sagte in Neue Installationsroutine (für Linux):

              die Fehlermeldung vom Install-Script kommt ja auf einem ganz frischen Debian und ist reproduzierbar?!?

              ist bekannt! und

              @Thomas-Braun sagte in Neue Installationsroutine (für Linux):

              Sind definitiv Fehler beim build.
              Die Meldungen beim der Installation sind harmlos,

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Antwort Letzte Antwort
              0
              • apollon77A Offline
                apollon77A Offline
                apollon77
                schrieb am zuletzt editiert von
                #334

                Es ist wahscheinlicher das unix_dgram inzwischen fpr nodejs 14 optimiert udn und ggf mit nodejs 12 solche fehler ausgibt. Müssen wir checken

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                1 Antwort Letzte Antwort
                0
                • apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #335

                  kann jemand auf so einem system bitte mal schauen welche unix_dgram version installiert wurde?

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • apollon77A apollon77

                    kann jemand auf so einem system bitte mal schauen welche unix_dgram version installiert wurde?

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

                    @apollon77

                    pi@raspberrypi:/opt/iobroker $ npm list unix-dgram
                    iobroker.inst@2.0.3 /opt/iobroker
                    └─┬ iobroker.js-controller@3.1.6
                       └─┬ winston-syslog@2.4.4
                          └── unix-dgram@2.0.3
                    
                    pi@raspberrypi:/opt/iobroker $ node -v
                    v15.4.0
                    

                    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

                    1 Antwort Letzte Antwort
                    0
                    • apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #337

                      Ok ... nodejs 15 gilt net ... da fang ich gar nicht an zu schauen :-)

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      Thomas BraunT F 2 Antworten Letzte Antwort
                      0
                      • apollon77A apollon77

                        Ok ... nodejs 15 gilt net ... da fang ich gar nicht an zu schauen :-)

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

                        @apollon77 Ja,ich weiß... Läuft allerdings superunauffällig mit den von mir verwendeten Adaptern.

                        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

                        1 Antwort Letzte Antwort
                        0
                        • apollon77A apollon77

                          Ok ... nodejs 15 gilt net ... da fang ich gar nicht an zu schauen :-)

                          F Offline
                          F Offline
                          fastfoot
                          schrieb am zuletzt editiert von
                          #339

                          @apollon77 sagte in Neue Installationsroutine (für Linux):

                          Ok ... nodejs 15 gilt net ... da fang ich gar nicht an zu schauen :-)

                          ist aber gleich mit node 14.15.3 und node 12.20.0

                          iobroker läuft unter Docker auf QNAP TS-451+
                          SkriptRecovery: https://forum.iobroker.net/post/930558

                          apollon77A 1 Antwort Letzte Antwort
                          0
                          • F fastfoot

                            @apollon77 sagte in Neue Installationsroutine (für Linux):

                            Ok ... nodejs 15 gilt net ... da fang ich gar nicht an zu schauen :-)

                            ist aber gleich mit node 14.15.3 und node 12.20.0

                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            schrieb am zuletzt editiert von
                            #340

                            @fastfoot Und da wirds interessant weil auf meine System nicht ... Also mal wieder irgendwas was tiefer drin liegt :-( Auch die Testings zeigen diese meldungen nicht. Strange

                            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            M 1 Antwort Letzte Antwort
                            0
                            • eric2905E eric2905

                              Hallo ioBroker-Gemeinde,

                              wir haben die Installationsroutine für ioBroker (für Linux-basierte Systeme wie Raspberry, Debian, Ubuntu, usw.) grundlegend geändert.

                              Sie erfolgt nun Scriptbasiert und ist nicht mehr so anfällig für die klassischen Fehlerquellen wie

                              • falscher User

                              • kein Autostart

                              • usw.

                              Dahingehend haben wir auch die Doku entsprechend angepasst und diese auch gleich gesplittet. Es gibt nun Anleitungen für

                              • http://www.iobroker.net/docu/?page_id=8323&lang=de

                              Für diejenigen unter euch, die bei der scriptbasierten Installation Sicherheitsbedenken haben, was wir auch völlig verstehen und nachvollziehen können, ist in der Anleitung der Link zum Installationsscript mit hinterlegt. So könnt ihr dieses Script selber sichten, prüfen, bewerten und dann für euch selber entscheiden, ob ihr den Weg nehmen wollt.

                              Für diejenigen, die die scriptbasierte Installation nicht möchten, ist der "alte" Installationsweg ebenfalls noch vorhanden und als Alternative in den neuen Anleitungen angegeben.

                              Aber : Der "alte" Weg ist nun etwas aufwändiger geworden.

                              Der erste Aufruf lädt nur die Installationspakete. Es erfolgt dann eine Bildschirmausgabe, mit welchem weiteren Befehl die reine Installation dann gestartet werden muss. Im Anschluss daran erfolgt dann eine weitere Bildschirmausgabe mit den, für den Autostart notwendigen, drei weiteren Befehlen, die an der Konsole ausgeführt werden müssen.

                              Hier müsst ihr selber entscheiden, was euch lieber ist ;)

                              Durch einige Änderungen im npm (nicht durch uns!), ist dieser Weg (Installation über "sudo npm install iobroker –unsafe-perm" aus der alten Anleitung) nicht mehr zu empfehlen. Es kann dazu führen, das es später Installationsprobleme mit Adaptern gibt. Dazu gibt es jetzt auch einen sep. Thread hier im Forum (==> https://forum.iobroker.net/viewtopic.php?f=8&t=19209#p200327), der genau auf diese Problematik eingeht und möglich Lösungsansätze aufzeigt. Daher ist die neue Installationsroutine zu empfehlen.

                              Wenn ihr Rückmeldungen zur neuen Anleitung habe, bitte einfach melden. Wir sind für jede (konstruktive :P ) Kritik offen.

                              Viel Spaß,

                              Euer ioBroker-Team

                              Dominic ReberD Offline
                              Dominic ReberD Offline
                              Dominic Reber
                              schrieb am zuletzt editiert von Dominic Reber
                              #341

                              @eric2905
                              Der link https://www.raspberrypi.org/downloads/raspbian/ ist nicht mehr aktuell in eurer Anleitung

                              Ist neu:
                              https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit

                              HomoranH 1 Antwort Letzte Antwort
                              0
                              • Dominic ReberD Dominic Reber

                                @eric2905
                                Der link https://www.raspberrypi.org/downloads/raspbian/ ist nicht mehr aktuell in eurer Anleitung

                                Ist neu:
                                https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit

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

                                @Dominic-Reber sagte in Neue Installationsroutine (für Linux):

                                in eurer Anleitung

                                Welche?

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @fastfoot Und da wirds interessant weil auf meine System nicht ... Also mal wieder irgendwas was tiefer drin liegt :-( Auch die Testings zeigen diese meldungen nicht. Strange

                                  M Offline
                                  M Offline
                                  Mercator
                                  schrieb am zuletzt editiert von
                                  #343

                                  @apollon77 Falls noch benötigt, dies sind die Ausgaben von dem frisch aufgesetzten debian-10.7.0-amd64-netinst und per Script installiertem nodejs usw...

                                  pi@iobroker5:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && whoami && npm list unix-dgram
                                  /usr/bin/nodejs
                                  v12.20.0
                                  /usr/bin/node
                                  v12.20.0
                                  /usr/bin/npm
                                  6.14.8
                                  nodejs:
                                    Installiert:           12.20.0-1nodesource1
                                    Installationskandidat: 12.20.0-1nodesource1
                                    Versionstabelle:
                                   *** 12.20.0-1nodesource1 500
                                          500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                                          100 /var/lib/dpkg/status
                                       10.21.0~dfsg-1~deb10u1 500
                                          500 http://deb.debian.org/debian buster/main amd64 Packages
                                          500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                           Runlevel 5   2020-12-22 12:41
                                  pi
                                  /home/pi
                                  └── (empty)
                                  
                                  
                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • M Mercator

                                    @apollon77 Falls noch benötigt, dies sind die Ausgaben von dem frisch aufgesetzten debian-10.7.0-amd64-netinst und per Script installiertem nodejs usw...

                                    pi@iobroker5:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && whoami && npm list unix-dgram
                                    /usr/bin/nodejs
                                    v12.20.0
                                    /usr/bin/node
                                    v12.20.0
                                    /usr/bin/npm
                                    6.14.8
                                    nodejs:
                                      Installiert:           12.20.0-1nodesource1
                                      Installationskandidat: 12.20.0-1nodesource1
                                      Versionstabelle:
                                     *** 12.20.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         10.21.0~dfsg-1~deb10u1 500
                                            500 http://deb.debian.org/debian buster/main amd64 Packages
                                            500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                             Runlevel 5   2020-12-22 12:41
                                    pi
                                    /home/pi
                                    └── (empty)
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #344

                                    @Mercator Du musst dazu in /opt/iobroker stehen. In deinem ~ liegt kein node-Projekt.

                                    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

                                    M 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @Mercator Du musst dazu in /opt/iobroker stehen. In deinem ~ liegt kein node-Projekt.

                                      M Offline
                                      M Offline
                                      Mercator
                                      schrieb am zuletzt editiert von
                                      #345

                                      @Thomas-Braun sorry...

                                      pi@iobroker5:/opt/iobroker$ npm list unix-dgram           
                                      iobroker.inst@2.0.3 /opt/iobroker
                                      └─┬ iobroker.js-controller@3.1.6
                                        └─┬ winston-syslog@2.4.4
                                          └── unix-dgram@2.0.3
                                      
                                      
                                      1 Antwort Letzte Antwort
                                      0
                                      • I Offline
                                        I Offline
                                        IOBaer
                                        schrieb am zuletzt editiert von IOBaer
                                        #346

                                        Welches Betriebssystem wird für den Raspberry aktuell empfohlen?

                                        Und welche Anleitung passt im Moment? Nach wie vor die https://www.iobroker.net/#de/documentation/install/linux.md ?

                                        Danke für Tipps -möchte / muss mal einen neuen ioBroker aufsetzen.

                                        HomoranH 1 Antwort Letzte Antwort
                                        0
                                        • I IOBaer

                                          Welches Betriebssystem wird für den Raspberry aktuell empfohlen?

                                          Und welche Anleitung passt im Moment? Nach wie vor die https://www.iobroker.net/#de/documentation/install/linux.md ?

                                          Danke für Tipps -möchte / muss mal einen neuen ioBroker aufsetzen.

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

                                          @iobaer sagte in Neue Installationsroutine (für Linux):

                                          Welches Betriebssystem wird für den Raspberry aktuell empfohlen?

                                          wie immer: RaspberryPi OS lite

                                          @iobaer sagte in Neue Installationsroutine (für Linux):

                                          Und welche Anleitung passt im Moment? Nach wie vor

                                          Jein, wir warten noch auf Feedback für die Kurzanleitung, die noch nicht auf der Website liegt:
                                          https://github.com/Homoran/iobroker.install

                                          und bitte Feedback dazu!

                                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          I 1 Antwort Letzte Antwort
                                          1
                                          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

                                          742

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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