Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0.x jetzt für alle User im STABLE!

    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

    js-controller 4.0.x jetzt für alle User im STABLE!

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Josh @apollon77 last edited by Josh

      @apollon77 Habe alle Systeme gestoppt. Dann den Master "optimiert". Wenn ich dann den Befehl bei den Slaves ausführe, kommt

      No connection to databases possible ...
      

      Muss ich erst den Master wieder starten und dann den Befehl bei den (noch) gestoppten Slaves ausführen? Oder nur auf dem Master? Wie war Deine Antwort gemeint?

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

        @josh Ja der Master muss laufen wenn ein Slave das Update will weil der Master ja die DB bereitstellt ... (es sei denn es ist komplett redis/redis, dann muss "Nur" der Redis server laufen

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

          @apollon77
          Ich habe alle System auf 4.0.19 laufen. Das System läuft auf States==Redis und Objekte==JSONL.

          Ich hatte den Befehl

          iob object activateSets
          

          so verstanden, dass er die Objekte in Redis optimiert.

          Soll er auch in States=Redis und Objekte=JSONL angewandt werden?

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

            @martybr aahhh voll korrekt. Nur bei objects in redis relevant

            M J 2 Replies Last reply Reply Quote 0
            • M
              MartyBr @apollon77 last edited by

              @apollon77 Danke für die Antwort. Da bin ich beruhigt

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

                @apollon77 Oh, dann habe ich das jetzt unnötiger Weise gemacht. Habe nur die States in Redis. Soll ich dann lieber wieder deaktivieren?

                iob object deactivateSets
                

                Oder hat das einfach keine Auswirkung und ich sollte/kann es so lassen?

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

                  @josh hat keine Auswirkung. Musst nichts tun

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

                    Hallo an alle ... mit hoffentlich (laut auf Holz Klopf) letzten Fixes kommt jetzt die 4.0.21 vom js-controller ins Stable-Repository

                    crunchip Fabio 2 Replies Last reply Reply Quote 1
                    • crunchip
                      crunchip Forum Testing Most Active @apollon77 last edited by

                      @apollon77 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

                      4.0.21

                      is aber ne krumme Zahl, da geht bestimmt noch was😜

                      Chaot 1 Reply Last reply Reply Quote 1
                      • Chaot
                        Chaot @crunchip last edited by

                        @crunchip So rein optisch wäre 25 recht hübsch. Meinst du das? 😀

                        apollon77 1 Reply Last reply Reply Quote 1
                        • Fabio
                          Fabio @apollon77 last edited by

                          @apollon77 vielen Dank das Update auf 4.0.21 lief fehlerfrei durch.👍 😊 ☺

                          1 Reply Last reply Reply Quote 1
                          • apollon77
                            apollon77 @Chaot last edited by

                            @chaot @crunchip nee lasst mal. Auch gute Dinge müssen mal ein Ende finden ;-))

                            Ben1983 O 2 Replies Last reply Reply Quote 2
                            • O
                              oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                              @apollon77

                              Nach Upgrade von .19 auf .21 (ohne Änderung an Node!):

                              2022-03-14 10:16:08.191  - error: ham.0 (24984) uncaught exception: Cannot find module './homekit.js'
                              Require stack:
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/index.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
                              - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
                              - /opt/iobroker/node_modules/iobroker.ham/main.js
                              2022-03-14 10:16:08.197  - error: ham.0 (24984) Error: Cannot find module './homekit.js'
                              Require stack:
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/index.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
                              - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
                              - /opt/iobroker/node_modules/iobroker.ham/main.js
                                 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                 at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                 at Function.Module._load (/opt/iobroker/node_modules/mock-require/index.js:30:22)
                                 at Module.require (internal/modules/cjs/loader.js:974:19)
                                 at require (internal/modules/cjs/helpers.js:101:18)
                                 at new PlugAccessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js:37:28)
                                 at Hs100Platform.addAccessory (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js:113:27)
                                 at Client.<anonymous> (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js:56:12)
                                 at Client.emit (events.js:400:28)
                                 at Client.emit (/opt/iobroker/node_modules/iobroker.ham/node_modules/hs100-api/lib/client.js:348:18)
                              2022-03-14 10:16:08.197  - error: ham.0 (24984) Exception-Code: MODULE_NOT_FOUND: Cannot find module './homekit.js'
                              Require stack:
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/plug.js
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/lib/platform.js
                              - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-hs100/index.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
                              - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
                              - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
                              - /opt/iobroker/node_modules/iobroker.ham/main.js
                              2022-03-14 10:16:11.273  - error: host.iobroker Caught by controller[1]: [14.3.2022, 10:16:07] [eWeLink] ***** Disabling plugin. *****
                              2022-03-14 10:16:11.274  - error: host.iobroker Caught by controller[2]: [14.3.2022, 10:16:07] [eWeLink] ***** Cannot find module './connection/http'
                              2022-03-14 10:16:11.274  - error: host.iobroker Caught by controller[2]: Require stack:
                              2022-03-14 10:16:11.275  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-ewelink/lib/index.js
                              2022-03-14 10:16:11.275  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
                              2022-03-14 10:16:11.276  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
                              2022-03-14 10:16:11.277  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
                              2022-03-14 10:16:11.277  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
                              2022-03-14 10:16:11.278  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
                              2022-03-14 10:16:11.278  - error: host.iobroker Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/main.jsRequire stack:. *****
                              2022-03-14 10:16:11.279  - error: host.iobroker instance system.adapter.ham.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                              2022-03-14 10:16:11.279  - info: host.iobroker Adapter system.adapter.ham.0 needs rebuild and will be restarted afterwards.
                              2022-03-14 10:16:11.282  - info: host.iobroker system.adapter.ham.0 will be rebuilt
                              2022-03-14 10:16:11.283  - warn: host.iobroker adapter "ham" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
                              2022-03-14 10:16:11.284  - info: host.iobroker iobroker rebuild
                              2022-03-14 10:16:12.488  - info: host.iobroker iobroker npm-rebuild: Rebuilding native modules ...
                              2022-03-14 10:16:31.542  - info: host.iobroker iobroker npm-rebuild: 
                              2022-03-14 10:16:31.543  - info: host.iobroker iobroker npm-rebuild: > ffmpeg-for-homebridge@0.0.9 install /opt/iobroker/node_modules/ffmpeg-for-homebridge> node install.js
                              2022-03-14 10:16:33.231  - info: host.iobroker iobroker npm-rebuild: ffmpeg has been downloaded to /opt/iobroker/node_modules/ffmpeg-for-homebridge/ffmpeg
                              2022-03-14 10:16:33.237  - info: host.iobroker iobroker npm-rebuild: Thank you for using https://github.com/homebridge/ffmpeg-for-homebridge
                              2022-03-14 10:16:33.239  - info: host.iobroker iobroker npm-rebuild: 
                              2022-03-14 10:16:33.871  - info: host.iobroker iobroker npm-rebuild: 
                              2022-03-14 10:16:33.874  - info: host.iobroker iobroker npm-rebuild: > core-js@2.6.12 postinstall /opt/iobroker/node_modules/core-js> node -e "try{require('./postinstall')}catch(e){}"
                              2022-03-14 10:16:35.485  - info: host.iobroker iobroker npm-rebuild: > iobroker.javascript@5.2.21 postinstall /opt/iobroker/node_modules/iobroker.javascript> node ./install/installTypings.js
                              2022-03-14 10:16:35.770  - info: host.iobroker iobroker npm-rebuild: Installing NodeJS typings...
                              2022-03-14 10:16:39.259  - info: host.iobroker iobroker npm-rebuild: latest @types: 17, installed node: 14
                              2022-03-14 10:16:46.189  - info: host.iobroker iobroker npm-rebuild: > iobroker.js-controller@4.0.21 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                              2022-03-14 10:16:46.191  - info: host.iobroker iobroker npm-rebuild: > node lib/preinstallCheck.js
                              2022-03-14 10:16:46.943  - info: host.iobroker iobroker npm-rebuild: NPM version: 6.14.16
                              2022-03-14 10:16:46.991  - info: host.iobroker iobroker npm-rebuild: 
                              2022-03-14 10:16:46.992  - info: host.iobroker iobroker npm-rebuild: > iobroker.js-controller@4.0.21 install /opt/iobroker/node_modules/iobroker.js-controller> node iobroker.js setup first
                              2022-03-14 10:16:56.941  - info: host.iobroker iobroker npm-rebuild: Successfully migrated 23520 objects to Redis Sets
                              2022-03-14 10:16:57.386  - info: host.iobroker iobroker npm-rebuild: object _design/system updated
                              2022-03-14 10:16:58.225  - info: host.iobroker iobroker npm-rebuild: {
                              2022-03-14 10:16:58.228  - info: host.iobroker iobroker npm-rebuild:   "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r
                              2022-03-14 10:16:58.235  - info: host.iobroker iobroker npm-rebuild: The object "system.certificates" was updated successfully.Update certificate defaultPublic
                              2022-03-14 10:16:58.239  - info: host.iobroker iobroker npm-rebuild: The object "system.certificates" was updated successfully.
                              2022-03-14 10:16:59.630  - info: host.iobroker iobroker npm-rebuild: 
                              2022-03-14 10:16:59.631  - info: host.iobroker iobroker npm-rebuild: > esbuild@0.11.23 postinstall /opt/iobroker/node_modules/esbuild> node install.js
                              2022-03-14 10:17:02.675  - info: host.iobroker iobroker npm-rebuild: > iobroker.vis@1.4.12 install /opt/iobroker/node_modules/iobroker.vis> node main.js --install
                              

                              Ist ein gekürztes Log, weil das Forum nicht mehr zulässt.

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

                                @ofbeqnpolkkl6mby5e13 SD Karten System? Wenn ja schau mal nach der SD Karte. Das plötzlich ein File fehlt ist strange.

                                ggf mal das homebridge-hs100 Plugin entfernen und neu beim Adapter einfügen das es neu installiert wird. Kann an sich mit dem Update nichts zu tun haben.
                                Gleiches dann bei homebridge-ewelink ... das scheint es ja irgendwie auch getroffen zu haben. Und irgendeine ausgabe scheint das system denken zu lassen das ein rebuild nötig ist. Schaden am ende nicht 🙂

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

                                  @apollon77

                                  Container auf NAS (RAID5).

                                  Es läuft ohne mein Zutun alles wieder, nachdem alle Rebuilds durchgelaufen sind. Aber da wurden unglaublich viele Abhängigkeiten neu gebaut...

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

                                    @ofbeqnpolkkl6mby5e13 Strange ... aber Selbstheilung ist doch cool gg

                                    1 Reply Last reply Reply Quote 1
                                    • Basti97
                                      Basti97 Most Active last edited by Basti97

                                      Auf meinem Master ging die Installation Fehlerfrei aber auf meinem Slave bekomme ich diese Meldung. Und der JS wird nicht von 3.3.22 auf 4.0.21 aktualisiert.

                                      pi@Media04:~ $ iob upgrade self
                                      Update js-controller from @3.3.22 to @4.0.21
                                      NPM version: 6.14.16
                                      npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefi                                          x "/opt/iobroker" (System call)
                                      npm ERR! Unexpected token  in JSON at position 966657 while parsing near '...6Gg                                          iGOvl7CY/KNh8rxS�'�&�&�'�&�&�'�...'
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-03-14T14_06_53_816Z-debug.log
                                      
                                      

                                      Ich probiere mal mit den Befehl npm install iobroker.js-controller@4.0.21 --production

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

                                        @basti97 Das sieht nah einesm FileSystem Error aus ... mal npm cache clean --force bzw sudo -u iobroker -H npm cache clean --force versuchen. Und dann nochmals

                                        Basti97 2 Replies Last reply Reply Quote 0
                                        • Basti97
                                          Basti97 Most Active @apollon77 last edited by

                                          @apollon77 ok ich probiere es. Danke

                                          1 Reply Last reply Reply Quote 1
                                          • Basti97
                                            Basti97 Most Active @apollon77 last edited by Basti97

                                            @apollon77
                                            das kommt raus

                                            pi@Media04:~ $ npm cache clean --force
                                            npm WARN using --force I sure hope you know what you are doing.
                                            pi@Media04:~ $ sudo -u iobroker -H npm cache clean --force
                                            npm WARN using --force I sure hope you know what you are doing.
                                            pi@Media04:~ $
                                            
                                            

                                            update

                                            pi@Media04:~ $ sudo -u iobroker -H npm cache clean --force
                                            npm WARN using --force I sure hope you know what you are doing.
                                            
                                            
                                               ╭───────────────────────────────────────────────────────────────╮
                                               │                                                               │
                                               │      New major version of npm available! 6.14.16 → 8.5.4      │
                                               │   Changelog: https://github.com/npm/cli/releases/tag/v8.5.4   │
                                               │               Run npm install -g npm to update!               │
                                               │                                                               │
                                               ╰───────────────────────────────────────────────────────────────╯
                                            
                                            pi@Media04:~ $ npm install -g npm
                                            
                                            
                                            apollon77 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

                                            925
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            83
                                            501
                                            119309
                                            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