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

  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Installation
  5. Troubleshooting NodeJS update

NEWS

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

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

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

Troubleshooting NodeJS update

Geplant Angeheftet Gesperrt Verschoben Installation
nodejs 18nodejs update
504 Beiträge 60 Kommentatoren 146.9k Aufrufe 52 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.
  • A Arni_Banone

    Moin allerseits,
    ich habe auf einem Raspberry Pi 4 laufen:
    ioBroker, InfluxDB, Grafana

    Habe eine Sicherung auf SD-Karte mittels SD Card Copier, sowie ein Back(it)up von ioBroker, JavaScript, InfluxDB.
    Ich kann nun also einigermaßen sicher Dinge ausprobieren, bin aber wahrlich kein Profi auf diesem Gebiet.

    Da ich einige Instanzen nicht mehr aktualisieren kann, möchte ich gerne Node.JS aktualisieren. Dies habe ich entsprechend der Anleitung mehrfach versucht.

    Hier der Code im Spoiler

    ioBroker nodejs fixer 2024-05-23
    
    Recommended nodejs-version is: 18.20.3
    Checking your installation now. Please be patient!
    
    Your current setup is:
    /usr/bin/node 		v16.19.0
    /usr/bin/npm 		8.19.3
    /usr/bin/npx 		8.19.3
    /usr/bin/corepack 	0.15.1
    
    We found these nodejs versions available for installation:
    
    nodejs:
     Installed: 16.19.0-deb-1nodesource1
     Candidate: 20.14.0-1nodesource1
     Version table:
        20.14.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.13.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.13.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.12.2-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.12.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.12.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.11.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.11.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.10.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.9.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.8.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.8.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.7.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.6.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.6.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.5.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.5.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.4.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.3.1-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.3.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.2.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.1.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
        20.0.0-1nodesource1 1001
           500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages
    *** 16.19.0-deb-1nodesource1 100
           100 /var/lib/dpkg/status
        12.22.12~dfsg-1~deb11u4 500
           500 http://deb.debian.org/debian bullseye/main arm64 Packages
           500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
    
    
    
    Nothing to do - Your installation is using the correct paths.
    
    You are running nodejs v16.19.0. Do you want to install recommended version 18.20.3? 
    
    Press <y> to continue or any other key to quit
    Trying to fix your installation now. Please be patient.
    Waiting for ioBroker to shut down - Give me a minute...
    ############################################################
    
    *** These repos are active on your system:
    Hit:1 http://deb.debian.org/debian bullseye InRelease
    Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
    Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
    Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
    Get:5 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
    Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                       
    Err:5 https://repos.influxdata.com/debian bullseye InRelease
     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
    Err:6 https://packages.grafana.com/oss/deb stable InRelease
     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
    Reading package lists... Done
    W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
    E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
    
    *** 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 bullseye InRelease
    Hit:2 http://deb.debian.org/debian bullseye-updates InRelease                                                                
    Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                                                 
    Get:4 https://repos.influxdata.com/debian bullseye InRelease [12.9 kB]                                                       
    Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease                                                               
    Get:6 https://packages.grafana.com/oss/deb stable InRelease [7661 B]                                                         
    Hit:7 https://deb.nodesource.com/node_20.x nodistro InRelease                                            
    Err:4 https://repos.influxdata.com/debian bullseye InRelease
     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
    Err:6 https://packages.grafana.com/oss/deb stable InRelease
     The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
    Reading package lists... Done
    W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
    E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
    
    Installing nodejs now!
    
    /home/iobroker/.nodejs-update.sh: line 370: [: : integer expression expected
    /home/iobroker/.nodejs-update.sh: line 387: [: : integer expression expected
    Installing the nodejs!
    W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
    E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
    E: Failed to fetch https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_10.1.0_arm64.deb  404  Not Found [IP: 146.75.118.217 443]
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    
    We tried our best to fix your nodejs. Please run iob diag again to verify.
    
    *** RESTARTING ioBroker NOW! *** 
    Please refresh or restart your browser in a few moments.
    
    

    Ich sehe einige Fehlermeldungen mit fehlenden Key und Signaturen. Das sagt mir allerdings nichts.
    Es scheint mit Grafana und InfluxDB zusammenzuhängen.

    Mögt ihr mir ein paar Tipps geben, was ich als nächstes machen kann, um das Update doch noch zu installieren?

    Vielen Dank!

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

    @arni_banone

    https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

    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
    1
    • Thomas BraunT Thomas Braun

      @arni_banone

      Mach es mittels

      iob nodejs-update 20 
      

      Und zuvor die Grafana und Influxdb Repos auf einen aktuellen Stand bringen. Such meinen Thread 'Phantastische Repos und wo sie zu finden sind ' und leg die jeweils neu an.

      A Offline
      A Offline
      Arni_Banone
      schrieb am zuletzt editiert von
      #360

      @thomas-braun said in Troubleshooting NodeJS update:

      iob nodejs-update 20

      Wunderbar, vielen Dank für die wahnsinnig schnelle Hilfe!!!

      Hat auf Anhieb geklappt.

      1. Grafana Update
      2. Influx update
      3. Node.js update, jedoch mit Befehl
      iob nodejs-update 20
      

      Neuer Stand:

      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      /usr/bin/npx
      v20.14.0
      v20.14.0
      10.7.0
      10.7.0
      
      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • A Arni_Banone

        @thomas-braun said in Troubleshooting NodeJS update:

        iob nodejs-update 20

        Wunderbar, vielen Dank für die wahnsinnig schnelle Hilfe!!!

        Hat auf Anhieb geklappt.

        1. Grafana Update
        2. Influx update
        3. Node.js update, jedoch mit Befehl
        iob nodejs-update 20
        

        Neuer Stand:

        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        /usr/bin/npx
        v20.14.0
        v20.14.0
        10.7.0
        10.7.0
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #361

        @arni_banone

        Dann halt dein System künftig regelmäßiger (alle paar Wochen minimum!) auf Stand. Das Thema mit den abgelaufenen Zertifikaten ist steinalt, mindestens seitdem hast du kein Update mehr fahren können.

        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
        2
        • M Offline
          M Offline
          markusk1407
          schrieb am zuletzt editiert von
          #362

          Moin!
          Irgendwie bin ich zu doof zum Updaten!
          Das Update als root soll man ja nicht machen und funktioniert auch so nicht. Nun habe ich einen anderen Nutzer angelegt und bei diesem wird mir angezeigt:

          Sorry, user iob 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.fritz.box.
          

          mache ich ein Sudo davor bekomme ich

          Sorry, user iob is not allowed to execute '/usr/bin/iob nodejs-update' as root on iobroker.fritz.box.
          

          Wo liegt denn da nun mein Fehler?

          LG
          Markus

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • M markusk1407

            Moin!
            Irgendwie bin ich zu doof zum Updaten!
            Das Update als root soll man ja nicht machen und funktioniert auch so nicht. Nun habe ich einen anderen Nutzer angelegt und bei diesem wird mir angezeigt:

            Sorry, user iob 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.fritz.box.
            

            mache ich ein Sudo davor bekomme ich

            Sorry, user iob is not allowed to execute '/usr/bin/iob nodejs-update' as root on iobroker.fritz.box.
            

            Wo liegt denn da nun mein Fehler?

            LG
            Markus

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

            @markusk1407 sagte in Troubleshooting NodeJS update:

            Wo liegt denn da nun mein Fehler?

            An den falschen Gruppenzugehörigkeiten, vermutlich.

            groups
            

            als iob ausgeführt? Und warum nimmst du nicht deinen Vornamen oder deinen Forumsnick als user name sondern 'iob', was gleichzeitig auch ein Kommando ist. Ungünstig.

            Das Update als root soll man ja nicht machen und funktioniert auch so nicht.

            Vollkommen korrekt, weil man auch nie direkt als root angemeldet durch das System stolpert.

            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

            M 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @markusk1407 sagte in Troubleshooting NodeJS update:

              Wo liegt denn da nun mein Fehler?

              An den falschen Gruppenzugehörigkeiten, vermutlich.

              groups
              

              als iob ausgeführt? Und warum nimmst du nicht deinen Vornamen oder deinen Forumsnick als user name sondern 'iob', was gleichzeitig auch ein Kommando ist. Ungünstig.

              Das Update als root soll man ja nicht machen und funktioniert auch so nicht.

              Vollkommen korrekt, weil man auch nie direkt als root angemeldet durch das System stolpert.

              M Offline
              M Offline
              markusk1407
              schrieb am zuletzt editiert von markusk1407
              #364

              @thomas-braun
              Erstmal Danke für die schnelle Antwort.
              Ich habe auch meinen Vornamen als User angelegt, aber auch da bekomme ich die selben Meldungen

              uid=1001(markus) gid=1001(markus) groups=1001(markus),0(root),100(users)
              
              Thomas BraunT HomoranH 2 Antworten Letzte Antwort
              0
              • M markusk1407

                @thomas-braun
                Erstmal Danke für die schnelle Antwort.
                Ich habe auch meinen Vornamen als User angelegt, aber auch da bekomme ich die selben Meldungen

                uid=1001(markus) gid=1001(markus) groups=1001(markus),0(root),100(users)
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #365

                @markusk1407 sagte in Troubleshooting NodeJS update:

                Ich habe auch meinen Vornamen als User angelegt, aber auch da bekomme ich die selben Meldungen

                Dann fehlen auch diesem user die notwendigen Gruppenzugehörigkeiten...

                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

                M 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @markusk1407 sagte in Troubleshooting NodeJS update:

                  Ich habe auch meinen Vornamen als User angelegt, aber auch da bekomme ich die selben Meldungen

                  Dann fehlen auch diesem user die notwendigen Gruppenzugehörigkeiten...

                  M Offline
                  M Offline
                  markusk1407
                  schrieb am zuletzt editiert von markusk1407
                  #366

                  @thomas-braun
                  In welchen Gruppen muss man denn sein, um update zu dürfen? Der User markus ist doch schon in der root-gruppe (siehe oben)

                  HomoranH 1 Antwort Letzte Antwort
                  0
                  • M markusk1407

                    @thomas-braun
                    Erstmal Danke für die schnelle Antwort.
                    Ich habe auch meinen Vornamen als User angelegt, aber auch da bekomme ich die selben Meldungen

                    uid=1001(markus) gid=1001(markus) groups=1001(markus),0(root),100(users)
                    
                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #367

                    @markusk1407 sagte in Troubleshooting NodeJS update:

                    da bekomme ich die selben Meldungen

                    hast du mal mit root gearbeitet?
                    dann könnten die Rechte so verbogen sein, dass niemand anders mehr zugreifen darf

                    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 -

                    M 1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @markusk1407 sagte in Troubleshooting NodeJS update:

                      da bekomme ich die selben Meldungen

                      hast du mal mit root gearbeitet?
                      dann könnten die Rechte so verbogen sein, dass niemand anders mehr zugreifen darf

                      M Offline
                      M Offline
                      markusk1407
                      schrieb am zuletzt editiert von
                      #368

                      @homoran eigentlich nicht. Ich weiß ja, das man mit root nichts machen soll

                      Thomas BraunT 1 Antwort Letzte Antwort
                      0
                      • M markusk1407

                        @homoran eigentlich nicht. Ich weiß ja, das man mit root nichts machen soll

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

                        @markusk1407 sagte in Troubleshooting NodeJS update:

                        Der User markus ist doch schon in der root-gruppe (siehe oben)

                        Ihr immer mit dem root... Der markus gehört da gar nicht rein!
                        Als root (letzmalig!)

                        usermod -r -G root markus
                        usermod -a -G adm,dialout,plugdev,sudo,iobroker markus
                        reboot
                        

                        Und dann IMMER als markus einloggen NIE NIE NIE NIE als root.

                        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
                        • M markusk1407

                          @thomas-braun
                          In welchen Gruppen muss man denn sein, um update zu dürfen? Der User markus ist doch schon in der root-gruppe (siehe oben)

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

                          @markusk1407 sagte in Troubleshooting NodeJS update:

                          Der User markus ist doch schon in der root-gruppe (siehe oben)

                          das hat sich überschnitten!
                          du hast aber auch editiert! ohne Kennzeichnung!
                          und genau das darf er nicht!

                          sudo ja, root nein

                          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
                          • M Offline
                            M Offline
                            markusk1407
                            schrieb am zuletzt editiert von
                            #371

                            Super! Vielen Dank! Jetzt scheint es zu funktionieren!

                            Einen schönen Abend Euch!

                            Thomas BraunT E 2 Antworten Letzte Antwort
                            0
                            • M markusk1407

                              Super! Vielen Dank! Jetzt scheint es zu funktionieren!

                              Einen schönen Abend Euch!

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

                              @markusk1407

                              Zeig mal eine Ausgabe von

                              iob diag
                              

                              nun.

                              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

                              M 1 Antwort Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @markusk1407

                                Zeig mal eine Ausgabe von

                                iob diag
                                

                                nun.

                                M Offline
                                M Offline
                                markusk1407
                                schrieb am zuletzt editiert von
                                #373

                                @thomas-braun

                                ======================= SUMMARY =======================
                                                        v.2024-05-22
                                
                                
                                 Static hostname: iobroker
                                       Icon name: computer-container
                                         Chassis: container ☐
                                  Virtualization: lxc
                                Operating System: Ubuntu 23.04
                                          Kernel: Linux 5.15.108-1-pve
                                    Architecture: x86-64
                                Firmware Version: JTKT001
                                
                                Installation:           lxc
                                Kernel:                 x86_64
                                Userland:               64 bit
                                Timezone:               Europe/Berlin (CEST, +0200)
                                User-ID:                1001
                                Display-Server:         false
                                Boot Target:            graphical.target
                                
                                Pending OS-Updates:     0
                                Pending iob updates:    1
                                
                                Nodejs-Installation:
                                /usr/bin/nodejs         v20.14.0
                                /usr/bin/node           v20.14.0
                                /usr/bin/npm            10.7.0
                                /usr/bin/npx            10.7.0
                                /usr/bin/corepack       0.28.1
                                
                                Recommended versions are nodejs 18.20.3 and npm 10.7.0
                                Your nodejs installation is correct
                                
                                MEMORY: 
                                               total        used        free      shared  buff/cache   available
                                Mem:            6.5G        2.2G        3.9G        131K        425M        4.3G
                                Swap:           4.3G          0B        4.3G
                                Total:           10G        2.2G        8.2G
                                
                                Active iob-Instances:   8
                                Active repo(s): beta
                                
                                ioBroker Core:          js-controller           6.0.5
                                                        admin                   6.17.14
                                
                                ioBroker Status:        iobroker is running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: jsonl
                                
                                Status admin and web instance:
                                + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 7777, bind: 0.0.0.0, run as: admin
                                  system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 7778, bind: 0.0.0.0, run as: admin
                                
                                Objects:                37922
                                States:                 27952
                                
                                Size of iob-Database:
                                
                                43M     /opt/iobroker/iobroker-data/objects.jsonl
                                8.7M    /opt/iobroker/iobroker-data/states.jsonl
                                
                                
                                
                                =================== END OF SUMMARY ====================
                                
                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • M markusk1407

                                  @thomas-braun

                                  ======================= SUMMARY =======================
                                                          v.2024-05-22
                                  
                                  
                                   Static hostname: iobroker
                                         Icon name: computer-container
                                           Chassis: container ☐
                                    Virtualization: lxc
                                  Operating System: Ubuntu 23.04
                                            Kernel: Linux 5.15.108-1-pve
                                      Architecture: x86-64
                                  Firmware Version: JTKT001
                                  
                                  Installation:           lxc
                                  Kernel:                 x86_64
                                  Userland:               64 bit
                                  Timezone:               Europe/Berlin (CEST, +0200)
                                  User-ID:                1001
                                  Display-Server:         false
                                  Boot Target:            graphical.target
                                  
                                  Pending OS-Updates:     0
                                  Pending iob updates:    1
                                  
                                  Nodejs-Installation:
                                  /usr/bin/nodejs         v20.14.0
                                  /usr/bin/node           v20.14.0
                                  /usr/bin/npm            10.7.0
                                  /usr/bin/npx            10.7.0
                                  /usr/bin/corepack       0.28.1
                                  
                                  Recommended versions are nodejs 18.20.3 and npm 10.7.0
                                  Your nodejs installation is correct
                                  
                                  MEMORY: 
                                                 total        used        free      shared  buff/cache   available
                                  Mem:            6.5G        2.2G        3.9G        131K        425M        4.3G
                                  Swap:           4.3G          0B        4.3G
                                  Total:           10G        2.2G        8.2G
                                  
                                  Active iob-Instances:   8
                                  Active repo(s): beta
                                  
                                  ioBroker Core:          js-controller           6.0.5
                                                          admin                   6.17.14
                                  
                                  ioBroker Status:        iobroker is running on this host.
                                  
                                  
                                  Objects type: jsonl
                                  States  type: jsonl
                                  
                                  Status admin and web instance:
                                  + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 7777, bind: 0.0.0.0, run as: admin
                                    system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 7778, bind: 0.0.0.0, run as: admin
                                  
                                  Objects:                37922
                                  States:                 27952
                                  
                                  Size of iob-Database:
                                  
                                  43M     /opt/iobroker/iobroker-data/objects.jsonl
                                  8.7M    /opt/iobroker/iobroker-data/states.jsonl
                                  
                                  
                                  
                                  =================== END OF SUMMARY ====================
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #374

                                  @markusk1407 sagte in Troubleshooting NodeJS update:

                                  Operating System: Ubuntu 23.04

                                  Kannste direkt vergessen, ist nämlich tot.
                                  Installier da was lebendiges. Vorzugsweise ein Debian 12.

                                  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

                                  M 1 Antwort Letzte Antwort
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @markusk1407 sagte in Troubleshooting NodeJS update:

                                    Operating System: Ubuntu 23.04

                                    Kannste direkt vergessen, ist nämlich tot.
                                    Installier da was lebendiges. Vorzugsweise ein Debian 12.

                                    M Offline
                                    M Offline
                                    markusk1407
                                    schrieb am zuletzt editiert von
                                    #375

                                    @thomas-braun
                                    ah okay ... danke für den Hinweis. Muss ich mich mal in Ruhe dran setzen

                                    BananaJoeB 1 Antwort Letzte Antwort
                                    0
                                    • M markusk1407

                                      @thomas-braun
                                      ah okay ... danke für den Hinweis. Muss ich mich mal in Ruhe dran setzen

                                      BananaJoeB Offline
                                      BananaJoeB Offline
                                      BananaJoe
                                      Most Active
                                      schrieb am zuletzt editiert von BananaJoe
                                      #376

                                      @markusk1407 Ich finde Ubuntu nicht so schlimm wie Thomas, ich nutze es selbst, aber Ubuntu hat LTS Versionen, die letzten beiden wären

                                      • 22.04 LTS
                                      • 24.04 LTS

                                      Das steht sogar für Jahr und Monat, im April 2024 ist also 24.04 LTS heraus gekommen.
                                      Diese Versionen bekommen für 5 Jahre alle Updates und danach immerhin noch das nötigste.
                                      Alle anderen Zwischenversionen werden nur ein paar Monate unterstützt, die solltest du also für so etwas am besten nicht nehmen.
                                      Siehe auch: https://ubuntu.com/about/release-cycle

                                      Ach ja, und es gibt immer die Desktop und die Server-Version, wenn installierst du natürlich die Server Version:
                                      https://ubuntu.com/download/server

                                      23.10 hat so zum Beispiel nur noch support bis zum nächsten Monat. Und "Support" setzte ich mal mit "bekommt Updates" gleich.

                                      Bei Debian gibt es auch Versionen mit kürzeren und längeren Support, siehe https://wiki.debian.org/DebianReleases
                                      Da habe ich das System der Nummer nicht verstanden, zumindest habe ich nicht erkannt ob man daran die Versionen mit längerem Support erkennen kann.

                                      ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • BananaJoeB BananaJoe

                                        @markusk1407 Ich finde Ubuntu nicht so schlimm wie Thomas, ich nutze es selbst, aber Ubuntu hat LTS Versionen, die letzten beiden wären

                                        • 22.04 LTS
                                        • 24.04 LTS

                                        Das steht sogar für Jahr und Monat, im April 2024 ist also 24.04 LTS heraus gekommen.
                                        Diese Versionen bekommen für 5 Jahre alle Updates und danach immerhin noch das nötigste.
                                        Alle anderen Zwischenversionen werden nur ein paar Monate unterstützt, die solltest du also für so etwas am besten nicht nehmen.
                                        Siehe auch: https://ubuntu.com/about/release-cycle

                                        Ach ja, und es gibt immer die Desktop und die Server-Version, wenn installierst du natürlich die Server Version:
                                        https://ubuntu.com/download/server

                                        23.10 hat so zum Beispiel nur noch support bis zum nächsten Monat. Und "Support" setzte ich mal mit "bekommt Updates" gleich.

                                        Bei Debian gibt es auch Versionen mit kürzeren und längeren Support, siehe https://wiki.debian.org/DebianReleases
                                        Da habe ich das System der Nummer nicht verstanden, zumindest habe ich nicht erkannt ob man daran die Versionen mit längerem Support erkennen kann.

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

                                        @bananajoe sagte in Troubleshooting NodeJS update:

                                        Da habe ich das System der Nummer nicht verstanden, zumindest habe ich nicht erkannt ob man daran die länger Supporten Versionen erkennen kann.

                                        Das ist immer gleich. Im Sommer eines ungeraden Kalenderjahres kommt ein neues 'Stable'-Release heraus. Das wird dann 3 Jahre vollständig unterstützt und dann noch 2 Jahre als LTS mit Sicherheitsupdates versehen. Danach wird es dann noch in die Hände einer Firma gelegt (ELTS) und dann von denen noch ein paar Jahre gepflegt. Der Service ist allerdings kostenpflichtig.
                                        In dem einen Jahr, wo zwei Releases voll unterstützt werden sollte man es dann hinbekommen auf das aktuelle Stable-Release zu wechseln.
                                        Man sollte also bei Debian immer das stable-Release fahren können.

                                        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
                                        • A Offline
                                          A Offline
                                          Andersmacher
                                          schrieb am zuletzt editiert von
                                          #378

                                          Weil mir ioBroker im Info-Tab seit einiger Zeit anzeigte, daß mein Node.js veraltet ist, wollte ich mich da nun endlich ´mal d´rum kümmern:

                                          Ablauf war heute folgender:
                                          Node.js V18.20.2 wird als veraltet angezeigt. Angeblich ist V18.20.4 verfügbar.
                                          Via "iob nodejs-update" das Update angestoßen. Dabei wird zunächst angezeigt, daß Installation von V18.20.3 empfohlen wird. ==> ausgeführt. ==> Als Ergebnis kommt jedoch V20.15.0 heraus. Diese wiederum zeigt in ioBroker an, daß bereits V20.15.1 verfügbar ist. ==> Installation via "iob nodejs-update" angestoßen. Dabei wird jedoch angezeigt, daß 18.20.4 empfohlen wird. ==> ausgeführt. ==> Es kommt wieder V20.15.0 heraus! ==> So belassen.
                                          In ioBroker wird nun angezeigt:
                                          Unbenannt.PNG

                                          Was mache ich da falsch?
                                          Muß ich mir Sorgen machen, obwohl alles zu funktionieren scheint?

                                          Kurzform von iob diag:

                                          ======================= SUMMARY =======================
                                                                 v.2024-05-22
                                          
                                          
                                          Static hostname: Pi4B-8GB
                                                Icon name: computer
                                          Operating System: Debian GNU/Linux 12 (bookworm)
                                                   Kernel: Linux 6.1.0-18-arm64
                                             Architecture: arm64
                                          
                                          Installation:           native
                                          Kernel:                 aarch64
                                          Userland:               64 bit
                                          Timezone:               Europe/Berlin (CEST, +0200)
                                          User-ID:                1000
                                          Display-Server:         false
                                          Boot Target:            graphical.target
                                          
                                          Pending OS-Updates:     0
                                          Pending iob updates:    0
                                          
                                          Nodejs-Installation:
                                          /usr/bin/nodejs         v20.15.0
                                          /usr/bin/node           v20.15.0
                                          /usr/bin/npm            10.7.0
                                          /usr/bin/npx            10.7.0
                                          /usr/bin/corepack       0.28.1
                                          
                                          Recommended versions are nodejs 18.20.4 and npm 10.7.0
                                          Your nodejs installation is correct
                                          
                                          MEMORY:
                                                        total        used        free      shared  buff/cache   available
                                          Mem:            8.2G        2.3G        815M        700K        5.4G        5.9G
                                          Swap:             0B          0B          0B
                                          Total:          8.2G        2.3G        815M
                                          
                                          Active iob-Instances:   28
                                          Active repo(s): stable
                                          
                                          ioBroker Core:          js-controller           5.0.19
                                                                 admin                   6.17.14
                                          
                                          ioBroker Status:        iobroker is running on this host.
                                          
                                          
                                          Objects type: jsonl
                                          States  type: jsonl
                                          
                                          Status admin and web instance:
                                          + system.adapter.admin.0                  : admin                 : Pi4B-8GB                            -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                                          + system.adapter.web.0                    : web                   : Pi4B-8GB                            -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                          + system.adapter.web.1                    : web                   : Pi4B-8GB                            -  enabled, port: 8083, bind: 0.0.0.0, run as: admin
                                          
                                          Objects:                8104
                                          States:                 5834
                                          
                                          Size of iob-Database:
                                          
                                          36M     /opt/iobroker/iobroker-data/objects.jsonl
                                          5.0M    /opt/iobroker/iobroker-data/states.jsonl
                                          
                                          
                                          
                                          =================== END OF SUMMARY ====================
                                          

                                          ioBroker auf Raspi4B 8GB Debian(12) 64Bit

                                          mcm1957M Thomas BraunT 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          312

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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