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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

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

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

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

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
501 Beiträge 83 Kommentatoren 154.8k Aufrufe 58 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @basti97

    Wie dem auch sei:
    Grundregel 1: Nie als root rumhampeln
    Grundregel 2: Nicht in einer GUI rumhampeln. Schonmal gar nicht als root. Es läuft nämlich keine auf einem Server.

    Ist aber auch total OffTopic.

    Basti97B Offline
    Basti97B Offline
    Basti97
    Most Active
    schrieb am zuletzt editiert von
    #320

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

    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

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • 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
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @haselchen

                  Guckstu:

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

                  haselchenH Offline
                  haselchenH Offline
                  haselchen
                  Most Active
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      0
                      • haselchenH haselchen

                        @thomas-braun

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

                        apollon77A Offline
                        apollon77A Offline
                        apollon77
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        0
                        • apollon77A apollon77

                          @haselchen Wer ist das denn?

                          haselchenH Offline
                          haselchenH Offline
                          haselchen
                          Most Active
                          schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                          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
                            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                            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 Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              0
                              • apollon77A apollon77

                                @haselchen Naja leg ein isue an.

                                haselchenH Offline
                                haselchenH Offline
                                haselchen
                                Most Active
                                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                1
                                • crunchipC Abwesend
                                  crunchipC Abwesend
                                  crunchip
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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 Offline
                                    apollon77A Offline
                                    apollon77
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    1
                                    • apollon77A apollon77

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

                                      H Offline
                                      H Offline
                                      hardy_01
                                      schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                                      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
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        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 Abwesend
                                          crunchipC Abwesend
                                          crunchip
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          773

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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