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

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

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

        @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 Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Marko1974 last edited by

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

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

            @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 Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Marko1974 last edited by 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
              
              Marko1974 2 Replies Last reply Reply Quote 0
              • Marko1974
                Marko1974 @Thomas Braun last edited by

                @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 Braun 1 Reply Last reply Reply Quote 0
                • Marko1974
                  Marko1974 @Thomas Braun last edited by Homoran

                  @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 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Marko1974 last edited by

                    @marko1974 sagte in ioBroker und openhabian image:

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

                    Das ist aus ioBroker Sicht falsch.

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

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

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            481
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            31
                                            1030
                                            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