Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Troubleshooting NodeJS update

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Troubleshooting NodeJS update

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jens Lattwesen @Homoran last edited by

      @homoran
      Gute Idee 😉

      1 Reply Last reply Reply Quote 0
      • J
        Jens Lattwesen @Thomas Braun last edited by

        @thomas-braun 647fcd56-bc58-42cc-99b5-f761c0eadd64-image.png

        ?

        Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Jens Lattwesen last edited by

          @jens-lattwesen

          Was soll das sein?
          Sieht aber nach kaputten Fenstern aus. Hab ich nix mit am Hut.

          J 1 Reply Last reply Reply Quote 0
          • J
            Jens Lattwesen @Thomas Braun last edited by

            @thomas-braun OK, dachte das wäre bekannt. Ich schaue mal weiter 😉

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Jens Lattwesen last edited by

              @jens-lattwesen sagte in Troubleshooting NodeJS update:

              ?

              dito!

              Wann und wo taucht das auf?

              wie
              @thomas-braun sagte in Troubleshooting NodeJS update:

              Sieht aber nach kaputten Fenstern aus

              scheint da dein Rechner an dem du da werkelst ein Problem zu haben.

              J 1 Reply Last reply Reply Quote 0
              • J
                Jens Lattwesen @Homoran last edited by

                @homoran
                ja, etwas betagteres Modell mit Windows7.

                Scheinbar ist die Grafikkarte das Problem.

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Jens Lattwesen last edited by

                  @jens-lattwesen sagte in Troubleshooting NodeJS update:

                  Windows7

                  nicht dein Ernst!

                  Da wird die Ursache schon sein, was im Fenster steht.
                  Aber den Rechner würd ich definitiv nicht mehr ins Internet lassen

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

                    @jens-lattwesen sagte in Troubleshooting NodeJS update:

                    OK, dachte das wäre bekannt.

                    Nein, das dein Windows nicht alle benötigten Grafik-Treiber an Bord hat ist nicht bekannt. Mir jedenfalls nicht.

                    1 Reply Last reply Reply Quote 0
                    • E
                      ElCriminale @markusk1407 last edited by ElCriminale

                      @markusk1407 bei mir funktioniert das alles nicht. Mein User ist nur in der iobroker und der adm Gruppe, trotzdem bekomme ich : Sorry, user Ingo is not allowed to execute '/usr/bin/curl -sLf https...
                      Kann ich das irgendwie lösen? --> hab einen neun User erstellt, den in die iobroker Gruppe aufgenommen, jetzt startet das Node update 😉

                      Danke und Gruß Ingo

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

                        @elcriminale sagte in Troubleshooting NodeJS update:

                        Kann ich das irgendwie lösen? --> hab einen neun User erstellt, den in die iobroker Gruppe aufgenommen, jetzt startet das Node update

                        Dann schau dir die Rechte der user an.
                        Hast du es per

                        iob nodejs-update

                        gemacht?

                        E 1 Reply Last reply Reply Quote 0
                        • E
                          ElCriminale @Thomas Braun last edited by

                          @thomas-braun
                          ja, mit und ohne 20 dahinter, mit dem neuen User hats auf Anhieb funktioniert

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

                            @elcriminale

                            Vergleich die beiden User.

                            id USER1
                            id USER2
                            
                            E 1 Reply Last reply Reply Quote 0
                            • E
                              ElCriminale @Thomas Braun last edited by

                              @thomas-braun
                              d5ae0f8b-5a7c-4979-82b3-da3fc0bb0364-image.png

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

                                @elcriminale

                                Bitte KEINE windschiefen Bildchen von Konsolentexten.

                                E 1 Reply Last reply Reply Quote 0
                                • E
                                  ElCriminale @Thomas Braun last edited by ElCriminale

                                  @thomas-braun

                                  Admin@ioBroker:~$ id Ingo
                                  uid=1001(Ingo) gid=1000(iobroker) groups=1000(iobroker)
                                  Admin@ioBroker:~$ id Admin
                                  uid=1002(Admin) gid=1000(iobroker) groups=1000(iobroker)
                                  
                                  Admin@ioBroker:~$ iob fix
                                  
                                  Your system is booting into 'graphical.target', which means that a user interface or desktop is available. Usually a server is running without a desktop to have more RAM available. Do you want to switch to 'multi-user.target'? (y/N)
                                  library: loaded
                                  Library version=2024-10-22
                                  
                                  ==========================================================================
                                  
                                      Welcome to the ioBroker installation fixer!
                                      Script version: 205-02-02
                                      
                                      You might need to enter your password a couple of times.
                                  
                                  ==========================================================================
                                  
                                  
                                  ==========================================================================
                                      Installing prerequisites (1/5)
                                  ==========================================================================
                                  
                                  Admin@ioBroker:~$ iob diag
                                  [sudo] password for Admin: 
                                  Sorry, user Admin is not allowed to execute '/usr/bin/curl -sLf https://iobroker.net/diag.sh --output /home/iobroker/.diag.sh' as iobroker on ioBroker.local.
                                  Admin@ioBroker:~$ 
                                  
                                  Admin@ioBroker:~$ iob nodejs-update
                                  iobroker nodejs-update [<major-version>]
                                  
                                  Upgrade the Node.JS installation to the current LTS
                                  
                                  Options:
                                    --help  Show help  [boolean]
                                  Admin@ioBroker:~$ 
                                  

                                  ich wollte dem Problem auf die Schliche kommen und habe den ganzen ioB Container aus einem Backup wiederhergestellt, bevor ich den User Admin und Ingo angelegt hatte.
                                  Dann den User Ingo angelegt und in die iobroker Gruppe aufgenommen -- Update Nodejs versucht, klappt nicht, dann den User Admin angelegt in die iobroker Gruppe aufgenommen -- Update Nodejs versucht, klappt nicht.

                                  mcm1957 Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • mcm1957
                                    mcm1957 @ElCriminale last edited by mcm1957

                                    @elcriminale
                                    Mal eine Frage:
                                    Was verstehst du an

                                    Bitte KEINE windschiefen Bildchen von Konsolentexten.

                                    nicht?

                                    Bitte KEINE Screenshots / Bildchen. posten sondern den Text markieren und unter Code Tage posten.

                                    EDIT: Vorposting zwischenzeitlich korrigiert

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

                                      @elcriminale

                                      Beiden usern fehlen die root-Rechte. Setz deinen Hauptuser in die Gruppen sudo und adm rein.
                                      Dann die Kiste einmal komplett durchstarten.

                                      Erst dann kann auch an den Systemeinstellungen hantiert werden.

                                      Am Rande: user und hostnames am besten in durchgehender Kleinschreibung. Gute Praxis.

                                      Und eigentlich ist der user 'Admin' ohnehin entbehrlich, wenn der 'Ingo' dann schon mit den passenden Rechten ausgestattet ist. Lösch den wieder, ist nur ein unnötiger Angriffsvektor.

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        ElCriminale @Thomas Braun last edited by ElCriminale

                                        @thomas-braun
                                        @mcm1957
                                        Danke Thomas!
                                        Danke mcm1957!

                                        Habe einen "kleinen" Ingo angelegt, in die entsprechenden Gruppen aufgenommen und das Update hat funktioniert. Die anderen beiden User hab ich anschließend gelöscht.

                                        Gruß Ingo

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

                                          @elcriminale

                                          Dann lass jetzt mal die Ausgabe (in der langen Version) von

                                          iob diag
                                          

                                          sehen.

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            ElCriminale @Thomas Braun last edited by

                                            @thomas-braun

                                            ======================= SUMMARY =======================
                                                                    v.2025-02-23
                                            
                                            
                                             Static hostname: ioBroker
                                                   Icon name: computer-container
                                                     Chassis: container
                                              Virtualization: lxc
                                            Operating System: Ubuntu 22.04.5 LTS
                                                      Kernel: Linux 6.8.12-9-pve
                                                Architecture: x86-64
                                            
                                            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.19.2
                                            /usr/bin/node           v20.19.2
                                            /usr/bin/npm            10.8.2
                                            /usr/bin/npx            10.8.2
                                            /usr/bin/corepack       0.31.0
                                            
                                            Recommended versions are nodejs 20.19.2 and npm 10.8.2
                                            nodeJS installation is correct
                                            
                                            MEMORY: 
                                                           total        used        free      shared  buff/cache   available
                                            Mem:            4.1G        1.9G        1.6G        0.0K        621M        2.2G
                                            Swap:           512M        9.0M        502M
                                            Total:          4.6G        1.9G        2.1G
                                            
                                            Active iob-Instances:   21
                                            Upgrade policy: none
                                            
                                            ioBroker Core:          js-controller           7.0.6
                                                                    admin                   7.6.3
                                            
                                            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: 8081, bind: 0.0.0.0, run as: admin
                                            + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                            
                                            Objects:                15728
                                            States:                 12901
                                            
                                            Size of iob-Database:
                                            
                                            21M     /opt/iobroker/iobroker-data/objects.jsonl
                                            4.9M    /opt/iobroker/iobroker-data/objects.json.migrated
                                            4.9M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                            34M     /opt/iobroker/iobroker-data/states.jsonl
                                            980K    /opt/iobroker/iobroker-data/states.json.migrated
                                            980K    /opt/iobroker/iobroker-data/states.json.bak.migrated
                                            
                                            
                                            Operating System codenamed 'jammy' is an aging Ubuntu release! Please upgrade to the latest LTS release 'noble' in due time!
                                            
                                            =================== END OF SUMMARY ====================
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            928
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            nodejs 18 nodejs update
                                            60
                                            504
                                            84157
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo