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

                          @Thomas-Braun

                          tobi@IoBrokerThinClient:~$ iobroker stop
                          tobi@IoBrokerThinClient:~$ sudo deluser iobroker
                          [sudo] Passwort für tobi:
                          Entferne Benutzer »iobroker« ...
                          userdel: Gruppe iobroker nicht entfernt, da sie noch andere Mitglieder hat.
                          Fertig.
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @tobiii1810 last edited by

                            @tobiii1810

                            cat /etc/group | grep iobroker
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tobiii1810 @Thomas Braun last edited by

                              @Thomas-Braun

                              tobi@IoBrokerThinClient:~$ cat /etc/group | grep iobroker
                              iobroker:x:1000:tobi
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @tobiii1810 last edited by

                                @tobiii1810

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

                                  @Thomas-Braun

                                  uid=1001(tobi) gid=1001(tobi) Gruppen=1001(tobi),27(sudo),1000(iobroker)
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @tobiii1810 last edited by

                                    @tobiii1810

                                    sudo -u iobroker id
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tobiii1810 @Thomas Braun last edited by

                                      @Thomas-Braun

                                      sudo: Unbekannter Benutzer: iobroker
                                      sudo: Regelwerks-Plugin konnte nicht initialisiert werden
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @tobiii1810 last edited by

                                        @tobiii1810 Gut. Starte mal durch.
                                        Kann sein, dass der iobroker dann klemmt.
                                        Dann

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

                                          @Thomas-Braun

                                          Er hängt jetzt wie du sagtest

                                          library: loaded
                                          Library version=2020-06-12
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2020-06-15
                                          
                                              You might need to enter your password a couple of times.
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/3)
                                          ==========================================================================
                                          
                                          OK:1 http://security.debian.org/debian-security buster/updates InRelease
                                          OK:2 http://deb.debian.org/debian buster InRelease
                                          OK:3 http://deb.debian.org/debian buster-updates InRelease
                                          OK:4 https://deb.nodesource.com/node_12.x buster InRelease
                                          Paketlisten werden gelesen... Fertig
                                          Installed gcc-c++
                                          
                                          ==========================================================================
                                              Checking ioBroker user and directory permissions (2/3)
                                          ==========================================================================
                                          
                                          useradd: Gruppe iobroker existiert - wenn Sie den Benutzer zur Gruppe hinzufügen
                                          möchten, benutzen Sie -g.
                                          User iobroker created
                                          Created /etc/sudoers.d/iobroker
                                          usermod: Benutzer »iobroker« ist nicht vorhanden.
                                          usermod: Benutzer »iobroker« ist nicht vorhanden.
                                          usermod: Benutzer »iobroker« ist nicht vorhanden.
                                          usermod: Benutzer »iobroker« ist nicht vorhanden.
                                          Fixing directory permissions...
                                          chown: ungültiger Benutzer: „iobroker:iobroker“
                                          chown: ungültiger Benutzer: „iobroker:iobroker“
                                          chown: ungültiger Benutzer: „iobroker:iobroker“
                                          
                                          ==========================================================================
                                              Checking autostart (3/3)
                                          ==========================================================================
                                          
                                          chown: ungültiger Benutzer: „iobroker:iobroker“
                                          chown: ungültiger Benutzer: „iobroker:iobroker“
                                          Enabling autostart...
                                          Autostart enabled!
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          tobi@IoBrokerThinClient:~$
                                          tobi@IoBrokerThinClient:~$ iobroker start
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @tobiii1810 last edited by

                                            @tobiii1810

                                            sudo -u iobroker groups
                                            
                                            T 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            927
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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