Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Uralt System updaten oder Umzug

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Uralt System updaten oder Umzug

    This topic has been deleted. Only users with topic management privileges can see it.
    • Codierknecht
      Codierknecht Developer Most Active @Mr.X last edited by

      @mr-x
      Das Ding heißt "js-controller" und nicht "js-crontroller" !!!

      1 Reply Last reply Reply Quote 0
      • M
        Mr.X last edited by

        Peinlich.
        Leider kriege ich es trotzdem nicht hin. Offenbar gibts die 5.0.0 nicht???

        pi@raspberrypi:/opt/iobroker $ npm install iobroker.js-controller@5.0.0
        npm error code ETARGET
        npm error notarget No matching version found for iobroker.js-controller@5.0.0.
        npm error notarget In most cases you or one of your dependencies are requesting
        npm error notarget a package version that doesn't exist.
        npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-05-09T07_24_45_164Z-debug-0.log
        
        
        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Mr.X last edited by Homoran

          @mr-x sagte in Uralt System updaten oder Umzug:

          Offenbar gibts die 5.0.0 nicht???

          durchaus möglich.
          du solltest die letzte 5.x nehmen

          EDIT nach Suche

          @mcm1957 sagte in Problem beim Aktualisieren des Admin Adapters:

          5.0.19 ist der letzte aktuelle 5er.
          Ob 5.0.0 jemals online ging kann ich mich nicht erinnern

          1 Reply Last reply Reply Quote 0
          • M
            Mr.X last edited by

            pi@raspberrypi:/opt/iobroker $ npm install iobroker.js-controller@5.0.19
            npm error code EBADENGINE
            npm error engine Unsupported engine
            npm error engine Not compatible with your version of node/npm: iobroker.jarvis@3.2.0-rc.17
            npm error notsup Not compatible with your version of node/npm: iobroker.jarvis@3.2.0-rc.17
            npm error notsup Required: {"node":">= 20","npm":">= 9.3.1","yarn":">= 1.21.1"}
            npm error notsup Actual:   {"npm":"10.8.2","node":"v18.20.8"}
            npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-05-09T07_39_00_228Z-debug-0.log
            
            
            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Mr.X last edited by

              @mr-x noch kein node v20 drauf?

              1 Reply Last reply Reply Quote 0
              • M
                Mr.X @Thomas Braun last edited by Mr.X

                @Homoran

                thomas-braun sagte in Uralt System updaten oder Umzug:

                iob stop
                sudo apt update
                sudo apt full-upgrade
                sudo reboot
                iob nodejs-update 18
                iob update 
                iob upgrade all -y
                iob upgrade self 
                cd /opt/iobroker 
                npm install iobroker.js-controller@5.0.0
                iob start
                iob stop
                iob update 
                iob upgrade all -y
                iob upgrade self 
                cd /opt/iobroker 
                npm install iobroker.js-controller@6.0.0
                iob start
                iob stop
                iob update 
                iob upgrade all -y
                iob upgrade self 
                cd /opt/iobroker 
                npm install iobroker.js-controller@latest
                iob start
                iob update 
                iob upgrade all -y
                

                Und dann noch mal die Ausgabe von iob diag, damit man den Stand sieht.
                Das ganze kann geraume Zeit dauern.

                Ich habe mich jetzt an diese Anleitung gehalten und bin mit Node auf

                pi@raspberrypi:/opt/iobroker $ node -v
                v18.20.8
                
                
                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Mr.X last edited by Homoran

                  @mr-x dann geht controller v5 nicht

                  sorry!
                  jarvis sxheint das Problem zu sein

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Mr.X last edited by Mr.X

                    @Homoran
                    @Thomas-Braun
                    D.h. ohne Jarvis zu deinstallieren gehts nicht weiter?
                    Auf andere Adapter könnte ich verzichten, aber ausgerechnet Jarvis nutze ich aktiv.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Mr.X @Homoran last edited by

                      @homoran sagte in Uralt System updaten oder Umzug:

                      @mr-x dann geht controller v5 nicht

                      sorry!
                      jarvis sxheint das Problem zu sein

                      Laut der Github Seit müsste js-controller 5 mit Node 16 gehen.

                      Compatibility
                      js-controller 7.x (Lucy) works with Node.js 18.x, 20.x and probably 22.x
                      js-controller 6.x (Kiera) works with Node.js 18.x, 20.x and probably 22.x
                      js-controller 5.x works with Node.js 16.x, 18.x and probably 20.x

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @Mr.X last edited by

                        @mr-x sagte in Uralt System updaten oder Umzug:

                        Laut der Github Seit müsste js-controller 5 mit Node 16 gehen.

                        ja, deswegen die Korrektur

                        @mr-x sagte in Uralt System updaten oder Umzug:

                        ohne Jarvis zu deinstallieren gehts nicht weiter?

                        oder downgraden, oder später wieder installieren

                        1 Reply Last reply Reply Quote 0
                        • M
                          Mr.X last edited by Mr.X

                          @Homoran
                          OK. ich mache alles, was ihr vorschlagt. Ohne euch bin ich verloren und wollte schon zu HA wechseln (aber HA ist kacke).

                          hiermit deinstallieren?

                          Delete adapter "jarvis"
                          

                          und danach nochmal versuchen?

                          BTW: wollte nochmal eine aktuelle Jarvis Sicherung machen und sehe,dass der Zigbee Adapter nicht mehr verbindet und auch der Zugriff auf Google Drive nicht mehr geht.
                          Das liegt vermutlich an den Bereits durchgeführten Updates, oder?

                          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Mr.X last edited by

                            @mr-x sagte in Uralt System updaten oder Umzug:

                            Das liegt vermutlich an den Bereits durchgeführten Updates, oder?

                            da ich den aktuellen Zustand nicht kenne kann ich dazu gar nichts sagen.
                            Selbst wenn ich den kennen würde, wäre es mit dem bunt gewürfelten Mix an Versionen sehr schwierig etwas definitives zu sagen.

                            Ich verstehe auch nicht, wie da bereits eine Jarvis Version installiert sein kann, die nicht erfüllte Abhängigkeiten hat.

                            @mr-x sagte in Uralt System updaten oder Umzug:

                            hiermit deinstallieren?

                            wenn, dann iob del jarvis

                            M 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Mr.X last edited by Thomas Braun

                              @mr-x sagte in Uralt System updaten oder Umzug:

                              "node":"v18.20.8"}

                              Edit:

                              Das sind die Auswirkungen, wenn man die Kisten nicht permanent pflegt...

                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Mr.X last edited by

                                @mr-x

                                Du wirst dann jetzt öfters die Ausgaben von

                                iob diag
                                

                                posten müssen. Nur damit kann man sehen, was da gerade der Stand ist.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Mr.X @Homoran last edited by

                                  @Thomas-Braun
                                  @homoran sagte in Uralt System updaten oder Umzug:

                                  wenn, dann iob del jarvis

                                  pi@raspberrypi:/opt/iobroker $ iob del jarvis
                                  Delete adapter "jarvis"
                                  host.raspberrypi Counted 2 states (system.adapter.jarvis.*) from states
                                  host.raspberrypi object jarvis deleted
                                  host.raspberrypi object jarvis.admin deleted
                                  host.raspberrypi Deleting 2 state(s).
                                  Error deleting adapter jarvis from disk: Cannot find module 'iobroker.jarvis/io-package.json'
                                  Require stack:
                                  - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js
                                  - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                                  - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                                  You might have to delete it yourself!
                                  
                                  

                                  Mit fileZilla löschen?

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Mr.X last edited by Homoran

                                    @mr-x Da wird ein Updateversuch an der fehlenden Abhängigkeit gescheitert sein und die fehlende Datei nicht installiert wordrn.

                                    Du kannst jetzt erstmal versuchen dn Controller anzuheben, wenn es dann immer noch an der jarvis Abhängigkeit klemmt muss man weitersehen, wo die Info steht

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Mr.X last edited by

                                      @Homoran
                                      Jetzt bin ich total lost
                                      Dachte wir sind an Jarvis hängengeblieben weil ein update von JS-Controller von 4 auf 5.0.19 wegen Jarvis nicht ging

                                      dann war der Vorschlag unter anderem: Jarvis löschen.
                                      Was nun nicht klappt.

                                      pi@raspberrypi:/opt/iobroker $ npm install iobroker.js-controller@5.0.19
                                      npm error code EBADENGINE
                                      npm error engine Unsupported engine
                                      npm error engine Not compatible with your version of node/npm: iobroker.jarvis@3.2.0-rc.17
                                      npm error notsup Not compatible with your version of node/npm: iobroker.jarvis@3.2.0-rc.17
                                      npm error notsup Required: {"node":">= 20","npm":">= 9.3.1","yarn":">= 1.21.1"}
                                      npm error notsup Actual:   {"npm":"10.8.2","node":"v18.20.8"}
                                      npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-05-09T07_39_00_228Z-debug-0.log
                                       
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Mr.X last edited by

                                        @mr-x

                                        Dann ist da nun Schluss mit updaten.
                                        nodejs@20 läuft nicht mehr auf dem ollen Buster.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Mr.X last edited by

                                          @Thomas-Braun
                                          @Homoran

                                          Sorry, checke ich nicht habe JS-Controller 4 mit Nodejs 18.

                                          Laut der Github Seit müsste js-controller 5 mit Node 18 doch gehen.
                                          Oder ist das die falsche abhängigkeit, die ich anschaue.

                                          Im Log steht ja, dass ich auf js-c 5 nicht upgraden kann, weil der Jarvis das verhindert.

                                          Compatibility
                                          js-controller 7.x (Lucy) works with Node.js 18.x, 20.x and probably 22.x
                                          js-controller 6.x (Kiera) works with Node.js 18.x, 20.x and probably 22.x
                                          js-controller 5.x works with Node.js 16.x, 18.x and probably 20.x

                                          OliverIO 1 Reply Last reply Reply Quote 0
                                          • OliverIO
                                            OliverIO @Mr.X last edited by OliverIO

                                            @mr-x

                                            Dann hilft eigentlich nur noch, alle Verzeichnisse unter /opt/iobroker auf eine Festplatte zu kopieren
                                            Den neuen Rechner, mit aktuellem Betriebssystem und Node 22 vorzubereiten.
                                            Dann das ganze Verzeichnis an gleicher Stelle wieder zu kopieren und dann die Upgrade Bemühungen dort fortzusetzen.

                                            Wenn du weitere Dienste wie beispielsweise redis, influx, MySQL, grafana etc nutzt musst du die Daten dort separat sichern.
                                            Am besten das als System zur Sicherheit noch aufbewahren, falls man erst später merkt, dass man was vergessen hat.

                                            mcm1957 M 2 Replies 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

                                            489
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            148
                                            5312
                                            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