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

  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.3k

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

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

Neue Installationsroutine (für Linux)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installation
415 Beiträge 64 Kommentatoren 116.7k 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 Offline
    M Offline
    marco-mh
    schrieb am zuletzt editiert von
    #300

    Ich hab es hinbekommen. Allerdings habe ich nicht die Linux Station genommen sondern hab eine Linux VM auf der QNAP installiert.
    Danke für die Hilfe

    node.js 16.15.1, NPM 8.11, js.Controller 4.0.23

    1 Antwort Letzte Antwort
    0
    • M Offline
      M Offline
      mpa
      schrieb am zuletzt editiert von mpa
      #301

      Hallo,

      ich versuche gerade iobroker auf einer VM mit Ubuntu LTS 18.04.3 zu installieren.
      Mittlerweile habe ich jetzt mehrmals die Anleitung https://www.iobroker.net/#de/documentation/install/linux.md durchgeackert aber bekomme es leider nicht hin.

      Beim Schritt "Installing ioBroker" bekomme ich immer folgende Fehlermeldungen:

      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
      ../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                           argv);
                               ^
      In file included from ../src/unix_dgram.cc:5:0:
      ../../nan/nan.h:1024:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
      ../src/unix_dgram.cc:129:28: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                           0, NULL);
                                  ^
      In file included from ../src/unix_dgram.cc:5:0:
      ../../nan/nan.h:1024:46: note: declared here
         NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                    ^~~~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         domain      = info[0]->Int32Value();
                                           ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         type        = info[1]->Int32Value();
                                           ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         protocol    = info[2]->Int32Value();
                                           ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         offset = info[2]->Uint32Value();
                                       ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         length = info[3]->Uint32Value();
                                       ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
         V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                     ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[4]);
                                       ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         buf = info[1]->ToObject();
                                 ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
       Local<Object> Value::ToObject() const {
                     ^~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value path(info[1]);
                                       ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                         explicit Utf8Value(Local<v8::Value> obj));
                                  ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
      ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         fd = info[0]->Int32Value();
                                  ^
      In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                       from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
         V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                    ^
      /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
         declarator __attribute__((deprecated(message)))
         ^~~~~~~~~~
      
      

      Könnte mir hier bitte jemand weiterhelfen?

      Vielen Dank!

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

        Alles nur Warnungen, ignorieren. Wichtig ist was die letzten Zeilen der gesamten Ausgabe sind ... wenn da steht das alles ok ist dann ist alles ok

        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
        1
        • apollon77A apollon77

          Alles nur Warnungen, ignorieren. Wichtig ist was die letzten Zeilen der gesamten Ausgabe sind ... wenn da steht das alles ok ist dann ist alles ok

          M Offline
          M Offline
          mpa
          schrieb am zuletzt editiert von
          #303

          @apollon77 da kommt dann leider nichts mehr, da sich die VM aufhängt und Putty dadurch die Verbindung verliert.

          1 Antwort Letzte Antwort
          0
          • ? Offline
            ? Offline
            Ein ehemaliger Benutzer
            schrieb am zuletzt editiert von
            #304

            Ich versuche gerade, den ioBroker unter Lubuntu zum Laufen zu bringen.
            Hierzu habe ich mich an die folgende Anleitung gehalten:
            https://www.iobroker.net/#de/documentation/install/linux.md
            Es sei wohl auch alles erfolgreich installiert worden.
            Nur komme ich mit dem Browser nicht auf die Oberfläche.
            http://<iplocalhost>:8081
            Es kommt, Seite ist nicht erreichbar
            ioborker habe ich mit iobroker stop/start als auch restart probiert neu zu starten

            Ich habe dann mal probiert
            iobroker start admin

            Dann kommt:
            module.js:549
            throw err;
            ^

            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
            at Function.Module._resolveFilename (module.js:547:15)

            �

            AlCalzoneA HomoranH 2 Antworten Letzte Antwort
            0
            • ? Ein ehemaliger Benutzer

              Ich versuche gerade, den ioBroker unter Lubuntu zum Laufen zu bringen.
              Hierzu habe ich mich an die folgende Anleitung gehalten:
              https://www.iobroker.net/#de/documentation/install/linux.md
              Es sei wohl auch alles erfolgreich installiert worden.
              Nur komme ich mit dem Browser nicht auf die Oberfläche.
              http://<iplocalhost>:8081
              Es kommt, Seite ist nicht erreichbar
              ioborker habe ich mit iobroker stop/start als auch restart probiert neu zu starten

              Ich habe dann mal probiert
              iobroker start admin

              Dann kommt:
              module.js:549
              throw err;
              ^

              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (module.js:547:15)

              �

              AlCalzoneA Offline
              AlCalzoneA Offline
              AlCalzone
              Developer
              schrieb am zuletzt editiert von
              #305

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

              Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'

              Das sieht mir nicht nach einer erfolgreichen Installation aus. Probiere es bitte nochmal und zeig uns dann die Ausgabe der Installation.

              Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

              1 Antwort Letzte Antwort
              0
              • ? Ein ehemaliger Benutzer

                Ich versuche gerade, den ioBroker unter Lubuntu zum Laufen zu bringen.
                Hierzu habe ich mich an die folgende Anleitung gehalten:
                https://www.iobroker.net/#de/documentation/install/linux.md
                Es sei wohl auch alles erfolgreich installiert worden.
                Nur komme ich mit dem Browser nicht auf die Oberfläche.
                http://<iplocalhost>:8081
                Es kommt, Seite ist nicht erreichbar
                ioborker habe ich mit iobroker stop/start als auch restart probiert neu zu starten

                Ich habe dann mal probiert
                iobroker start admin

                Dann kommt:
                module.js:549
                throw err;
                ^

                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                at Function.Module._resolveFilename (module.js:547:15)

                �

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

                @Alina
                Wieso zwei Threads dazu?

                Habe dir in dem anderen / älteren geantwortet

                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
                • D Offline
                  D Offline
                  debianatoe
                  schrieb am zuletzt editiert von
                  #307

                  Kann man die neue Linux-Installationsroutine auch in buildroot-Systemen ausführen? buildroot ist ja ein besonders platzsparendes Linux. Das hätte dann insbesondere auf kleinen raspi-Systemen den Vorteil, daß man mehr RAM für den iobroker zur Verfügung hätte.

                  apollon77A 1 Antwort Letzte Antwort
                  0
                  • D debianatoe

                    Kann man die neue Linux-Installationsroutine auch in buildroot-Systemen ausführen? buildroot ist ja ein besonders platzsparendes Linux. Das hätte dann insbesondere auf kleinen raspi-Systemen den Vorteil, daß man mehr RAM für den iobroker zur Verfügung hätte.

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

                    @debianatoe @AlCalzone ?!

                    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
                    AlCalzoneA HomoranH 2 Antworten Letzte Antwort
                    0
                    • apollon77A apollon77

                      @debianatoe @AlCalzone ?!

                      AlCalzoneA Offline
                      AlCalzoneA Offline
                      AlCalzone
                      Developer
                      schrieb am zuletzt editiert von
                      #309

                      @apollon77 @debianatoe
                      Probier es aus. Ich hab keine Ahnung und bisher nicht davon gehört.

                      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                      1 Antwort Letzte Antwort
                      0
                      • apollon77A apollon77

                        @debianatoe @AlCalzone ?!

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

                        @apollon77 Ich denke eher nicht.
                        die CCU baut auf buildroot auf - wenn ich mich richtig erinnere hat sich Jens Maus da schon dran versucht

                        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 -

                        D 1 Antwort Letzte Antwort
                        0
                        • HomoranH Homoran

                          @apollon77 Ich denke eher nicht.
                          die CCU baut auf buildroot auf - wenn ich mich richtig erinnere hat sich Jens Maus da schon dran versucht

                          D Offline
                          D Offline
                          debianatoe
                          schrieb am zuletzt editiert von
                          #311

                          @Homoran Ja, die CCU baut auf buildroot auf. Aber buildroot läßt sich sehr variabel konfigurieren. Insofern wäre es denkbar, daß sich ein spezielles iobroker-buildroot, das mit dem CCU-buildroot nur wenig gemeinsam hat, bauen ließe. Wenn sich allerdings Jens Maus daran schon vergeblich (?) versucht hat, klingt das nach erheblichem Aufwand ...
                          Da wäre aus meiner Sicht ein iobroker-Installationsprofi gefragt, der genau weiß, welche Betriebssystem- und library-Bedingungen Voraussetzung sind.

                          apollon77A 1 Antwort Letzte Antwort
                          0
                          • D debianatoe

                            @Homoran Ja, die CCU baut auf buildroot auf. Aber buildroot läßt sich sehr variabel konfigurieren. Insofern wäre es denkbar, daß sich ein spezielles iobroker-buildroot, das mit dem CCU-buildroot nur wenig gemeinsam hat, bauen ließe. Wenn sich allerdings Jens Maus daran schon vergeblich (?) versucht hat, klingt das nach erheblichem Aufwand ...
                            Da wäre aus meiner Sicht ein iobroker-Installationsprofi gefragt, der genau weiß, welche Betriebssystem- und library-Bedingungen Voraussetzung sind.

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

                            @debianatoe Am Ende stht alles im install.sh drin was auf Github steht ... alles ws fehlt wird nachinstalliert aktuell per apt oder yum

                            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
                            AlCalzoneA 1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              @debianatoe Am Ende stht alles im install.sh drin was auf Github steht ... alles ws fehlt wird nachinstalliert aktuell per apt oder yum

                              AlCalzoneA Offline
                              AlCalzoneA Offline
                              AlCalzone
                              Developer
                              schrieb am zuletzt editiert von
                              #313

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

                              alles ws fehlt wird nachinstalliert

                              Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                              Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                              D 1 Antwort Letzte Antwort
                              0
                              • AlCalzoneA AlCalzone

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

                                alles ws fehlt wird nachinstalliert

                                Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                D Offline
                                D Offline
                                debianatoe
                                schrieb am zuletzt editiert von
                                #314

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

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

                                alles ws fehlt wird nachinstalliert

                                Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                So ist es leider. Im buildroot-Linux gibt es meines Wissens nach weder apt noch yum. Deshalb kann install.sh in dieser Form leider nicht funktionieren bzw. alles, was fehlt, nachinstallieren. Stand jetzt wäre das eine Menge Handarbeit.

                                AlCalzoneA 1 Antwort Letzte Antwort
                                0
                                • D debianatoe

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

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

                                  alles ws fehlt wird nachinstalliert

                                  Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                  So ist es leider. Im buildroot-Linux gibt es meines Wissens nach weder apt noch yum. Deshalb kann install.sh in dieser Form leider nicht funktionieren bzw. alles, was fehlt, nachinstallieren. Stand jetzt wäre das eine Menge Handarbeit.

                                  AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  schrieb am zuletzt editiert von
                                  #315

                                  @debianatoe Wie installiert man dann auf buildroot einen Package-Manager?
                                  Wenn du die nötigen Schritte ermitteln kannst, was zusätzlich nötig ist, lässt sich das sicher in den Installer einbauen.

                                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                  D 1 Antwort Letzte Antwort
                                  0
                                  • AlCalzoneA AlCalzone

                                    @debianatoe Wie installiert man dann auf buildroot einen Package-Manager?
                                    Wenn du die nötigen Schritte ermitteln kannst, was zusätzlich nötig ist, lässt sich das sicher in den Installer einbauen.

                                    D Offline
                                    D Offline
                                    debianatoe
                                    schrieb am zuletzt editiert von
                                    #316

                                    @AlCalzone Also da bin ich leider überfragt.

                                    1 Antwort Letzte Antwort
                                    0
                                    • xadoxX Offline
                                      xadoxX Offline
                                      xadox
                                      schrieb am zuletzt editiert von xadox
                                      #317

                                      Können die folgenden Warnings bei der Installation auf Ubuntu 20.10, 20.04 oder Debian 10 ignoriert werden?

                                      In file included from ../../nan/nan.h:56,
                                                       from ../src/main.cpp:3:
                                      /root/.cache/node-gyp/10.23.0/include/node/node.h:573: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),                          \
                                                                                 ^
                                      /root/.cache/node-gyp/10.23.0/include/node/node.h:607: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 /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                       from ../../nan/nan.h:56,
                                                       from ../src/main.cpp:3:
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                      /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                      reinterpret_cast<Callback>(callback), type);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                      ../../nan/nan_object_wrap.h:65:61:   required from here
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                      In file included from ../../nan/nan.h:56,
                                                       from ../src/unix_dgram.cc:5:
                                      /root/.cache/node-gyp/10.23.0/include/node/node.h:573: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),                          \
                                                                                 ^
                                      /root/.cache/node-gyp/10.23.0/include/node/node.h:607: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)
                                       ^~~~~~~~~~~
                                      In file included from /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                       from ../../nan/nan.h:56,
                                                       from ../src/unix_dgram.cc:5:
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                      /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                      reinterpret_cast<Callback>(callback), type);
                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                      ../../nan/nan_object_wrap.h:65:61:   required from here
                                      /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                       
                                      
                                      
                                      HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                                      0
                                      • xadoxX xadox

                                        Können die folgenden Warnings bei der Installation auf Ubuntu 20.10, 20.04 oder Debian 10 ignoriert werden?

                                        In file included from ../../nan/nan.h:56,
                                                         from ../src/main.cpp:3:
                                        /root/.cache/node-gyp/10.23.0/include/node/node.h:573: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),                          \
                                                                                   ^
                                        /root/.cache/node-gyp/10.23.0/include/node/node.h:607: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 /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                         from ../../nan/nan.h:56,
                                                         from ../src/main.cpp:3:
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                        /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                        reinterpret_cast<Callback>(callback), type);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                        ../../nan/nan_object_wrap.h:65:61:   required from here
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                        In file included from ../../nan/nan.h:56,
                                                         from ../src/unix_dgram.cc:5:
                                        /root/.cache/node-gyp/10.23.0/include/node/node.h:573: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),                          \
                                                                                   ^
                                        /root/.cache/node-gyp/10.23.0/include/node/node.h:607: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)
                                         ^~~~~~~~~~~
                                        In file included from /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                         from ../../nan/nan.h:56,
                                                         from ../src/unix_dgram.cc:5:
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                        /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                        reinterpret_cast<Callback>(callback), type);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                        ../../nan/nan_object_wrap.h:65:61:   required from here
                                        /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                         
                                        
                                        
                                        HomoranH Nicht stören
                                        HomoranH Nicht stören
                                        Homoran
                                        Global Moderator Administrators
                                        schrieb am zuletzt editiert von
                                        #318

                                        @xadox ich denke ja, aber leider hast du die Ursache für die Warnings abgeschnitten.
                                        Es sit nur noch zu sehen, in welchen Teilen diese unbekannte Ursache auftritt

                                        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
                                        • xadoxX xadox

                                          Können die folgenden Warnings bei der Installation auf Ubuntu 20.10, 20.04 oder Debian 10 ignoriert werden?

                                          In file included from ../../nan/nan.h:56,
                                                           from ../src/main.cpp:3:
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:573: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),                          \
                                                                                     ^
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:607: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 /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                           from ../../nan/nan.h:56,
                                                           from ../src/main.cpp:3:
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                          /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                          reinterpret_cast<Callback>(callback), type);
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                          ../../nan/nan_object_wrap.h:65:61:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                          In file included from ../../nan/nan.h:56,
                                                           from ../src/unix_dgram.cc:5:
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:573: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),                          \
                                                                                     ^
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:607: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)
                                           ^~~~~~~~~~~
                                          In file included from /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                           from ../../nan/nan.h:56,
                                                           from ../src/unix_dgram.cc:5:
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                          /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                          reinterpret_cast<Callback>(callback), type);
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                          ../../nan/nan_object_wrap.h:65:61:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                           
                                          
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #319

                                          @xadox Da läuft was mit den Usern falsch. Nie als root anmelden! Immer einen normalen User verwenden!
                                          In /root/.cache/ darf eigentlich nichts passieren.

                                          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

                                          xadoxX 1 Antwort Letzte Antwort
                                          0
                                          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

                                          754

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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