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.
    • Thomas Braun
      Thomas Braun Most Active @Burgsteff last edited by

      @burgsteff

      Gut, der ioBroker rennt wohl wieder.

      cat /etc/profile
      

      sagt?

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

        @thomas-braun

        burgsteff@ioBroker:~$ cat /etc/profile
        # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
        # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
        
        if [ "$(id -u)" -eq 0 ]; then
          PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        else
          PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
        fi
        export PATH
        
        if [ "${PS1-}" ]; then
          if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
            # The file bash.bashrc already sets the default PS1.
            # PS1='\h:\w\$ '
            if [ -f /etc/bash.bashrc ]; then
              . /etc/bash.bashrc
            fi
          else
            if [ "$(id -u)" -eq 0 ]; then
              PS1='# '
            else
              PS1='$ '
            fi
          fi
        fi
        
        if [ -d /etc/profile.d ]; then
          for i in /etc/profile.d/*.sh; do
            if [ -r $i ]; then
              . $i
            fi
          done
          unset i
        fi
        burgsteff@ioBroker:~$
        
        
        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Burgsteff last edited by

          @burgsteff

          Das passt eigentlich. Lass es so.

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

            @thomas-braun
            Dann ist ja gut, perfekt.
            Wirklich echt vielen Dank für die schnelle, kompetente und freundliche Hilfe.

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

              @burgsteff

              Trag mal in der Zeile 8 das ein:

              PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
              
              B 1 Reply Last reply Reply Quote 0
              • B
                Burgsteff @Thomas Braun last edited by

                @thomas-braun
                wie bzw. wo in Zeile 8?

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

                  @burgsteff

                  sudo nano /etc/profile
                  

                  Und dann statt

                  PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
                  

                  da

                  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
                  

                  eintragen.
                  Mit STRG-O und STRG-X speichern und den Editor verlassen.

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

                    @thomas-braun
                    ok, hab ich gemacht. und nun?

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

                      @burgsteff

                      Starte den Container mal neu.
                      Danach sollte dann auch bei

                      type -P usermod
                      

                      der Pfad zurückgemeldet werden. Also so:

                      echad@chet:~ $ type -P usermod 
                      /usr/sbin/usermod
                      echad@chet:~ $
                      
                      B 1 Reply Last reply Reply Quote 1
                      • B
                        Burgsteff @Thomas Braun last edited by

                        @thomas-braun

                        burgsteff@ioBroker:~$ cat /etc/profile
                        # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
                        # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
                        
                        if [ "$(id -u)" -eq 0 ]; then
                          PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
                        else
                          PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games"
                        fi
                        export PATH
                        
                        if [ "${PS1-}" ]; then
                          if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
                            # The file bash.bashrc already sets the default PS1.
                            # PS1='\h:\w\$ '
                            if [ -f /etc/bash.bashrc ]; then
                              . /etc/bash.bashrc
                            fi
                          else
                            if [ "$(id -u)" -eq 0 ]; then
                              PS1='# '
                            else
                              PS1='$ '
                            fi
                          fi
                        fi
                        
                        if [ -d /etc/profile.d ]; then
                          for i in /etc/profile.d/*.sh; do
                            if [ -r $i ]; then
                              . $i
                            fi
                          done
                          unset i
                        fi
                        burgsteff@ioBroker:~$
                        
                        

                        so oder?

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

                          @burgsteff

                          Ja.

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

                            @thomas-braun

                            burgsteff@ioBroker:~$ type -P usermod
                            /usr/sbin/usermod
                            burgsteff@ioBroker:~$
                            
                            

                            passt oder?

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

                              @thomas-braun Meldung.png

                              was bedeutet das eigentlich noch? muss ich da noch was tun?

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

                                @burgsteff was sagt denn sudo apt update?

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

                                  @burgsteff

                                  Ich glaube die libaom3 war eben schon dabei.
                                  Kannste 'Bestätigen und schließen'.
                                  System halt eigenständig regelmäßig aktuell halten:

                                  sudo apt update
                                  sudo apt full-upgrade
                                  
                                  B 1 Reply Last reply Reply Quote 1
                                  • B
                                    Burgsteff @Thomas Braun last edited by

                                    @thomas-braun

                                    burgsteff@ioBroker:~$ sudo apt update
                                    [sudo] password for burgsteff:
                                    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_20.x nodistro InRelease
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    All packages are up to date.
                                    
                                    

                                    Scheint zu passen

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

                                      @burgsteff

                                      Ja, jetzt scheint dein System zu passen.
                                      Warum auch immer da z. B. der $PATH nicht vollständig war.

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

                                      Support us

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

                                      574
                                      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