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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Wir Empfehlen: Node.js 20.x :-)

NEWS

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

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

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

Wir Empfehlen: Node.js 20.x :-)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
237 Beiträge 49 Kommentatoren 73.5k Aufrufe 46 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @smarthome2020

    Da ist die falsche Version noch installiert.
    Sollte eigentlich per

    iob nodejs-update 20
    

    automatisch alles bereinigt werden. Zeig mal die Ausgaben davon.

    S Offline
    S Offline
    smarthome2020
    schrieb am zuletzt editiert von
    #172

    @thomas-braun

    Nothing to do - Your installation is using the correct paths.
    
    You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree?
    
    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://security.debian.org/debian-security bookworm-security 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://security.debian.org/debian-security bookworm-security 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 [8759 B]
    Fetched 20.9 kB in 0s (45.1 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
    • S smarthome2020

      @thomas-braun

      Nothing to do - Your installation is using the correct paths.
      
      You are running nodejs v18.19.0. Do you want to install latest version from nodejs v.20 tree?
      
      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://security.debian.org/debian-security bookworm-security 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://security.debian.org/debian-security bookworm-security 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 [8759 B]
      Fetched 20.9 kB in 0s (45.1 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 Thomas Braun
      #173

      @smarthome2020
      Versuch mal ein

      sudo apt remove libnode* node-* nodejs-doc npm nodejs
      

      und danach nochmal

      sudo apt update
      iob nodejs-update 20
      

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

      S S 2 Antworten Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

        @smarthome2020
        Versuch mal ein

        sudo apt remove libnode* node-* nodejs-doc npm nodejs
        

        und danach nochmal

        sudo apt update
        iob nodejs-update 20
        
        S Offline
        S Offline
        smarthome2020
        schrieb am zuletzt editiert von
        #174

        @thomas-braun

        Super, das hat geklappt :)
        Vielen Dank für deine kompetente Hilfe (wie immer :D ) .

        1 Antwort Letzte Antwort
        0
        • apollon77A apollon77

          Hallo alle zusammen,

          mal wieder ist ein Jahr ins Land gegangen und das bedeutet das es wieder Neuigkeiten gibt was die bei der Node.js Version angeht.

          Node.js 20 wurde letztes Jahr veröffentlicht, seit Oktober LTS und ist inzwischen unseren Erfahrungen nach stabil und es sind keine Probleme bisher bekannt.

          Aus diesem Grund wollen wir empfehlen auch Eure Systeme auf Node.js 20 zu aktualisieren bzw neue Installationen gleich mit Node.js 20 zu machen.
          Es gibt keinen Grund zur Hektik! Node.js 18 ist auch noch vollkommen ok und stabil, es muss als niemand Panik bekommen :-) Auch der kommende js-controller 6 wird weiterhin Node.js 18 unterstützen - dort wird nur Node.js 16 rausfallen.

          Wir werden in den nächsten Tagen (!) die einschlägigen Stellen wie Admin, Info-Adapter, Installer u.ä. anpassen das diese Node.js 20 ebenfalls empfehlen bzw bei Neuinstallationen automatisch mit installieren. Bezüglich Docker bin ich mit @buanet ebenfalls im Gespräch.

          Am Ende gilt weiterhin https://forum.iobroker.net/topic/64032/update-nodejs-best-practise-supported-14-16-und-18 und auch "iob nodejs-update" ist ein einfacher Weg für das Update.

          Ingo

          Gabriel BastG Offline
          Gabriel BastG Offline
          Gabriel Bast
          schrieb am zuletzt editiert von
          #175

          @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
          Über eine Antwort wäre ich sehr dankbar.
          Vielen Dank und Gruß
          Gabriel

          sigi234S Thomas BraunT HomoranH 3 Antworten Letzte Antwort
          0
          • Gabriel BastG Gabriel Bast

            @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
            Über eine Antwort wäre ich sehr dankbar.
            Vielen Dank und Gruß
            Gabriel

            sigi234S Online
            sigi234S Online
            sigi234
            Forum Testing Most Active
            schrieb am zuletzt editiert von
            #176

            @gabriel-bast

            Meister Fehler ist ein Leerzeichen am Anfang oder Ende des PW

            Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
            Immer Daten sichern!

            1 Antwort Letzte Antwort
            0
            • Gabriel BastG Gabriel Bast

              @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
              Über eine Antwort wäre ich sehr dankbar.
              Vielen Dank und Gruß
              Gabriel

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

              @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x :-):

              Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt.

              Wie installierst du es denn?
              Per

              iob nodejs-update
              

              wirst du nicht nach dem PW für den iobroker-Admin gefragt sondern nach dem Passwort für das Betriebssystem.

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

              1 Antwort Letzte Antwort
              0
              • Gabriel BastG Gabriel Bast

                @apollon77 Hallo ich habe ein Problem . Vielleicht kannst du mir helfen. Ich will Version 20 installieren aber ich werde nach dem iobrocker Passwort gefragt. Ich habe das richtige Passwort eingegeben aber er sagt es ist falsch. Wo liegt das Problem?
                Über eine Antwort wäre ich sehr dankbar.
                Vielen Dank und Gruß
                Gabriel

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

                @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x :-):

                Ich will Version 20 installieren

                wie?

                @gabriel-bast sagte in Wir Empfehlen: Node.js 20.x :-):

                ich werde nach dem iobrocker Passwort gefragt

                wo genau?

                bitte mehr Infos

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @smarthome2020
                  Versuch mal ein

                  sudo apt remove libnode* node-* nodejs-doc npm nodejs
                  

                  und danach nochmal

                  sudo apt update
                  iob nodejs-update 20
                  
                  S Offline
                  S Offline
                  Stadtschloss
                  schrieb am zuletzt editiert von Stadtschloss
                  #179

                  @thomas-braun

                  Hallo,

                  ich habe die genannten Befehle ausgeführt. Bei dem nodejs-update kann Anscheint die neue Version nicht installiert werden. Was kann ich hier machen?

                  Danke!

                  iob nodejs-update 20
                  
                  ioBroker nodejs fixer 2024-10-10
                  You requested to install latest version from nodejs v20 tree.
                  
                  Your current setup is:
                  /home/iobroker/.nodejs-update.sh: line 156: node: command not found
                   		
                  /home/iobroker/.nodejs-update.sh: line 157: npm: command not found
                   		
                  /home/iobroker/.nodejs-update.sh: line 158: npx: command not found
                   		
                  /home/iobroker/.nodejs-update.sh: line 178: node: command not found
                  /home/iobroker/.nodejs-update.sh: line 179: npm: command not found
                  /home/iobroker/.nodejs-update.sh: line 180: npx: command not found
                  
                  *** nodejs is NOT correctly installed ***
                  We found these nodejs versions available for installation:
                  
                  nodejs:
                    Installed: (none)
                    Candidate: 20.18.1-1nodesource1
                    Version table:
                       20.18.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                       20.18.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                       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
                       12.22.12~dfsg-1~deb11u5 500
                          500 http://security.debian.org bullseye-security/main amd64 Packages
                       12.22.12~dfsg-1~deb11u4 500
                          500 http://ftp.debian.org/debian bullseye/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
                  *** 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
                  /home/iobroker/.nodejs-update.sh: line 279: node: command not found
                  
                  You are running nodejs . Do you want to install latest version from nodejs v.20 tree? 
                  
                  Press <y> to continue or any other key to quit
                  Trying to fix your installation now. Please be patient.
                  
                  rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                  
                  Virtualization: lxc
                  Waiting for ioBroker to shut down - Give me a minute...
                  ############################################################
                  
                  Removing dfsg-nodejs
                  
                  
                  *** These repos are active on your system:
                  Hit:1 http://security.debian.org bullseye-security InRelease
                  Hit:2 http://ftp.debian.org/debian bullseye InRelease
                  Hit:3 http://ftp.debian.org/debian bullseye-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://security.debian.org bullseye-security InRelease
                  Hit:2 http://ftp.debian.org/debian bullseye InRelease                   
                  Hit:3 http://ftp.debian.org/debian bullseye-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 [9928 B]
                  Fetched 22.1 kB in 1s (28.3 kB/s)   
                  Reading package lists... Done
                  
                  Installing nodejs now!
                  
                  /home/iobroker/.nodejs-update.sh: line 386: [: : integer expression expected
                  Exact recommended version unknown, installing a fallback!
                  Selecting previously unselected package nodejs.
                  (Reading database ... 36421 files and directories currently installed.)
                  Preparing to unpack .../nodejs_20.0.0-1nodesource1_amd64.deb ...
                  Unpacking nodejs (20.0.0-1nodesource1) ...
                  Setting up nodejs (20.0.0-1nodesource1) ...
                  Processing triggers for man-db (2.9.4-2) ...
                  
                  Updating fallback to latest nodejs v20 release
                  (Reading database ... 41875 files and directories currently installed.)
                  Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
                  Detected old npm client, removing...
                  Unpacking nodejs (20.18.1-1nodesource1) over (20.0.0-1nodesource1) ...
                  Setting up nodejs (20.18.1-1nodesource1) ...
                  Processing triggers for man-db (2.9.4-2) ...
                  v20.18.1 has been installed! You are using the latest version now!
                  /home/iobroker/.nodejs-update.sh: line 403: [: : integer expression expected
                  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.
                  

                  UPDATE:

                  Ein restart zeigt nun das. Hat also wie es ausschaut jetzt geklappt:

                  ioBroker nodejs fixer 2024-10-10
                  
                  Recommended nodejs-version is: 20.18.1
                  Checking your installation now. Please be patient!
                  
                  Your current setup is:
                  /usr/bin/nodejs 	v20.18.1
                  /usr/bin/node 		v20.18.1
                  /usr/bin/npm 		10.8.2
                  /usr/bin/npx 		10.8.2
                  /usr/bin/corepack 	0.29.4
                  
                  We found these nodejs versions available for installation:
                  
                  nodejs:
                    Installed: 20.18.1-1nodesource1
                    Candidate: 20.18.1-1nodesource1
                    Version table:
                   *** 20.18.1-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                          100 /var/lib/dpkg/status
                       20.18.0-1nodesource1 1001
                          500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                       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
                       12.22.12~dfsg-1~deb11u5 500
                          500 http://security.debian.org bullseye-security/main amd64 Packages
                       12.22.12~dfsg-1~deb11u4 500
                          500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                  
                  
                  
                  Nothing to do - Your installation is using the correct paths.
                  Nothing to do - Your version is the recommended one.
                  
                  ***You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. ***
                  *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation! ***
                  
                   *** DO NOT use 'nodejs-update' as part of a regular update process! ***
                  
                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • S Stadtschloss

                    @thomas-braun

                    Hallo,

                    ich habe die genannten Befehle ausgeführt. Bei dem nodejs-update kann Anscheint die neue Version nicht installiert werden. Was kann ich hier machen?

                    Danke!

                    iob nodejs-update 20
                    
                    ioBroker nodejs fixer 2024-10-10
                    You requested to install latest version from nodejs v20 tree.
                    
                    Your current setup is:
                    /home/iobroker/.nodejs-update.sh: line 156: node: command not found
                     		
                    /home/iobroker/.nodejs-update.sh: line 157: npm: command not found
                     		
                    /home/iobroker/.nodejs-update.sh: line 158: npx: command not found
                     		
                    /home/iobroker/.nodejs-update.sh: line 178: node: command not found
                    /home/iobroker/.nodejs-update.sh: line 179: npm: command not found
                    /home/iobroker/.nodejs-update.sh: line 180: npx: command not found
                    
                    *** nodejs is NOT correctly installed ***
                    We found these nodejs versions available for installation:
                    
                    nodejs:
                      Installed: (none)
                      Candidate: 20.18.1-1nodesource1
                      Version table:
                         20.18.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         20.18.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         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
                         12.22.12~dfsg-1~deb11u5 500
                            500 http://security.debian.org bullseye-security/main amd64 Packages
                         12.22.12~dfsg-1~deb11u4 500
                            500 http://ftp.debian.org/debian bullseye/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
                    *** 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
                    /home/iobroker/.nodejs-update.sh: line 279: node: command not found
                    
                    You are running nodejs . Do you want to install latest version from nodejs v.20 tree? 
                    
                    Press <y> to continue or any other key to quit
                    Trying to fix your installation now. Please be patient.
                    
                    rm: cannot remove '/etc/apt/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                    
                    Virtualization: lxc
                    Waiting for ioBroker to shut down - Give me a minute...
                    ############################################################
                    
                    Removing dfsg-nodejs
                    
                    
                    *** These repos are active on your system:
                    Hit:1 http://security.debian.org bullseye-security InRelease
                    Hit:2 http://ftp.debian.org/debian bullseye InRelease
                    Hit:3 http://ftp.debian.org/debian bullseye-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://security.debian.org bullseye-security InRelease
                    Hit:2 http://ftp.debian.org/debian bullseye InRelease                   
                    Hit:3 http://ftp.debian.org/debian bullseye-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 [9928 B]
                    Fetched 22.1 kB in 1s (28.3 kB/s)   
                    Reading package lists... Done
                    
                    Installing nodejs now!
                    
                    /home/iobroker/.nodejs-update.sh: line 386: [: : integer expression expected
                    Exact recommended version unknown, installing a fallback!
                    Selecting previously unselected package nodejs.
                    (Reading database ... 36421 files and directories currently installed.)
                    Preparing to unpack .../nodejs_20.0.0-1nodesource1_amd64.deb ...
                    Unpacking nodejs (20.0.0-1nodesource1) ...
                    Setting up nodejs (20.0.0-1nodesource1) ...
                    Processing triggers for man-db (2.9.4-2) ...
                    
                    Updating fallback to latest nodejs v20 release
                    (Reading database ... 41875 files and directories currently installed.)
                    Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
                    Detected old npm client, removing...
                    Unpacking nodejs (20.18.1-1nodesource1) over (20.0.0-1nodesource1) ...
                    Setting up nodejs (20.18.1-1nodesource1) ...
                    Processing triggers for man-db (2.9.4-2) ...
                    v20.18.1 has been installed! You are using the latest version now!
                    /home/iobroker/.nodejs-update.sh: line 403: [: : integer expression expected
                    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.
                    

                    UPDATE:

                    Ein restart zeigt nun das. Hat also wie es ausschaut jetzt geklappt:

                    ioBroker nodejs fixer 2024-10-10
                    
                    Recommended nodejs-version is: 20.18.1
                    Checking your installation now. Please be patient!
                    
                    Your current setup is:
                    /usr/bin/nodejs 	v20.18.1
                    /usr/bin/node 		v20.18.1
                    /usr/bin/npm 		10.8.2
                    /usr/bin/npx 		10.8.2
                    /usr/bin/corepack 	0.29.4
                    
                    We found these nodejs versions available for installation:
                    
                    nodejs:
                      Installed: 20.18.1-1nodesource1
                      Candidate: 20.18.1-1nodesource1
                      Version table:
                     *** 20.18.1-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                            100 /var/lib/dpkg/status
                         20.18.0-1nodesource1 1001
                            500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages
                         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
                         12.22.12~dfsg-1~deb11u5 500
                            500 http://security.debian.org bullseye-security/main amd64 Packages
                         12.22.12~dfsg-1~deb11u4 500
                            500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                    
                    
                    
                    Nothing to do - Your installation is using the correct paths.
                    Nothing to do - Your version is the recommended one.
                    
                    ***You can now keep your whole system up-to-date using the usual 'sudo apt update && sudo apt full-upgrade' commands. ***
                    *** DO NOT USE node version managers like 'nvm', 'n' and others in parallel. They will break your current installation! ***
                    
                     *** DO NOT use 'nodejs-update' as part of a regular update process! ***
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #180

                    @stadtschloss

                    Deswegen ja auch der Hinweis:

                    *** You need to manually restart your container/virtual machine now! ***

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

                    1 Antwort Letzte Antwort
                    0
                    • L Offline
                      L Offline
                      LastActionHero
                      schrieb am zuletzt editiert von
                      #181

                      Ich muss mich hier leider in die Reihe der Ahnungslosen einklinken. Ich habe ioBroker als LXC auf meinem Proxmox laufen, via Proxmox VE Helperscript aufgesetzt. Leider bekomme ich das Update auf Node 20 auch nicht hin. Wenn ich mich über die Console anmelde, bin ich per se root, der lässt mich das script damit foglerichtig nicht ausführen.

                      switche ich mit SU auf einen anderen, neu erstellten user, heißt es wie folgt:

                      Sorry, user ioadmin is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh' as iobroker on iobroker.homenet.local.
                      

                      ich hab leider wenig Ahnung von der Userverwaltung in Linux Betriebssystemen - was muss ich machen, damit der user ioadmin zugriff bekommt?

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • L LastActionHero

                        Ich muss mich hier leider in die Reihe der Ahnungslosen einklinken. Ich habe ioBroker als LXC auf meinem Proxmox laufen, via Proxmox VE Helperscript aufgesetzt. Leider bekomme ich das Update auf Node 20 auch nicht hin. Wenn ich mich über die Console anmelde, bin ich per se root, der lässt mich das script damit foglerichtig nicht ausführen.

                        switche ich mit SU auf einen anderen, neu erstellten user, heißt es wie folgt:

                        Sorry, user ioadmin is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/node-update.sh --output /home/iobroker/.nodejs-update.sh' as iobroker on iobroker.homenet.local.
                        

                        ich hab leider wenig Ahnung von der Userverwaltung in Linux Betriebssystemen - was muss ich machen, damit der user ioadmin zugriff bekommt?

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

                        @lastactionhero sagte in Wir Empfehlen: Node.js 20.x :-):

                        Wenn ich mich über die Console anmelde, bin ich per se root, der lässt mich das script damit foglerichtig nicht ausführen.

                        Du musst dir einen User anlegen und den verwenden.
                        Dieser user muss in der Gruppe 'iobroker' sein.
                        Check das per

                        groups
                        

                        als dieser user.

                        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

                        L 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @lastactionhero sagte in Wir Empfehlen: Node.js 20.x :-):

                          Wenn ich mich über die Console anmelde, bin ich per se root, der lässt mich das script damit foglerichtig nicht ausführen.

                          Du musst dir einen User anlegen und den verwenden.
                          Dieser user muss in der Gruppe 'iobroker' sein.
                          Check das per

                          groups
                          

                          als dieser user.

                          L Offline
                          L Offline
                          LastActionHero
                          schrieb am zuletzt editiert von LastActionHero
                          #183

                          @thomas-braun einen neuen User (ioadmin) hatte ich bereits erstellt, und den hatte ich auch der gruppe iobroker zugewiesen, dachte ich zumindest!

                          sorry, korrektur: Mit dem o.g. Befehl wird mir iobroker, ioadmin und adm ausgegeben

                          HomoranH 1 Antwort Letzte Antwort
                          0
                          • L LastActionHero

                            @thomas-braun einen neuen User (ioadmin) hatte ich bereits erstellt, und den hatte ich auch der gruppe iobroker zugewiesen, dachte ich zumindest!

                            sorry, korrektur: Mit dem o.g. Befehl wird mir iobroker, ioadmin und adm ausgegeben

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

                            @lastactionhero sagte in Wir Empfehlen: Node.js 20.x :-):

                            @thomas-braun einen neuen User (ioadmin) hatte ich bereits erstellt, und den hatte ich auch der gruppe iobroker zugewiesen, dachte ich zumindest!

                            Mit dem o.g. Befehl wird mir ausschließlich "root" als Gruppe angezeigt!?

                            bitte immer alles zeigen!

                            von dem Eingabeprompt
                            bis zum nächsten

                            mit welchem user, in welchem Verzeichnis ausgeführt usw. müsste man dann nicht nachfragen

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            L 1 Antwort Letzte Antwort
                            0
                            • HomoranH Homoran

                              @lastactionhero sagte in Wir Empfehlen: Node.js 20.x :-):

                              @thomas-braun einen neuen User (ioadmin) hatte ich bereits erstellt, und den hatte ich auch der gruppe iobroker zugewiesen, dachte ich zumindest!

                              Mit dem o.g. Befehl wird mir ausschließlich "root" als Gruppe angezeigt!?

                              bitte immer alles zeigen!

                              von dem Eingabeprompt
                              bis zum nächsten

                              mit welchem user, in welchem Verzeichnis ausgeführt usw. müsste man dann nicht nachfragen

                              L Offline
                              L Offline
                              LastActionHero
                              schrieb am zuletzt editiert von
                              #185

                              @homoran sorry, habt ja recht!

                              root@iobroker:~# su ioadmin
                              $ groups
                              ioadmin adm iobroker
                              
                              HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                              0
                              • L LastActionHero

                                @homoran sorry, habt ja recht!

                                root@iobroker:~# su ioadmin
                                $ groups
                                ioadmin adm iobroker
                                
                                HomoranH Nicht stören
                                HomoranH Nicht stören
                                Homoran
                                Global Moderator Administrators
                                schrieb am zuletzt editiert von
                                #186

                                @lastactionhero dann warst du bestimmt vorhin noch als root unterwegs.
                                Das solltest du nie machen.
                                Meld dich vernünftig ab und dann als ioadmin wieder sn.

                                Vorher solltest du aber den ioadmin noch in die Gruppe sudo packen

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Antwort Letzte Antwort
                                0
                                • L LastActionHero

                                  @homoran sorry, habt ja recht!

                                  root@iobroker:~# su ioadmin
                                  $ groups
                                  ioadmin adm iobroker
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von Thomas Braun
                                  #187

                                  @lastactionhero

                                  Und nix aus der Konsole löschen.
                                  Immer auch den LogIn Prompt zeigen. Gerade bei Berchtigungsgeschichten.
                                  Darfst du denn das /home/iobroker betreten?

                                  ls -l /home/
                                  

                                  anschauen.

                                  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

                                  L 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @lastactionhero

                                    Und nix aus der Konsole löschen.
                                    Immer auch den LogIn Prompt zeigen. Gerade bei Berchtigungsgeschichten.
                                    Darfst du denn das /home/iobroker betreten?

                                    ls -l /home/
                                    

                                    anschauen.

                                    L Offline
                                    L Offline
                                    LastActionHero
                                    schrieb am zuletzt editiert von LastActionHero
                                    #188

                                    @thomas-braun
                                    ich habe garkein login... sobald ich aus der Proxmox Umgebung heraus die Konsole der LXC öffne, sieht es so aus:

                                    root@iobroker:~# su ioadmin
                                    $ ls -l /home/
                                    total 8
                                    drwxr-xr-x 2 ioadmin  ioadmin  4096 Dec  3 10:47 ioadmin
                                    drwxr-xr-x 4 iobroker iobroker 4096 Nov 16 15:32 iobroker
                                    $ 
                                    
                                    Thomas BraunT HomoranH NegaleinN 3 Antworten Letzte Antwort
                                    0
                                    • L LastActionHero

                                      @thomas-braun
                                      ich habe garkein login... sobald ich aus der Proxmox Umgebung heraus die Konsole der LXC öffne, sieht es so aus:

                                      root@iobroker:~# su ioadmin
                                      $ ls -l /home/
                                      total 8
                                      drwxr-xr-x 2 ioadmin  ioadmin  4096 Dec  3 10:47 ioadmin
                                      drwxr-xr-x 4 iobroker iobroker 4096 Nov 16 15:32 iobroker
                                      $ 
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #189

                                      @lastactionhero

                                      Dann ist da irgendwas kaputt bei deinem Setup.

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

                                      1 Antwort Letzte Antwort
                                      0
                                      • L LastActionHero

                                        @thomas-braun
                                        ich habe garkein login... sobald ich aus der Proxmox Umgebung heraus die Konsole der LXC öffne, sieht es so aus:

                                        root@iobroker:~# su ioadmin
                                        $ ls -l /home/
                                        total 8
                                        drwxr-xr-x 2 ioadmin  ioadmin  4096 Dec  3 10:47 ioadmin
                                        drwxr-xr-x 4 iobroker iobroker 4096 Nov 16 15:32 iobroker
                                        $ 
                                        
                                        HomoranH Nicht stören
                                        HomoranH Nicht stören
                                        Homoran
                                        Global Moderator Administrators
                                        schrieb am zuletzt editiert von
                                        #190

                                        @lastactionhero sagte in Wir Empfehlen: Node.js 20.x :-):

                                        root@iobroker:~# su ioadmin

                                        du sollst dich nicht als root einloggen!
                                        und dann wechseln.
                                        Direkt als user einloggen!

                                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        1 Antwort Letzte Antwort
                                        0
                                        • L LastActionHero

                                          @thomas-braun
                                          ich habe garkein login... sobald ich aus der Proxmox Umgebung heraus die Konsole der LXC öffne, sieht es so aus:

                                          root@iobroker:~# su ioadmin
                                          $ ls -l /home/
                                          total 8
                                          drwxr-xr-x 2 ioadmin  ioadmin  4096 Dec  3 10:47 ioadmin
                                          drwxr-xr-x 4 iobroker iobroker 4096 Nov 16 15:32 iobroker
                                          $ 
                                          
                                          NegaleinN Offline
                                          NegaleinN Offline
                                          Negalein
                                          Global Moderator
                                          schrieb am zuletzt editiert von
                                          #191

                                          @lastactionhero sagte in Wir Empfehlen: Node.js 20.x :-):

                                          aus der Proxmox Umgebung heraus die Konsole der LXC öffne

                                          mach es nicht direkt in der Proxmox Konsole.
                                          Verwende zB Putty, MobaXterm, ...

                                          ° Node.js: 20.17.0 NPM: 10.8.2
                                          ° Proxmox, Ubuntu 22.04.3 LTS
                                          ° Fixer ---> iob fix

                                          L 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          789

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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