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.
    • A
      andygla @Thomas Braun last edited by

      @thomas-braun

      Sorry absoluter rookie.

      pi@raspberrypi:~ $ 
      pi@raspberrypi:~ $ iobroker stop
      pi@raspberrypi:~ $ sudo apt update
      Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                                                                                                                                                                                            
      Get:3 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB]                                                                                                                                                                   
      Hit:4 https://repos.influxdata.com/debian buster InRelease                                                                                                                                                                              
      Hit:5 https://phoscon.de/apt/deconz buster InRelease                                                                                                                              
      Hit:6 https://deb.nodesource.com/node_12.x buster InRelease                                            
      E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
      N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
      Do you want to accept these changes and continue updating from this repository? [y/N] y
      Err:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                                                                                                                                                                                                                                                
        The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
      Reading package lists... Done                                                                                                                                                                                                                                                                                                                                              
      W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
      E: The repository 'https://packages.grafana.com/oss/deb stable InRelease' is not signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      pi@raspberrypi:~ $ sudo apt-get  install -y nodejs
      
      
      Thomas Braun 3 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @andygla last edited by

        @andygla

        Zu Grafana:

        sudo apt-get install -y apt-transport-https
        sudo apt-get install -y software-properties-common wget
        wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
        sudo apt update 
        sudo apt full-upgrade
        
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @andygla last edited by Thomas Braun

          @andygla

          Zu nodejs:

          curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
          sudo apt update
          sudo apt install nodejs
          sudo ln -s /usr/bin/node /usr/bin/nodejs
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @andygla last edited by

            @andygla

            Und dann regelmäßig das System auf Stand halten.
            Das ist offenbar noch nie gemacht worden, der suite change ist nämlich schon fast ein Jahr her. Seither ist apt also nicht mehr angepackt worden...

            Regelmäßig alle paar Wochen:

            sudo apt update
            sudo apt full-upgrade
            sudo reboot
            
            A 1 Reply Last reply Reply Quote 0
            • A
              andygla @Thomas Braun last edited by

              @thomas-braun

              hat funktioniert. Vielen Dank!!!

              1 Reply Last reply Reply Quote 0
              • S
                spacecowboy.21 last edited by

                Ich bräuchte mal eure hilfe.

                Ich habe versucht Node.js zu auf die 16.x Version zu bekommen.
                Das update ist auch ohne Fehler durchgelaufen.

                Node sollte ja auch gleich sein. Ist es aber nicht.

                x86_64
                /usr/bin/nodejs
                /usr/local/bin/node
                /usr/local/bin/npm
                v16.16.0
                v14.18.2
                8.15.1
                root
                /opt/iobroker
                Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
                Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
                Hit:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
                Reading package lists... Done                     
                Building dependency tree       
                Reading state information... Done
                All packages are up to date.
                nodejs:
                  Installed: 16.16.0-deb-1nodesource1
                  Candidate: 16.16.0-deb-1nodesource1
                  Version table:
                 *** 16.16.0-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                        100 /var/lib/dpkg/status
                     8.10.0~dfsg-2ubuntu0.4 500
                        500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                     8.10.0~dfsg-2ubuntu0.2 500
                        500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                     8.10.0~dfsg-2 500
                        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                

                wie bekomme ich das wieder gerade?

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

                  @spacecowboy-21

                  Ich habe versucht Node.js zu auf die 16.x Version zu bekommen.

                  Wie und was hast du gemacht? Insbesondere als root im Zusammenhang mit node14...

                  https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                  Eigentlich IMMER das gleiche...
                  NICHT als root rumhampeln, NICHT am Paketmanager vorbei irgendwas ins System donnern.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    spacecowboy.21 @Thomas Braun last edited by

                    @thomas-braun
                    Ok da hast du recht. Ich habe das ganze in mit root durchgeführt.

                    Habe nun das ganze ohne root gemacht. Stehe aber noch vor dem gleichem Problem.
                    Was kann ich noch machen?

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

                      @spacecowboy-21

                      Was kann ich noch machen?

                      Was hast du denn jetzt gemacht? HowTo gelesen? Falsche Pfade gelöscht?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        spacecowboy.21 @Thomas Braun last edited by

                        @thomas-braun
                        ja die falschen Pfade habe ich gelöscht.

                        das habe ich auch gemacht. Nicht unter root!

                        sudo rm -rf /usr/local/lib/node*
                        sudo rm -rf /usr/local/include/node*
                        sudo rm -rf /usr/local/bin/node*
                        

                        Habe dann die Anleitung Punkt für Punkt abgearbeitet.

                        sudo apt install nodejs --reinstall

                        Danach

                        iobroker fix

                        Und es läuft wieder!

                        Danke!!

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

                          @spacecowboy-21

                          sudo ln -s /usr/bin/node /usr/bin/nodejs
                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          

                          sagt? Du hast gesehen, dass du da auch die falsche Distribution drin hattest?

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

                            Hallo Zusammen,

                            mir wird das Update angezeigt , kann man das gefahrlos Updaten ? oder gibt es mit der Version probleme ?
                            Node.js
                            v16.15.1 (Es gibt eine neuere Version: v16.16.0)

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

                              @chucky666

                              Hau drauf.

                              Pedder007 1 Reply Last reply Reply Quote 0
                              • S
                                spacecowboy.21 @Thomas Braun last edited by

                                @thomas-braun

                                sieht doch gut aus. Oder sehe ich das falsch.

                                stefan@ioBroker:~$ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                x86_64
                                /usr/bin/nodejs
                                /usr/bin/node
                                /usr/bin/npm
                                v16.16.0
                                v16.16.0
                                8.11.0
                                stefan
                                /home/stefan
                                Hit:1 https://deb.nodesource.com/node_16.x focal InRelease
                                Hit:2 https://dl.yarnpkg.com/debian stable InRelease                                               
                                Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease                                             
                                Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
                                Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
                                Reading package lists... Done
                                Building dependency tree       
                                Reading state information... Done
                                2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                nodejs:
                                  Installed: 16.16.0-deb-1nodesource1
                                  Candidate: 16.16.0-deb-1nodesource1
                                  Version table:
                                 *** 16.16.0-deb-1nodesource1 500
                                        500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                                        100 /var/lib/dpkg/status
                                     10.19.0~dfsg-3ubuntu1 500
                                        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                                stefan@ioBroker:~$ 
                                
                                Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @spacecowboy.21 last edited by Homoran

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

                                  Hit:2 https://dl.yarnpkg.com/ debian stable InRelease

                                  alles andere ist Ubuntu

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

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

                                    https://dl.yarnpkg.com/debian

                                    Schmeiß das raus, yarnpgk braucht es im ioBroker-Umfeld nicht. Wir nutzen npm.

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

                                      @thomas-braun, @apollon77 was soll man sagen, auf den Slaves lief 16.06. nun völlig unauffällig seit gut 2 Wochen.
                                      Gerade eben den Master umgestellt und (fast) alles lüppt weiter.
                                      Lediglich BLE brauchte einen manuelle Re-Build, war aber danach auch direkt wieder da.

                                      Danke wie immer für die super Vorbereitung, auch an alle die sonst noch beteiligt waren 👍 👍 👍

                                      Achso, dass war der erste ioBroker Neustart ohne das wahllos irgendwelche ZigBee Aktoren (via ConBee Adapter) rumgeschaltet hätten.
                                      Kann das mit dem neuen Node zusammenhängen? - eher nicht, oder?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Chrisdor last edited by

                                        Hallo zusammen, bräuchte eure Hilfe.

                                        Habe heute mein Multihost System einem größeren Upgrade/Update unterzogen. Ubuntu 20.04Lts auf 22.04Lts und Node.js von 14.x auf 16.17.0 NPM auf 8.15.0
                                        Upgrade/Update hat auch überall fehlerfrei funktioniert.
                                        Leider startet der Adapter klf-200 nicht mehr.
                                        Habe den automatischen rebuild abgewartet und ihn dann manuell gestartet, leider auch ohne Erfolg.

                                        2022-08-20 20:09:06.883 - error: host.e-server Caught by controller[0]: node:internal/modules/cjs/loader:959
                                        2022-08-20 20:09:06.884 - error: host.e-server Caught by controller[0]: throw err;
                                        2022-08-20 20:09:06.885 - error: host.e-server Caught by controller[0]: ^
                                        2022-08-20 20:09:06.885 - error: host.e-server Caught by controller[0]: Error: Cannot find module 'node-schedule'
                                        2022-08-20 20:09:06.886 - error: host.e-server Caught by controller[0]: Require stack:
                                        2022-08-20 20:09:06.886 - error: host.e-server Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.klf200/build/main.js
                                        2022-08-20 20:09:06.886 - error: host.e-server Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                                        2022-08-20 20:09:06.887 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                                        2022-08-20 20:09:06.887 - error: host.e-server Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19)
                                        2022-08-20 20:09:06.892 - error: host.e-server Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
                                        2022-08-20 20:09:06.892 - error: host.e-server Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.klf200/build/main.js:10:25)
                                        2022-08-20 20:09:06.893 - error: host.e-server Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1126:14)
                                        2022-08-20 20:09:06.893 - error: host.e-server Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                                        2022-08-20 20:09:06.893 - error: host.e-server Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1004:32)
                                        2022-08-20 20:09:06.894 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:839:12)
                                        2022-08-20 20:09:06.895 - error: host.e-server Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                        2022-08-20 20:09:06.895 - error: host.e-server Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                        2022-08-20 20:09:06.897 - error: host.e-server Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.klf200/build/main.js' ]
                                        2022-08-20 20:09:06.897 - error: host.e-server Caught by controller[0]: }
                                        2022-08-20 20:09:06.898 - error: host.e-server instance system.adapter.klf200.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                        2022-08-20 20:09:06.898 - info: host.e-server Adapter system.adapter.klf200.0 needs rebuild and will be restarted afterwards.
                                        2022-08-20 20:09:06.912 - info: host.e-server system.adapter.klf200.0 will be rebuilt
                                        2022-08-20 20:09:06.914 - warn: host.e-server adapter "klf200" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                                        2022-08-20 20:09:06.915 - info: host.e-server iobroker rebuild
                                        2022-08-20 20:09:10.236 - info: host.e-server iobroker npm-rebuild: Rebuilding native modules ...
                                        2022-08-20 20:10:21.756 - info: host.e-server iobroker npm-rebuild: rebuilt dependencies successfully
                                        2022-08-20 20:10:21.800 - info: host.e-server iobroker npm-rebuild:
                                        2022-08-20 20:10:21.802 - info: host.e-server iobroker npm-rebuild: Rebuilding native modules done
                                        2022-08-20 20:10:22.819 - info: host.e-server iobroker npm-rebuild: exit 0
                                        2022-08-20 20:10:23.075 - info: host.e-server instance system.adapter.klf200.0 started with pid 12401
                                        2022-08-20 20:10:24.597 - error: host.e-server Caught by controller[0]: node:internal/modules/cjs/loader:959
                                        2022-08-20 20:10:24.597 - error: host.e-server Caught by controller[0]: throw err;
                                        2022-08-20 20:10:24.598 - error: host.e-server Caught by controller[0]: ^
                                        2022-08-20 20:10:24.598 - error: host.e-server Caught by controller[0]: Error: Cannot find module 'node-schedule'
                                        2022-08-20 20:10:24.598 - error: host.e-server Caught by controller[0]: Require stack:
                                        2022-08-20 20:10:24.599 - error: host.e-server Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.klf200/build/main.js
                                        2022-08-20 20:10:24.599 - error: host.e-server Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                                        2022-08-20 20:10:24.600 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                                        2022-08-20 20:10:24.600 - error: host.e-server Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19)
                                        2022-08-20 20:10:24.600 - error: host.e-server Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
                                        2022-08-20 20:10:24.601 - error: host.e-server Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.klf200/build/main.js:10:25)
                                        2022-08-20 20:10:24.601 - error: host.e-server Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1126:14)
                                        2022-08-20 20:10:24.601 - error: host.e-server Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                                        2022-08-20 20:10:24.602 - error: host.e-server Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1004:32)
                                        2022-08-20 20:10:24.602 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:839:12)
                                        2022-08-20 20:10:24.602 - error: host.e-server Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                        2022-08-20 20:10:24.603 - error: host.e-server Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                        2022-08-20 20:10:24.604 - error: host.e-server Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.klf200/build/main.js' ]
                                        2022-08-20 20:10:24.604 - error: host.e-server Caught by controller[0]: }
                                        2022-08-20 20:10:24.605 - error: host.e-server instance system.adapter.klf200.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                        2022-08-20 20:10:24.605 - info: host.e-server Adapter system.adapter.klf200.0 needs rebuild and will be restarted afterwards.
                                        2022-08-20 20:10:24.606 - info: host.e-server system.adapter.klf200.0 will be rebuilt
                                        2022-08-20 20:10:24.606 - warn: host.e-server adapter "klf200" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
                                        2022-08-20 20:10:24.606 - info: host.e-server iobroker rebuild
                                        2022-08-20 20:10:26.000 - info: host.e-server iobroker npm-rebuild: Rebuilding native modules ...
                                        2022-08-20 20:11:37.309 - info: host.e-server iobroker npm-rebuild: rebuilt dependencies successfully
                                        2022-08-20 20:11:37.358 - info: host.e-server iobroker npm-rebuild:
                                        2022-08-20 20:11:37.359 - info: host.e-server iobroker npm-rebuild: Rebuilding native modules done
                                        2022-08-20 20:11:38.376 - info: host.e-server iobroker npm-rebuild: exit 0
                                        2022-08-20 20:11:38.645 - info: host.e-server instance system.adapter.klf200.0 started with pid 12774
                                        2022-08-20 20:11:40.173 - error: host.e-server Caught by controller[0]: node:internal/modules/cjs/loader:959
                                        2022-08-20 20:11:40.174 - error: host.e-server Caught by controller[0]: throw err;
                                        2022-08-20 20:11:40.174 - error: host.e-server Caught by controller[0]: ^
                                        2022-08-20 20:11:40.174 - error: host.e-server Caught by controller[0]: Error: Cannot find module 'node-schedule'
                                        2022-08-20 20:11:40.175 - error: host.e-server Caught by controller[0]: Require stack:
                                        2022-08-20 20:11:40.175 - error: host.e-server Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.klf200/build/main.js
                                        2022-08-20 20:11:40.176 - error: host.e-server Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                                        2022-08-20 20:11:40.176 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                                        2022-08-20 20:11:40.176 - error: host.e-server Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19)
                                        2022-08-20 20:11:40.177 - error: host.e-server Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
                                        2022-08-20 20:11:40.177 - error: host.e-server Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.klf200/build/main.js:10:25)
                                        2022-08-20 20:11:40.177 - error: host.e-server Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1126:14)
                                        2022-08-20 20:11:40.178 - error: host.e-server Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                                        2022-08-20 20:11:40.178 - error: host.e-server Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1004:32)
                                        2022-08-20 20:11:40.178 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:839:12)
                                        2022-08-20 20:11:40.179 - error: host.e-server Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                        2022-08-20 20:11:40.179 - error: host.e-server Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                        2022-08-20 20:11:40.180 - error: host.e-server Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.klf200/build/main.js' ]
                                        2022-08-20 20:11:40.180 - error: host.e-server Caught by controller[0]: }
                                        2022-08-20 20:11:40.180 - error: host.e-server instance system.adapter.klf200.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                        2022-08-20 20:11:40.181 - info: host.e-server Adapter system.adapter.klf200.0 needs rebuild and will be restarted afterwards.
                                        2022-08-20 20:11:40.181 - info: host.e-server system.adapter.klf200.0 will be rebuilt
                                        2022-08-20 20:11:40.182 - warn: host.e-server adapter "klf200" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
                                        2022-08-20 20:11:40.182 - info: host.e-server iobroker rebuild
                                        2022-08-20 20:11:41.489 - info: host.e-server iobroker npm-rebuild: Rebuilding native modules ...
                                        2022-08-20 20:12:54.635 - info: host.e-server iobroker npm-rebuild: rebuilt dependencies successfully
                                        2022-08-20 20:12:54.681 - info: host.e-server iobroker npm-rebuild:
                                        2022-08-20 20:12:54.683 - info: host.e-server iobroker npm-rebuild: Rebuilding native modules done
                                        2022-08-20 20:12:55.699 - info: host.e-server iobroker npm-rebuild: exit 0
                                        2022-08-20 20:12:56.091 - info: host.e-server instance system.adapter.klf200.0 started with pid 13147
                                        2022-08-20 20:12:57.608 - error: host.e-server Caught by controller[0]: node:internal/modules/cjs/loader:959
                                        2022-08-20 20:12:57.608 - error: host.e-server Caught by controller[0]: throw err;
                                        2022-08-20 20:12:57.609 - error: host.e-server Caught by controller[0]: ^
                                        2022-08-20 20:12:57.609 - error: host.e-server Caught by controller[0]: Error: Cannot find module 'node-schedule'
                                        2022-08-20 20:12:57.610 - error: host.e-server Caught by controller[0]: Require stack:
                                        2022-08-20 20:12:57.610 - error: host.e-server Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.klf200/build/main.js
                                        2022-08-20 20:12:57.610 - error: host.e-server Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                                        2022-08-20 20:12:57.611 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                                        2022-08-20 20:12:57.611 - error: host.e-server Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1028:19)
                                        2022-08-20 20:12:57.611 - error: host.e-server Caught by controller[0]: at require (node:internal/modules/cjs/helpers:102:18)
                                        2022-08-20 20:12:57.612 - error: host.e-server Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.klf200/build/main.js:10:25)
                                        2022-08-20 20:12:57.612 - error: host.e-server Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1126:14)
                                        2022-08-20 20:12:57.612 - error: host.e-server Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                                        2022-08-20 20:12:57.613 - error: host.e-server Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1004:32)
                                        2022-08-20 20:12:57.613 - error: host.e-server Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:839:12)
                                        2022-08-20 20:12:57.613 - error: host.e-server Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                        2022-08-20 20:12:57.614 - error: host.e-server Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                        2022-08-20 20:12:57.614 - error: host.e-server Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.klf200/build/main.js' ]
                                        2022-08-20 20:12:57.614 - error: host.e-server Caught by controller[0]: }
                                        2022-08-20 20:12:57.615 - error: host.e-server instance system.adapter.klf200.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                        2022-08-20 20:12:57.615 - info: host.e-server Rebuild for adapter system.adapter.klf200.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.
                                        2022-08-20 20:13:05.729 - info: mihome-vacuum.0 (11949) create state for carpet_mode
                                        
                                        
                                        Glasfaser 1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @Chrisdor last edited by Glasfaser

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

                                          2022-08-20 20:12:57.615 - info: host.e-server Rebuild for adapter system.adapter.klf200.0 not successful in 3 tries. Adapter will not be restarted again. Please execute "npm install --production" in adapter directory manually.

                                          cd /opt/iobroker/node_modules/iobroker.klf200/
                                          
                                          npm install --omit=dev
                                          

                                          Habe den automatischen rebuild abgewartet und ihn dann manuell gestartet, leider auch ohne Erfolg.

                                          und wie ... !?

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            Chrisdor @Glasfaser last edited by

                                            @glasfaser habe es nach der Anleitung ganz am Anfang gemacht.
                                            5eb38f7a-8b89-4d01-a240-f3f4b4426397-image.png

                                            dein Vorschlag funktioniert leider auch nicht.

                                            npm ERR! code ERESOLVE
                                            npm ERR! ERESOLVE unable to resolve dependency tree
                                            npm ERR!
                                            npm ERR! While resolving: iobroker.klf200@1.0.1
                                            npm ERR! Found: eslint@7.32.0
                                            npm ERR! node_modules/eslint
                                            npm ERR!   dev eslint@"^7.1.0" from the root project
                                            npm ERR!
                                            npm ERR! Could not resolve dependency:
                                            npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/parser@2.34.0
                                            npm ERR! node_modules/@typescript-eslint/parser
                                            npm ERR!   dev @typescript-eslint/parser@"^2.34.0" from the root project
                                            npm ERR!   peer @typescript-eslint/parser@"^2.0.0" from @typescript-eslint/eslint-plugin@2.34.0
                                            npm ERR!   node_modules/@typescript-eslint/eslint-plugin
                                            npm ERR!     dev @typescript-eslint/eslint-plugin@"^2.34.0" from the root project
                                            npm ERR!
                                            npm ERR! Fix the upstream dependency conflict, or retry
                                            npm ERR! this command with --force, or --legacy-peer-deps
                                            npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
                                            npm ERR!
                                            npm ERR! See /home/iobroker/.npm/eresolve-report.txt for a full report.
                                            
                                            npm ERR! A complete log of this run can be found in:
                                            npm ERR!     /home/iobroker/.npm/_logs/2022-08-20T21_02_24_597Z-debug-0.log
                                            
                                            
                                            Glasfaser 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

                                            758
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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