Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. NPM verschwunden ,Keine Änderungen in der Konsole möglich

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    NPM verschwunden ,Keine Änderungen in der Konsole möglich

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

      @thomas-braun

      root@ioBroker:/home/burgsteff# timedatectl set-timezone Europe/Berlin
      systemctl set-default mutli-user.target
      Failed to set default target: Unit file mutli-user.target does not exist.
      root@ioBroker:/home/burgsteff#
      
      

      Hmmm...

      Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
      • B
        Burgsteff @Thomas Braun last edited by

        @thomas-braun

        root@ioBroker:/home/burgsteff# iob nodejs-update
        iobroker nodejs-update [<major-version>]
        
        Upgrade the Node.JS installation to the current LTS
        
        Options:
          --help  Show help  [boolean]
        root@ioBroker:/home/burgsteff#
        
        
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Burgsteff last edited by

          @burgsteff

          systemctl set-default multi-user.target
          iob fix
          
          B 1 Reply Last reply Reply Quote 1
          • Homoran
            Homoran Global Moderator Administrators @Burgsteff last edited by

            @burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:

            mutli-user

            nix mutli!

            multi

            1 Reply Last reply Reply Quote 1
            • B
              Burgsteff @Thomas Braun last edited by

              @thomas-braun
              Hallo, bin wieder da, musste kurz nach den Kindern schauen... sorry.
              Also der fixer hat sich jetzt ausführen lassen. Habe das als allerdings jetzt auch als root gemacht.
              Wenn ich usermod nutze kommt allerdings immer noch :

              root@ioBroker:/home/burgsteff# usermod -aG adm,dialout,sudo,input,iobroker
              bash: usermod: command not found
              root@ioBroker:/home/burgsteff#
              
              Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Burgsteff last edited by

                @burgsteff

                apt update
                apt install passwd sudo
                

                Danach müsste usermod verfügbar sein.

                B 1 Reply Last reply Reply Quote 1
                • B
                  Burgsteff @Thomas Braun last edited by

                  @thomas-braun

                  root@ioBroker:/home/burgsteff# apt update
                  apt install passwd sudo
                  Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
                  Hit:2 http://deb.debian.org/debian bookworm InRelease
                  Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
                  Hit:4 https://deb.nodesource.com/node_18.x bookworm InRelease
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  1 package can be upgraded. Run 'apt list --upgradable' to see it.
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  passwd is already the newest version (1:4.13+dfsg1-1+b1).
                  sudo is already the newest version (1.9.13p3-1+deb12u1).
                  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
                  
                  root@ioBroker:/home/burgsteff# usermod -aG adm,dialout,sudo,input,iobroker
                  bash: usermod: command not found
                  root@ioBroker:/home/burgsteff#
                  
                  Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Burgsteff last edited by

                    @burgsteff sagte in NPM verschwunden ,Keine Änderungen in der Konsole möglich:

                    Also der fixer hat sich jetzt ausführen lassen. Habe das als allerdings jetzt auch als root gemacht.

                    was vollkommen widersinnig ist, da der fixer due durch root-Nutzung verbogenen Rechte wieder geradebiegen soll.

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

                      @burgsteff

                      type -P usermod
                      

                      Liefert?

                      B 2 Replies Last reply Reply Quote 1
                      • B
                        Burgsteff @Thomas Braun last edited by

                        @thomas-braun mit oder ohne root?

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

                          @burgsteff

                          (Fast) egal.

                          /usr/sbin/usermod -a -G adm,dialout,sudo,input,iobroker burgsteff
                          
                          B 1 Reply Last reply Reply Quote 1
                          • B
                            Burgsteff @Thomas Braun last edited by

                            @thomas-braun

                            root@ioBroker:/home/burgsteff# type -P usermod
                            root@ioBroker:/home/burgsteff#
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • B
                              Burgsteff @Thomas Braun last edited by

                              @thomas-braun

                              root@ioBroker:/home/burgsteff# /usr/sbin/usermod -a -G adm,dialout,sudo,input,iobroker burgsteff
                              root@ioBroker:/home/burgsteff#
                              
                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Burgsteff last edited by Thomas Braun

                                @burgsteff

                                echo $PATH
                                sudo -H -u burgsteff echo $PATH
                                
                                B 1 Reply Last reply Reply Quote 0
                                • B
                                  Burgsteff @Thomas Braun last edited by

                                  @thomas-braun

                                  root@ioBroker:/home/burgsteff# echo $PATH
                                  /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
                                  root@ioBroker:/home/burgsteff# sudo -H -u burgsteff echo $PATH
                                  /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
                                  root@ioBroker:/home/burgsteff#
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Burgsteff last edited by

                                    @burgsteff

                                    Da sind nicht alle Verzeichnisse eingetragen. Kümmern wir uns später noch drum.

                                    sudo -H -u burgsteff id
                                    
                                    B 1 Reply Last reply Reply Quote 1
                                    • B
                                      Burgsteff @Thomas Braun last edited by

                                      @thomas-braun

                                      root@ioBroker:/home/burgsteff# sudo -H -u burgsteff id
                                      uid=1000(burgsteff) gid=1000(burgsteff) groups=1000(burgsteff),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),102(input),106(netdev),1001(iobroker)
                                      root@ioBroker:/home/burgsteff#
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Burgsteff last edited by

                                        @burgsteff

                                        Dann

                                        exit
                                        exit
                                        

                                        und nochmal als 'burgsteff' neu anmelden.

                                        B 1 Reply Last reply Reply Quote 1
                                        • B
                                          Burgsteff @Thomas Braun last edited by

                                          @thomas-braun
                                          Hab mich wieder als burgsteff angemeldet
                                          Danke schon mal.

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

                                            @burgsteff

                                            iob nodejs-update
                                            
                                            B 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            640
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            66
                                            1806
                                            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