Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. npm ERR! notsup Required: {"node":">=20"}

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    npm ERR! notsup Required: {"node":">=20"}

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @ioNewbie last edited by Thomas Braun

      @ionewbie sagte in npm ERR! notsup Required: {"node":">=20"}:

      Das wird wohl mit o.a. Kommandos nicht aktuell gehalten?

      Doch. Allerdings muss der admin der Kisten auch schauen, das die Paketquellen aktuell sind.
      Sind sie bei dir offenbar nicht.

      iob stop
      iob fix
      iob nodejs-update
      

      ist dein Freund.

      I 1 Reply Last reply Reply Quote 0
      • I
        ioNewbie @Thomas Braun last edited by

        @thomas-braun Danke für die schnelle Antwort, das hat mir geholfen.

        Eine Verständnisfrage habe ich noch:

        Um was sollte ich meine monatlichen Wartungs Commands ergänzen, damit ich das nächste Mal nicht wieder in dieses Thema reinlaufe?

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

          @ionewbie

          Du musst schauen, das die Paketquellen auf einem aktuellen Stand sind.
          Gerade bei Paketen von Dritten (wie hier nodejs) kann sich da schon mal was ändern.
          Zwar nicht so häufig, aber halt dann und wann schon.

          nodejs wird jetzt aber bei dir wieder per 'apt' verwaltet, Updates kommen also darüber wieder rein.

          Wie schaut der Rest vom System aus?

          iob diag
          

          anschauen.

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

            @ionewbie bei nodejs wird mit sudo apt update && sudo apt upgrade nur innerhalb der Major Version aktualisiert.
            willst du die major version (z.B. v18 -> v20) hochbringen, kannst du das mit iop nodejs-update machen.

            I 1 Reply Last reply Reply Quote 0
            • I
              ioNewbie @Homoran last edited by ioNewbie

              @homoran iob diag. Okay, da kommt einiges, das meiste ist grün.

              ABER dieses Warning:

              *** LIFE CYCLE STATUS ***
              Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!
              

              und am Schluß noch aus den Logs ein paar Errors:

              *** Log File - Last 25 Lines ***
              
              2024-12-13 10:29:02.493  - error: host.iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
              2024-12-13 10:29:02.493  - error: host.iobroker Caught by controller[0]: }
              2024-12-13 10:29:02.494  - error: host.iobroker Caught by controller[0]: Node.js v20.18.1
              2024-12-13 10:29:02.494  - error: host.iobroker instance system.adapter.mbus.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              2024-12-13 10:29:02.495  - info: host.iobroker Restart adapter system.adapter.mbus.0 because enabled
              2024-12-13 10:29:32.979  - info: host.iobroker instance system.adapter.mbus.0 in version "2.7.0" started with pid 24821
              2024-12-13 10:29:34.421  - error: host.iobroker Caught by controller[0]: /opt/iobroker/node_modules/bindings/bindings.js:121
              2024-12-13 10:29:34.422  - error: host.iobroker Caught by controller[0]:         throw e;
              2024-12-13 10:29:34.422  - error: host.iobroker Caught by controller[0]:         ^
              2024-12-13 10:29:34.423  - error: host.iobroker Caught by controller[0]: Error: Module did not self-register: '/opt/iobroker/node_modules/node-mbus/build/Release/mbus.node'.
              2024-12-13 10:29:34.423  - error: host.iobroker Caught by controller[0]:     at Module._extensions..node (node:internal/modules/cjs/loader:1586:18)
              2024-12-13 10:29:34.423  - error: host.iobroker Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1288:32)
              2024-12-13 10:29:34.423  - error: host.iobroker Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:1104:12)
              2024-12-13 10:29:34.423  - error: host.iobroker Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1311:19)
              2024-12-13 10:29:34.423  - error: host.iobroker Caught by controller[0]:     at require (node:internal/modules/helpers:179:18)
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]:     at bindings (/opt/iobroker/node_modules/bindings/bindings.js:112:48)
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/node-mbus/index.js:7:40)
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1469:14)
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1288:32) {
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]:   code: 'ERR_DLOPEN_FAILED'
              2024-12-13 10:29:34.424  - error: host.iobroker Caught by controller[0]: }
              2024-12-13 10:29:34.425  - error: host.iobroker Caught by controller[0]: Node.js v20.18.1
              2024-12-13 10:29:34.425  - error: host.iobroker instance system.adapter.mbus.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              2024-12-13 10:29:34.425  - info: host.iobroker Restart adapter system.adapter.mbus.0 because enabled
              
              ============ Mark until here for C&P =============
              iob diag has finished.
              
              Press any key for a summary
              

              Und das Summary:

              ======================= SUMMARY =======================
                                      v.2024-10-19
              
              
                 Static hostname: iobroker
                       Icon name: computer
                Operating System: Debian GNU/Linux 11 (bullseye)
                          Kernel: Linux 6.1.21-v8+
                    Architecture: arm64
              
              Installation:           native
              Kernel:                 aarch64
              Userland:               64 bit
              Timezone:               Europe/Berlin (CET, +0100)
              User-ID:                1000
              Display-Server:         false
              Boot Target:            multi-user.target
              
              Pending OS-Updates:     0
              Pending iob updates:    0
              
              Nodejs-Installation:
              /usr/bin/nodejs         v20.18.1
              /usr/bin/node           v20.18.1
              /usr/bin/npm            10.8.2
              /usr/bin/npx            10.8.2
              /usr/bin/corepack       0.29.4
              
              Recommended versions are nodejs 20.18.1 and npm 10.8.2
              nodeJS installation is correct
              
              MEMORY:
                             total        used        free      shared  buff/cache   available
              Mem:            3.8G        944M        1.5G        1.0M        1.4G        2.8G
              Swap:            99M          0B         99M
              Total:          3.9G        944M        1.6G
              
              Active iob-Instances:   13
              Upgrade policy: none
              
              ioBroker Core:          js-controller           7.0.3
                                      admin                   7.1.5
              
              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 (SSL), run as: admin
              + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              
              Objects:                3212
              States:                 2305
              
              Size of iob-Database:
              
              16M     /opt/iobroker/iobroker-data/objects.jsonl
              1.6M    /opt/iobroker/iobroker-data/states.jsonl
              
              Debian 'bullseye' is the current oldstable version. Please upgrade to the latest stable release 'bookworm' in due time!
              
              =================== END OF SUMMARY ====================
              === Mark text until here for copying ===
              
              

              Gibt es noch was zu tun? Muss ich das OS aktualisieren? -wie?
              Und wegen der Errors noch was?

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

                @ionewbie sagte in npm ERR! notsup Required: {"node":">=20"}:

                Okay, da kommt einiges

                Zeig mal die volle Ausgabe, nicht nur die Zusammenfassung.

                Muss ich das OS aktualisieren? -wie?

                Per Neuinstallation und anschließendem Zurückspielen deines Daten-Backups.

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

                I 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @ioNewbie last edited by

                  @ionewbie sagte in npm ERR! notsup Required: {"node":">=20"}:

                  ABER dieses Warning:

                  Genau wie bei nodejs wird beim Betriebssystem mit apt nur innerhalb einer Major Version aktualisiert.
                  bei dir ist das Linux v11 und muss diesmal per Neuinstallation auf v12 gehoben werden.

                  Ein direktes Upgrade ist wegen diverser größerer Änderungen nur mit Klimmzügen den Profis vorbehalten.

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

                    @homoran sagte in npm ERR! notsup Required: {"node":">=20"}:

                    Linux v11

                    Da bin ich mal wieder Pedant... 😉
                    "Debian 11 'Bullseye'" ist das natürlich, der Linux Kernel ist erst bei 6.12.4

                    1 Reply Last reply Reply Quote 2
                    • I
                      ioNewbie @Thomas Braun last edited by

                      @thomas-braun wo kann ich lesen wie Backup und erfolgreiches Restore aus diesem Backup auf eine OS Neuinstallation gefahren wird?

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

                        @ionewbie

                        Mittels 'backitup'-Adapter am besten.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

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

                        899
                        Online

                        31.6k
                        Users

                        79.4k
                        Topics

                        1.3m
                        Posts

                        3
                        11
                        295
                        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