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

  • 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!

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.
  • Basti97B Basti97

    @thomas-braun Ok verstanden. Gibt es noch etwas zu beachten außer das System aktuell zu halten.
    Ein Antivirus braucht man nicht oder?

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

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

    Ein Antivirus braucht man nicht oder?

    Kommt drauf an. Als Mailserver würde ich einen Virenscanner auf die Mails loslassen. Für alle andern Verwendungen macht ein Virenscanner auf einem gepflegten Linux nur bedingt Sinn, imho. Aber auch da kommt wieder der Desktop ins Spiel...
    Mehr laufender Code = Mehr Fehler, mehr Sicherheitsprobleme, mehr Potential für Abstürze. Nur nicht laufender Code ist sicherer und stabiler Code. Deshalb läuft auf einem Server nur das Notwendigste. Desktop=absolut Unnötig.

    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

    Basti97B 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

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

      Ein Antivirus braucht man nicht oder?

      Kommt drauf an. Als Mailserver würde ich einen Virenscanner auf die Mails loslassen. Für alle andern Verwendungen macht ein Virenscanner auf einem gepflegten Linux nur bedingt Sinn, imho. Aber auch da kommt wieder der Desktop ins Spiel...
      Mehr laufender Code = Mehr Fehler, mehr Sicherheitsprobleme, mehr Potential für Abstürze. Nur nicht laufender Code ist sicherer und stabiler Code. Deshalb läuft auf einem Server nur das Notwendigste. Desktop=absolut Unnötig.

      Basti97B Offline
      Basti97B Offline
      Basti97
      Most Active
      wrote on last edited by
      #322

      @thomas-braun Ok iob und Grafana laufen bei mir auf extra vms habe gerade bei beiden Updates installiert.

      Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

      haselchenH 1 Reply Last reply
      0
      • Basti97B Basti97

        @thomas-braun Ok iob und Grafana laufen bei mir auf extra vms habe gerade bei beiden Updates installiert.

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

        @apollon77

        Ich hab nun das System Up to Date.
        Node 14
        und JS Controller 4.0.21

        Trotzdem bekomme ich von vielen Adaptern noch im Log das einige Objecte nicht valid sind
        oder sie einen anderen String erwarten.
        Dachte, dass wäre Vergangenheit?

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

          @apollon77

          Ich hab nun das System Up to Date.
          Node 14
          und JS Controller 4.0.21

          Trotzdem bekomme ich von vielen Adaptern noch im Log das einige Objecte nicht valid sind
          oder sie einen anderen String erwarten.
          Dachte, dass wäre Vergangenheit?

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

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

          Dachte, dass wäre Vergangenheit?

          Nur wenn es im Adapter angepackt wurde und du die Objekte gelöscht hast.

          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 sagte in js-controller 4.0.x jetzt für alle User im STABLE!:

            Dachte, dass wäre Vergangenheit?

            Nur wenn es im Adapter angepackt wurde und du die Objekte gelöscht hast.

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

            @thomas-braun

            Sind teilweise neu installiert und zeigen das Verhalten.
            yeelight Adapter
            corona Statistics

            coronavirus-statistics.0	2022-03-19 15:30:06.878	warn	(2618) This object will not be created in future versions. Please report this to the developer.
            coronavirus-statistics.0	2022-03-19 15:30:06.877	warn	(2618) Object coronavirus-statistics.0.countryTranslator is invalid: Default value has to be type "string" but received type "number"
            

            nur mal 2 Beispiele

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

              @thomas-braun

              Sind teilweise neu installiert und zeigen das Verhalten.
              yeelight Adapter
              corona Statistics

              coronavirus-statistics.0	2022-03-19 15:30:06.878	warn	(2618) This object will not be created in future versions. Please report this to the developer.
              coronavirus-statistics.0	2022-03-19 15:30:06.877	warn	(2618) Object coronavirus-statistics.0.countryTranslator is invalid: Default value has to be type "string" but received type "number"
              

              nur mal 2 Beispiele

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

              @haselchen

              Guckstu:

              https://github.com/DrozmotiX/ioBroker.coronavirus-statistics/issues/347

              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

                Guckstu:

                https://github.com/DrozmotiX/ioBroker.coronavirus-statistics/issues/347

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

                @thomas-braun

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

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

                                          628

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          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