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.
    • 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
                  • Thomas Braun
                    Thomas Braun Most Active @tobiii1810 last edited by

                    @tobiii1810

                    iobroker add knx  --prefix "/opt/iobroker"
                    

                    Versuch mal so.

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

                      @Thomas-Braun said in Error Installation KNX Adapter Ver. 10.0.39:

                      iobroker add knx --prefix "/opt/iobroker"

                      Gleiches Fehlerbild.

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

                        @tobiii1810 Bitte Ausgaben posten.

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

                          @Thomas-Braun

                          iobroker@IoBrokerThinClient:/$ iobroker add knx  --prefix "/opt/iobroker"
                          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-02T20_09_43_507Z-debug.log
                          Cannot install iobroker.knx: 243
                          
                          
                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @Thomas Braun last edited by Glasfaser

                            @Thomas-Braun

                            ich vermute mal der Ordner ist/war schon da ... aber falsche Rechte gesetzt .

                            /node_modules/iobroker.knx
                            

                            und der Fix greift nicht ...

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

                              @Glasfaser Nee, da greift der Prefix /opt/iobroker nicht und die Installation soll in / erfolgen. Und das darf der iobroker natürlich nicht. Ich weiß aber nicht wo das einzustellen ist.

                              Das Environment für einen Standarduser weicht ja auch vom Systemuser iobroker ab:

                              pi:x:1000:1000:,,,:/home/pi:/bin/bash
                              iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin
                              

                              Ich bin aber nicht sicher, ob das damit zu tun haben könnte.

                              In einem 'sauberen' System läuft die Installation ja auch in das richtige Directory rein:

                              iobroker add knx
                              NPM version: 6.14.8
                              npm install iobroker.knx@1.0.42 --loglevel error --prefix "/opt/iobroker" (System call)
                              
                              1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @tobiii1810 last edited by Glasfaser

                                @Thomas-Braun

                                Er hat :

                                iobroker@IoBrokerThinClient:/$
                                

                                müsste das nicht so sein !?

                                iobroker@IoBrokerThinClient:~#
                                

                                am Ende

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

                                  @Glasfaser Nee, das ist schon richtig.

                                  # für root
                                  $ für U$ER
                                  

                                  Trotzdem ist iobroker kein 'normaler' User.

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

                                    @Thomas-Braun

                                    Oh ...
                                    stimmt ich muß immer umdenken , da es bei der Synology (Docker) anders ist ( root) 🙂

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

                                      @Thomas-Braun

                                      Bei der Debian Installation habe ich einen User mit dem Namen "iobroker" angelegt. Vielleicht verwirrt der Name nur ein wenig...

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

                                        @tobiii1810 Ääääääh...
                                        GAAAAAAAAAANZ doofe Idee!
                                        Der iobroker ist für andere Dinge vorgesehen.

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

                                          @Thomas-Braun

                                          Kann ich den Usernamen nachträglich ändern?

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

                                            @tobiii1810

                                            cat /etc/passwd | grep iobroker
                                            
                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            535
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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