Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 4.0.x jetzt für alle User im STABLE!

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.0k

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

Scheduled Pinned Locked Moved ioBroker Allgemein
501 Posts 83 Posters 154.5k Views 58 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • haselchenH haselchen

    @thomas-braun

    Aaah, okay. Also grase ich die Issues ab und packe wenn, meine Logs dazu oder mache ein Neues auf?

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by Thomas Braun
    #328

    @haselchen

    Würde ich machen. Nur so sieht der entsprechende Maintainer die Dinge.

    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

    haselchenH 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @haselchen

      Würde ich machen. Nur so sieht der entsprechende Maintainer die Dinge.

      haselchenH Offline
      haselchenH Offline
      haselchen
      Most Active
      wrote on last edited by
      #329

      @thomas-braun

      Was, wenn der Yeelight Entwickler nicht mehr aktiv ist, wer aus dem Team muss benachrichtig werden?

      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

      apollon77A 1 Reply Last reply
      0
      • haselchenH haselchen

        @thomas-braun

        Was, wenn der Yeelight Entwickler nicht mehr aktiv ist, wer aus dem Team muss benachrichtig werden?

        apollon77A Online
        apollon77A Online
        apollon77
        wrote on last edited by
        #330

        @haselchen Wer ist das denn?

        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
        haselchenH 1 Reply Last reply
        0
        • apollon77A apollon77

          @haselchen Wer ist das denn?

          haselchenH Offline
          haselchenH Offline
          haselchen
          Most Active
          wrote on last edited by haselchen
          #331

          @apollon77

          Wenn ich das richtig interpretiere sind es 11 Mitwirkende.
          Und das letzte Update ist von August 21.

          Edit: Gerade gesehen , Du gehörst auch dazu 🙂

          Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

          Thomas BraunT apollon77A 2 Replies Last reply
          0
          • haselchenH haselchen

            @apollon77

            Wenn ich das richtig interpretiere sind es 11 Mitwirkende.
            Und das letzte Update ist von August 21.

            Edit: Gerade gesehen , Du gehörst auch dazu 🙂

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            wrote on last edited by Thomas Braun
            #332

            Hier stand Quatsch.

            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 Reply Last reply
            0
            • haselchenH haselchen

              @apollon77

              Wenn ich das richtig interpretiere sind es 11 Mitwirkende.
              Und das letzte Update ist von August 21.

              Edit: Gerade gesehen , Du gehörst auch dazu 🙂

              apollon77A Online
              apollon77A Online
              apollon77
              wrote on last edited by
              #333

              @haselchen Naja leg ein isue an.

              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
              haselchenH 1 Reply Last reply
              0
              • apollon77A apollon77

                @haselchen Naja leg ein isue an.

                haselchenH Offline
                haselchenH Offline
                haselchen
                Most Active
                wrote on last edited by haselchen
                #334

                @apollon77

                Gibt es seit September 2021 😉

                https://github.com/iobroker-community-adapters/ioBroker.yeelight-2/issues/124

                Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

                1 Reply Last reply
                1
                • crunchipC Away
                  crunchipC Away
                  crunchip
                  Forum Testing Most Active
                  wrote on last edited by
                  #335

                  da ich gerade ein bisschen aufräumen wollte und ein paar Adapter gelöscht habe, hätte ich eine Frage zu folgender Error Meldung
                  Was bedeutet dies?

                  2022-03-20 08:34:49.694 - error: host.IoBroker cannot process: system.adapter.icons-material-svg.0: TypeError: Cannot read property 'type' of null / TypeError: Cannot read property 'type' of null
                  at change (/opt/iobroker/node_modules/iobroker.js-controller/main.js:772:32)
                  at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:391:41)
                  at processImmediate (internal/timers.js:464:21)
                  
                  2022-03-20 08:35:09.208 - info: admin.0 (924986) Request actual repository...
                  2022-03-20 08:35:24.166 - info: admin.0 (924986) Repository received successfully.
                  2022-03-20 08:39:05.948 - error: host.IoBroker cannot process: system.adapter.icons-mfd-svg.0: TypeError: Cannot read property 'type' of null / TypeError: Cannot read property 'type' of null
                  at change (/opt/iobroker/node_modules/iobroker.js-controller/main.js:772:32)
                  at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:391:41)
                  at processImmediate (internal/timers.js:464:21)
                  

                  umgestiegen von Proxmox auf Unraid

                  apollon77A 1 Reply Last reply
                  0
                  • crunchipC crunchip

                    da ich gerade ein bisschen aufräumen wollte und ein paar Adapter gelöscht habe, hätte ich eine Frage zu folgender Error Meldung
                    Was bedeutet dies?

                    2022-03-20 08:34:49.694 - error: host.IoBroker cannot process: system.adapter.icons-material-svg.0: TypeError: Cannot read property 'type' of null / TypeError: Cannot read property 'type' of null
                    at change (/opt/iobroker/node_modules/iobroker.js-controller/main.js:772:32)
                    at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:391:41)
                    at processImmediate (internal/timers.js:464:21)
                    
                    2022-03-20 08:35:09.208 - info: admin.0 (924986) Request actual repository...
                    2022-03-20 08:35:24.166 - info: admin.0 (924986) Repository received successfully.
                    2022-03-20 08:39:05.948 - error: host.IoBroker cannot process: system.adapter.icons-mfd-svg.0: TypeError: Cannot read property 'type' of null / TypeError: Cannot read property 'type' of null
                    at change (/opt/iobroker/node_modules/iobroker.js-controller/main.js:772:32)
                    at Immediate._onImmediate (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:391:41)
                    at processImmediate (internal/timers.js:464:21)
                    
                    apollon77A Online
                    apollon77A Online
                    apollon77
                    wrote on last edited by
                    #336

                    @crunchip das du vllt nen Bug gefunden hast. GitHub issue bitte

                    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
                    H 1 Reply Last reply
                    1
                    • apollon77A apollon77

                      @crunchip das du vllt nen Bug gefunden hast. GitHub issue bitte

                      H Offline
                      H Offline
                      hardy_01
                      wrote on last edited by hardy_01
                      #337

                      Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

                      pi@raspberrypi-iob:~ $ iobroker upgrade self
                      Update js-controller from @3.1.6 to @4.0.21
                      NPM version: 6.14.16
                      npm install iobroker.js-controller@4.0.21 --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.1/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]
                             (node::addon_register_func) (regfunc),                          \
                                                                 ^
                      /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                         ^~~~~~~~~~~~~
                      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                       NODE_MODULE(unix_dgram, Initialize)
                       ^~~~~~~~~~~
                       Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                       States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                       Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                       Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED
                      /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                              throw e;
                              ^
                      
                      ReplyError: Error scan NOT SUPPORTED
                          at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                          at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                      Emitted 'error' event on ScanStream instance at:
                          at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                          at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                          at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                          at processTicksAndRejections (internal/process/task_queues.js:95:5) {
                        command: {
                          name: 'scan',
                          args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                        }
                      }
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! iobroker.js-controller@4.0.21 install: `node iobroker.js setup first`
                      npm ERR! Exit status 1
                      npm ERR! 
                      npm ERR! Failed at the iobroker.js-controller@4.0.21 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!     /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log
                      host.raspberrypi-iob Cannot install iobroker.js-controller@4.0.21: 1
                      

                      iobroker update bringt

                      pi@raspberrypi-iob:/opt/iobroker $ iobroker update
                      internal/modules/cjs/loader.js:905
                        throw err;
                        ^
                      
                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.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.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                          at internal/main/run_main_module.js:17:47 {
                        code: 'MODULE_NOT_FOUND',
                        requireStack: []
                      }
                      

                      Jemand eine Idee wo ich ansetzen kann?

                      H apollon77A 2 Replies Last reply
                      0
                      • H hardy_01

                        Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

                        pi@raspberrypi-iob:~ $ iobroker upgrade self
                        Update js-controller from @3.1.6 to @4.0.21
                        NPM version: 6.14.16
                        npm install iobroker.js-controller@4.0.21 --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.1/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]
                               (node::addon_register_func) (regfunc),                          \
                                                                   ^
                        /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                           ^~~~~~~~~~~~~
                        ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                         NODE_MODULE(unix_dgram, Initialize)
                         ^~~~~~~~~~~
                         Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                         States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                         Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                         Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED
                        /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                throw e;
                                ^
                        
                        ReplyError: Error scan NOT SUPPORTED
                            at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                            at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                        Emitted 'error' event on ScanStream instance at:
                            at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                            at processTicksAndRejections (internal/process/task_queues.js:95:5) {
                          command: {
                            name: 'scan',
                            args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                          }
                        }
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! iobroker.js-controller@4.0.21 install: `node iobroker.js setup first`
                        npm ERR! Exit status 1
                        npm ERR! 
                        npm ERR! Failed at the iobroker.js-controller@4.0.21 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!     /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log
                        host.raspberrypi-iob Cannot install iobroker.js-controller@4.0.21: 1
                        

                        iobroker update bringt

                        pi@raspberrypi-iob:/opt/iobroker $ iobroker update
                        internal/modules/cjs/loader.js:905
                          throw err;
                          ^
                        
                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.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.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                            at internal/main/run_main_module.js:17:47 {
                          code: 'MODULE_NOT_FOUND',
                          requireStack: []
                        }
                        

                        Jemand eine Idee wo ich ansetzen kann?

                        H Offline
                        H Offline
                        hardy_01
                        wrote on last edited by
                        #338

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

                        Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

                        pi@raspberrypi-iob:~ $ iobroker upgrade self
                        Update js-controller from @3.1.6 to @4.0.21
                        NPM version: 6.14.16
                        npm install iobroker.js-controller@4.0.21 --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.1/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]
                               (node::addon_register_func) (regfunc),                          \
                                                                   ^
                        /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                           NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                           ^~~~~~~~~~~~~
                        ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                         NODE_MODULE(unix_dgram, Initialize)
                         ^~~~~~~~~~~
                         Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                         States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                         Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                         Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED
                        /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                throw e;
                                ^
                        
                        ReplyError: Error scan NOT SUPPORTED
                            at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                            at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                        Emitted 'error' event on ScanStream instance at:
                            at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                            at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                            at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                            at processTicksAndRejections (internal/process/task_queues.js:95:5) {
                          command: {
                            name: 'scan',
                            args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                          }
                        }
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! iobroker.js-controller@4.0.21 install: `node iobroker.js setup first`
                        npm ERR! Exit status 1
                        npm ERR! 
                        npm ERR! Failed at the iobroker.js-controller@4.0.21 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!     /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log
                        host.raspberrypi-iob Cannot install iobroker.js-controller@4.0.21: 1
                        

                        iobroker update bringt

                        pi@raspberrypi-iob:/opt/iobroker $ iobroker update
                        internal/modules/cjs/loader.js:905
                          throw err;
                          ^
                        
                        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.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.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                            at internal/main/run_main_module.js:17:47 {
                          code: 'MODULE_NOT_FOUND',
                          requireStack: []
                        }
                        
                        pi@raspberrypi-iob:/opt/iobroker $ iobroker start
                        pi@raspberrypi-iob:/opt/iobroker $ iobroker fix
                        library: loaded
                        Library version=2022-02-10
                        ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                        

                        Jemand eine Idee wo ich ansetzen kann?

                        crunchipC 1 Reply Last reply
                        0
                        • H hardy_01

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

                          Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

                          pi@raspberrypi-iob:~ $ iobroker upgrade self
                          Update js-controller from @3.1.6 to @4.0.21
                          NPM version: 6.14.16
                          npm install iobroker.js-controller@4.0.21 --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.1/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]
                                 (node::addon_register_func) (regfunc),                          \
                                                                     ^
                          /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                             ^~~~~~~~~~~~~
                          ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                           NODE_MODULE(unix_dgram, Initialize)
                           ^~~~~~~~~~~
                           Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                           States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                           Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                           Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED
                          /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                  throw e;
                                  ^
                          
                          ReplyError: Error scan NOT SUPPORTED
                              at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                              at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                          Emitted 'error' event on ScanStream instance at:
                              at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                              at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                              at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                              at processTicksAndRejections (internal/process/task_queues.js:95:5) {
                            command: {
                              name: 'scan',
                              args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                            }
                          }
                          npm ERR! code ELIFECYCLE
                          npm ERR! errno 1
                          npm ERR! iobroker.js-controller@4.0.21 install: `node iobroker.js setup first`
                          npm ERR! Exit status 1
                          npm ERR! 
                          npm ERR! Failed at the iobroker.js-controller@4.0.21 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!     /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log
                          host.raspberrypi-iob Cannot install iobroker.js-controller@4.0.21: 1
                          

                          iobroker update bringt

                          pi@raspberrypi-iob:/opt/iobroker $ iobroker update
                          internal/modules/cjs/loader.js:905
                            throw err;
                            ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.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.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                              at internal/main/run_main_module.js:17:47 {
                            code: 'MODULE_NOT_FOUND',
                            requireStack: []
                          }
                          
                          pi@raspberrypi-iob:/opt/iobroker $ iobroker start
                          pi@raspberrypi-iob:/opt/iobroker $ iobroker fix
                          library: loaded
                          Library version=2022-02-10
                          ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                          

                          Jemand eine Idee wo ich ansetzen kann?

                          crunchipC Away
                          crunchipC Away
                          crunchip
                          Forum Testing Most Active
                          wrote on last edited by
                          #339

                          @hardy_01

                          Falls es auch danach noch Fehler gibt, bitte die Installation erneut mittels sudo -H -u iobroker npm install iobroker.js-controller versuchen. 
                          

                          umgestiegen von Proxmox auf Unraid

                          1 Reply Last reply
                          0
                          • H hardy_01

                            Bei mir hat sich beim Update irgendwas aufgehangen. Seit dem ist der broker nicht mehr erreichbar

                            pi@raspberrypi-iob:~ $ iobroker upgrade self
                            Update js-controller from @3.1.6 to @4.0.21
                            NPM version: 6.14.16
                            npm install iobroker.js-controller@4.0.21 --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.1/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]
                                   (node::addon_register_func) (regfunc),                          \
                                                                       ^
                            /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                               NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                               ^~~~~~~~~~~~~
                            ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                             NODE_MODULE(unix_dgram, Initialize)
                             ^~~~~~~~~~~
                             Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                             States 127.0.0.1:38688 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                             Objects 127.0.0.1:53902 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                             Objects 127.0.0.1:53902 Error from InMemDB: Error: scan NOT SUPPORTED
                            /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                    throw e;
                                    ^
                            
                            ReplyError: Error scan NOT SUPPORTED
                                at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                            Emitted 'error' event on ScanStream instance at:
                                at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                at processTicksAndRejections (internal/process/task_queues.js:95:5) {
                              command: {
                                name: 'scan',
                                args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                              }
                            }
                            npm ERR! code ELIFECYCLE
                            npm ERR! errno 1
                            npm ERR! iobroker.js-controller@4.0.21 install: `node iobroker.js setup first`
                            npm ERR! Exit status 1
                            npm ERR! 
                            npm ERR! Failed at the iobroker.js-controller@4.0.21 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!     /home/iobroker/.npm/_logs/2022-03-29T16_38_52_007Z-debug.log
                            host.raspberrypi-iob Cannot install iobroker.js-controller@4.0.21: 1
                            

                            iobroker update bringt

                            pi@raspberrypi-iob:/opt/iobroker $ iobroker update
                            internal/modules/cjs/loader.js:905
                              throw err;
                              ^
                            
                            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.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.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                                at internal/main/run_main_module.js:17:47 {
                              code: 'MODULE_NOT_FOUND',
                              requireStack: []
                            }
                            

                            Jemand eine Idee wo ich ansetzen kann?

                            apollon77A Online
                            apollon77A Online
                            apollon77
                            wrote on last edited by
                            #340

                            @hardy_01 naja Du kommst von der 3.1 ... Da steht oben das Du idealerweise zuerst die 3.2 installieren solltest bzw ja bei DIr wäre der direkte weg via npm der sinnvolle. Siehe letzter Post

                            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
                            H 1 Reply Last reply
                            0
                            • apollon77A apollon77

                              @hardy_01 naja Du kommst von der 3.1 ... Da steht oben das Du idealerweise zuerst die 3.2 installieren solltest bzw ja bei DIr wäre der direkte weg via npm der sinnvolle. Siehe letzter Post

                              H Offline
                              H Offline
                              hardy_01
                              wrote on last edited by
                              #341

                              @apollon77
                              Habe ich probiert, bekomme leider immer noch einen Fehler (Berechtigung).

                              pi@raspberrypi-iob:~ $ sudo -H -u iobroker npm install iobroker.js-controller
                              npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                              npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                              npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                              npm WARN checkPermissions Missing write access to /home/pi
                              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":"arm"})
                              npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                              npm WARN pi No description
                              npm WARN pi No repository field.
                              npm WARN pi No README data
                              npm WARN pi No license field.
                              
                              npm ERR! code EACCES
                              npm ERR! syscall access
                              npm ERR! path /home/pi
                              npm ERR! errno -13
                              npm ERR! Error: EACCES: permission denied, access '/home/pi'
                              npm ERR!  [Error: EACCES: permission denied, access '/home/pi'] {
                              npm ERR!   errno: -13,
                              npm ERR!   code: 'EACCES',
                              npm ERR!   syscall: 'access',
                              npm ERR!   path: '/home/pi'
                              npm ERR! }
                              npm ERR! 
                              npm ERR! The operation was rejected by your operating system.
                              npm ERR! It is likely you do not have the permissions to access this file as the current user
                              npm ERR! 
                              npm ERR! If you believe this might be a permissions issue, please double-check the
                              npm ERR! permissions of the file and its containing directories, or try running
                              npm ERR! the command again as root/Administrator.
                              
                              npm ERR! A complete log of this run can be found in:
                              npm ERR!     /home/iobroker/.npm/_logs/2022-03-29T20_06_59_453Z-debug.log
                              
                              Thomas BraunT 1 Reply Last reply
                              0
                              • H hardy_01

                                @apollon77
                                Habe ich probiert, bekomme leider immer noch einen Fehler (Berechtigung).

                                pi@raspberrypi-iob:~ $ sudo -H -u iobroker npm install iobroker.js-controller
                                npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                npm WARN checkPermissions Missing write access to /home/pi
                                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":"arm"})
                                npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                                npm WARN pi No description
                                npm WARN pi No repository field.
                                npm WARN pi No README data
                                npm WARN pi No license field.
                                
                                npm ERR! code EACCES
                                npm ERR! syscall access
                                npm ERR! path /home/pi
                                npm ERR! errno -13
                                npm ERR! Error: EACCES: permission denied, access '/home/pi'
                                npm ERR!  [Error: EACCES: permission denied, access '/home/pi'] {
                                npm ERR!   errno: -13,
                                npm ERR!   code: 'EACCES',
                                npm ERR!   syscall: 'access',
                                npm ERR!   path: '/home/pi'
                                npm ERR! }
                                npm ERR! 
                                npm ERR! The operation was rejected by your operating system.
                                npm ERR! It is likely you do not have the permissions to access this file as the current user
                                npm ERR! 
                                npm ERR! If you believe this might be a permissions issue, please double-check the
                                npm ERR! permissions of the file and its containing directories, or try running
                                npm ERR! the command again as root/Administrator.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-03-29T20_06_59_453Z-debug.log
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                wrote on last edited by Thomas Braun
                                #342

                                @hardy_01
                                Du stehst im falschen Verzeichnis...

                                cd /opt/iobroker
                                

                                Und dann die direkte Installation wie schon versucht.

                                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

                                H 1 Reply Last reply
                                1
                                • Thomas BraunT Thomas Braun

                                  @hardy_01
                                  Du stehst im falschen Verzeichnis...

                                  cd /opt/iobroker
                                  

                                  Und dann die direkte Installation wie schon versucht.

                                  H Offline
                                  H Offline
                                  hardy_01
                                  wrote on last edited by
                                  #343

                                  @thomas-braun
                                  Herzlichen Dank an alle, hat funktioniert 😊

                                  1 Reply Last reply
                                  1
                                  • J Offline
                                    J Offline
                                    Jack01
                                    wrote on last edited by Jack01
                                    #344

                                    Moin,
                                    heute habe ich mal allen Mut gefasst und auf die aktuelle Version upgedatet.
                                    Es sieht so aus, als ob alles funktioniert hat.
                                    Es allerdings ein paar Meldungen, die von dem Beispiel im ersten Thread abweichen

                                    pi@raspberrypi:/opt/iobroker $ iobroker 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 --prefix "/opt/iobroker" (System call)
                                    In file included from ../src/unix_dgram.cc:5:
                                    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                    ../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                  ^
                                    In file included from ../../nan/nan.h:56,
                                                     from ../src/unix_dgram.cc:5:
                                    ../src/unix_dgram.cc: At global scope:
                                    /home/iobroker/.cache/node-gyp/14.19.1/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]
                                           (node::addon_register_func) (regfunc),                          \
                                                                               ^
                                    /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                                       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                       ^~~~~~~~~~~~~
                                    ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                                     NODE_MODULE(unix_dgram, Initialize)
                                     ^~~~~~~~~~~
                                    Server Objects 127.0.0.1:41112 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                                    Server Objects 127.0.0.1:41112 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                                    Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load
                                    Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load
                                    Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load
                                    Server Objects 127.0.0.1:41112 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]}]
                                    pi@raspberrypi:/opt/iobroker $
                                    
                                    

                                    Muss ich hier noch etwas unternehmen oder ist das so OK?

                                    Gruß

                                    Hans-Jürgen

                                    Nachtrag:
                                    meine Datenbanken sehen jetzt so aus:

                                    
                                    pi@raspberrypi:/opt/iobroker $ iob status
                                    iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: redis
                                    pi@raspberrypi:/opt/iobroker $
                                    
                                    

                                    Proxmox LXC
                                    Node.js: V20.18.2
                                    NPM: 10.8.2
                                    JS-controller: 7.0.6

                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • J Jack01

                                      Moin,
                                      heute habe ich mal allen Mut gefasst und auf die aktuelle Version upgedatet.
                                      Es sieht so aus, als ob alles funktioniert hat.
                                      Es allerdings ein paar Meldungen, die von dem Beispiel im ersten Thread abweichen

                                      pi@raspberrypi:/opt/iobroker $ iobroker 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 --prefix "/opt/iobroker" (System call)
                                      In file included from ../src/unix_dgram.cc:5:
                                      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
                                      ../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
                                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                                    ^
                                      In file included from ../../nan/nan.h:56,
                                                       from ../src/unix_dgram.cc:5:
                                      ../src/unix_dgram.cc: At global scope:
                                      /home/iobroker/.cache/node-gyp/14.19.1/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]
                                             (node::addon_register_func) (regfunc),                          \
                                                                                 ^
                                      /home/iobroker/.cache/node-gyp/14.19.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                         ^~~~~~~~~~~~~
                                      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                                       NODE_MODULE(unix_dgram, Initialize)
                                       ^~~~~~~~~~~
                                      Server Objects 127.0.0.1:41112 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                                      Server Objects 127.0.0.1:41112 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                                      Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load
                                      Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load
                                      Server Objects 127.0.0.1:41112 Error from InMemDB: Error: Unknown LUA script load
                                      Server Objects 127.0.0.1:41112 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]}]
                                      pi@raspberrypi:/opt/iobroker $
                                      
                                      

                                      Muss ich hier noch etwas unternehmen oder ist das so OK?

                                      Gruß

                                      Hans-Jürgen

                                      Nachtrag:
                                      meine Datenbanken sehen jetzt so aus:

                                      
                                      pi@raspberrypi:/opt/iobroker $ iob status
                                      iobroker is running on this host.
                                      
                                      
                                      Objects type: jsonl
                                      States  type: redis
                                      pi@raspberrypi:/opt/iobroker $
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #345

                                      @jack01

                                      Schaut okay aus.

                                      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 Reply Last reply
                                      2
                                      • L Offline
                                        L Offline
                                        lacknelu
                                        wrote on last edited by lacknelu
                                        #346

                                        Hallo!

                                        Habe heute versucht auf den js-controller 4.0.x upzugraden - leider bin ich gescheitert ... Habe mich durch die infos im thread garbeitet und auch einiges ausprobiert, jedoch haben alle Lösungen nicht funktioniert bzw. immer wieder zu demselben Problem / Error geführt:

                                        pi@PI4IOBroker:/opt/iobroker $ iobroker upgrade self
                                        Update js-controller from @3.1.6 to @4.0.21
                                        NPM version: 7.24.2
                                        npm install iobroker.js-controller@4.0.21 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                         Objects 127.0.0.1:56176 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                                         States 127.0.0.1:43884 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                                         Objects 127.0.0.1:56176 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                                         Objects 127.0.0.1:56176 Error from InMemDB: Error: scan NOT SUPPORTED
                                        npm ERR! code 1
                                        npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                        npm ERR! command failed
                                        npm ERR! command sh -c node iobroker.js setup first
                                        npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                        npm ERR!         throw e;
                                        npm ERR!         ^
                                        npm ERR!
                                        npm ERR! ReplyError: Error scan NOT SUPPORTED
                                        npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
                                        npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
                                        npm ERR! Emitted 'error' event on ScanStream instance at:
                                        npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                        npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                        npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                        npm ERR!     at processTicksAndRejections (internal/process/task_queues.js:95:5) {
                                        npm ERR!   command: {
                                        npm ERR!     name: 'scan',
                                        npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
                                        npm ERR!   }
                                        npm ERR! }
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-04-01T21_26_30_838Z-debug.log
                                        Starting node restart.js
                                        

                                        Die zuletzt probierte Prozedur war folgende:

                                        iobroker update
                                        iobroker stop
                                        iobroker upgrade
                                        iobroker upgrade self
                                        iobroker fix
                                        iobroker start
                                        

                                        Hat jemand eine idee woran es liegen könnte? Leider kann ich mit den Error Log auf keinen grünen Zweig kommen 😞

                                        Der Log beinhaltet folgendes:

                                        
                                        0 verbose cli [
                                        0 verbose cli   '/usr/local/bin/node',
                                        0 verbose cli   '/usr/local/bin/npm',
                                        0 verbose cli   'install',
                                        0 verbose cli   'iobroker.js-controller@4.0.21',
                                        0 verbose cli   '--loglevel',
                                        0 verbose cli   'error',
                                        0 verbose cli   '--unsafe-perm',
                                        0 verbose cli   '--prefix',
                                        0 verbose cli   '/opt/iobroker'
                                        0 verbose cli ]
                                        1 info using npm@7.24.2
                                        2 info using node@v14.19.1
                                        3 timing npm:load:whichnode Completed in 1ms
                                        4 timing config:load:defaults Completed in 5ms
                                        5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 4ms
                                        6 timing config:load:builtin Completed in 4ms
                                        7 timing config:load:cli Completed in 8ms
                                        8 timing config:load:env Completed in 0ms
                                        9 timing config:load:file:/opt/iobroker/.npmrc Completed in 2ms
                                        10 timing config:load:project Completed in 2ms
                                        11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms
                                        12 timing config:load:user Completed in 1ms
                                        13 timing config:load:file:/opt/iobroker/etc/npmrc Completed in 0ms
                                        14 timing config:load:global Completed in 0ms
                                        15 timing config:load:validate Completed in 1ms
                                        16 timing config:load:credentials Completed in 3ms
                                        17 timing config:load:setEnvs Completed in 3ms
                                        18 timing config:load Completed in 28ms
                                        19 timing npm:load:configload Completed in 28ms
                                        20 timing npm:load:setTitle Completed in 0ms
                                        21 timing npm:load:setupLog Completed in 2ms
                                        22 timing config:load:flatten Completed in 9ms
                                        23 timing npm:load:cleanupLog Completed in 6ms
                                        24 timing npm:load:configScope Completed in 0ms
                                        25 timing npm:load:projectScope Completed in 1ms
                                        26 timing npm:load Completed in 47ms
                                        27 timing arborist:ctor Completed in 2ms
                                        28 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.zwave2
                                        29 timing idealTree:init Completed in 6038ms
                                        30 timing idealTree:userRequests Completed in 24ms
                                        31 silly idealTree buildDeps
                                        32 silly fetch manifest iobroker.js-controller@4.0.21
                                        33 http fetch GET 200 https://registry.npmjs.org/iobroker.js-controller 7421ms (cache revalidated)
                                        34 silly placeDep ROOT iobroker.js-controller@4.0.21 REPLACE for: iobroker.inst@2.0.3 want: 4.0.21
                                        35 silly fetch manifest @alcalzone/esbuild-register@^2.5.1-1
                                        36 silly fetch manifest @iobroker/db-objects-file@4.0.21
                                        37 silly fetch manifest @iobroker/db-objects-jsonl@4.0.21
                                        38 silly fetch manifest @iobroker/db-objects-redis@4.0.21
                                        39 silly fetch manifest @iobroker/db-states-file@4.0.21
                                        40 silly fetch manifest @iobroker/db-states-jsonl@4.0.21
                                        41 silly fetch manifest @iobroker/db-states-redis@4.0.21
                                        42 silly fetch manifest @iobroker/js-controller-adapter@4.0.21
                                        43 silly fetch manifest @iobroker/js-controller-cli@4.0.21
                                        44 silly fetch manifest @iobroker/js-controller-common@4.0.21
                                        45 silly fetch manifest @iobroker/js-controller-common-db@4.0.21
                                        46 silly fetch manifest @iobroker/plugin-base@~1.2.1
                                        47 silly fetch manifest @iobroker/plugin-sentry@~1.2.0
                                        48 silly fetch manifest axios@^0.24.0
                                        

                                        Vielen Dank für eure Hilfe.

                                        LG Lukas

                                        Thomas BraunT apollon77A 2 Replies Last reply
                                        0
                                        • crunchipC Away
                                          crunchipC Away
                                          crunchip
                                          Forum Testing Most Active
                                          wrote on last edited by crunchip
                                          #347

                                          @lacknelu denke du müsstest erst mal dein node und npm richtig installieren
                                          wenn das erledigt ist und dennoch kein upgrade funktioniert, dann im ersten Thread den Abschnitt "Bei Fehlern:" nochmal lesen

                                          umgestiegen von Proxmox auf Unraid

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          584

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe