Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ioBroker und openhabian image

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

ioBroker und openhabian image

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
31 Beiträge 3 Kommentatoren 1.2k Aufrufe 2 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.
  • Marko1974M Marko1974

    Hallo,
    aktuell habe ich ein openhabian image auf meinem raspberry pi4. Eigentlich läuft die Sache wunderbar mit openhab und homebridge, trotzdem wollte ich mich mal an ioBroker probieren.
    Leider bekomme ich es gar nicht installiert, da irgendwelche Fehlermedungen während der Installation auftauchen.
    Hat hier jemand ioBroker auf openhabian laufen?

    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    Hit:1 http://archive.raspberrypi.org/debian buster InRelease
    Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                
    Hit:3 https://deb.nodesource.com/node_12.x buster InRelease                    
    Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
    Reading package lists... Done
    N: Ignoring file 'openhab2.liste' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    Changing npm registry to https://registry.npmjs.org
    Installed gcc-c++
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    In file included from ../../nan/nan.h:56,
                     from ../src/main.cpp:3:
    /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:566:43: warning: cast between incompatible function types from âvoid (*)(v8::Local<v8::Object>)â to ânode::addon_register_funcâ {aka âvoid (*)(v8::Local<v8::Object>, v8::Local<v8:                                                                                                                                                     :Value>, void*)â} [-Wcast-function-type]                                                                                                                                                       
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:600: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 /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:63,
                     from ../../nan/nan.h:56,
                     from ../src/main.cpp:3:
    /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h: In instantiation of âvoid v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callb                                                                                 ack, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]â:                                                                                                                                                                           
    /home/openhabian/.cache/node-gyp/12.14.0/include/node/node_object_wrap.h:84:78:   required from here
    /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h:10004:16: warning: cast between incompatible function types from âv8::WeakCallbackInfo<node::ObjectWrap>::Callbackâ {aka âvoid (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)â} t                                                                                                                         o âCallbackâ {aka âvoid (*)(const v8::WeakCallbackInfo<void>&)â} [-Wcast-functio                                                                                                                     n-type]
                    reinterpret_cast<Callback>(callback), type);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h: In instantiation of âvoid v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callb     
    
    
    
    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von Homoran
    #2

    @marko1974 sagte in ioBroker und openhabian image:

    Leider bekomme ich es gar nicht installiert, da irgendwelche Fehlermedungen während der Installation auftauchen.

    weiter machen - abwarten, da kommt noch was nach einer Pause

    Das sind keine "echten" Fehler, da gibt es nur keine fertigen Pakete und er geht ins build - das dauert dann..
    (hoffe ich)

    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 -

    Marko1974M 1 Antwort Letzte Antwort
    0
    • Marko1974M Marko1974

      Hallo,
      aktuell habe ich ein openhabian image auf meinem raspberry pi4. Eigentlich läuft die Sache wunderbar mit openhab und homebridge, trotzdem wollte ich mich mal an ioBroker probieren.
      Leider bekomme ich es gar nicht installiert, da irgendwelche Fehlermedungen während der Installation auftauchen.
      Hat hier jemand ioBroker auf openhabian laufen?

      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                
      Hit:3 https://deb.nodesource.com/node_12.x buster InRelease                    
      Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
      Reading package lists... Done
      N: Ignoring file 'openhab2.liste' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
      Changing npm registry to https://registry.npmjs.org
      Installed gcc-c++
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../../nan/nan.h:56,
                       from ../src/main.cpp:3:
      /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:566:43: warning: cast between incompatible function types from âvoid (*)(v8::Local<v8::Object>)â to ânode::addon_register_funcâ {aka âvoid (*)(v8::Local<v8::Object>, v8::Local<v8:                                                                                                                                                     :Value>, void*)â} [-Wcast-function-type]                                                                                                                                                       
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:600: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 /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:63,
                       from ../../nan/nan.h:56,
                       from ../src/main.cpp:3:
      /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h: In instantiation of âvoid v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callb                                                                                 ack, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]â:                                                                                                                                                                           
      /home/openhabian/.cache/node-gyp/12.14.0/include/node/node_object_wrap.h:84:78:   required from here
      /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h:10004:16: warning: cast between incompatible function types from âv8::WeakCallbackInfo<node::ObjectWrap>::Callbackâ {aka âvoid (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)â} t                                                                                                                         o âCallbackâ {aka âvoid (*)(const v8::WeakCallbackInfo<void>&)â} [-Wcast-functio                                                                                                                     n-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h: In instantiation of âvoid v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callb     
      
      
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von Thomas Braun
      #3

      @marko1974 sagte in ioBroker und openhabian image:

                                                                                                                          ```
      

      Ignoring file openhab2.liste in directory /etc/apt/sources.list.d

      
      
      Die Datei muss openhab2.list heißen

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

      1 Antwort Letzte Antwort
      0
      • HomoranH Homoran

        @marko1974 sagte in ioBroker und openhabian image:

        Leider bekomme ich es gar nicht installiert, da irgendwelche Fehlermedungen während der Installation auftauchen.

        weiter machen - abwarten, da kommt noch was nach einer Pause

        Das sind keine "echten" Fehler, da gibt es nur keine fertigen Pakete und er geht ins build - das dauert dann..
        (hoffe ich)

        Marko1974M Offline
        Marko1974M Offline
        Marko1974
        schrieb am zuletzt editiert von
        #4

        @homoran Ja da kommt noch was und die Installation läuft auch durch. Jedoch komme ich dann nicht ins interface....
        meine Nodejs und node version ist auch nicht gleich - dies scheint voraussetzung für die installation zu sein.
        zudem läuft der logger von openhab auf port 9001 .... das hatte ich aber schon in der config geändert.
        Ich möchte node halt jetzt nicht deinstallieren und dann eine nicht funktionierende homebridge haben, die aus 7 instanzen besteht....ich hänge mal eben alles an.

        Thomas BraunT HomoranH 2 Antworten Letzte Antwort
        0
        • Marko1974M Marko1974

          @homoran Ja da kommt noch was und die Installation läuft auch durch. Jedoch komme ich dann nicht ins interface....
          meine Nodejs und node version ist auch nicht gleich - dies scheint voraussetzung für die installation zu sein.
          zudem läuft der logger von openhab auf port 9001 .... das hatte ich aber schon in der config geändert.
          Ich möchte node halt jetzt nicht deinstallieren und dann eine nicht funktionierende homebridge haben, die aus 7 instanzen besteht....ich hänge mal eben alles an.

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

          @marko1974
          nodejs muss halt sauber installiert sein.

          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

          Marko1974M 1 Antwort Letzte Antwort
          0
          • Marko1974M Marko1974

            @homoran Ja da kommt noch was und die Installation läuft auch durch. Jedoch komme ich dann nicht ins interface....
            meine Nodejs und node version ist auch nicht gleich - dies scheint voraussetzung für die installation zu sein.
            zudem läuft der logger von openhab auf port 9001 .... das hatte ich aber schon in der config geändert.
            Ich möchte node halt jetzt nicht deinstallieren und dann eine nicht funktionierende homebridge haben, die aus 7 instanzen besteht....ich hänge mal eben alles an.

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

            @marko1974 sagte in ioBroker und openhabian image:

            Jedoch komme ich dann nicht ins interface....

            da kann man dann ansetzen.

            @marko1974 sagte in ioBroker und openhabian image:

            meine Nodejs und node version ist auch nicht gleich - dies scheint voraussetzung für die installation zu sein.

            Nicht wirklich!
            Zwei verschiedene Versionen ist ein Zeichen dafür, dass es zwei verschiedene unabhängige nodejs-Installationen gibt, die sich gegenseitig stören.

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

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

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

            1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @marko1974
              nodejs muss halt sauber installiert sein.

              Marko1974M Offline
              Marko1974M Offline
              Marko1974
              schrieb am zuletzt editiert von
              #7

              @thomas-braun nunja...das ist es.

              Marko1974M Thomas BraunT 2 Antworten Letzte Antwort
              0
              • Marko1974M Marko1974

                @thomas-braun nunja...das ist es.

                Marko1974M Offline
                Marko1974M Offline
                Marko1974
                schrieb am zuletzt editiert von Homoran
                #8

                @marko1974

                In file included from /home/openhabian/.cache/node-gyp/12.14.0/include/node/node.h:63,
                                from ../../../nan/nan.h:56,
                                from ../src/poller.cpp:1:
                /home/openhabian/.cache/node-gyp/12.14.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>&)]â:
                /home/openhabian/.cache/node-gyp/12.14.0/include/node/node_object_wrap.h:84:78:   required from here
                /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h:10004: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);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                /home/openhabian/.cache/node-gyp/12.14.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
                /home/openhabian/.cache/node-gyp/12.14.0/include/node/v8.h:10004: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]
                npm ERR! code ELIFECYCLE
                npm ERR! errno 22
                npm ERR! iobroker.js-controller@3.2.16 install: `node iobroker.js setup first`
                npm ERR! Exit status 22
                npm ERR! 
                npm ERR! Failed at the iobroker.js-controller@3.2.16 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/openhabian/.npm/_logs/2021-05-23T18_14_18_955Z-debug.log
                
                ==========================================================================
                   Finalizing installation (4/4)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                Fixing directory permissions...
                
                ==========================================================================
                
                   ioBroker was installed successfully
                   Open http://192.168.178.72:8081 in a browser and start configuring!
                
                ==========================================================================
                
                
                
                1 Antwort Letzte Antwort
                0
                • Marko1974M Marko1974

                  @thomas-braun nunja...das ist es.

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

                  @marko1974
                  Unterschiedliche Versionen von node und nodejs spricht nicht dafür. Da ist was doppelt installiert.

                  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

                  Marko1974M 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @marko1974
                    Unterschiedliche Versionen von node und nodejs spricht nicht dafür. Da ist was doppelt installiert.

                    Marko1974M Offline
                    Marko1974M Offline
                    Marko1974
                    schrieb am zuletzt editiert von Homoran
                    #10

                    @thomas-braun

                    [20:14:21] openhabian@openhab:~$ npm -v
                    6.14.8
                    [20:22:02] openhabian@openhab:~$ nodejs -v
                    v12.22.1
                    [20:22:05] openhabian@openhab:~$ node -v
                    v12.14.0
                    [20:22:11] openhabian@openhab:~$ 
                    
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • Marko1974M Marko1974

                      @thomas-braun

                      [20:14:21] openhabian@openhab:~$ npm -v
                      6.14.8
                      [20:22:02] openhabian@openhab:~$ nodejs -v
                      v12.22.1
                      [20:22:05] openhabian@openhab:~$ node -v
                      v12.14.0
                      [20:22:11] openhabian@openhab:~$ 
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #11

                      @marko1974 Und das ist falsch.
                      Schau in meiner Signatur wie man nodejs sauber über apt installiert.

                      Wobei ich nicht weiß wie/ob openhab dann läuft.

                      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

                      Marko1974M 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @marko1974 Und das ist falsch.
                        Schau in meiner Signatur wie man nodejs sauber über apt installiert.

                        Wobei ich nicht weiß wie/ob openhab dann läuft.

                        Marko1974M Offline
                        Marko1974M Offline
                        Marko1974
                        schrieb am zuletzt editiert von Homoran
                        #12

                        @thomas-braun

                        [21:23:54] openhabian@openhab:/var/homebridge$ sudo apt update
                        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                        Get:3 https://deb.nodesource.com/node_14.x buster InRelease [4,584 B]
                        Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                        Err:3 https://deb.nodesource.com/node_14.x buster InRelease
                         The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
                        Reading package lists... Done
                        W: GPG error: https://deb.nodesource.com/node_14.x buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
                        E: The repository 'https://deb.nodesource.com/node_14.x buster InRelease' is not signed.
                        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                        N: See apt-secure(8) manpage for repository creation and user configuration details.
                        
                        

                        Da gehts schon los...nur eben die Pfade abgeändert

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • Marko1974M Marko1974

                          @thomas-braun

                          [21:23:54] openhabian@openhab:/var/homebridge$ sudo apt update
                          Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                          Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                          Get:3 https://deb.nodesource.com/node_14.x buster InRelease [4,584 B]
                          Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                          Err:3 https://deb.nodesource.com/node_14.x buster InRelease
                           The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
                          Reading package lists... Done
                          W: GPG error: https://deb.nodesource.com/node_14.x buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1655A0AB68576280
                          E: The repository 'https://deb.nodesource.com/node_14.x buster InRelease' is not signed.
                          N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                          N: See apt-secure(8) manpage for repository creation and user configuration details.
                          
                          

                          Da gehts schon los...nur eben die Pfade abgeändert

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

                          @marko1974

                          curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
                          

                          Was kommt zu

                          which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs
                          

                          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

                          Marko1974M 2 Antworten Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @marko1974

                            curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
                            

                            Was kommt zu

                            which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs
                            
                            Marko1974M Offline
                            Marko1974M Offline
                            Marko1974
                            schrieb am zuletzt editiert von
                            #14

                            @thomas-braun das war schonmal gut :-)

                            aber ich habs wohl auch im falschen verzeichnis und node ist immer noch auf 12

                            [21:33:22] openhabian@openhab:/var/homebridge$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                            /usr/bin/nodejs
                            /usr/local/bin/node
                            /usr/local/bin/npm
                            v14.17.0
                            v12.14.0
                            6.14.8
                            Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
                            Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                            Hit:3 http://archive.raspberrypi.org/debian buster InRelease
                            Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            7 packages can be upgraded. Run 'apt list --upgradable' to see them.
                            Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
                            Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                            Hit:3 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                            Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
                            Reading package lists... Done
                            Building dependency tree
                            Reading state information... Done
                            7 packages can be upgraded. Run 'apt list --upgradable' to see them.
                            nodejs:
                              Installed: 14.17.0-1nodesource1
                              Candidate: 14.17.0-1nodesource1
                              Version table:
                             *** 14.17.0-1nodesource1 500
                                    500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                    100 /var/lib/dpkg/status
                                 10.24.0~dfsg-1~deb10u1 500
                                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                            
                            
                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @marko1974

                              curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
                              

                              Was kommt zu

                              which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs
                              
                              Marko1974M Offline
                              Marko1974M Offline
                              Marko1974
                              schrieb am zuletzt editiert von Homoran
                              #15

                              @thomas-braun

                              [21:37:06] openhabian@openhab:/var/homebridge$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs
                              /usr/bin/nodejs
                              /usr/local/bin/node
                              /usr/local/bin/npm
                              v14.17.0
                              v12.14.0
                              6.14.8
                              Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
                              Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                              Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              7 packages can be upgraded. Run 'apt list --upgradable' to see them.
                              nodejs:
                               Installed: 14.17.0-1nodesource1
                               Candidate: 14.17.0-1nodesource1
                               Version table:
                              *** 14.17.0-1nodesource1 500
                                     500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                     100 /var/lib/dpkg/status
                                  10.24.0~dfsg-1~deb10u1 500
                                     500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              
                              
                              1 Antwort Letzte Antwort
                              0
                              • Marko1974M Marko1974

                                @thomas-braun das war schonmal gut :-)

                                aber ich habs wohl auch im falschen verzeichnis und node ist immer noch auf 12

                                [21:33:22] openhabian@openhab:/var/homebridge$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                /usr/bin/nodejs
                                /usr/local/bin/node
                                /usr/local/bin/npm
                                v14.17.0
                                v12.14.0
                                6.14.8
                                Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
                                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Hit:3 http://archive.raspberrypi.org/debian buster InRelease
                                Hit:4 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                                Reading package lists... Done
                                Building dependency tree
                                Reading state information... Done
                                7 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                Hit:1 https://deb.nodesource.com/node_14.x buster InRelease
                                Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                                Hit:3 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
                                Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Reading package lists... Done
                                Building dependency tree
                                Reading state information... Done
                                7 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                nodejs:
                                  Installed: 14.17.0-1nodesource1
                                  Candidate: 14.17.0-1nodesource1
                                  Version table:
                                 *** 14.17.0-1nodesource1 500
                                        500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     10.24.0~dfsg-1~deb10u1 500
                                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #16

                                @marko1974 sagte in ioBroker und openhabian image:

                                /usr/local/bin/node 
                                /usr/local/bin/npm
                                

                                Das ist aus ioBroker Sicht falsch.

                                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

                                Marko1974M 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @marko1974 sagte in ioBroker und openhabian image:

                                  /usr/local/bin/node 
                                  /usr/local/bin/npm
                                  

                                  Das ist aus ioBroker Sicht falsch.

                                  Marko1974M Offline
                                  Marko1974M Offline
                                  Marko1974
                                  schrieb am zuletzt editiert von
                                  #17

                                  @thomas-braun wenn ich das ändere geht meine homebridge nicht mehr, oder?

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • Marko1974M Marko1974

                                    @thomas-braun wenn ich das ändere geht meine homebridge nicht mehr, oder?

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

                                    @marko1974 Das weiß ich nicht.
                                    Hängt davon ab ob die das statisch verlinkt haben und/oder ob deren Code mit node14 sauber tickt.

                                    Unter der Voraussetzung, die Installation in /usr/local/bin kommt schon so in deren Image mit und nicht von dir.

                                    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

                                    Marko1974M 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @marko1974 Das weiß ich nicht.
                                      Hängt davon ab ob die das statisch verlinkt haben und/oder ob deren Code mit node14 sauber tickt.

                                      Unter der Voraussetzung, die Installation in /usr/local/bin kommt schon so in deren Image mit und nicht von dir.

                                      Marko1974M Offline
                                      Marko1974M Offline
                                      Marko1974
                                      schrieb am zuletzt editiert von
                                      #19

                                      @thomas-braun `lass mal probieren....notfalls gibts n backup.
                                      haste den befehl für mich?

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • Marko1974M Marko1974

                                        @thomas-braun `lass mal probieren....notfalls gibts n backup.
                                        haste den befehl für mich?

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

                                        @marko1974
                                        Die stehen in dem HowTo drin.

                                        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2

                                        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

                                        Marko1974M 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @marko1974
                                          Die stehen in dem HowTo drin.

                                          https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/2

                                          Marko1974M Offline
                                          Marko1974M Offline
                                          Marko1974
                                          schrieb am zuletzt editiert von
                                          #21

                                          @thomas-braun Die Verzeichnisse kommen daher weil homebridge da installiert ist.....puh...dann muesste ich alles umfrickeln

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

                                          660

                                          Online

                                          32.6k

                                          Benutzer

                                          82.1k

                                          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