Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker und openhabian image

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ioBroker und openhabian image

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Marko1974 last edited by 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.

      Marko1974 1 Reply Last reply Reply Quote 0
      • Marko1974
        Marko1974 @Thomas Braun last edited by

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

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Marko1974 last edited by

          @marko1974
          Die stehen in dem HowTo drin.

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

          Marko1974 1 Reply Last reply Reply Quote 0
          • Marko1974
            Marko1974 @Thomas Braun last edited by

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

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Marko1974 last edited by Thomas Braun

              @marko1974
              Du sollst ja auch nicht die Verzeichnisse löschen sonder nur die Dateien npm und node
              Oder nenn die um. Z. B. in npm_TEST und node_TEST

              Marko1974 1 Reply Last reply Reply Quote 0
              • Marko1974
                Marko1974 @Thomas Braun last edited by

                @thomas-braun das hatte ich ja schon getan, aber dann installiert er sie wieder da ✌

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Marko1974 last edited by

                  @marko1974

                  Wer installiert das wieder dort?

                  Marko1974 1 Reply Last reply Reply Quote 0
                  • Marko1974
                    Marko1974 @Thomas Braun last edited by

                    @thomas-braun
                    ich probiere es gleich nochmal

                    Marko1974 1 Reply Last reply Reply Quote 0
                    • Marko1974
                      Marko1974 @Marko1974 last edited by

                      @marko1974 ```
                      [00:34:15] openhabian@openhab:/usr/local/bin$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
                      /usr/bin/nodejs
                      /usr/bin/node
                      /usr/bin/npm
                      v14.17.0
                      v14.17.0
                      6.14.13
                      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 Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Marko1974 last edited by

                        @marko1974
                        Das schaut ganz gut aus. Was sagt openhab?

                        Marko1974 3 Replies Last reply Reply Quote 0
                        • Marko1974
                          Marko1974 @Thomas Braun last edited by

                          @thomas-braun alles gut....jetzt schaue ich mal ob ich iobroker installiert bekomme

                          1 Reply Last reply Reply Quote 0
                          • Marko1974
                            Marko1974 @Thomas Braun last edited by

                            @thomas-braun

                            @thomas-braun
                            
                            

                            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-23T22_50_34_693Z-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!
                            

                            ==========================================================================

                            You need to re-login before doing anything else on the console!

                            [00:50:37] openhabian@openhab:/$

                            1 Reply Last reply Reply Quote 0
                            • Marko1974
                              Marko1974 @Thomas Braun last edited by Marko1974

                              @thomas-braun

                              Jetzt hatte ich alles nochmal schön gemacht und node und nodejs nach einem Backup neu installiert. Hatte darauf geachtet, dass zuerst wenigstens meine homebridges laufen.
                              Das tun sie nun auch nach nem rebuild.

                              Dann wollte ich mich zurücklehnen und einfach iobroker installieren.....irgendwie wieder ein ähnliches Problem.

                              [00:46:27] openhabian@openhab:/opt/iobroker$ curl -sLf https://iobroker.net/install.sh | bash -
                              library: loaded
                              Library version=2021-04-07
                              
                              ==========================================================================
                              
                                  Welcome to the ioBroker installer!
                                  Installer version: 2021-04-07
                              
                                  You might need to enter your password a couple of times.
                              
                              ==========================================================================
                              
                              
                              ==========================================================================
                                  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
                              Reading package lists... Done
                              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.22.1/include/node/node.h:736: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.22.1/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’
                                 NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                 ^~~~~~~~~~~~~
                              ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
                               NODE_MODULE(diskusage, Init)
                               ^~~~~~~~~~~
                              In file included from ../../nan/nan.h:56,
                                               from ../src/unix_dgram.cc:5:
                              /home/openhabian/.cache/node-gyp/12.22.1/include/node/node.h:736: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.22.1/include/node/node.h:770: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)
                               ^~~~~~~~~~~
                              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-31T22_47_41_873Z-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!
                              
                              ==========================================================================
                              
                              
                              You need to re-login before doing anything else on the console!
                              
                              [00:47:44] openhabian@openhab:/opt/iobroker$ which iobroker
                              /usr/bin/iobroker
                              [00:47:49] openhabian@openhab:/opt/iobroker$
                              
                              
                              [00:47:49] openhabian@openhab:/opt/iobroker$ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && apt policy nodejs
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v12.22.1
                              v12.22.1
                              6.14.12
                              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
                              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: 12.22.1-1nodesource1
                                Candidate: 12.22.1-1nodesource1
                                Version table:
                               *** 12.22.1-1nodesource1 500
                                      500 https://deb.nodesource.com/node_12.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
                              [00:52:01] openhabian@openhab:/opt/iobroker$
                              
                              
                              Marko1974 1 Reply Last reply Reply Quote 0
                              • Marko1974
                                Marko1974 @Marko1974 last edited by Marko1974

                                Auch geschafft.

                                node iobroker.js nachinstalliert ....noch schnell die ports geändert und dann lief es wieder durch

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

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

                                520
                                Online

                                31.9k
                                Users

                                80.2k
                                Topics

                                1.3m
                                Posts

                                3
                                31
                                1028
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo