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 last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Fujitsu Thin Client Futro S900
      Arbeitsspeicher: 1,55GB
      Festplattenart: 32GB SSD
      Betriebssystem: Debian
      Node-Version: 15.0.1
      Nodejs-Version: 10.23.0
      NPM-Version: 7.0.3
      Installationsart: Skript
      Image genutzt: Ja
      Ort/Name der Imagedatei:

      Hallo zusammen,

      hatte vorher zum Test einen Rasperry Pi 3 im Einsatz und war im Großen und Ganzen zufrieden.

      Da ich sehr günstig an den Thin Client gekommen bin habe ich ihn gestern Abend aufgestellt und habe Debian installiert.

      Die Installation des IoBrokers hat auch ohne Probleme funktioniert.

      Bei der Installation des KNX Adapters treten jedoch Probleme auf:

      1. Die aktuelle Version im IoBroker wird mit Ver. 10.0.39 angezeigt obwohl schon die 10.0.42 aktuell ist.

      2. Ein Auszug aus der Logdatei der Installation.

      878db872-cdf9-4230-9262-5283f4c4623a-grafik.png

      $ ./iobroker add knx  --host IoBrokerThinClient
      host.IoBrokerThinClient install adapter knx
      npm install --loglevel error --production (System call) in "/node_modules/iobroker.knx"
      npm
       
      ERR!
       code EACCESnpm
       ERR! syscall accessnpm ERR! path /node_modules/iobroker.knxnpm 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 usernpm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm 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-02T17_33_16_319Z-debug.log
      Cannot install iobroker.knx: 243
      ERROR: process exited with code 25
      

      Dies wird angezeigt wenn ich per IoBroker Admin Oberfläche zu installieren.

      Wenn ich über die Console die aktuelle Version direkt mit folgendem Befehl installieren will

      npm i iobroker.knx
      

      erscheint folgendes:

      root@IoBrokerThinClient:/# npm i iobroker.knx
      npm ERR! could not detect node name from path or package
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-11-02T17_37_06_412Z-debug.log
      

      Da ich eher neu in dem Thema IoBroker und Linux bin, bin ich gerade ein bisschen am verzweifeln. Auf dem Rasperry Pi ging die Installation ohne Probleme.

      Vielen Dank für eure Hilfe!

      Gruß Tobi

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

        @tobiii1810 sagte in Error Installation KNX Adapter Ver. 10.0.39:

        Node-Version:
        15.0.1

        Nodejs-Version:
        10.23.0

        Warum nur immer wieder...

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

        Und sofort als root abmelden!
        Und keine Module ins /home von root klatschen!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            902
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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