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. Error/Bug
  4. [gelöst] Stromausfall Web-Oberfläche öffnet sich nicht mehr

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    331

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

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

[gelöst] Stromausfall Web-Oberfläche öffnet sich nicht mehr

Geplant Angeheftet Gesperrt Verschoben Error/Bug
53 Beiträge 4 Kommentatoren 4.6k Aufrufe 3 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.
  • BerserkerB Berserker

    @thomas-braun

    Sorry

    pi@pi:~ $ iobroker status
    internal/modules/cjs/loader.js:818
      throw err;
      ^
    
    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
        at Function.Module._load (internal/modules/cjs/loader.js:667:27)
        at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
        at internal/main/run_main_module.js:17:47 {
      code: 'MODULE_NOT_FOUND',
      requireStack: []
    }
    pi@pi:~ $ 
    
    
    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #6

    @berserker
    Versuch mal

    cd /opt/iobroker/
    sudo -H -u iobroker npm install iobroker.js-controller
    

    An der Stelle ist ein sudo korrekt...

    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

    BerserkerB 1 Antwort Letzte Antwort
    1
    • Thomas BraunT Thomas Braun

      @berserker
      Versuch mal

      cd /opt/iobroker/
      sudo -H -u iobroker npm install iobroker.js-controller
      

      An der Stelle ist ein sudo korrekt...

      BerserkerB Offline
      BerserkerB Offline
      Berserker
      schrieb am zuletzt editiert von
      #7

      @thomas-braun

      Das kommt dabei raus

      pi@pi:~ $ cd /opt/iobroker
      pi@pi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
      
      > iobroker.js-controller@3.2.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.14.12
      
      > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
      > node-gyp rebuild
      
      make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
        CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
      ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
      ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                             ^
      In file included from ../authenticate_pam.cc:23:
      ../../nan/nan.h:1026:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
         Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                             ^
      In file included from ../authenticate_pam.cc:23:
      ../../nan/nan.h:1026:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                         ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
                       from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
                       from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
         V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                         ^~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                           ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                           ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
                       from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
                       from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
         V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                         ^~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                        ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
        username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
        password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                ^
      In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                       from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
         int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
             ^~~~~~~~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
      ../authenticate_pam.cc: At global scope:
      ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
       void init(Handle<Object> exports) {
                 ^~~~~~
      ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
      ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
       void init(Handle<Object> exports) {
                 ^~~~~~
                 rand_r
      ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
       void init(Handle<Object> exports) {
                              ^
      ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
       void init(Handle<Object> exports) {
                                ^~~~~~~
      In file included from ../../nan/nan.h:56,
                       from ../authenticate_pam.cc:23:
      ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
       NODE_MODULE(authenticate_pam, init);
                                     ^~~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
             (node::addon_register_func) (regfunc),                          \
                                          ^~~~~~~
      ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(authenticate_pam, init);
       ^~~~~~~~~~~
      ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
       NODE_MODULE(authenticate_pam, init);
                                     ^~~~
      /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
             (node::addon_register_func) (regfunc),                          \
                                          ^~~~~~~
      ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(authenticate_pam, init);
       ^~~~~~~~~~~
      make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
      make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
      gyp ERR! build error 
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
      gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
      gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
      gyp ERR! System Linux 5.10.17-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-pam
      gyp ERR! node -v v12.22.1
      gyp ERR! node-gyp -v v5.1.0
      gyp ERR! not ok 
      
      > iobroker.js-controller@3.2.16 install /opt/iobroker/node_modules/iobroker.js-controller
      > node iobroker.js setup first
      
       Cannot read system.config: null (OK when migrating or restoring)
      object 0_userdata.0.example_state created
      object 0_userdata.0 created
      object alias.0 created
      object system.certificates created
      object system.repositories created
      object system.config created
      object enum.functions created
      object enum.rooms created
      object system.group.user created
      object system.group.administrator created
      object _design/system created
      
      The following notifications happened during sync: 
      - Ignoring Directory "admin.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "alexa2.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "backitup.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "deconz.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "discovery.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "eufy-security.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "history.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "homee.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "hue.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "info.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "javascript.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "ph803w.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "sonos.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "terminal" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "terminal.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "web" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "web.admin" because officially not created as meta object. Please remove directory!
      - Ignoring Directory "yahka.admin" because officially not created as meta object. Please remove directory!
      
      Renamed repository "default to "stable"
      Renamed repository "latest to "beta"
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
      
      + iobroker.js-controller@3.2.16
      added 13 packages from 33 contributors in 35.592s
      
      54 packages are looking for funding
        run `npm fund` for details
      
      
      
         ╭────────────────────────────────────────────────────────────────╮
         │                                                                │
         │      New major version of npm available! 6.14.12 → 7.19.0      │
         │   Changelog: https://github.com/npm/cli/releases/tag/v7.19.0   │
         │               Run npm install -g npm to update!                │
         │                                                                │
         ╰────────────────────────────────────────────────────────────────╯
      
      pi@pi:/opt/iobroker $ 
      
      
      Thomas BraunT HomoranH 2 Antworten Letzte Antwort
      0
      • BerserkerB Berserker

        @thomas-braun

        Das kommt dabei raus

        pi@pi:~ $ cd /opt/iobroker
        pi@pi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
        
        > iobroker.js-controller@3.2.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
        > node lib/preinstallCheck.js
        
        NPM version: 6.14.12
        
        > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
        > node-gyp rebuild
        
        make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
          CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
        ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                               ^
        In file included from ../authenticate_pam.cc:23:
        ../../nan/nan.h:1026:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                               ^
        In file included from ../authenticate_pam.cc:23:
        ../../nan/nan.h:1026:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                           ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
                         from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
                         from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                         from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                           ^~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
            serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                             ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                         from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                             ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
                         from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
                         from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                         from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                           ^~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
            remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                          ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                         from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                  ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                         from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                  ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                         from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc: At global scope:
        ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
         void init(Handle<Object> exports) {
                   ^~~~~~
        ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
        ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
         void init(Handle<Object> exports) {
                   ^~~~~~
                   rand_r
        ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
         void init(Handle<Object> exports) {
                                ^
        ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
         void init(Handle<Object> exports) {
                                  ^~~~~~~
        In file included from ../../nan/nan.h:56,
                         from ../authenticate_pam.cc:23:
        ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
         NODE_MODULE(authenticate_pam, init);
                                       ^~~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
               (node::addon_register_func) (regfunc),                          \
                                            ^~~~~~~
        ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(authenticate_pam, init);
         ^~~~~~~~~~~
        ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
         NODE_MODULE(authenticate_pam, init);
                                       ^~~~
        /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
               (node::addon_register_func) (regfunc),                          \
                                            ^~~~~~~
        ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(authenticate_pam, init);
         ^~~~~~~~~~~
        make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
        make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
        gyp ERR! build error 
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
        gyp ERR! System Linux 5.10.17-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-pam
        gyp ERR! node -v v12.22.1
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok 
        
        > iobroker.js-controller@3.2.16 install /opt/iobroker/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
         Cannot read system.config: null (OK when migrating or restoring)
        object 0_userdata.0.example_state created
        object 0_userdata.0 created
        object alias.0 created
        object system.certificates created
        object system.repositories created
        object system.config created
        object enum.functions created
        object enum.rooms created
        object system.group.user created
        object system.group.administrator created
        object _design/system created
        
        The following notifications happened during sync: 
        - Ignoring Directory "admin.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "alexa2.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "backitup.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "deconz.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "discovery.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "eufy-security.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "history.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "homee.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "hue.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "info.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "javascript.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "ph803w.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "sonos.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "terminal" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "terminal.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "web" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "web.admin" because officially not created as meta object. Please remove directory!
        - Ignoring Directory "yahka.admin" because officially not created as meta object. Please remove directory!
        
        Renamed repository "default to "stable"
        Renamed repository "latest to "beta"
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
        
        + iobroker.js-controller@3.2.16
        added 13 packages from 33 contributors in 35.592s
        
        54 packages are looking for funding
          run `npm fund` for details
        
        
        
           ╭────────────────────────────────────────────────────────────────╮
           │                                                                │
           │      New major version of npm available! 6.14.12 → 7.19.0      │
           │   Changelog: https://github.com/npm/cli/releases/tag/v7.19.0   │
           │               Run npm install -g npm to update!                │
           │                                                                │
           ╰────────────────────────────────────────────────────────────────╯
        
        pi@pi:/opt/iobroker $ 
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #8

        @berserker Der erste Teil mit den Fehlern stammt vom terminal-Adapter. Den würde ich rauswerfen, wenn das System wieder läuft.

        iobroker restart
        iobroker status
        iobroker list instances
        

        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

        BerserkerB 1 Antwort Letzte Antwort
        1
        • BerserkerB Berserker

          @thomas-braun

          Ok

          Ich bin dankbar für jeden Tipp.
          Verstehen tue ich das alles nicht, ich copy paste nur was anscheinend bei anderen funktioniert haben soll :(

          internal/modules/cjs/loader.js:818
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
              at Function.Module._load (internal/modules/cjs/loader.js:667:27)
              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
              at internal/main/run_main_module.js:17:47 {
            code: 'MODULE_NOT_FOUND',
            requireStack: []
          }
          
          
          HomoranH Offline
          HomoranH Offline
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #9

          @berserker sagte in Stromausfall Web-Oberfläche öffnet sich nicht mehr:

          ich copy paste nur was anscheinend bei anderen funktioniert haben soll

          wenn du so etwas machst musst du aber genau darauf achten, für welche Installation diese codes genutzt wurden.
          Da hat sich in den 7 Jahren ioBroker einiges geändert

          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
          1
          • Thomas BraunT Thomas Braun

            @berserker Der erste Teil mit den Fehlern stammt vom terminal-Adapter. Den würde ich rauswerfen, wenn das System wieder läuft.

            iobroker restart
            iobroker status
            iobroker list instances
            
            BerserkerB Offline
            BerserkerB Offline
            Berserker
            schrieb am zuletzt editiert von
            #10

            @thomas-braun

            Okay werde ich machen

            Ausgabe ist folgendes:

            pi@pi:/opt/iobroker $ iobroker restart
            pi@pi:/opt/iobroker $ iobroker status
            iobroker is running on this host.
            
            
            Objects type: file
            States  type: file
            pi@pi:/opt/iobroker $ iobroker list instances
            
            
            + instance is alive
            pi@pi:/opt/iobroker $ 
            
            

            Danke schonmal für die Hilfe!!

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • BerserkerB Berserker

              @thomas-braun

              Okay werde ich machen

              Ausgabe ist folgendes:

              pi@pi:/opt/iobroker $ iobroker restart
              pi@pi:/opt/iobroker $ iobroker status
              iobroker is running on this host.
              
              
              Objects type: file
              States  type: file
              pi@pi:/opt/iobroker $ iobroker list instances
              
              
              + instance is alive
              pi@pi:/opt/iobroker $ 
              
              

              Danke schonmal für die Hilfe!!

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

              @berserker

              iobroker list adapters
              

              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

              BerserkerB 1 Antwort Letzte Antwort
              1
              • Thomas BraunT Thomas Braun

                @berserker

                iobroker list adapters
                
                BerserkerB Offline
                BerserkerB Offline
                Berserker
                schrieb am zuletzt editiert von
                #12

                @thomas-braun

                da kommt nichts

                pi@pi:/opt/iobroker $ iobroker list adapters
                pi@pi:/opt/iobroker $ 
                
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • BerserkerB Berserker

                  @thomas-braun

                  da kommt nichts

                  pi@pi:/opt/iobroker $ iobroker list adapters
                  pi@pi:/opt/iobroker $ 
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #13

                  @berserker Okay.

                  iobroker add admin
                  

                  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

                  BerserkerB 1 Antwort Letzte Antwort
                  1
                  • BerserkerB Berserker

                    @thomas-braun

                    Das kommt dabei raus

                    pi@pi:~ $ cd /opt/iobroker
                    pi@pi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                    
                    > iobroker.js-controller@3.2.16 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                    > node lib/preinstallCheck.js
                    
                    NPM version: 6.14.12
                    
                    > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
                    > node-gyp rebuild
                    
                    make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
                      CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
                    ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
                    ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                       Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                           ^
                    In file included from ../authenticate_pam.cc:23:
                    ../../nan/nan.h:1026:46: note: declared here
                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                  ^~~~~~~~~~~~
                    ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                       Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                           ^
                    In file included from ../authenticate_pam.cc:23:
                    ../../nan/nan.h:1026:46: note: declared here
                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                  ^~~~~~~~~~~~
                    ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
                    ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                                       ^
                    In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
                                     from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
                                     from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                                     from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
                       V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                       ^~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                        serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                                         ^
                    In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                                     from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                       int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                           ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                    ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                       res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                                         ^
                    In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8-internal.h:14,
                                     from /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:27,
                                     from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                                     from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:3553:51: note: declared here
                       V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                                       ^~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
                       declarator __attribute__((deprecated(message)))
                       ^~~~~~~~~~
                    ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                        remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                                      ^
                    In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                                     from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                       int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                           ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                    ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                      username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                              ^
                    In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                                     from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                       int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                           ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                    ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
                      password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                              ^
                    In file included from /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:67,
                                     from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
                       int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                           ^~~~~~~~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                    ../authenticate_pam.cc: At global scope:
                    ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
                     void init(Handle<Object> exports) {
                               ^~~~~~
                    ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                    ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
                     void init(Handle<Object> exports) {
                               ^~~~~~
                               rand_r
                    ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
                     void init(Handle<Object> exports) {
                                            ^
                    ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
                     void init(Handle<Object> exports) {
                                              ^~~~~~~
                    In file included from ../../nan/nan.h:56,
                                     from ../authenticate_pam.cc:23:
                    ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
                     NODE_MODULE(authenticate_pam, init);
                                                   ^~~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
                           (node::addon_register_func) (regfunc),                          \
                                                        ^~~~~~~
                    ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(authenticate_pam, init);
                     ^~~~~~~~~~~
                    ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
                     NODE_MODULE(authenticate_pam, init);
                                                   ^~~~
                    /home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
                           (node::addon_register_func) (regfunc),                          \
                                                        ^~~~~~~
                    ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
                     NODE_MODULE(authenticate_pam, init);
                     ^~~~~~~~~~~
                    make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                    make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
                    gyp ERR! build error 
                    gyp ERR! stack Error: `make` failed with exit code: 2
                    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                    gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
                    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
                    gyp ERR! System Linux 5.10.17-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-pam
                    gyp ERR! node -v v12.22.1
                    gyp ERR! node-gyp -v v5.1.0
                    gyp ERR! not ok 
                    
                    > iobroker.js-controller@3.2.16 install /opt/iobroker/node_modules/iobroker.js-controller
                    > node iobroker.js setup first
                    
                     Cannot read system.config: null (OK when migrating or restoring)
                    object 0_userdata.0.example_state created
                    object 0_userdata.0 created
                    object alias.0 created
                    object system.certificates created
                    object system.repositories created
                    object system.config created
                    object enum.functions created
                    object enum.rooms created
                    object system.group.user created
                    object system.group.administrator created
                    object _design/system created
                    
                    The following notifications happened during sync: 
                    - Ignoring Directory "admin.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "alexa2.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "backitup.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "deconz.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "discovery.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "eufy-security.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "history.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "homee.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "hue.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "info.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "javascript.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "ph803w.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "sonos.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "terminal" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "terminal.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "web" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "web.admin" because officially not created as meta object. Please remove directory!
                    - Ignoring Directory "yahka.admin" because officially not created as meta object. Please remove directory!
                    
                    Renamed repository "default to "stable"
                    Renamed repository "latest to "beta"
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: `node-gyp rebuild`
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                    
                    + iobroker.js-controller@3.2.16
                    added 13 packages from 33 contributors in 35.592s
                    
                    54 packages are looking for funding
                      run `npm fund` for details
                    
                    
                    
                       ╭────────────────────────────────────────────────────────────────╮
                       │                                                                │
                       │      New major version of npm available! 6.14.12 → 7.19.0      │
                       │   Changelog: https://github.com/npm/cli/releases/tag/v7.19.0   │
                       │               Run npm install -g npm to update!                │
                       │                                                                │
                       ╰────────────────────────────────────────────────────────────────╯
                    
                    pi@pi:/opt/iobroker $ 
                    
                    
                    HomoranH Offline
                    HomoranH Offline
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #14

                    @berserker sagte in Stromausfall Web-Oberfläche öffnet sich nicht mehr:

                    Cannot read system.config: null (OK when migrating or restoring)

                    Da gibt's Arbeit für das Mini HowTo

                    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
                    • Thomas BraunT Thomas Braun

                      @berserker Okay.

                      iobroker add admin
                      
                      BerserkerB Offline
                      BerserkerB Offline
                      Berserker
                      schrieb am zuletzt editiert von
                      #15

                      @thomas-braun said in Stromausfall Web-Oberfläche öffnet sich nicht mehr:

                      iobroker add admin

                      pi@pi:/opt/iobroker $ iobroker add admin
                      host.pi install adapter admin
                      upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                      upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                      upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                      upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                      host.pi object system.adapter.admin created/updated
                      host.pi create instance admin
                      host.pi object admin.0.info.newsETag created
                      host.pi object admin.0.info.newsfeed created
                      host.pi object admin.0.connected created
                      host.pi object admin.0 created
                      host.pi object admin.0.info created
                      host.pi object system.adapter.admin.upload created
                      host.pi object system.adapter.admin.0.logLevel created
                      host.pi object system.adapter.admin.0.sigKill created
                      host.pi object system.adapter.admin.0.eventLoopLag created
                      host.pi object system.adapter.admin.0.outputCount created
                      host.pi object system.adapter.admin.0.inputCount created
                      host.pi object system.adapter.admin.0.uptime created
                      host.pi object system.adapter.admin.0.memRss created
                      host.pi object system.adapter.admin.0.memHeapTotal created
                      host.pi object system.adapter.admin.0.memHeapUsed created
                      host.pi object system.adapter.admin.0.cputime created
                      host.pi object system.adapter.admin.0.cpu created
                      host.pi object system.adapter.admin.0.compactMode created
                      host.pi object system.adapter.admin.0.connected created
                      host.pi object system.adapter.admin.0.alive created
                      host.pi object system.adapter.admin.0 created
                      pi@pi:/opt/iobroker $ 
                      
                      
                      Thomas BraunT BerserkerB 2 Antworten Letzte Antwort
                      0
                      • BerserkerB Berserker

                        @thomas-braun said in Stromausfall Web-Oberfläche öffnet sich nicht mehr:

                        iobroker add admin

                        pi@pi:/opt/iobroker $ iobroker add admin
                        host.pi install adapter admin
                        upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                        upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                        upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                        upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                        host.pi object system.adapter.admin created/updated
                        host.pi create instance admin
                        host.pi object admin.0.info.newsETag created
                        host.pi object admin.0.info.newsfeed created
                        host.pi object admin.0.connected created
                        host.pi object admin.0 created
                        host.pi object admin.0.info created
                        host.pi object system.adapter.admin.upload created
                        host.pi object system.adapter.admin.0.logLevel created
                        host.pi object system.adapter.admin.0.sigKill created
                        host.pi object system.adapter.admin.0.eventLoopLag created
                        host.pi object system.adapter.admin.0.outputCount created
                        host.pi object system.adapter.admin.0.inputCount created
                        host.pi object system.adapter.admin.0.uptime created
                        host.pi object system.adapter.admin.0.memRss created
                        host.pi object system.adapter.admin.0.memHeapTotal created
                        host.pi object system.adapter.admin.0.memHeapUsed created
                        host.pi object system.adapter.admin.0.cputime created
                        host.pi object system.adapter.admin.0.cpu created
                        host.pi object system.adapter.admin.0.compactMode created
                        host.pi object system.adapter.admin.0.connected created
                        host.pi object system.adapter.admin.0.alive created
                        host.pi object system.adapter.admin.0 created
                        pi@pi:/opt/iobroker $ 
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #16

                        @berserker
                        Läuft der Admin jetzt?

                        iobroker list instances
                        

                        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

                        BerserkerB 1 Antwort Letzte Antwort
                        0
                        • BerserkerB Berserker

                          @thomas-braun said in Stromausfall Web-Oberfläche öffnet sich nicht mehr:

                          iobroker add admin

                          pi@pi:/opt/iobroker $ iobroker add admin
                          host.pi install adapter admin
                          upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/words.js words.js application/javascript
                          upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
                          upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/index.html index.html text/html
                          upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/admin.png admin.png image/png
                          host.pi object system.adapter.admin created/updated
                          host.pi create instance admin
                          host.pi object admin.0.info.newsETag created
                          host.pi object admin.0.info.newsfeed created
                          host.pi object admin.0.connected created
                          host.pi object admin.0 created
                          host.pi object admin.0.info created
                          host.pi object system.adapter.admin.upload created
                          host.pi object system.adapter.admin.0.logLevel created
                          host.pi object system.adapter.admin.0.sigKill created
                          host.pi object system.adapter.admin.0.eventLoopLag created
                          host.pi object system.adapter.admin.0.outputCount created
                          host.pi object system.adapter.admin.0.inputCount created
                          host.pi object system.adapter.admin.0.uptime created
                          host.pi object system.adapter.admin.0.memRss created
                          host.pi object system.adapter.admin.0.memHeapTotal created
                          host.pi object system.adapter.admin.0.memHeapUsed created
                          host.pi object system.adapter.admin.0.cputime created
                          host.pi object system.adapter.admin.0.cpu created
                          host.pi object system.adapter.admin.0.compactMode created
                          host.pi object system.adapter.admin.0.connected created
                          host.pi object system.adapter.admin.0.alive created
                          host.pi object system.adapter.admin.0 created
                          pi@pi:/opt/iobroker $ 
                          
                          
                          BerserkerB Offline
                          BerserkerB Offline
                          Berserker
                          schrieb am zuletzt editiert von
                          #17

                          @berserker

                          Die Web Oberfläche ist wieder da.
                          Ich lass erstmal die Finger weg bis du etwas dazu sagst.

                          Bildschirmfoto 2021-07-06 um 19.50.47.png

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @berserker
                            Läuft der Admin jetzt?

                            iobroker list instances
                            
                            BerserkerB Offline
                            BerserkerB Offline
                            Berserker
                            schrieb am zuletzt editiert von
                            #18

                            @thomas-braun said in Stromausfall Web-Oberfläche öffnet sich nicht mehr:

                            iobroker list instances

                            pi@pi:/opt/iobroker $ iobroker list instances
                            + system.adapter.admin.0                  : admin                 : pi                                       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                            
                            + instance is alive
                            pi@pi:/opt/iobroker $ 
                            
                            

                            Das kommt dabei raus

                            1 Antwort Letzte Antwort
                            0
                            • BerserkerB Berserker

                              @berserker

                              Die Web Oberfläche ist wieder da.
                              Ich lass erstmal die Finger weg bis du etwas dazu sagst.

                              Bildschirmfoto 2021-07-06 um 19.50.47.png

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

                              @berserker Dann solltest du jetzt die fehlenden Adapter ja nachinstallieren können.

                              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

                              BerserkerB 2 Antworten Letzte Antwort
                              1
                              • Thomas BraunT Thomas Braun

                                @berserker Dann solltest du jetzt die fehlenden Adapter ja nachinstallieren können.

                                BerserkerB Offline
                                BerserkerB Offline
                                Berserker
                                schrieb am zuletzt editiert von
                                #20

                                @thomas-braun

                                Wenn ich jetzt die fehlenden Adapter nachinstalliert, sind die Settings dann noch da ??

                                Vielen Dank erstmal

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @berserker Dann solltest du jetzt die fehlenden Adapter ja nachinstallieren können.

                                  BerserkerB Offline
                                  BerserkerB Offline
                                  Berserker
                                  schrieb am zuletzt editiert von
                                  #21

                                  @thomas-braun

                                  Wenn ich Adapter installieren möchte, dann steht bei den Adaptern die ich hatte, dass schon einer Installiert ist.

                                  Kann ich zB. den Skripte Adapter irgendwie mit den alten Skripten herunterladen?

                                  BerserkerB 1 Antwort Letzte Antwort
                                  0
                                  • BerserkerB Berserker

                                    @thomas-braun

                                    Wenn ich Adapter installieren möchte, dann steht bei den Adaptern die ich hatte, dass schon einer Installiert ist.

                                    Kann ich zB. den Skripte Adapter irgendwie mit den alten Skripten herunterladen?

                                    BerserkerB Offline
                                    BerserkerB Offline
                                    Berserker
                                    schrieb am zuletzt editiert von
                                    #22

                                    @berserker

                                    So wie hier

                                    Bildschirmfoto 2021-07-06 um 19.58.33.png

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • BerserkerB Berserker

                                      @thomas-braun

                                      Wenn ich jetzt die fehlenden Adapter nachinstalliert, sind die Settings dann noch da ??

                                      Vielen Dank erstmal

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

                                      @berserker Vermutlich so einfach nicht.
                                      Du kannst jetzt Mal nach dem

                                      https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1625594165671

                                      versuchen die alten Einstellungen herbeizaubern.

                                      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
                                      • BerserkerB Berserker

                                        @berserker

                                        So wie hier

                                        Bildschirmfoto 2021-07-06 um 19.58.33.png

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

                                        @berserker
                                        Und ein

                                        iobroker stop
                                        iobroker fix
                                        

                                        kann auch nicht Schaden.

                                        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

                                        BerserkerB 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @berserker
                                          Und ein

                                          iobroker stop
                                          iobroker fix
                                          

                                          kann auch nicht Schaden.

                                          BerserkerB Offline
                                          BerserkerB Offline
                                          Berserker
                                          schrieb am zuletzt editiert von
                                          #25

                                          @thomas-braun

                                          Hab ich getan

                                          Eine frage:

                                          Der Post den du mir verlinkt hast ist doch nur um den Iobroker wieder an laufen zu bekommen oder?

                                          Ich wüsste nicht an welcher Stelle ich da jetzt einsteigen müsste.

                                          Wäre dankbar wenn du mir noch einmal helfen könntest.

                                          Und könnte es sein das die Daten noch da sind, da ja mir angezeigt wird das die Instanzen installiert sind. Ich kann sie im der Instanzen Liste und in den Objekten nur leider nicht sehen.

                                          Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          348

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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