Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neue Installationsroutine (für Linux)

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Neue Installationsroutine (für Linux)

Scheduled Pinned Locked Moved ioBroker Allgemein
installation
415 Posts 64 Posters 129.6k Views 31 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 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
    wrote on last edited by
    #303

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

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #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 Replies Last reply
      0
      • ? A Former User

        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
        wrote on last edited by
        #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 Reply Last reply
        0
        • ? A Former User

          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 Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #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 Reply Last reply
          0
          • D Offline
            D Offline
            debianatoe
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by
              #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 Replies Last reply
              0
              • apollon77A apollon77

                @debianatoe @AlCalzone ?!

                AlCalzoneA Offline
                AlCalzoneA Offline
                AlCalzone
                Developer
                wrote on last edited by
                #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 Reply Last reply
                0
                • apollon77A apollon77

                  @debianatoe @AlCalzone ?!

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #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 Reply Last reply
                  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
                    wrote on last edited by
                    #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 Reply Last reply
                    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
                      wrote on last edited by
                      #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 Reply Last reply
                      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
                        wrote on last edited by
                        #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 Reply Last reply
                        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
                          wrote on last edited by
                          #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 Reply Last reply
                          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
                            wrote on last edited by
                            #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 Reply Last reply
                            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
                              wrote on last edited by
                              #316

                              @AlCalzone Also da bin ich leider überfragt.

                              1 Reply Last reply
                              0
                              • xadoxX Offline
                                xadoxX Offline
                                xadox
                                wrote on last edited by 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 Replies Last reply
                                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 Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #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 Reply Last reply
                                  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
                                    wrote on last edited by 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 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @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.

                                      xadoxX Offline
                                      xadoxX Offline
                                      xadox
                                      wrote on last edited by
                                      #320

                                      @Thomas-Braun Das wird es dann wohl sein. Da ich auf einer LXC installiere.
                                      Dort ist man im default ja erstmal mit "root" unterwegs.
                                      ich werde dann mal einen neuen User erzeugen und es erneut versuchen.

                                      @Homoran viel abgeschnitten habe ich dort eigentlich nicht:
                                      3e9dfaed-80ac-4e76-9a42-22bac1df8a22-image.png

                                      Thomas BraunT 1 Reply Last reply
                                      0
                                      • xadoxX xadox

                                        @Thomas-Braun Das wird es dann wohl sein. Da ich auf einer LXC installiere.
                                        Dort ist man im default ja erstmal mit "root" unterwegs.
                                        ich werde dann mal einen neuen User erzeugen und es erneut versuchen.

                                        @Homoran viel abgeschnitten habe ich dort eigentlich nicht:
                                        3e9dfaed-80ac-4e76-9a42-22bac1df8a22-image.png

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by Thomas Braun
                                        #321

                                        @xadox
                                        Container... Ich mag die Dinger nicht. Jedenfalls nicht für den Einsatz als Ersatz für eine VM. Dafür sind die eigentlich nicht vorgesehen.

                                        Davon abgesehen sind die Meldungen während der Installation aber grundsätzlich wohl in Ordnung.

                                        Am Rande: Bitte Konsolentexte auch als TEXT (in CodeTags) ins Forum kopieren. Screenshots von Text sind komplett sinnfrei.

                                        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 Reply Last reply
                                        0
                                        • xadoxX Offline
                                          xadoxX Offline
                                          xadox
                                          wrote on last edited by xadox
                                          #322

                                          Ich habe nun einen neuen User erzeugt "service" und habe diesen den sudoern hinzugefügt.
                                          Angemeldet dann über SSH mit dem neu erzeugten User "service". Dennoch erhalte ich:

                                          ==========================================================================
                                              Installing ioBroker (3/4)
                                          ==========================================================================
                                          
                                          In file included from ../../nan/nan.h:56,
                                                           from ../src/main.cpp:3:
                                          /home/service/.cache/node-gyp/12.20.0/include/node/node.h:737:7: warning: cast between incompatible function ty                                                                    pes 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]
                                            737 |       (node::addon_register_func) (regfunc),                          \
                                                |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /home/service/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro 'NODE_MODULE_X'
                                            771 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                                |   ^~~~~~~~~~~~~
                                          ../src/main.cpp:42:1: note: in expansion of macro 'NODE_MODULE'
                                             42 | NODE_MODULE(diskusage, Init)
                                                | ^~~~~~~~~~~
                                          In file included from ../../nan/nan.h:56,
                                                           from ../src/unix_dgram.cc:5:
                                          /home/service/.cache/node-gyp/12.20.0/include/node/node.h:737:7: warning: cast between incompatible function ty                                                                    pes 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]
                                            737 |       (node::addon_register_func) (regfunc),                          \
                                                |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /home/service/.cache/node-gyp/12.20.0/include/node/node.h:771:3: note: in expansion of macro 'NODE_MODULE_X'
                                            771 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                                |   ^~~~~~~~~~~~~
                                          ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                                            404 | NODE_MODULE(unix_dgram, Initialize)
                                                | ^~~~~~~~~~~
                                          
                                          ATTENTION: Error reporting via Sentry will be activated on next start of ioBroker
                                          
                                          
                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          413

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe