Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Linux user nicht genügend Rechte

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Linux user nicht genügend Rechte

Geplant Angeheftet Gesperrt Verschoben Off Topic
25 Beiträge 3 Kommentatoren 1.8k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S Offline
    S Offline
    saeft_2003
    Most Active
    schrieb am zuletzt editiert von
    #1

    Mein normaler linux user (patrick) hat nicht die ausreichenden Rechte bzw ist nicht in den richtigen Gruppen um zum Beispiel iob diag auszuführen.

    
    patrick@iobroker:~$ iob diag
    [sudo] Passwort für patrick: 
    Sorry, user patrick is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh' as iobroker on iobroker.iobroker.
    patrick@iobroker:~$
    
    

    Könnte ihr mir kurz sagen was ich alles tun muss damit ich mit dem user patrick normal arbeiten kann?

    @Thomas-Braun

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • S saeft_2003

      Mein normaler linux user (patrick) hat nicht die ausreichenden Rechte bzw ist nicht in den richtigen Gruppen um zum Beispiel iob diag auszuführen.

      
      patrick@iobroker:~$ iob diag
      [sudo] Passwort für patrick: 
      Sorry, user patrick is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh' as iobroker on iobroker.iobroker.
      patrick@iobroker:~$
      
      

      Könnte ihr mir kurz sagen was ich alles tun muss damit ich mit dem user patrick normal arbeiten kann?

      @Thomas-Braun

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #2

      @saeft_2003 sagte in Linux user nicht genügend Rechte:

      Könnte ihr mir kurz sagen was ich alles tun muss damit ich mit dem user patrick normal arbeiten kann?

      In welchen Gruppen ist der drin?

      groups
      

      sagt dazu?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      S 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @saeft_2003 sagte in Linux user nicht genügend Rechte:

        Könnte ihr mir kurz sagen was ich alles tun muss damit ich mit dem user patrick normal arbeiten kann?

        In welchen Gruppen ist der drin?

        groups
        

        sagt dazu?

        S Offline
        S Offline
        saeft_2003
        Most Active
        schrieb am zuletzt editiert von
        #3

        @thomas-braun

        
        patrick@iobroker:~$ groups
        patrick cdrom floppy audio dip video plugdev users netdev
        
        
        Thomas BraunT 2 Antworten Letzte Antwort
        0
        • S saeft_2003

          @thomas-braun

          
          patrick@iobroker:~$ groups
          patrick cdrom floppy audio dip video plugdev users netdev
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #4

          @saeft_2003

          Der fehlt in der Gruppe iobroker. Und in adm und dialout würde ich den auch packen.

          sudo usermod -a -G adm,dialout,iobroker patrick
          

          patrick danach aus- und wieder einloggen.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • S saeft_2003

            @thomas-braun

            
            patrick@iobroker:~$ groups
            patrick cdrom floppy audio dip video plugdev users netdev
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #5

            @saeft_2003

            Und vor allem anderen würde ich den patrick in die Gruppe sudo packen.
            Dann funktioniert das weitere auch. Geht aber nur als root oder mit einem anderen user, der das darf.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            S 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @saeft_2003

              Und vor allem anderen würde ich den patrick in die Gruppe sudo packen.
              Dann funktioniert das weitere auch. Geht aber nur als root oder mit einem anderen user, der das darf.

              S Offline
              S Offline
              saeft_2003
              Most Active
              schrieb am zuletzt editiert von
              #6

              @thomas-braun

              Erledigt:

              
              patrick@iobroker:~$ groups
              patrick adm dialout cdrom floppy sudo audio dip video plugdev users netdev iobroker
              
              
              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • S saeft_2003

                @thomas-braun

                Erledigt:

                
                patrick@iobroker:~$ groups
                patrick adm dialout cdrom floppy sudo audio dip video plugdev users netdev iobroker
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #7

                @saeft_2003

                Dann sollte es jetzt gehen.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                S 1 Antwort Letzte Antwort
                1
                • Thomas BraunT Thomas Braun

                  @saeft_2003

                  Dann sollte es jetzt gehen.

                  S Offline
                  S Offline
                  saeft_2003
                  Most Active
                  schrieb am zuletzt editiert von saeft_2003
                  #8

                  @thomas-braun

                  Ja danke. Ich hab gleich noch eine Frage iob diag sagt das node js nicht richtig installiert ist. Vor kurzem habe ich aber erst debian 12 installiert und dann frisch iobroker per Skript und danach backup. Seitdem habe ich nicht manuell hand angelegt. Wie kann das dann sein?

                  ========== Mark until here for C&P =============

                  iob diag has finished.

                  Press any key for a summary
                  Copy text starting here:

                  ======================= SUMMARY =======================
                                          v.2023-10-10
                  
                  
                   Static hostname: iobroker
                         Icon name: computer-vm
                           Chassis: vm 🖴
                    Virtualization: kvm
                  Operating System: Debian GNU/Linux 12 (bookworm)
                            Kernel: Linux 6.1.0-12-amd64
                      Architecture: x86-64
                   Hardware Vendor: QEMU
                    Hardware Model: Standard PC _i440FX + PIIX, 1996_
                  Firmware Version: rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org
                  
                  Installation:           kvm
                  Kernel:                 x86_64
                  Userland:               amd64
                  Timezone:               Europe/Berlin (CEST, +0200)
                  User-ID:                1000
                  X-Server:               false
                  Boot Target:            graphical.target
                  
                  Pending OS-Updates:     62
                  Pending iob updates:    0
                  
                  /home/iobroker/.diag.sh: line 486: nodejs: command not found
                  Nodejs-Installation:            
                                          /usr/bin/node           v18.17.1
                                          /usr/bin/npm            9.6.7
                                          /usr/bin/npx            9.6.7
                                          /usr/bin/corepack       0.18.0
                  
                  Recommended versions are nodejs 18.18.2 and npm 9.8.1
                  *** nodejs is NOT correctly installed ***
                  Wrong installation path detected. This needs to be fixed.
                  
                  Please check
                  https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                  for more information on how to fix these errors.
                  
                  MEMORY: 
                                 total        used        free      shared  buff/cache   available
                  Mem:            7.1G        5.5G        998M        524K        868M        1.6G
                  Swap:           1.0G        364M        657M
                  Total:          8.1G        5.9G        1.7G
                  
                  Active iob-Instances:   47
                  Active repo(s): Stable (default)
                  
                  ioBroker Core:          js-controller           5.0.12
                                          admin                   6.10.1
                  
                  ioBroker Status:        iobroker is running on this host.
                  
                  
                  Objects type: jsonl
                  States  type: jsonl
                  
                  Status admin and web instance:
                  + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                    system.adapter.web-speedy.0             : web-speedy            : iobroker                                 - disabled
                  + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                  
                  Objects:                49843
                  States:                 43420
                  
                  Size of iob-Database:
                  
                  78M     /opt/iobroker/iobroker-data/objects.jsonl
                  53M     /opt/iobroker/iobroker-data/states.jsonl
                  
                  
                  
                  =================== END OF SUMMARY ====================
                  

                  === Mark text until here for copying ===

                  Thomas BraunT Dr. BakteriusD 4 Antworten Letzte Antwort
                  0
                  • S saeft_2003

                    @thomas-braun

                    Ja danke. Ich hab gleich noch eine Frage iob diag sagt das node js nicht richtig installiert ist. Vor kurzem habe ich aber erst debian 12 installiert und dann frisch iobroker per Skript und danach backup. Seitdem habe ich nicht manuell hand angelegt. Wie kann das dann sein?

                    ========== Mark until here for C&P =============

                    iob diag has finished.

                    Press any key for a summary
                    Copy text starting here:

                    ======================= SUMMARY =======================
                                            v.2023-10-10
                    
                    
                     Static hostname: iobroker
                           Icon name: computer-vm
                             Chassis: vm 🖴
                      Virtualization: kvm
                    Operating System: Debian GNU/Linux 12 (bookworm)
                              Kernel: Linux 6.1.0-12-amd64
                        Architecture: x86-64
                     Hardware Vendor: QEMU
                      Hardware Model: Standard PC _i440FX + PIIX, 1996_
                    Firmware Version: rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org
                    
                    Installation:           kvm
                    Kernel:                 x86_64
                    Userland:               amd64
                    Timezone:               Europe/Berlin (CEST, +0200)
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            graphical.target
                    
                    Pending OS-Updates:     62
                    Pending iob updates:    0
                    
                    /home/iobroker/.diag.sh: line 486: nodejs: command not found
                    Nodejs-Installation:            
                                            /usr/bin/node           v18.17.1
                                            /usr/bin/npm            9.6.7
                                            /usr/bin/npx            9.6.7
                                            /usr/bin/corepack       0.18.0
                    
                    Recommended versions are nodejs 18.18.2 and npm 9.8.1
                    *** nodejs is NOT correctly installed ***
                    Wrong installation path detected. This needs to be fixed.
                    
                    Please check
                    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                    for more information on how to fix these errors.
                    
                    MEMORY: 
                                   total        used        free      shared  buff/cache   available
                    Mem:            7.1G        5.5G        998M        524K        868M        1.6G
                    Swap:           1.0G        364M        657M
                    Total:          8.1G        5.9G        1.7G
                    
                    Active iob-Instances:   47
                    Active repo(s): Stable (default)
                    
                    ioBroker Core:          js-controller           5.0.12
                                            admin                   6.10.1
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin and web instance:
                    + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                      system.adapter.web-speedy.0             : web-speedy            : iobroker                                 - disabled
                    + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    Objects:                49843
                    States:                 43420
                    
                    Size of iob-Database:
                    
                    78M     /opt/iobroker/iobroker-data/objects.jsonl
                    53M     /opt/iobroker/iobroker-data/states.jsonl
                    
                    
                    
                    =================== END OF SUMMARY ====================
                    

                    === Mark text until here for copying ===

                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #9

                    @saeft_2003 sagte in Linux user nicht genügend Rechte:

                    Wie kann das dann sein?

                    https://forum.iobroker.net/topic/69068/neuer-befehl-iob-nodejs-update

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    1 Antwort Letzte Antwort
                    0
                    • S saeft_2003

                      @thomas-braun

                      Ja danke. Ich hab gleich noch eine Frage iob diag sagt das node js nicht richtig installiert ist. Vor kurzem habe ich aber erst debian 12 installiert und dann frisch iobroker per Skript und danach backup. Seitdem habe ich nicht manuell hand angelegt. Wie kann das dann sein?

                      ========== Mark until here for C&P =============

                      iob diag has finished.

                      Press any key for a summary
                      Copy text starting here:

                      ======================= SUMMARY =======================
                                              v.2023-10-10
                      
                      
                       Static hostname: iobroker
                             Icon name: computer-vm
                               Chassis: vm 🖴
                        Virtualization: kvm
                      Operating System: Debian GNU/Linux 12 (bookworm)
                                Kernel: Linux 6.1.0-12-amd64
                          Architecture: x86-64
                       Hardware Vendor: QEMU
                        Hardware Model: Standard PC _i440FX + PIIX, 1996_
                      Firmware Version: rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org
                      
                      Installation:           kvm
                      Kernel:                 x86_64
                      Userland:               amd64
                      Timezone:               Europe/Berlin (CEST, +0200)
                      User-ID:                1000
                      X-Server:               false
                      Boot Target:            graphical.target
                      
                      Pending OS-Updates:     62
                      Pending iob updates:    0
                      
                      /home/iobroker/.diag.sh: line 486: nodejs: command not found
                      Nodejs-Installation:            
                                              /usr/bin/node           v18.17.1
                                              /usr/bin/npm            9.6.7
                                              /usr/bin/npx            9.6.7
                                              /usr/bin/corepack       0.18.0
                      
                      Recommended versions are nodejs 18.18.2 and npm 9.8.1
                      *** nodejs is NOT correctly installed ***
                      Wrong installation path detected. This needs to be fixed.
                      
                      Please check
                      https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                      for more information on how to fix these errors.
                      
                      MEMORY: 
                                     total        used        free      shared  buff/cache   available
                      Mem:            7.1G        5.5G        998M        524K        868M        1.6G
                      Swap:           1.0G        364M        657M
                      Total:          8.1G        5.9G        1.7G
                      
                      Active iob-Instances:   47
                      Active repo(s): Stable (default)
                      
                      ioBroker Core:          js-controller           5.0.12
                                              admin                   6.10.1
                      
                      ioBroker Status:        iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Status admin and web instance:
                      + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                        system.adapter.web-speedy.0             : web-speedy            : iobroker                                 - disabled
                      + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      Objects:                49843
                      States:                 43420
                      
                      Size of iob-Database:
                      
                      78M     /opt/iobroker/iobroker-data/objects.jsonl
                      53M     /opt/iobroker/iobroker-data/states.jsonl
                      
                      
                      
                      =================== END OF SUMMARY ====================
                      

                      === Mark text until here for copying ===

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #10

                      @saeft_2003 sagte in Linux user nicht genügend Rechte:

                      Pending OS-Updates: 62

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0
                      • S saeft_2003

                        @thomas-braun

                        Ja danke. Ich hab gleich noch eine Frage iob diag sagt das node js nicht richtig installiert ist. Vor kurzem habe ich aber erst debian 12 installiert und dann frisch iobroker per Skript und danach backup. Seitdem habe ich nicht manuell hand angelegt. Wie kann das dann sein?

                        ========== Mark until here for C&P =============

                        iob diag has finished.

                        Press any key for a summary
                        Copy text starting here:

                        ======================= SUMMARY =======================
                                                v.2023-10-10
                        
                        
                         Static hostname: iobroker
                               Icon name: computer-vm
                                 Chassis: vm 🖴
                          Virtualization: kvm
                        Operating System: Debian GNU/Linux 12 (bookworm)
                                  Kernel: Linux 6.1.0-12-amd64
                            Architecture: x86-64
                         Hardware Vendor: QEMU
                          Hardware Model: Standard PC _i440FX + PIIX, 1996_
                        Firmware Version: rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org
                        
                        Installation:           kvm
                        Kernel:                 x86_64
                        Userland:               amd64
                        Timezone:               Europe/Berlin (CEST, +0200)
                        User-ID:                1000
                        X-Server:               false
                        Boot Target:            graphical.target
                        
                        Pending OS-Updates:     62
                        Pending iob updates:    0
                        
                        /home/iobroker/.diag.sh: line 486: nodejs: command not found
                        Nodejs-Installation:            
                                                /usr/bin/node           v18.17.1
                                                /usr/bin/npm            9.6.7
                                                /usr/bin/npx            9.6.7
                                                /usr/bin/corepack       0.18.0
                        
                        Recommended versions are nodejs 18.18.2 and npm 9.8.1
                        *** nodejs is NOT correctly installed ***
                        Wrong installation path detected. This needs to be fixed.
                        
                        Please check
                        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                        for more information on how to fix these errors.
                        
                        MEMORY: 
                                       total        used        free      shared  buff/cache   available
                        Mem:            7.1G        5.5G        998M        524K        868M        1.6G
                        Swap:           1.0G        364M        657M
                        Total:          8.1G        5.9G        1.7G
                        
                        Active iob-Instances:   47
                        Active repo(s): Stable (default)
                        
                        ioBroker Core:          js-controller           5.0.12
                                                admin                   6.10.1
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        
                        Status admin and web instance:
                        + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                          system.adapter.web-speedy.0             : web-speedy            : iobroker                                 - disabled
                        + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                        
                        Objects:                49843
                        States:                 43420
                        
                        Size of iob-Database:
                        
                        78M     /opt/iobroker/iobroker-data/objects.jsonl
                        53M     /opt/iobroker/iobroker-data/states.jsonl
                        
                        
                        
                        =================== END OF SUMMARY ====================
                        

                        === Mark text until here for copying ===

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #11

                        @saeft_2003

                        Was ich aber nicht verstehe: Warum war der User nicht schon gleich in den Gruppen drin? Wenn der direkt bei der Installation von Debian angelegt wird, dann ist der sowohl in sudo wie auch in iobroker enthalten. Ganz automatisch.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        S 1 Antwort Letzte Antwort
                        0
                        • S saeft_2003

                          @thomas-braun

                          Ja danke. Ich hab gleich noch eine Frage iob diag sagt das node js nicht richtig installiert ist. Vor kurzem habe ich aber erst debian 12 installiert und dann frisch iobroker per Skript und danach backup. Seitdem habe ich nicht manuell hand angelegt. Wie kann das dann sein?

                          ========== Mark until here for C&P =============

                          iob diag has finished.

                          Press any key for a summary
                          Copy text starting here:

                          ======================= SUMMARY =======================
                                                  v.2023-10-10
                          
                          
                           Static hostname: iobroker
                                 Icon name: computer-vm
                                   Chassis: vm 🖴
                            Virtualization: kvm
                          Operating System: Debian GNU/Linux 12 (bookworm)
                                    Kernel: Linux 6.1.0-12-amd64
                              Architecture: x86-64
                           Hardware Vendor: QEMU
                            Hardware Model: Standard PC _i440FX + PIIX, 1996_
                          Firmware Version: rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org
                          
                          Installation:           kvm
                          Kernel:                 x86_64
                          Userland:               amd64
                          Timezone:               Europe/Berlin (CEST, +0200)
                          User-ID:                1000
                          X-Server:               false
                          Boot Target:            graphical.target
                          
                          Pending OS-Updates:     62
                          Pending iob updates:    0
                          
                          /home/iobroker/.diag.sh: line 486: nodejs: command not found
                          Nodejs-Installation:            
                                                  /usr/bin/node           v18.17.1
                                                  /usr/bin/npm            9.6.7
                                                  /usr/bin/npx            9.6.7
                                                  /usr/bin/corepack       0.18.0
                          
                          Recommended versions are nodejs 18.18.2 and npm 9.8.1
                          *** nodejs is NOT correctly installed ***
                          Wrong installation path detected. This needs to be fixed.
                          
                          Please check
                          https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian
                          for more information on how to fix these errors.
                          
                          MEMORY: 
                                         total        used        free      shared  buff/cache   available
                          Mem:            7.1G        5.5G        998M        524K        868M        1.6G
                          Swap:           1.0G        364M        657M
                          Total:          8.1G        5.9G        1.7G
                          
                          Active iob-Instances:   47
                          Active repo(s): Stable (default)
                          
                          ioBroker Core:          js-controller           5.0.12
                                                  admin                   6.10.1
                          
                          ioBroker Status:        iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                            system.adapter.web-speedy.0             : web-speedy            : iobroker                                 - disabled
                          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects:                49843
                          States:                 43420
                          
                          Size of iob-Database:
                          
                          78M     /opt/iobroker/iobroker-data/objects.jsonl
                          53M     /opt/iobroker/iobroker-data/states.jsonl
                          
                          
                          
                          =================== END OF SUMMARY ====================
                          

                          === Mark text until here for copying ===

                          Dr. BakteriusD Offline
                          Dr. BakteriusD Offline
                          Dr. Bakterius
                          Most Active
                          schrieb am zuletzt editiert von
                          #12

                          @saeft_2003 sagte in Linux user nicht genügend Rechte:

                          Boot Target: graphical.target

                          Wozu?

                          S 1 Antwort Letzte Antwort
                          0
                          • Dr. BakteriusD Dr. Bakterius

                            @saeft_2003 sagte in Linux user nicht genügend Rechte:

                            Boot Target: graphical.target

                            Wozu?

                            S Offline
                            S Offline
                            saeft_2003
                            Most Active
                            schrieb am zuletzt editiert von saeft_2003
                            #13

                            @dr-bakterius sagte in Linux user nicht genügend Rechte:

                            @saeft_2003 sagte in Linux user nicht genügend Rechte:

                            Boot Target: graphical.target

                            Wozu?

                            Ist das mit Desktop? Weil ich bin mir eigentlich ziemlich sicher das ich ohne installiert habe🤔 … oder ich habe es schon immer falsch gemacht 🙈

                            5BF631C0-8EE8-4CA7-B5FA-25ECCCE2A684.jpeg

                            Ich mache hier immer install, nicht graphical install. Richtig oder?

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @saeft_2003

                              Was ich aber nicht verstehe: Warum war der User nicht schon gleich in den Gruppen drin? Wenn der direkt bei der Installation von Debian angelegt wird, dann ist der sowohl in sudo wie auch in iobroker enthalten. Ganz automatisch.

                              S Offline
                              S Offline
                              saeft_2003
                              Most Active
                              schrieb am zuletzt editiert von
                              #14

                              @thomas-braun sagte in Linux user nicht genügend Rechte:

                              @saeft_2003

                              Was ich aber nicht verstehe: Warum war der User nicht schon gleich in den Gruppen drin? Wenn der direkt bei der Installation von Debian angelegt wird, dann ist der sowohl in sudo wie auch in iobroker enthalten. Ganz automatisch.

                              Ja ich habe den bei der Installation angelegt. Direkt nach dem root pw.

                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • S saeft_2003

                                @dr-bakterius sagte in Linux user nicht genügend Rechte:

                                @saeft_2003 sagte in Linux user nicht genügend Rechte:

                                Boot Target: graphical.target

                                Wozu?

                                Ist das mit Desktop? Weil ich bin mir eigentlich ziemlich sicher das ich ohne installiert habe🤔 … oder ich habe es schon immer falsch gemacht 🙈

                                5BF631C0-8EE8-4CA7-B5FA-25ECCCE2A684.jpeg

                                Ich mache hier immer install, nicht graphical install. Richtig oder?

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #15

                                @saeft_2003 sagte in Linux user nicht genügend Rechte:

                                Ist das mit Desktop?

                                Nein, aber die Kiste würde bis zum Desktop booten, wenn denn einer installiert wäre. Kannst du mit

                                sudo systemctl set-default multi-user.target
                                

                                ändern.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                1 Antwort Letzte Antwort
                                0
                                • S saeft_2003

                                  @thomas-braun sagte in Linux user nicht genügend Rechte:

                                  @saeft_2003

                                  Was ich aber nicht verstehe: Warum war der User nicht schon gleich in den Gruppen drin? Wenn der direkt bei der Installation von Debian angelegt wird, dann ist der sowohl in sudo wie auch in iobroker enthalten. Ganz automatisch.

                                  Ja ich habe den bei der Installation angelegt. Direkt nach dem root pw.

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #16

                                  @saeft_2003 sagte in Linux user nicht genügend Rechte:

                                  Direkt nach dem root pw.

                                  Es wird dem root KEIN Passwort gegeben.

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  S 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @saeft_2003 sagte in Linux user nicht genügend Rechte:

                                    Direkt nach dem root pw.

                                    Es wird dem root KEIN Passwort gegeben.

                                    S Offline
                                    S Offline
                                    saeft_2003
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #17

                                    @thomas-braun sagte in Linux user nicht genügend Rechte:

                                    @saeft_2003 sagte in Linux user nicht genügend Rechte:

                                    Direkt nach dem root pw.

                                    Es wird dem root KEIN Passwort gegeben.

                                    Ok. Ich dachte immer das es ein root pw geben muss.

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • S saeft_2003

                                      @thomas-braun sagte in Linux user nicht genügend Rechte:

                                      @saeft_2003 sagte in Linux user nicht genügend Rechte:

                                      Direkt nach dem root pw.

                                      Es wird dem root KEIN Passwort gegeben.

                                      Ok. Ich dachte immer das es ein root pw geben muss.

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #18

                                      @saeft_2003

                                      Nein, muss/darf es nicht. Der user iobroker hat ja (hoffentlich) auch keins. Das sind alles Systemuser, die brauchen keinen Schlüssel, die wohnen permanent in dem System.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      S 1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @saeft_2003

                                        Nein, muss/darf es nicht. Der user iobroker hat ja (hoffentlich) auch keins. Das sind alles Systemuser, die brauchen keinen Schlüssel, die wohnen permanent in dem System.

                                        S Offline
                                        S Offline
                                        saeft_2003
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #19

                                        @thomas-braun

                                        Alles klar 👍

                                        1 Antwort Letzte Antwort
                                        0
                                        • S Offline
                                          S Offline
                                          saeft_2003
                                          Most Active
                                          schrieb am zuletzt editiert von saeft_2003
                                          #20

                                          @thomas-braun

                                          Ich mach jetzt die debian updates und danach iob nodejs-update dann sollte ja alles wieder passen…

                                          erledigt jetzt sollte alles passen:

                                          ======================= SUMMARY =======================
                                                                  v.2023-10-10
                                          
                                          
                                           Static hostname: iobroker
                                                 Icon name: computer-vm
                                                   Chassis: vm 🖴
                                            Virtualization: kvm
                                          Operating System: Debian GNU/Linux 12 (bookworm)
                                                    Kernel: Linux 6.1.0-12-amd64
                                              Architecture: x86-64
                                           Hardware Vendor: QEMU
                                            Hardware Model: Standard PC _i440FX + PIIX, 1996_
                                          Firmware Version: rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org
                                          
                                          Installation:           kvm
                                          Kernel:                 x86_64
                                          Userland:               amd64
                                          Timezone:               Europe/Berlin (CEST, +0200)
                                          User-ID:                1000
                                          X-Server:               false
                                          Boot Target:            multi-user.target
                                          
                                          Pending OS-Updates:     0
                                          Pending iob updates:    0
                                          
                                          This system needs to be REBOOTED NOW!
                                          
                                          
                                          Nodejs-Installation:    /usr/bin/nodejs         v18.18.2
                                                                  /usr/bin/node           v18.18.2
                                                                  /usr/bin/npm            9.8.1
                                                                  /usr/bin/npx            9.8.1
                                                                  /usr/bin/corepack       0.19.0
                                          
                                          Recommended versions are nodejs 18.18.2 and npm 9.8.1
                                          Your nodejs installation is correct
                                          
                                          MEMORY:
                                                         total        used        free      shared  buff/cache   available
                                          Mem:            7.1G        472M        4.7G        557K        2.3G        6.6G
                                          Swap:           1.0G        1.1M        1.0G
                                          Total:          8.1G        473M        5.7G
                                          
                                          Active iob-Instances:   1
                                          Active repo(s): Stable (default)
                                          
                                          ioBroker Core:          js-controller           5.0.12
                                                                  admin                   6.10.1
                                          
                                          ioBroker Status:        iobroker is not running on this host.
                                          
                                          
                                          Objects type: jsonl
                                          States  type: jsonl
                                          
                                          Status admin and web instance:
                                            system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                                            system.adapter.web-speedy.0             : web-speedy            : iobroker                                 - disabled
                                            system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                          
                                          Objects:                49841
                                          States:                 43416
                                          
                                          Size of iob-Database:
                                          
                                          78M     /opt/iobroker/iobroker-data/objects.jsonl
                                          9.2M    /opt/iobroker/iobroker-data/states.jsonl
                                          
                                          
                                          
                                          =================== END OF SUMMARY ====================
                                          
                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          413

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe