Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Error Installation KNX Adapter Ver. 10.0.39

    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

    UNSOLVED Error Installation KNX Adapter Ver. 10.0.39

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tobiii1810 @Thomas Braun last edited by

      @Thomas-Braun

      iobroker@IoBrokerThinClient:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v10.23.0
      /usr/local/bin/node
      v14.15.0
      /usr/local/bin/npm
      6.14.8
      nodejs:
        Installiert:           10.23.0-1nodesource1
        Installationskandidat: 10.23.0-1nodesource1
        Versionstabelle:
       *** 10.23.0-1nodesource1 500
              500 https://deb.nodesource.com/node_10.x buster/main amd64 Packages
              100 /var/lib/dpkg/status
           10.21.0~dfsg-1~deb10u1 500
              500 http://deb.debian.org/debian buster/main amd64 Packages
              500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @tobiii1810 last edited by Thomas Braun

        @tobiii1810

        Der nächste bitte:

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

        Node12 sauber installieren.

        Und ich würde mir auch einen eigenen User anlegen, iobroker ist ein Systemuser und sollte nicht als 'normaler' User verwendet werden.

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

          @Thomas-Braun

          Habe Nodejs auf v12.19.0 downgegraded

          iobroker@IoBrokerThinClient:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          /usr/bin/nodejs
          v12.19.0
          /usr/bin/node
          -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden
          
          

          Da node und npm im Verzeichnis /usr/local/bin lagen haben ich diese per
          rm /Pfad gelöscht so wie in deinem HowTo beschrieben.

          Meine Frage: Wie bekomme ich diese wieder installiert und Node auf die
          gleiche Version wie Nodejs?

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

            @tobiii1810 Steht auch in der Anleitung. Im ersten Posting.

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

              @Thomas-Braun

              Ich glaube jetzt sieht es gut aus.

              iobroker@IoBrokerThinClient:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
              /usr/bin/nodejs
              v12.19.0
              /usr/bin/node
              v12.19.0
              /usr/bin/npm
              6.14.8
              nodejs:
                Installiert:           12.19.0-1nodesource1
                Installationskandidat: 12.19.0-1nodesource1
                Versionstabelle:
               *** 12.19.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages
                      100 /var/lib/dpkg/status
                   10.21.0~dfsg-1~deb10u1 500
                      500 http://deb.debian.org/debian buster/main amd64 Packages
                      500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @tobiii1810 last edited by

                @tobiii1810
                Ja, jetzt ist node richtig installiert.

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

                  @Thomas-Braun

                  Mein Problem ist, dass es an meinem ursprünglichen Problem in dem Post nichts geändert hat. Bei der Installation des KNX Adapters kommt noch immer die gleiche Fehlermeldung.

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

                    @tobiii1810
                    Da hast du dir vermutlich durch das unnötige root-login die Rechte zerballert.

                    iobroker fix
                    

                    ausführen.

                    T 2 Replies Last reply Reply Quote 0
                    • T
                      tobiii1810 @Thomas Braun last edited by

                      @Thomas-Braun

                      Der Fix war erfolgreich, hat aber leider nichts gebracht. Hast du noch eine Idee?

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

                        @tobiii1810

                        iobroker add knx
                        

                        Ausgabe posten.

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

                          @Thomas-Braun

                          Beim Installationsversuch über die Konsole mit folgendem Befehl

                          sudo npm i iobroker.knx 
                          

                          kommt dies hier

                          iobroker@IoBrokerThinClient:~$ sudo npm i iobroker.knx                                      [sudo] Passwort für iobroker:
                          npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/packa            ge.json'
                          npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/package.            json'
                          npm WARN iobroker No description
                          npm WARN iobroker No repository field.
                          npm WARN iobroker No README data
                          npm WARN iobroker No license field.
                          
                          + iobroker.knx@1.0.42
                          updated 1 package and audited 53 packages in 3.075s
                          
                          3 packages are looking for funding
                            run `npm fund` for details
                          
                          found 0 vulnerabilities
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @tobiii1810 last edited by Thomas Braun

                            @tobiii1810
                            Mit npm machst du da nix. Insbesondere nicht in Verbindung mit sudo!
                            Zumal das im falschen Verzeichnis ausgeführt wurde.

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

                              @Thomas-Braun

                              iobroker@IoBrokerThinClient:~$ iobroker add knx
                              host.IoBrokerThinClient install adapter knx
                              npm install --loglevel error --production (System call) in "/node_modules/iobroker.knx"
                              npm ERR! code EACCES
                              npm ERR! syscall access
                              npm ERR! path /node_modules/iobroker.knx
                              npm ERR! errno -13
                              npm ERR! Error: EACCES: permission denied, access '/node_modules/iobroker.knx'
                              npm ERR!  [Error: EACCES: permission denied, access '/node_modules/iobroker.knx'] {
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'access',
                              npm ERR!   path: '/node_modules/iobroker.knx'
                              npm ERR! }
                              npm ERR!
                              npm ERR! The operation was rejected by your operating system.
                              npm ERR! It is likely you do not have the permissions to access this file as the current user
                              npm ERR!
                              npm ERR! If you believe this might be a permissions issue, please double-check the
                              npm ERR! permissions of the file and its containing directories, or try running
                              npm ERR! the command again as root/Administrator.
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2020-11-02T19_48_30_277Z-debug.log
                              Cannot install iobroker.knx: 243
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @tobiii1810 last edited by

                                @tobiii1810

                                Da stimmt der prefix offenbar nicht.

                                cd /opt/iobroker
                                iobroker add knx
                                
                                T Glasfaser 2 Replies Last reply Reply Quote 0
                                • T
                                  tobiii1810 @Thomas Braun last edited by

                                  @Thomas-Braun

                                  Hat leider nichts gebracht

                                  iobroker@IoBrokerThinClient:~$ cd /opt/iobroker
                                  iobroker@IoBrokerThinClient:/opt/iobroker$ iobroker add knx
                                  host.IoBrokerThinClient install adapter knx
                                  npm install --loglevel error --production (System call) in "/node_modules/iobroker.knx"
                                  npm ERR! code EACCES
                                  npm ERR! syscall access
                                  npm ERR! path /node_modules/iobroker.knx
                                  npm ERR! errno -13
                                  npm ERR! Error: EACCES: permission denied, access '/node_modules/iobroker.knx'
                                  npm ERR!  [Error: EACCES: permission denied, access '/node_modules/iobroker.knx'] {
                                  npm ERR!   errno: -13,
                                  npm ERR!   code: 'EACCES',
                                  npm ERR!   syscall: 'access',
                                  npm ERR!   path: '/node_modules/iobroker.knx'
                                  npm ERR! }
                                  npm ERR!
                                  npm ERR! The operation was rejected by your operating system.
                                  npm ERR! It is likely you do not have the permissions to access this file as the current user
                                  npm ERR!
                                  npm ERR! If you believe this might be a permissions issue, please double-check the
                                  npm ERR! permissions of the file and its containing directories, or try running
                                  npm ERR! the command again as root/Administrator.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2020-11-02T19_52_36_875Z-debug.log
                                  Cannot install iobroker.knx: 243
                                  
                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @tobiii1810 last edited by

                                    @tobiii1810

                                    iobroker fix
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tobiii1810 @Glasfaser last edited by

                                      @Glasfaser

                                      Hat @Thomas-Braun oben schon geschrieben und wurde auch schon ausgeführt.

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

                                        @Thomas-Braun

                                        ich würde die Kiste mal neu durchstarten lassen .....!?

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

                                          @Glasfaser Ja.
                                          @tobiii1810

                                          sudo reboot
                                          

                                          Und ich würde mir auch einen vernünftigen USER anlegen. Da mit dem iobroker rumzumachen ist nicht gerade günstig.

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

                                            @Thomas-Braun

                                            Auch ein reboot bringt keinen Erfolg. Sollte ich iobroker komplett neu aufsetzten?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            956
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            iobroker
                                            3
                                            71
                                            3066
                                            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