Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Linux user nicht genügend Rechte

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Linux user nicht genügend Rechte

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @saeft_2003 last edited by

      @saeft_2003

      Dann sollte es jetzt gehen.

      S 1 Reply Last reply Reply Quote 1
      • S
        saeft_2003 Most Active @Thomas Braun last edited by 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 Braun Dr. Bakterius 4 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @saeft_2003 last edited by

          @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

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

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

            Pending OS-Updates: 62

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

              @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 1 Reply Last reply Reply Quote 0
              • Dr. Bakterius
                Dr. Bakterius Most Active @saeft_2003 last edited by

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

                Boot Target: graphical.target

                Wozu?

                S 1 Reply Last reply Reply Quote 0
                • S
                  saeft_2003 Most Active @Dr. Bakterius last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                  • S
                    saeft_2003 Most Active @Thomas Braun last edited by

                    @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 Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @saeft_2003 last edited by

                      @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.

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

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

                        Direkt nach dem root pw.

                        Es wird dem root KEIN Passwort gegeben.

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

                          @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 Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @saeft_2003 last edited by

                            @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 1 Reply Last reply Reply Quote 0
                            • S
                              saeft_2003 Most Active @Thomas Braun last edited by

                              @thomas-braun

                              Alles klar 👍

                              1 Reply Last reply Reply Quote 0
                              • S
                                saeft_2003 Most Active last edited by saeft_2003

                                @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 Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @saeft_2003 last edited by

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

                                  This system needs to be REBOOTED NOW!

                                  Solltest du tun.

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

                                    @thomas-braun

                                    Hab ich gemacht, selbst wenn es da nicht gestanden hätte 🙂

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

                                      @saeft_2003

                                      Üblicherweise verschwindet der Eintrag dann aber.

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

                                        @thomas-braun

                                        Ja das mag sein das diag war noch vor dem reboot. Und noch mal danke das node update war durch das skript echt easy, kann mich noch dran erinnern wo das recht umständlich war...

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

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

                                          kann mich noch dran erinnern wo das recht umständlich war...

                                          Eigentlich war das schon immer recht easy. Zwei Ziffern in einer Datei austauschen, fertig.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          894
                                          Online

                                          32.0k
                                          Users

                                          80.4k
                                          Topics

                                          1.3m
                                          Posts

                                          3
                                          25
                                          981
                                          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