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

                        @Thomas-Braun

                        iobroker@IoBrokerThinClient:/$ cat /etc/passwd | grep iobroker
                        iobroker:x:1000:1000:Iobroker,,,:/home/iobroker:/bin/bash
                        
                        
                        Thomas Braun 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @tobiii1810 last edited by

                          @tobiii1810
                          Ja, das ist für die UID 1000 das richtige Setup, aber der falsche Name...

                          Der User iobroker läuft eigentlich so:

                          iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Thomas Braun last edited by

                            @Thomas-Braun

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

                              @tobiii1810

                              sudo usermod -l neueruser iobroker
                              

                              Für neueruser halt was passendes nehmen. tobi z. B.

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

                                @Thomas-Braun

                                Kann den Usernamen wahrscheinlich nicht ändern da ich mit ihm angemeldet bin oder?

                                iobroker@IoBrokerThinClient:/$ sudo usermod -l tobi iobroker
                                [sudo] Passwort für iobroker:
                                usermod: user iobroker is currently used by process 776
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @tobiii1810 last edited by Thomas Braun

                                  @tobiii1810
                                  Hatte ich mir fast gedacht.
                                  Dann halt so:

                                  sudo adduser tobi
                                  

                                  sorgfältig ausfüllen.
                                  Dann

                                  sudo usermod -a -G sudo tobi
                                  

                                  Dann als tobi anmelden.
                                  Danach

                                  sudo deluser iobroker
                                  

                                  Und dann den

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

                                    @Thomas-Braun

                                    tobi@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_56_23_245Z-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 Alles bei den Usern gerade gezogen?

                                      iobroker fix
                                      

                                      vorher ausgeführt?

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

                                        @Thomas-Braun

                                        tobi@IoBrokerThinClient:~$ sudo deluser iobroker
                                        [sudo] Passwort für tobi:
                                        Entferne Benutzer »iobroker« ...
                                        userdel: user iobroker is currently used by process 3645
                                        /usr/sbin/deluser: »/sbin/userdel iobroker« gab den Fehlercode 8 zurück. Programmende.
                                        
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tobiii1810 @Thomas Braun last edited by

                                          @Thomas-Braun

                                          tobi@IoBrokerThinClient:~$ sudo deluser iobroker
                                          [sudo] Passwort für tobi:
                                          Entferne Benutzer »iobroker« ...
                                          userdel: user iobroker is currently used by process 3645
                                          /usr/sbin/deluser: »/sbin/userdel iobroker« gab den Fehlercode 8 zurück. Programmende.
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @tobiii1810 last edited by

                                            @tobiii1810 Achso, vorher den iobroker stoppen.

                                            iobroker stop
                                            
                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            437
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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