Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. NPM verschwunden ,Keine Änderungen in der Konsole möglich

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    773

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
66 Beiträge 3 Kommentatoren 6.0k Aufrufe 2 Beobachtet
  • Ä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.
  • B Burgsteff

    @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#
    
    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von
    #26

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

    kein Support per PN! - Fragen im Forum stellen -
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Antwort Letzte Antwort
    1
    • B Burgsteff

      @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 BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #27

      @burgsteff

      type -P usermod
      

      Liefert?

      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

      B 2 Antworten Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

        @burgsteff

        type -P usermod
        

        Liefert?

        B Offline
        B Offline
        Burgsteff
        schrieb am zuletzt editiert von
        #28

        @thomas-braun mit oder ohne root?

        1 Antwort Letzte Antwort
        0
        • B Burgsteff

          @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 BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #29

          @burgsteff

          (Fast) egal.

          /usr/sbin/usermod -a -G adm,dialout,sudo,input,iobroker burgsteff
          

          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

          B 1 Antwort Letzte Antwort
          1
          • Thomas BraunT Thomas Braun

            @burgsteff

            type -P usermod
            

            Liefert?

            B Offline
            B Offline
            Burgsteff
            schrieb am zuletzt editiert von
            #30

            @thomas-braun

            root@ioBroker:/home/burgsteff# type -P usermod
            root@ioBroker:/home/burgsteff#
            
            
            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @burgsteff

              (Fast) egal.

              /usr/sbin/usermod -a -G adm,dialout,sudo,input,iobroker burgsteff
              
              B Offline
              B Offline
              Burgsteff
              schrieb am zuletzt editiert von
              #31

              @thomas-braun

              root@ioBroker:/home/burgsteff# /usr/sbin/usermod -a -G adm,dialout,sudo,input,iobroker burgsteff
              root@ioBroker:/home/burgsteff#
              
              1 Antwort Letzte Antwort
              0
              • B Burgsteff

                @thomas-braun

                root@ioBroker:/home/burgsteff# type -P usermod
                root@ioBroker:/home/burgsteff#
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #32

                @burgsteff

                echo $PATH
                sudo -H -u burgsteff echo $PATH
                

                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

                B 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @burgsteff

                  echo $PATH
                  sudo -H -u burgsteff echo $PATH
                  
                  B Offline
                  B Offline
                  Burgsteff
                  schrieb am zuletzt editiert von
                  #33

                  @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 BraunT 1 Antwort Letzte Antwort
                  0
                  • B Burgsteff

                    @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 BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #34

                    @burgsteff

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

                    sudo -H -u burgsteff id
                    

                    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

                    B 1 Antwort Letzte Antwort
                    1
                    • Thomas BraunT Thomas Braun

                      @burgsteff

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

                      sudo -H -u burgsteff id
                      
                      B Offline
                      B Offline
                      Burgsteff
                      schrieb am zuletzt editiert von
                      #35

                      @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 BraunT 1 Antwort Letzte Antwort
                      0
                      • B Burgsteff

                        @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 BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #36

                        @burgsteff

                        Dann

                        exit
                        exit
                        

                        und nochmal als 'burgsteff' neu anmelden.

                        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

                        B 1 Antwort Letzte Antwort
                        1
                        • Thomas BraunT Thomas Braun

                          @burgsteff

                          Dann

                          exit
                          exit
                          

                          und nochmal als 'burgsteff' neu anmelden.

                          B Offline
                          B Offline
                          Burgsteff
                          schrieb am zuletzt editiert von
                          #37

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

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • B Burgsteff

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

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

                            @burgsteff

                            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

                            B 1 Antwort Letzte Antwort
                            1
                            • Thomas BraunT Thomas Braun

                              @burgsteff

                              iob nodejs-update
                              
                              B Offline
                              B Offline
                              Burgsteff
                              schrieb am zuletzt editiert von
                              #39

                              @thomas-braun

                              Your nodejs- Installation seems to be faulty. Shall we try to fix it?

                              Mit y beantworten oder?

                              HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                              0
                              • B Burgsteff

                                @thomas-braun

                                Your nodejs- Installation seems to be faulty. Shall we try to fix it?

                                Mit y beantworten oder?

                                HomoranH Nicht stören
                                HomoranH Nicht stören
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von
                                #40

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

                                Your nodejs- Installation seems to be faulty. Shall we try to fix it?

                                bitte alles zeigen!

                                kein Support per PN! - Fragen im Forum stellen -
                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Antwort Letzte Antwort
                                1
                                • B Burgsteff

                                  @thomas-braun

                                  Your nodejs- Installation seems to be faulty. Shall we try to fix it?

                                  Mit y beantworten oder?

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

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

                                  Mit y beantworten oder?

                                  Ja, das soll ja berichtigt werden.

                                  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

                                  B 1 Antwort Letzte Antwort
                                  1
                                  • Thomas BraunT Thomas Braun

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

                                    Mit y beantworten oder?

                                    Ja, das soll ja berichtigt werden.

                                    B Offline
                                    B Offline
                                    Burgsteff
                                    schrieb am zuletzt editiert von
                                    #42

                                    @thomas-braun

                                    ioBroker nodejs fixer 2024-05-23
                                    
                                    Recommended nodejs-version is: 20.17.0
                                    Checking your installation now. Please be patient!
                                    
                                    Your current setup is:
                                    /usr/bin/nodejs         v18.19.0
                                    /usr/bin/node           v18.19.0
                                    /home/iobroker/.nodejs-update.sh: line 146: npm: command not found
                                    
                                    /home/iobroker/.nodejs-update.sh: line 147: npx: command not found
                                    
                                    /home/iobroker/.nodejs-update.sh: line 168: npm: command not found
                                    /home/iobroker/.nodejs-update.sh: line 169: npx: command not found
                                    
                                    *** nodejs is NOT correctly installed ***
                                    We found these nodejs versions available for installation:
                                    
                                    nodejs:
                                      Installed: 18.19.0+dfsg-6~deb12u2
                                      Candidate: 18.19.0+dfsg-6~deb12u2
                                      Version table:
                                     *** 18.19.0+dfsg-6~deb12u2 500
                                            500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                         18.19.0+dfsg-6~deb12u1 500
                                            500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                                         18.17.1-deb-1nodesource1 500
                                            500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages
                                    
                                    
                                    
                                    Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                    Press <y> to continue or any other key to quit
                                    
                                    Fixing your nodejs setup
                                    *** Deleting  ***
                                    rm: cannot remove '': No such file or directory
                                    *** Deleting  ***
                                    rm: cannot remove '': No such file or directory
                                    
                                    Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                                    
                                    You are running nodejs v18.19.0. Do you want to install recommended version 20.17.0?
                                    
                                    Press <y> to continue or any other key to quit
                                    Trying to fix your installation now. Please be patient.
                                    
                                    Virtualization: kvm
                                    Waiting for ioBroker to shut down - Give me a minute...
                                    ############################################################
                                    
                                    *** These repos are active on your system:
                                    Hit:1 http://deb.debian.org/debian bookworm InRelease
                                    Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
                                    Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
                                    Reading package lists... Done
                                    
                                    *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                    
                                    *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                    
                                    deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                    Package: nodejs
                                    Pin: origin deb.nodesource.com
                                    Pin-Priority: 1001
                                    
                                    *** These repos are active after the adjustments:
                                    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
                                    Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
                                    Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8942 B]
                                    Fetched 21.1 kB in 1s (29.9 kB/s)
                                    Reading package lists... Done
                                    
                                    Installing nodejs now!
                                    
                                    E: Broken packages
                                    Installing nodejs now!
                                    E: Broken packages
                                    
                                    *** You need to manually restart your container/virtual machine now! ***
                                    
                                    We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                    
                                    
                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • B Burgsteff

                                      @thomas-braun

                                      ioBroker nodejs fixer 2024-05-23
                                      
                                      Recommended nodejs-version is: 20.17.0
                                      Checking your installation now. Please be patient!
                                      
                                      Your current setup is:
                                      /usr/bin/nodejs         v18.19.0
                                      /usr/bin/node           v18.19.0
                                      /home/iobroker/.nodejs-update.sh: line 146: npm: command not found
                                      
                                      /home/iobroker/.nodejs-update.sh: line 147: npx: command not found
                                      
                                      /home/iobroker/.nodejs-update.sh: line 168: npm: command not found
                                      /home/iobroker/.nodejs-update.sh: line 169: npx: command not found
                                      
                                      *** nodejs is NOT correctly installed ***
                                      We found these nodejs versions available for installation:
                                      
                                      nodejs:
                                        Installed: 18.19.0+dfsg-6~deb12u2
                                        Candidate: 18.19.0+dfsg-6~deb12u2
                                        Version table:
                                       *** 18.19.0+dfsg-6~deb12u2 500
                                              500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                              100 /var/lib/dpkg/status
                                           18.19.0+dfsg-6~deb12u1 500
                                              500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                                           18.17.1-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_18.x bookworm/main amd64 Packages
                                      
                                      
                                      
                                      Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                      Press <y> to continue or any other key to quit
                                      
                                      Fixing your nodejs setup
                                      *** Deleting  ***
                                      rm: cannot remove '': No such file or directory
                                      *** Deleting  ***
                                      rm: cannot remove '': No such file or directory
                                      
                                      Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                                      
                                      You are running nodejs v18.19.0. Do you want to install recommended version 20.17.0?
                                      
                                      Press <y> to continue or any other key to quit
                                      Trying to fix your installation now. Please be patient.
                                      
                                      Virtualization: kvm
                                      Waiting for ioBroker to shut down - Give me a minute...
                                      ############################################################
                                      
                                      *** These repos are active on your system:
                                      Hit:1 http://deb.debian.org/debian bookworm InRelease
                                      Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
                                      Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
                                      Reading package lists... Done
                                      
                                      *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                      
                                      *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                      
                                      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                      Package: nodejs
                                      Pin: origin deb.nodesource.com
                                      Pin-Priority: 1001
                                      
                                      *** These repos are active after the adjustments:
                                      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
                                      Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
                                      Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8942 B]
                                      Fetched 21.1 kB in 1s (29.9 kB/s)
                                      Reading package lists... Done
                                      
                                      Installing nodejs now!
                                      
                                      E: Broken packages
                                      Installing nodejs now!
                                      E: Broken packages
                                      
                                      *** You need to manually restart your container/virtual machine now! ***
                                      
                                      We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #43

                                      @burgsteff

                                      Ah, die Version ist nicht aktuell genug.

                                      Versuch es mal mit der Beta:

                                      curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
                                      chmod 744 iob_node_update
                                      ./iob_node_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

                                      B 1 Antwort Letzte Antwort
                                      1
                                      • Thomas BraunT Thomas Braun

                                        @burgsteff

                                        Ah, die Version ist nicht aktuell genug.

                                        Versuch es mal mit der Beta:

                                        curl https://raw.githubusercontent.com/Grothesk242/iob_diag/main/iob_node_update.sh > iob_node_update
                                        chmod 744 iob_node_update
                                        ./iob_node_update
                                        
                                        B Offline
                                        B Offline
                                        Burgsteff
                                        schrieb am zuletzt editiert von
                                        #44

                                        @thomas-braun

                                        ioBroker nodejs maintenance 2024-08-08
                                        
                                        Recommended nodejs-version is: 20.17.0
                                        Checking your installation now. Please be patient!
                                        
                                        Your current setup is:
                                        /usr/bin/nodejs         v18.19.0
                                        /usr/bin/node           v18.19.0
                                        ./iob_node_update: line 157: npm: command not found
                                        
                                        ./iob_node_update: line 158: npx: command not found
                                        
                                        ./iob_node_update: line 179: npm: command not found
                                        ./iob_node_update: line 180: npx: command not found
                                        
                                        *** nodejs is NOT correctly installed ***
                                        We found these nodejs versions available for installation:
                                        
                                        nodejs:
                                          Installed: 18.19.0+dfsg-6~deb12u2
                                          Candidate: 20.17.0-1nodesource1
                                          Version table:
                                             20.17.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.16.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.15.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.15.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.14.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.13.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.13.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.2-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.12.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.11.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.11.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.10.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.9.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.8.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.8.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.7.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.6.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.6.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.5.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.5.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.4.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.3.1-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.3.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.2.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.1.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                             20.0.0-1nodesource1 1001
                                                500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                         *** 18.19.0+dfsg-6~deb12u2 500
                                                500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                                100 /var/lib/dpkg/status
                                             18.19.0+dfsg-6~deb12u1 500
                                                500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                                        
                                        
                                        
                                        Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                        Press <y> to continue or any other key to quit
                                        
                                        Fixing your nodejs setup
                                        *** Deleting  ***
                                        rm: cannot remove '': No such file or directory
                                        *** Deleting  ***
                                        rm: cannot remove '': No such file or directory
                                        
                                        Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                                        
                                        You are running nodejs v18.19.0. Do you want to install recommended version 20.17.0?
                                        
                                        Press <y> to continue or any other key to quit
                                        Trying to fix your installation now. Please be patient.
                                        
                                        Virtualization: kvm
                                        Waiting for ioBroker to shut down - Give me a minute...
                                        ############################################################
                                        
                                        Removing dfsg-nodejs
                                        (Reading database ... 45351 files and directories currently installed.)
                                        Removing nodejs-doc (18.19.0+dfsg-6~deb12u2) ...
                                        Removing nodejs (18.19.0+dfsg-6~deb12u2) ...
                                        Removing libnode108:amd64 (18.19.0+dfsg-6~deb12u2) ...
                                        Removing node-acorn (8.8.1+ds+~cs25.17.7-2) ...
                                        Removing node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4) ...
                                        Removing node-busboy (1.6.0+~cs2.6.0-2) ...
                                        Removing node-cjs-module-lexer (1.2.2+dfsg-5) ...
                                        Removing node-xtend (4.0.2-3) ...
                                        Processing triggers for libc-bin (2.36-9+deb12u7) ...
                                        
                                        
                                        *** These repos are active on your system:
                                        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
                                        Reading package lists... Done
                                        
                                        *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                        
                                        *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                        
                                        deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                        Package: nodejs
                                        Pin: origin deb.nodesource.com
                                        Pin-Priority: 1001
                                        
                                        *** These repos are active after the adjustments:
                                        Hit:1 http://deb.debian.org/debian bookworm InRelease
                                        Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
                                        Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
                                        Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
                                        Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8942 B]
                                        Fetched 21.1 kB in 1s (30.2 kB/s)
                                        Reading package lists... Done
                                        
                                        Installing nodejs now!
                                        
                                        (Reading database ... 44612 files and directories currently installed.)
                                        Preparing to unpack .../libaom3_3.6.0-1+deb12u1_amd64.deb ...
                                        Unpacking libaom3:amd64 (3.6.0-1+deb12u1) over (3.6.0-1) ...
                                        Selecting previously unselected package nodejs.
                                        Preparing to unpack .../nodejs_20.17.0-1nodesource1_amd64.deb ...
                                        Unpacking nodejs (20.17.0-1nodesource1) ...
                                        Setting up libaom3:amd64 (3.6.0-1+deb12u1) ...
                                        Setting up nodejs (20.17.0-1nodesource1) ...
                                        Processing triggers for libc-bin (2.36-9+deb12u7) ...
                                        Installing nodejs now!
                                        
                                        *** You need to manually restart your container/virtual machine now! ***
                                        
                                        We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                        burgsteff@ioBroker:~$
                                        
                                        
                                        Thomas BraunT HomoranH 2 Antworten Letzte Antwort
                                        0
                                        • B Burgsteff

                                          @thomas-braun

                                          ioBroker nodejs maintenance 2024-08-08
                                          
                                          Recommended nodejs-version is: 20.17.0
                                          Checking your installation now. Please be patient!
                                          
                                          Your current setup is:
                                          /usr/bin/nodejs         v18.19.0
                                          /usr/bin/node           v18.19.0
                                          ./iob_node_update: line 157: npm: command not found
                                          
                                          ./iob_node_update: line 158: npx: command not found
                                          
                                          ./iob_node_update: line 179: npm: command not found
                                          ./iob_node_update: line 180: npx: command not found
                                          
                                          *** nodejs is NOT correctly installed ***
                                          We found these nodejs versions available for installation:
                                          
                                          nodejs:
                                            Installed: 18.19.0+dfsg-6~deb12u2
                                            Candidate: 20.17.0-1nodesource1
                                            Version table:
                                               20.17.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.16.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.15.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.15.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.14.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.13.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.13.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.2-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.12.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.11.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.11.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.10.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.9.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.8.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.8.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.7.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.6.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.6.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.5.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.5.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.4.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.3.1-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.3.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.2.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.1.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                               20.0.0-1nodesource1 1001
                                                  500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                                           *** 18.19.0+dfsg-6~deb12u2 500
                                                  500 http://deb.debian.org/debian bookworm/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               18.19.0+dfsg-6~deb12u1 500
                                                  500 http://security.debian.org/debian-security bookworm-security/main amd64 Packages
                                          
                                          
                                          
                                          Your nodejs-Installation seems to be faulty. Shall we try to fix it?
                                          Press <y> to continue or any other key to quit
                                          
                                          Fixing your nodejs setup
                                          *** Deleting  ***
                                          rm: cannot remove '': No such file or directory
                                          *** Deleting  ***
                                          rm: cannot remove '': No such file or directory
                                          
                                          Wrong paths have been fixed. Run 'iob diag' or 'iob nodejs-update' again to check if your installation is fine now
                                          
                                          You are running nodejs v18.19.0. Do you want to install recommended version 20.17.0?
                                          
                                          Press <y> to continue or any other key to quit
                                          Trying to fix your installation now. Please be patient.
                                          
                                          Virtualization: kvm
                                          Waiting for ioBroker to shut down - Give me a minute...
                                          ############################################################
                                          
                                          Removing dfsg-nodejs
                                          (Reading database ... 45351 files and directories currently installed.)
                                          Removing nodejs-doc (18.19.0+dfsg-6~deb12u2) ...
                                          Removing nodejs (18.19.0+dfsg-6~deb12u2) ...
                                          Removing libnode108:amd64 (18.19.0+dfsg-6~deb12u2) ...
                                          Removing node-acorn (8.8.1+ds+~cs25.17.7-2) ...
                                          Removing node-undici (5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4) ...
                                          Removing node-busboy (1.6.0+~cs2.6.0-2) ...
                                          Removing node-cjs-module-lexer (1.2.2+dfsg-5) ...
                                          Removing node-xtend (4.0.2-3) ...
                                          Processing triggers for libc-bin (2.36-9+deb12u7) ...
                                          
                                          
                                          *** These repos are active on your system:
                                          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
                                          Reading package lists... Done
                                          
                                          *** Installing ca-certificates, curl and gnupg, just in case they are missing.
                                          
                                          *** Creating new /etc/apt/sources.list.d/nodesource.list and pinning source
                                          
                                          deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
                                          Package: nodejs
                                          Pin: origin deb.nodesource.com
                                          Pin-Priority: 1001
                                          
                                          *** These repos are active after the adjustments:
                                          Hit:1 http://deb.debian.org/debian bookworm InRelease
                                          Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
                                          Hit:3 http://security.debian.org/debian-security bookworm-security InRelease
                                          Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
                                          Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [8942 B]
                                          Fetched 21.1 kB in 1s (30.2 kB/s)
                                          Reading package lists... Done
                                          
                                          Installing nodejs now!
                                          
                                          (Reading database ... 44612 files and directories currently installed.)
                                          Preparing to unpack .../libaom3_3.6.0-1+deb12u1_amd64.deb ...
                                          Unpacking libaom3:amd64 (3.6.0-1+deb12u1) over (3.6.0-1) ...
                                          Selecting previously unselected package nodejs.
                                          Preparing to unpack .../nodejs_20.17.0-1nodesource1_amd64.deb ...
                                          Unpacking nodejs (20.17.0-1nodesource1) ...
                                          Setting up libaom3:amd64 (3.6.0-1+deb12u1) ...
                                          Setting up nodejs (20.17.0-1nodesource1) ...
                                          Processing triggers for libc-bin (2.36-9+deb12u7) ...
                                          Installing nodejs now!
                                          
                                          *** You need to manually restart your container/virtual machine now! ***
                                          
                                          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.
                                          burgsteff@ioBroker:~$
                                          
                                          
                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #45

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

                                          We tried our best to fix your nodejs. Please run 'iob diag' again to verify.

                                          Mach das mal.

                                          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

                                          B 1 Antwort Letzte Antwort
                                          1

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          651

                                          Online

                                          32.8k

                                          Benutzer

                                          82.7k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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