Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. IOBroker startet nicht mehr nach Updates

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IOBroker startet nicht mehr nach Updates

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thomke67 last edited by thomke67

      Hallo,

      ich habe einige Updates durchgeführt. Nach dem letzten Update/Upgrade startet IOBroker nicht mehr.

      Hier die Statusmeldung an der Konsole

      pi@raspberrypi:~ $ iobroker status
      (node:1900) UnhandledPromiseRejectionWarning: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
          at new NodeError (internal/errors.js:322:7)
          at Loader.builtinStrategy (internal/modules/esm/translators.js:289:11)
          at new ModuleJob (internal/modules/esm/module_job.js:63:26)
          at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
          at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
          at async Promise.all (index 2)
          at async link (internal/modules/esm/module_job.js:83:9)
      (Use `node --trace-warnings ...` to show where the warning was created)
      (node:1900) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
      (node:1900) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
      pi@raspberrypi:~ $
      

      Kann mir jemand helfen?

      Samson71 1 Reply Last reply Reply Quote 0
      • Samson71
        Samson71 Global Moderator @thomke67 last edited by

        @thomke67

        ich habe einige Updates durchgeführt. Nach dem letzten Update/Upgrade startet IOBroker nicht mehr.

        Mangels näherer Beschreibung wie immer, ggf. mehr mit einem (vollständigen)

        iob diag
        

        in Code-Tags </>

        T 1 Reply Last reply Reply Quote 0
        • T
          thomke67 @Samson71 last edited by

          @samson71
          Schon mal Danke, dass du Hilfe anbietest.

          Hier das Resultat aus iob diag

          Copy text starting here:
          
          ```bash
          ======================= SUMMARY =======================
                                  v.2024-08-12
          
          
             Static hostname: raspberrypi
                   Icon name: computer
            Operating System: Raspbian GNU/Linux 10 (buster)
                      Kernel: Linux 5.10.103-v7l+
                Architecture: arm
          
          Installation:           native
          Kernel:                 armv7l
          Userland:               32 bit
          Timezone:               Europe/Berlin (CEST, +0200)
          User-ID:                1000
          Display-Server:         true
          Boot Target:            graphical.target
          
          Pending OS-Updates:     0
          (node:3171) UnhandledPromiseRejectionWarning: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
              at new NodeError (internal/errors.js:322:7)
              at Loader.builtinStrategy (internal/modules/esm/translators.js:289:11)
              at new ModuleJob (internal/modules/esm/module_job.js:63:26)
              at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
              at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
              at async Promise.all (index 2)
              at async link (internal/modules/esm/module_job.js:83:9)
          (Use `node --trace-warnings ...` to show where the warning was created)
          (node:3171) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
          (node:3171) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
          Pending iob updates:    0
          
          Nodejs-Installation:
          /usr/bin/nodejs         v14.21.3
          /usr/bin/node           v14.21.3
          /usr/bin/npm            6.14.18
          /usr/bin/npx            6.14.18
          /usr/bin/corepack       0.15.1
          
          Recommended versions are nodejs  and npm
          Your nodejs installation is correct
          
          MEMORY:
                        total        used        free      shared  buff/cache   available
          Mem:           3.8G        239M        3.0G         24M        633M        3.4G
          Swap:           99M          0B         99M
          Total:         3.9G        239M        3.1G
          
          Active iob-Instances:   0
          (node:3238) UnhandledPromiseRejectionWarning: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
              at new NodeError (internal/errors.js:322:7)
              at Loader.builtinStrategy (internal/modules/esm/translators.js:289:11)
              at new ModuleJob (internal/modules/esm/module_job.js:63:26)
              at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
              at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
              at async Promise.all (index 2)
              at async link (internal/modules/esm/module_job.js:83:9)
          (Use `node --trace-warnings ...` to show where the warning was created)
          (node:3238) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
          (node:3238) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
          
          (node:3252) UnhandledPromiseRejectionWarning: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
              at new NodeError (internal/errors.js:322:7)
              at Loader.builtinStrategy (internal/modules/esm/translators.js:289:11)
              at new ModuleJob (internal/modules/esm/module_job.js:63:26)
              at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
              at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
              at async Promise.all (index 2)
              at async link (internal/modules/esm/module_job.js:83:9)
          (Use `node --trace-warnings ...` to show where the warning was created)
          (node:3252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
          (node:3252) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
          ioBroker Core:          js-controller
          (node:3267) UnhandledPromiseRejectionWarning: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
              at new NodeError (internal/errors.js:322:7)
              at Loader.builtinStrategy (internal/modules/esm/translators.js:289:11)
              at new ModuleJob (internal/modules/esm/module_job.js:63:26)
              at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
              at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
              at async Promise.all (index 2)
              at async link (internal/modules/esm/module_job.js:83:9)
          (Use `node --trace-warnings ...` to show where the warning was created)
          (node:3267) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
          (node:3267) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                                  admin
          
          (node:3281) UnhandledPromiseRejectionWarning: Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:timers/promises
              at new NodeError (internal/errors.js:322:7)
              at Loader.builtinStrategy (internal/modules/esm/translators.js:289:11)
              at new ModuleJob (internal/modules/esm/module_job.js:63:26)
              at Loader.getModuleJob (internal/modules/esm/loader.js:258:11)
              at async ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:78:21)
              at async Promise.all (index 2)
              at async link (internal/modules/esm/module_job.js:83:9)
          (Use `node --trace-warnings ...` to show where the warning was created)
          (node:3281) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
          (node:3281) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
          ioBroker Status:
          
          Status admin and web instance:
          
          Objects:                0
          States:                 0
          
          Size of iob-Database:
          
          19M     /opt/iobroker/iobroker-data/objects.jsonl
          11M     /opt/iobroker/iobroker-data/objects.json.migrated
          11M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
          14M     /opt/iobroker/iobroker-data/states.jsonl
          1.2M    /opt/iobroker/iobroker-data/states.json.migrated
          1.2M    /opt/iobroker/iobroker-data/states.json.bak.migrated
          0       /opt/iobroker/iobroker-data/states.json.broken
          
          
          =================== END OF SUMMARY ====================
          
          Samson71 1 Reply Last reply Reply Quote 0
          • Samson71
            Samson71 Global Moderator @thomke67 last edited by Samson71

            @thomke67
            Neben der Tatsache, dass ein "Summary" nicht die Langfassung ist, kann man das Problem aber schon sehen. Debian 10 (Buster) ist lange tot. Sofern Du versucht hast auf Nodejs 20 upzudaten ist klar, dass es klemmt. Das läuft nicht mehr mit Buster.

            Downgrade auf Nodejs 18, Rest soweit wie möglich aktuell, Backup machen und das in eine frische ioBroker-Installation in einem neu installierten Debian 12 (64bit ohne Desktop) einspielen. Ein direktes Update von Debian 10 auf 12 funktioniert nicht!

            EDIT
            Sehe gerade, dass Du noch Uralt unterwegs bist mit Nodejs14. Minimum für die meisten Adapter ist mittlerweile 18. Hatte zuerst nach der Anzeige mit Buster nicht weitergelesen. Ich vermute daher, dass da auch jede Menge Systemupdates fehlen.

            Um das bis auf Maximum hochzuziehen bin ich auch nicht fit genug. Da muss unser @Thomas-Braun besser mal mit draufgucken.

            T 1 Reply Last reply Reply Quote 0
            • T
              thomke67 @Samson71 last edited by thomke67

              @samson71 Vielen Dank
              @Thomas-Braun Was ist jetzt genau zu tun? Bin nicht so im Linux unterwegs. Ich habe immer mal wieder Updates über die Konsole gemacht. Das ich jetzt so weit hinten liegen soll, ist mir gar nicht aufgefallen.

              Codierknecht 1 Reply Last reply Reply Quote 0
              • Codierknecht
                Codierknecht Developer Most Active @thomke67 last edited by

                @thomke67 sagte in IOBroker startet nicht mehr nach Updates:

                Was ist jetzt genau zu tun?

                https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                T 1 Reply Last reply Reply Quote 0
                • T
                  thomke67 @Codierknecht last edited by thomke67

                  @codierknecht Wird dabei die alte Version überschrieben, oder muss ich die manuell löschen?
                  Zudem ist bei mir die Installation auf einer SSD. Das habe ich vor langer Zeit mal gemacht und jetzt weiß ich nicht mehr, wie ich damals vorgegangen bin. War bestimmt eine Schritt für Schritt Anleitung.

                  Samson71 T 2 Replies Last reply Reply Quote 0
                  • Samson71
                    Samson71 Global Moderator @thomke67 last edited by

                    @thomke67
                    Wenn Du das direkt auf der alten Karte machst ist alles futsch. Ich würde eine neue SD-Karte nehmen. Dann bleibt die alte zur Sicherheit erhalten. Die Neuinstallation ist ja nur die eine Seite. Die Aktualisierung und das Backup vom Altsystem die andere Seite.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      thomke67 @Samson71 last edited by

                      @samson71 Da steckt keine Karte mehr drin.

                      Samson71 Thomas Braun 3 Replies Last reply Reply Quote 0
                      • Samson71
                        Samson71 Global Moderator @thomke67 last edited by

                        @thomke67
                        Auf jeden Fall ist das Altsystem futsch, wenn Du da direkt ein neues Bookworm draufklatscht. Deswegen mein Hinweis auf einen alternativen Datenträger oder was auch immer und Aktualisierung des Altsystems soweit wie möglich und davon dann ein Backup.

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

                          @thomke67

                          iob nodejs-update 18
                          

                          Dann damit den ioBroker auf den aktuellen Stand bringen (und zwar vollständig, inkl. js-controller).
                          Davon dann ein Backup ziehen und damit auf ein frisch von Grundauf neuinstalliertes Betriebssystem umziehen.

                          Hattest du nodejs@20 per

                          iob nodejs-update

                          vorgenommen? Denn eigentlich sollte das nicht möglich sein.
                          Muss ich dann nochmal in den Code schauen, warum das nicht erkannt wurde.

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

                            @thomke67

                            Kannst du mir mal aus dem jetzigen System die Ausgabe von

                            cat /etc/debian_version
                            

                            mitteilen?

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              thomke67 @Thomas Braun last edited by

                              @thomas-braun
                              Ich habe node.js Version 18 installiert und das System ist wieder da. Vielen Dank!!!!!!
                              Es war aber wohl auf Version 14, oder?

                              ioBroker nodejs fixer 2024-06-20
                              You requested to install latest version from nodejs v18 tree.
                              
                              Your current setup is:
                              /usr/bin/nodejs         v14.21.3
                              /usr/bin/node           v14.21.3
                              /usr/bin/npm            6.14.18
                              /usr/bin/npx            6.14.18
                              /usr/bin/corepack       0.15.1
                              
                              We found these nodejs versions available for installation:
                              
                              nodejs:
                                Installed: 14.21.3-deb-1nodesource1
                                Candidate: 14.21.3-deb-1nodesource1
                                Version table:
                               *** 14.21.3-deb-1nodesource1 1001
                                      500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   10.24.0~dfsg-1~deb10u3 500
                                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              
                              
                              
                              Nothing to do - Your installation is using the correct paths.
                              
                              You are running nodejs v14.21.3. Do you want to install latest version from nodejs v.18 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'$'\n''/usr/share/keyrings/nodesource.gpg 2> /dev/null': No such file or directory
                              Waiting for ioBroker to shut down - Give me a minute...
                              ############################################################
                              
                              Removing dfsg-nodejs
                              
                              
                              *** These repos are active on your system:
                              Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Hit:2 https://apt.pivccu.de/piVCCU stable InRelease
                              Hit:3 http://archive.raspberrypi.org/debian buster 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_18.x nodistro main
                              Package: nodejs
                              Pin: origin deb.nodesource.com
                              Pin-Priority: 1001
                              
                              *** These repos are active after the adjustments:
                              Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                              Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Hit:3 https://apt.pivccu.de/piVCCU stable InRelease
                              Get:4 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
                              Get:5 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [10.2 kB]
                              Fetched 22.4 kB in 1s (21.2 kB/s)
                              Reading package lists... Done
                              
                              Installing nodejs now!
                              
                              Exact recommended version unknown, installing a fallback!
                              (Reading database ... 129820 files and directories currently installed.)
                              Preparing to unpack .../nodejs_18.0.0-1nodesource1_armhf.deb ...
                              Detected old npm client, removing...
                              Unpacking nodejs (18.0.0-1nodesource1) over (14.21.3-deb-1nodesource1) ...
                              Setting up nodejs (18.0.0-1nodesource1) ...
                              Processing triggers for man-db (2.8.5-2+deb10u1) ...
                              
                              Updating fallback to latest nodejs v18 release
                              (Reading database ... 130626 files and directories currently installed.)
                              Preparing to unpack .../nodejs_18.20.4-1nodesource1_armhf.deb ...
                              Detected old npm client, removing...
                              Unpacking nodejs (18.20.4-1nodesource1) over (18.0.0-1nodesource1) ...
                              Setting up nodejs (18.20.4-1nodesource1) ...
                              Processing triggers for man-db (2.8.5-2+deb10u1) ...
                              v18.20.4 has been installed! You are using the latest version now!
                              Installing the nodejs!
                              
                              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.
                              
                              pi@raspberrypi:~ $
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • T
                                thomke67 @Thomas Braun last edited by

                                @thomas-braun Debian Version 10.13

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

                                  @thomke67

                                  Bitte vollständige Ein- wie Ausgaben in CodeTags zeigen. Also genauso wie es dann auch auf deinem Bildschirm ausgespuckt wird.

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    thomke67 @Thomas Braun last edited by

                                    @thomas-braun Hier die Ausgabe:

                                    pi@raspberrypi:~ $ cat /etc/debian_version
                                    10.13
                                    pi@raspberrypi:~ $
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @thomke67 last edited by Thomas Braun

                                      @thomke67

                                      Jetzt siehst du auch warum ich da so genau nachfrage...

                                      Debian Version 10.13 ist nicht gleich 10.13

                                      Ich muss die Abfrage in nodejs-update dann entsprehend ergänzen.

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        thomke67 @Thomas Braun last edited by

                                        @thomas-braun Ok!
                                        Und wie komme ich jetzt für mich am Einfachsten von Debian Buster auf die aktuellste Version?

                                        Codierknecht Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Codierknecht
                                          Codierknecht Developer Most Active @thomke67 last edited by

                                          @thomke67 sagte in IOBroker startet nicht mehr nach Updates:

                                          Und wie komme ich jetzt für mich am Einfachsten von Debian Buster auf die aktuellste Version?

                                          wurde doch schon mehrfach geschrieben:
                                          https://forum.iobroker.net/topic/51869/installation-auf-raspi-einfacher-geht-s-nicht

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            thomke67 @thomke67 last edited by

                                            @codierknecht Es wurde genau einmal geschrieben und da waren meine Fragen:

                                            @thomke67 sagte in IOBroker startet nicht mehr nach Updates:

                                            @codierknecht Wird dabei die alte Version überschrieben, oder muss ich die manuell löschen?
                                            Zudem ist bei mir die Installation auf einer SSD. Das habe ich vor langer Zeit mal gemacht und jetzt weiß ich nicht mehr, wie ich damals vorgegangen bin. War bestimmt eine Schritt für Schritt Anleitung.

                                            Backitup hat bei mir die Backups auf einen NAS geschrieben. Die stehen mir also jetzt unabhängig von der SSD zur Verfügung.
                                            Ich weiß aber echt nicht mehr, wie ich von der SD Karte auf die SSD umgezogen bin. Das System lief jetzt einige Jahre super stabil! Und wenn ich mich nicht ganz täusche, dann habe ich die Version des Debians schon mal von einer alten Version auf Buster hochgezogen. Ich habe nämlich irgendwo noch in einem Script einen String durch "buster" ersetzt und dann ging es.
                                            Aber das ist alles schon sehr lange her.....

                                            Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            32
                                            1003
                                            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