Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

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

      @pedder007

      Nö.
      Das läuft eh über 'das normale' full-upgrade des Betriebssystems mit.
      Ist ja gerade der Witz an der Sache das ganze über ein Repo reinzuziehen.
      Da man das ja regelmäßig macht rutscht auch regelmäßig nodeJS nach.
      Deswegen verstehe ich auch nie warum hier so viele mit alten Versionen rumeiern.

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

        @thomas-braun ok danke. Hab ich's mir immer zu umständlich gemacht 😉
        Drauf gekommen bin ich gerade aber auch erst dadurch, dass ich ein update/upgrade gemacht hatte und aus Versehen den ioBroker vorher nicht gestoppt hatte. Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps 😉
        Schönes WE 👍

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

          @pedder007 sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

          Das hat ziemliches Chaos produziert, aber wofür hat man ja BackUps

          iobroker restart
          

          hätte vermutlich ausgereicht.

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

            @thomas-braun, nee leider nicht. Hatte sogar den ganzen PI rebootet. Irgendwas ist da ordentlich aus dem Tritt geraten. Allerdings auch bei deConz. hatte sogar ein paar remote Butttons verloren, die sich auch nicht wieder anlernen ließen.
            Habe mir dann eine meiner Clone-Karten genommen, aktuelles Backup drüber gespielt und dann das update nochmals von vorne durchgeführt. Beim 2.ten Mal gab's die Probleme dann nicht mehr.
            Aber man muss IT ja auch nicht immer verstehen 😉

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

              @pedder007

              Das kann aber eigentlich nicht mit einem ordentlich ausgeführten Upgrade in Zusammenhang stehen.

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

                @thomas-braun Mir kommts auch komisch vor. Ich habe vorsichtshalber auch die betreffende SD Karte nun mal aussortiert. Ich meine die lief jetzt auch schon wieder ein gutes Jahr.
                Ich hatte ganz am Anfang meiner ioBroker Zeit mal Probleme mit ein paar billig-SDs, das hatte sich damals ähnlich eigenartig 'angefühlt'.

                1 Reply Last reply Reply Quote 0
                • C
                  Calherian @aleks-83 last edited by

                  @aleks-83 habe heute zum ersten Mal Iobroker installiert. Dein Hinweis mit dem kopieren klappt bei mir nur mit der Node 18 aber nicht mit der 16. gibts da einen anderen Trick?

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

                    @calherian

                    16 richtig installiert?

                    Und auf welchen der siebenhundert irgendwas Einträge beziehst du dich?

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

                      @thomas-braun
                      Hab einen unsauberen 'npm tree'. Das sieht bei mir so aus:

                      pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
                      │ │ │ │   ├── github-from-package@0.0.0 deduped
                      │   │   ├── github-from-package@0.0.0
                      

                      Wie bring ich das hin? Kann ich einfach auf 16 updaten?

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

                        @gr sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                        Hab einen unsauberen 'npm tree'.

                        Nö, der schaut prima aus.

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

                          @thomas-braun
                          ok, danke. Dann werd ich mal updaten!

                          Edit:
                          Update lief problemlos! Danke für die Hilfe!

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            socke85 @GR last edited by

                            Ich habe heute nodejs und auch openkx geupdatet alles aktuell leider bekomme ich den Adapter nicht mehr zum laufen, habe auch schon ältere Versionen probiert.

                            Das log erzählt mir:

                            ost.Jarvis
                            2023-03-14 21:59:03.543	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: }
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: ]
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: requireStack: [
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19) {
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:868:12)
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1033:32)
                            host.Jarvis
                            2023-03-14 21:59:03.543	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1155:14)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js:8:16)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:103:18)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1057:19)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/main.js
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: Require stack:
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: Error: Cannot find module 'binary-parser'
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: ^
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: throw err;
                            host.Jarvis
                            2023-03-14 21:59:03.542	error	Caught by controller[0]: node:internal/modules/cjs/loader:988
                            host.Jarvis
                            2023-03-14 21:58:57.808	error	instance system.adapter.openknx.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.Jarvis
                            2023-03-14 21:58:57.808	error	Caught by controller[0]: }
                            host.Jarvis
                            2023-03-14 21:58:57.808	error	Caught by controller[0]: ]
                            host.Jarvis
                            2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/main.js'
                            host.Jarvis
                            2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/index.js',
                            host.Jarvis
                            2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/Connection.js',
                            host.Jarvis
                            2023-03-14 21:58:57.807	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.openknx/lib/knx/src/KnxProtocol.js',
                            host.Jarvis
                            2023-03-14 21:58:57.807	error	Caught by controller[0]: requireStack: [
                            
                            Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @socke85 last edited by

                              @socke85
                              Und

                              iob diag
                              

                              erzählt dir?

                              1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @socke85 last edited by

                                @socke85 am besten adapter deinstallieren und neu installieren. Irgendwie ist deinem npm ein Paket abhanden gekommen

                                1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators last edited by

                                  da wir wieder ein Jahr weiter sind und Node18 aktuell, geht es jetzt wieder hier weiter 🙂

                                  https://forum.iobroker.net/topic/64033/troubleshooting-nodejs-update

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

                                  Support us

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

                                  478
                                  Online

                                  31.8k
                                  Users

                                  80.0k
                                  Topics

                                  1.3m
                                  Posts

                                  97
                                  812
                                  316718
                                  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