Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 4.0 jetzt im BETA/LATEST!

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

js-controller 4.0 jetzt im BETA/LATEST!

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
747 Beiträge 70 Kommentatoren 224.1k Aufrufe 60 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • arteckA arteck

    @wendy2702

    schoon probiert mit

    iob fix
    iob update
    iob upgrade self
    
    wendy2702W Online
    wendy2702W Online
    wendy2702
    schrieb am zuletzt editiert von
    #211

    @arteck Ja. Leider keine Änderung.

    Bitte keine Fragen per PN, die gehören ins Forum!

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    1 Antwort Letzte Antwort
    0
    • apollon77A apollon77

      @diginix Meldungen vom Update sind so ok. Die eine Zeile war wohl irgendwas komisches, wenn es nicht nochmal kommt. Ignorieren.

      Im "Dist File" sind die Defaults drin - das heisst die sind auch im Code drin. Wenn es also bei Dir im File fehlt dann ist das "egal". Ansonsten ioBroker stoppen und selbst einbauen. Ist nur relevant wenn Du ändern willst.

      Zu "writeFileInterval" bitte in der FAQ schauen (Post #2) (oder stück weiter oben hier im Thread) 🙂 Ja die ist bei Jsonl irrelevant und gilt nur bei der FileDB. Jsonl ticket komplett anders, daher irrelevant

      E Abwesend
      E Abwesend
      e-s
      schrieb am zuletzt editiert von
      #212

      @apollon77 hatte die selben Fehler wie @Diginix, scheint also nicht unbedingt einmalig zu sein.

      santa@ubuntuserver:/opt/iobroker$ iob upgrade self
      Update js-controller from @3.3.22 to @4.0.5
      NPM version: 6.14.16
      npm install iobroker.js-controller@4.0.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
      In file included from ../../nan/nan.h:56,
                       from ../src/unix_dgram.cc:5:
      /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
        793 |       (node::addon_register_func) (regfunc),                          \
            |                                           ^
      /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
        827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
            |   ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
        404 | NODE_MODULE(unix_dgram, Initialize)
            | ^~~~~~~~~~~
      Server Objects 127.0.0.1:47886 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
      Server States 127.0.0.1:41258 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
      Server Objects 127.0.0.1:47886 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
      Server States 127.0.0.1:41260 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
      Server Objects 127.0.0.1:47886 Error from InMemDB: Error: Unknown LUA script load
      Server Objects 127.0.0.1:47886 Error from InMemDB: Error: Unknown LUA script load
      Server Objects 127.0.0.1:47886 Error from InMemDB: Error: Unknown LUA script load
      Server Objects 127.0.0.1:47886 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
      Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
      
      
      apollon77A 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @alligator Und was hast Du genau getan?

        AlligatorA Offline
        AlligatorA Offline
        Alligator
        schrieb am zuletzt editiert von
        #213

        @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

        @alligator Und was hast Du genau getan?

        Kann ich gar nicht genau sagen, hab's mehrfache versuche mit "iob fix" / "reboot" und "npm install iobroker.js-controller@3.3.22" in unterschiedlicher Reihenfolge. Und irgend wann hat es dann mit dem Downgrade geklappt. Sorry das ich es nicht genauer beschreiben kann.

        Ich habe jetzt nochmal auf JS-C 4.0.5 geupdatet und wieder mit dem gleichen Erfolg das beim Update oder Downgrade die Meldung kommt:

        Could not check npm version: This directory tree does not contain a package.json
         
        Assuming that correct version is installed.
        

        und ein Up oder Downgrade von Adaptern nicht möglich ist.

        Bei der Eingabe "whitch npm" kommt bei beiden JS-C Versionen (3.3.22 sowie 4.0.5) immer:

        "/usr/local/bin/npm"

        Ein nvm oder sowas nutze ich soweit ich weiß nicht. Wie kann ich das feststellen?

        Ein Downgrade von 4.0.5 auf 3.3.22 hat jetzt aber ohne Probleme Funktioniert.

        It's done when it's done, but it's never really finished!

        Lg euer Alligator :P

        System: Dell Optiplex3020 mit Intel i3, 8gb Ram und 120gb SSD (Debian 11 mit ioBrocker)

        PS: Wer Rechtschreibfehler findet darf sie gern behalten. Ich habe noch mehr davon. :)

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • AlligatorA Alligator

          @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

          @alligator Und was hast Du genau getan?

          Kann ich gar nicht genau sagen, hab's mehrfache versuche mit "iob fix" / "reboot" und "npm install iobroker.js-controller@3.3.22" in unterschiedlicher Reihenfolge. Und irgend wann hat es dann mit dem Downgrade geklappt. Sorry das ich es nicht genauer beschreiben kann.

          Ich habe jetzt nochmal auf JS-C 4.0.5 geupdatet und wieder mit dem gleichen Erfolg das beim Update oder Downgrade die Meldung kommt:

          Could not check npm version: This directory tree does not contain a package.json
           
          Assuming that correct version is installed.
          

          und ein Up oder Downgrade von Adaptern nicht möglich ist.

          Bei der Eingabe "whitch npm" kommt bei beiden JS-C Versionen (3.3.22 sowie 4.0.5) immer:

          "/usr/local/bin/npm"

          Ein nvm oder sowas nutze ich soweit ich weiß nicht. Wie kann ich das feststellen?

          Ein Downgrade von 4.0.5 auf 3.3.22 hat jetzt aber ohne Probleme Funktioniert.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von Thomas Braun
          #214

          @alligator sagte in js-controller 4.0 jetzt im BETA/LATEST!:

          "/usr/local/bin/npm"

          Das ist der bekannte falsche Pfad. Schau in meiner Signatur wie man nodejs und npm sauber aufsetzt.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • apollon77A apollon77

            @m0rph Ganz langsam ... wir schauen schon. Sagst du mir noch welche Ausgaben die Kommandos bringen? 🙂

            M Offline
            M Offline
            m0rph
            schrieb am zuletzt editiert von
            #215

            @apollon77 6.14.16

            1 Antwort Letzte Antwort
            0
            • apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #216

              Hi,

              die NPM package.json nicht gefunden Fehler werden in der kommenden 4.0.6 behoben sein

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              AlligatorA J 2 Antworten Letzte Antwort
              0
              • E e-s

                @apollon77 hatte die selben Fehler wie @Diginix, scheint also nicht unbedingt einmalig zu sein.

                santa@ubuntuserver:/opt/iobroker$ iob upgrade self
                Update js-controller from @3.3.22 to @4.0.5
                NPM version: 6.14.16
                npm install iobroker.js-controller@4.0.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                In file included from ../../nan/nan.h:56,
                                 from ../src/unix_dgram.cc:5:
                /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                  793 |       (node::addon_register_func) (regfunc),                          \
                      |                                           ^
                /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                  827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                      |   ^~~~~~~~~~~~~
                ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                  404 | NODE_MODULE(unix_dgram, Initialize)
                      | ^~~~~~~~~~~
                Server Objects 127.0.0.1:47886 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                Server States 127.0.0.1:41258 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                Server Objects 127.0.0.1:47886 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                Server States 127.0.0.1:41260 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
                Server Objects 127.0.0.1:47886 Error from InMemDB: Error: Unknown LUA script load
                Server Objects 127.0.0.1:47886 Error from InMemDB: Error: Unknown LUA script load
                Server Objects 127.0.0.1:47886 Error from InMemDB: Error: Unknown LUA script load
                Server Objects 127.0.0.1:47886 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
                Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
                
                
                apollon77A Offline
                apollon77A Offline
                apollon77
                schrieb am zuletzt editiert von
                #217

                @e-s SInd halt die üblichen unix_dgram Compile Warnungen ...

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                1 Antwort Letzte Antwort
                0
                • apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #218

                  Hi All,

                  vielen Dank für Euren Support, die 4.0.6 kommt über Nacht wieder ins Repo und hat:

                  4.0.6 (2022-02-09)

                  • (AlCalzone) Optimize some JSONL cases
                  • (foxriver76) Optimize Backup restore process
                  • (AlCalzone) Fix issues that prevented adapter installs/updates (npm can not be located error message)
                  • (Apollon77) Fix seq Logging issue
                  • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  Thomas BraunT O 2 Antworten Letzte Antwort
                  2
                  • apollon77A apollon77

                    Hi All,

                    vielen Dank für Euren Support, die 4.0.6 kommt über Nacht wieder ins Repo und hat:

                    4.0.6 (2022-02-09)

                    • (AlCalzone) Optimize some JSONL cases
                    • (foxriver76) Optimize Backup restore process
                    • (AlCalzone) Fix issues that prevented adapter installs/updates (npm can not be located error message)
                    • (Apollon77) Fix seq Logging issue
                    • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von Thomas Braun
                    #219

                    @apollon77 @AlCalzone

                    Fix issues that prevented adapter installs/updates (npm can not be located error message)

                    Das finde ich interessant. Was war da der Grund das npm nicht im $PATH gefunden wurde?

                    Linux-Werkzeugkasten:
                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                    NodeJS Fixer Skript:
                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                    AlCalzoneA 1 Antwort Letzte Antwort
                    0
                    • ? Offline
                      ? Offline
                      Ein ehemaliger Benutzer
                      schrieb am zuletzt editiert von
                      #220

                      @apollon77 update von 4.0.5 auf 4.0.6 ohne besondere Vorkommnisse.

                      1 Antwort Letzte Antwort
                      1
                      • apollon77A apollon77

                        Hi All,

                        vielen Dank für Euren Support, die 4.0.6 kommt über Nacht wieder ins Repo und hat:

                        4.0.6 (2022-02-09)

                        • (AlCalzone) Optimize some JSONL cases
                        • (foxriver76) Optimize Backup restore process
                        • (AlCalzone) Fix issues that prevented adapter installs/updates (npm can not be located error message)
                        • (Apollon77) Fix seq Logging issue
                        • (foxriver76/Apollon77) Prevent several crash cases seen in Sentry
                        O Abwesend
                        O Abwesend
                        oFbEQnpoLKKl6mbY5e13
                        schrieb am zuletzt editiert von
                        #221

                        @apollon77
                        Ist da mein Fall auch mit abgedeckt?

                        apollon77A 1 Antwort Letzte Antwort
                        0
                        • O oFbEQnpoLKKl6mbY5e13

                          @apollon77
                          Ist da mein Fall auch mit abgedeckt?

                          apollon77A Offline
                          apollon77A Offline
                          apollon77
                          schrieb am zuletzt editiert von
                          #222

                          @ofbeqnpolkkl6mby5e13 das logfile hatte nicht mehr Infos drin. Von daher puuhhh. Ich sag mal so; Versuchs nochmal.

                          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                          O 1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            @ofbeqnpolkkl6mby5e13 das logfile hatte nicht mehr Infos drin. Von daher puuhhh. Ich sag mal so; Versuchs nochmal.

                            O Abwesend
                            O Abwesend
                            oFbEQnpoLKKl6mbY5e13
                            schrieb am zuletzt editiert von oFbEQnpoLKKl6mbY5e13
                            #223

                            @apollon77

                            # iobroker upgrade self
                            Update js-controller from @3.3.22 to @4.0.6
                            NPM version: 6.14.16
                            npm install iobroker.js-controller@4.0.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                            Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                at Array.map (<anonymous>)
                                at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                at processTicksAndRejections (internal/process/task_queues.js:95:5)
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 6
                            npm ERR! iobroker.js-controller@4.0.6 install: `node iobroker.js setup first`
                            npm ERR! Exit status 6
                            npm ERR! 
                            npm ERR! Failed at the iobroker.js-controller@4.0.6 install script.
                            npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /opt/iobroker/.npm/_logs/2022-02-10T06_53_37_143Z-debug.log
                            host.iobroker Cannot install iobroker.js-controller@4.0.6: 6
                            

                            Hilft das?:

                            npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6
                            
                            > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                            > node iobroker.js setup first
                            
                            Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                at Array.map (<anonymous>)
                                at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                at processTicksAndRejections (internal/process/task_queues.js:95:5)
                            npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script
                            
                            foxriver76F 2 Antworten Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @apollon77 @AlCalzone

                              Fix issues that prevented adapter installs/updates (npm can not be located error message)

                              Das finde ich interessant. Was war da der Grund das npm nicht im $PATH gefunden wurde?

                              AlCalzoneA Offline
                              AlCalzoneA Offline
                              AlCalzone
                              Developer
                              schrieb am zuletzt editiert von
                              #224

                              @thomas-braun Wir verwenden seit 4.x (m)eine Library, die sich um die Aufrufe vom Paketmanager kümmert. Mein Hintergedanke ist, dass wir dann irgendwann ohne großen Ärger zu einem anderen wechseln können, der nicht jedes halbe Jahr alles anders macht und unsere Installation breakt.

                              Die Library sucht eigentlich vom aktuellen Pfad (bzw. da wo die .js-Datei liegt) aus nach einem lockfile (z.B. package-lock.json), um den aktiven Paketmanager zu bestimmen. Bei einigen Usern existiert das nicht.

                              Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                              1 Antwort Letzte Antwort
                              1
                              • O oFbEQnpoLKKl6mbY5e13

                                @apollon77

                                # iobroker upgrade self
                                Update js-controller from @3.3.22 to @4.0.6
                                NPM version: 6.14.16
                                npm install iobroker.js-controller@4.0.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                    at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                    at Array.map (<anonymous>)
                                    at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                    at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 6
                                npm ERR! iobroker.js-controller@4.0.6 install: `node iobroker.js setup first`
                                npm ERR! Exit status 6
                                npm ERR! 
                                npm ERR! Failed at the iobroker.js-controller@4.0.6 install script.
                                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /opt/iobroker/.npm/_logs/2022-02-10T06_53_37_143Z-debug.log
                                host.iobroker Cannot install iobroker.js-controller@4.0.6: 6
                                

                                Hilft das?:

                                npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6
                                
                                > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                                > node iobroker.js setup first
                                
                                Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                    at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                    at Array.map (<anonymous>)
                                    at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                    at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script
                                
                                foxriver76F Offline
                                foxriver76F Offline
                                foxriver76
                                Developer
                                schrieb am zuletzt editiert von
                                #225

                                @ofbeqnpolkkl6mby5e13 welcher Datenbanktyp ist im Einsatz?

                                Videotutorials & mehr

                                Hier könnt ihr mich unterstützen.

                                O 1 Antwort Letzte Antwort
                                0
                                • foxriver76F foxriver76

                                  @ofbeqnpolkkl6mby5e13 welcher Datenbanktyp ist im Einsatz?

                                  O Abwesend
                                  O Abwesend
                                  oFbEQnpoLKKl6mbY5e13
                                  schrieb am zuletzt editiert von
                                  #226

                                  @foxriver76
                                  Redis States und Objects.

                                  1 Antwort Letzte Antwort
                                  0
                                  • DiginixD Offline
                                    DiginixD Offline
                                    Diginix
                                    schrieb am zuletzt editiert von
                                    #227

                                    Update von 4.0.5 auf 4.0.6 ohne Probleme.
                                    CLI Ausgabe:

                                    Update js-controller from @4.0.5 to @4.0.6
                                    Stopped Objects DB
                                    Stopped States DB
                                    NPM version: 6.14.16
                                    Installing iobroker.js-controller@4.0.6... (System call)
                                    
                                    > iobroker.js-controller@4.0.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                    > node lib/preinstallCheck.js
                                    
                                    NPM version: 6.14.16
                                    
                                    > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                                    > node iobroker.js setup first
                                    
                                    Successfully migrated 18783 objects to Redis Sets
                                    object _design/system updated
                                    {
                                      "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\n***\r\n-----END RSA PRIVATE KEY-----\r\n",
                                      "defaultPublic": "-----BEGIN CERTIFICATE-----\r\n***\r\n-----END CERTIFICATE-----\r\n"
                                    }
                                    Update certificate defaultPrivate
                                    The object "system.certificates" was updated successfully.
                                    Update certificate defaultPublic
                                    The object "system.certificates" was updated successfully.
                                    + iobroker.js-controller@4.0.6
                                    updated 13 packages in 47.713s
                                    
                                    73 packages are looking for funding
                                      run `npm fund` for details
                                    

                                    ..:: So long! Tom ::..

                                    NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                    1 Antwort Letzte Antwort
                                    1
                                    • O oFbEQnpoLKKl6mbY5e13

                                      @apollon77

                                      # iobroker upgrade self
                                      Update js-controller from @3.3.22 to @4.0.6
                                      NPM version: 6.14.16
                                      npm install iobroker.js-controller@4.0.6 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                      Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                          at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                          at Array.map (<anonymous>)
                                          at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                          at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 6
                                      npm ERR! iobroker.js-controller@4.0.6 install: `node iobroker.js setup first`
                                      npm ERR! Exit status 6
                                      npm ERR! 
                                      npm ERR! Failed at the iobroker.js-controller@4.0.6 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /opt/iobroker/.npm/_logs/2022-02-10T06_53_37_143Z-debug.log
                                      host.iobroker Cannot install iobroker.js-controller@4.0.6: 6
                                      

                                      Hilft das?:

                                      npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6
                                      
                                      > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller
                                      > node iobroker.js setup first
                                      
                                      Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                          at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                          at Array.map (<anonymous>)
                                          at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                          at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                      npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script
                                      
                                      foxriver76F Offline
                                      foxriver76F Offline
                                      foxriver76
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #228

                                      @ofbeqnpolkkl6mby5e13 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                      npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6 > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Uncaught Rejection: TypeError: Cannot read property '_id' of null at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42 at Array.map (<anonymous>) at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39) at processTicksAndRejections (internal/process/task_queues.js:95:5) npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script

                                      Kannst du mal mittels npm i iobroker.js-controller@next im Verzeichnis /opt/iobroker das upgrade anstoßen, damit ich mehr Log sehe. Irgendein Object View liefert null zurück, das sollte nicht sein.

                                      Videotutorials & mehr

                                      Hier könnt ihr mich unterstützen.

                                      O 1 Antwort Letzte Antwort
                                      0
                                      • foxriver76F foxriver76

                                        @ofbeqnpolkkl6mby5e13 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                        npm info lifecycle iobroker.js-controller@4.0.6~install: iobroker.js-controller@4.0.6 > iobroker.js-controller@4.0.6 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first Uncaught Rejection: TypeError: Cannot read property '_id' of null at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42 at Array.map (<anonymous>) at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39) at processTicksAndRejections (internal/process/task_queues.js:95:5) npm info lifecycle iobroker.js-controller@4.0.6~install: Failed to exec install script

                                        Kannst du mal mittels npm i iobroker.js-controller@next im Verzeichnis /opt/iobroker das upgrade anstoßen, damit ich mehr Log sehe. Irgendein Object View liefert null zurück, das sollte nicht sein.

                                        O Abwesend
                                        O Abwesend
                                        oFbEQnpoLKKl6mbY5e13
                                        schrieb am zuletzt editiert von
                                        #229

                                        @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                        npm i iobroker.js-controller@next

                                        # pwd
                                        /opt/iobroker
                                        # npm i iobroker.js-controller@next
                                        
                                        > iobroker.js-controller@4.0.5 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                        > node lib/preinstallCheck.js
                                        
                                        NPM version: 6.14.16
                                        
                                        > iobroker.js-controller@4.0.5 install /opt/iobroker/node_modules/iobroker.js-controller
                                        > node iobroker.js setup first
                                        
                                        Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                            at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                            at Array.map (<anonymous>)
                                            at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                            at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                        
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 6
                                        npm ERR! iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                                        npm ERR! Exit status 6
                                        npm ERR! 
                                        npm ERR! Failed at the iobroker.js-controller@4.0.5 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2022-02-10T08_31_44_396Z-debug.log
                                        # 
                                        
                                        foxriver76F 2 Antworten Letzte Antwort
                                        0
                                        • O oFbEQnpoLKKl6mbY5e13

                                          @foxriver76 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                          npm i iobroker.js-controller@next

                                          # pwd
                                          /opt/iobroker
                                          # npm i iobroker.js-controller@next
                                          
                                          > iobroker.js-controller@4.0.5 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          NPM version: 6.14.16
                                          
                                          > iobroker.js-controller@4.0.5 install /opt/iobroker/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          Uncaught Rejection: TypeError: Cannot read property '_id' of null
                                              at /opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3421:42
                                              at Array.map (<anonymous>)
                                              at ObjectsInRedisClient._applyViewFunc (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:3413:39)
                                              at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                                          
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 6
                                          npm ERR! iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                                          npm ERR! Exit status 6
                                          npm ERR! 
                                          npm ERR! Failed at the iobroker.js-controller@4.0.5 install script.
                                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /root/.npm/_logs/2022-02-10T08_31_44_396Z-debug.log
                                          # 
                                          
                                          foxriver76F Offline
                                          foxriver76F Offline
                                          foxriver76
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #230

                                          @ofbeqnpolkkl6mby5e13 ok da passiert kein logging davor, thanks.

                                          Videotutorials & mehr

                                          Hier könnt ihr mich unterstützen.

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          357

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe