Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 3.1 jetzt im STABLE!

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 3.1 jetzt im STABLE!

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

      @bahnuhr Stabilo will sich das morgen ansehen

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

        @apollon77 sagte in js-controller 3.1 jetzt im STABLE!:

        Info Adapter Popup

        Ok .. auch eine gute Informationsquelle .
        Der muß aber installiert sein ... dachte eher im normalen Fenster
        .
        1.JPG

        1.JPG

        aber ist schon so Ok .. war ja nur eine Frage ........

        1 Reply Last reply Reply Quote 0
        • L
          lemuba last edited by lemuba

          Ich habe auch gerade meine Synology Diskstation DietPi VM (Debian Stretch) geupdated und aus mir unerklärlichen Gründen - keinerlei Probleme 😉
          Für den Iobroker Stop, der ging nicht mehr, musste ich einmalig mit dem Fixer drüber - ging dann auch problemlos.
          Soweit Alle Top! Vielen Dank und beste Grüße, Matthias

          DietPi

          Betriebssystem
          linux
          Betriebssystem
          linux
          Architektur
          x64
          CPUs
          4
          Geschwindigkeit
          1497 MHz
          Modell
          Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
          RAM
          3.35 GB
          System Betriebszeit
          2 T. 17:32:40
          Node.js
          v12.16.3 (Es gibt eine neuere Version: v12.17.0)
          NPM
          6.14.4
          Festplatte Größe
          31.43 GB
          Festplatte frei
          18.36 GB
          Anzahl der Adapter
          350
          Betriebszeit
          01:06:27
          Aktive Instanzen
          31
          Hostname
          DietPi

          DietPi

          Typ: js-controller
          Titel: JS controller
          OS: linux
          Verfügbar: 3.1.4
          Installiert: 3.1.4
          Ereignisse: ⇥31 / ↦13
          

          1 Reply Last reply Reply Quote 0
          • N
            Nordischerjung last edited by

            Moin,

            ich habe auch gerade versucht mein System zu updaten.
            Ich habe 2x Tinkerboard in Master / Slave. Ich habe sämtliche Schritte oben durchgeführt. Aber den Slave bekomme ich immer nur auf die Version 2.2.10.
            Ich habe auch schon latest / default umgestellt. Dann habe ich enfach versucht den Master mal zu updaten. (Ich weiss es wird empfohlen erst den Slave zu machen) Der hat sofort die 3.1.4 bekommen.

            npm -v 6.14.4
            node -v 10.20.1
            nodejs -v 10.20.1

            Was kann ich noch versuchen?

            1 Reply Last reply Reply Quote 0
            • M
              Mike08 last edited by

              Hallo und super Arbeit! Update im Docker auf meiner Synology(v. Buanet) ohne Problem.
              Frage: „Bleibt beim Restart die Einstellung „iobroker plugin disable sentry„ erhalten oder muss dieses Plugin jedesmal disable werden?“

              Grüße und Danke
              Mike

              foxriver76 apollon77 2 Replies Last reply Reply Quote 0
              • Negalein
                Negalein Global Moderator last edited by

                @apollon77

                seit Update auf 3.1.4 bekomm ich sehr oft (mal jede Minute, mal alle halbe Stunde, ...) diese Fehler.

                Kommt vom HS100-Adapter.

                Vor dem Update waren diese Fehler nicht da.

                Liegt das am HS100 oder am JS-Controller?

                Heute 12:06	error	host.iobroker	Caught by controller[0]: TCP 10.0.1.79:9999 Error: TCP Socket Closed. segment:0 hadError:false
                Heute 12:06	error	hs100.0	Error: TCP Socket Closed. segment:0 hadError:false at Socket.socket.once.hadError (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:113:19) at Object.onceWrapper (events.js:286:20) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12)
                Heute 12:06	error	hs100.0	unhandled promise rejection: TCP Socket Closed. segment:0 hadError:false
                Heute 12:06	error	hs100.0	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                Heute 12:04	error	host.iobroker	Caught by controller[1]: TCP 10.0.1.80:9999 Error: TCP Socket Closed. segment:0 hadError:false
                Heute 12:04	error	hs100.0	Error: TCP Socket Closed. segment:0 hadError:false at Socket.socket.once.hadError (/opt/iobroker/node_modules/tplink-smarthome-api/lib/network/tcp-socket.js:113:19) at Object.onceWrapper (events.js:286:20) at Socket.emit (events.js:198:13) at TCP._handle.close (net.js:607:12)
                Heute 12:04	error	hs100.0	unhandled promise rejection: TCP Socket Closed. segment:0 hadError:false
                Heute 12:04	error	hs100.0	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                
                Dr. Bakterius apollon77 2 Replies Last reply Reply Quote 0
                • Dr. Bakterius
                  Dr. Bakterius Most Active @Negalein last edited by

                  @Negalein sagte in js-controller 3.1 jetzt im STABLE!:

                  Liegt das am HS100 oder am JS-Controller?

                  Bei mir keine Probleme mit den beiden. Schon mal den Adapter, oder falls das nicht hilft, den Rechner neu gestartet?

                  Negalein 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @Mike08 last edited by

                    @Mike08 bleibt erhalten.

                    1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @Dr. Bakterius last edited by

                      @Dr-Bakterius sagte in js-controller 3.1 jetzt im STABLE!:

                      Bei mir keine Probleme mit den beiden. Schon mal den Adapter, oder falls das nicht hilft, den Rechner neu gestartet?

                      Ja, Adapter neu gestartet, Rechner neu gestartet. Hilft nichts.
                      Bin zumindest nicht allein mit dem Problem.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sth_technik last edited by Negalein

                        Hallo,
                        seit dem Update bekomme ich im Log Warnungen vom Fhem-Adapter. Hier ein kleiner Auszug.

                        2020-05-31 21:22:41.452 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.KUE_Ventil_Weather.state: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.452 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.462 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung.battery: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.462 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.469 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung_T1.state: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.470 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.477 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung_T1.temperature: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.478 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.485 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung_T1_T2.state: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.485 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.493 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung_T1_T2.temperature: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.493 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.500 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung_T2.state: The state property "ts" has the wrong type "undefined" (should be "number")!
                        2020-05-31 21:22:41.501 - warn: fhem.0 (26962) This value will not be set in future versions. Please report this to the developer.
                        2020-05-31 21:22:41.510 - warn: fhem.0 (26962) State value to set is invalid for fhem.0.DG_Temp_Heizung_T2.temperature: The state property "ts" has the wrong type "undefined" (should be "number")!
                        

                        Node.js: v12.17.0
                        NPM: 6.14.4
                        js-controller: 3.1.4


                        Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                        Hier gehts zur Hilfe.

                        apollon77 1 Reply Last reply Reply Quote 1
                        • D
                          derrapf last edited by

                          Hallo alle
                          Haben mal eben upgedatet
                          Vorher auch noch die Scriptengine
                          Ich habe während der Installation von beiden ziemlich viele gyp errors
                          Leider kann ich gar nichts damit anfangen.

                          root@ioBroker-Rock64:/opt/iobroker# iobroker upgrade self
                          Update js-controller from @2.2.9 to @3.1.4
                          NPM version: 6.14.4
                          npm install iobroker.js-controller@3.1.4 --unsafe-perm --loglevel error --prefix                                                                                                                                                              "/opt/iobroker" (System call)
                          Package pixman-1 was not found in the pkg-config search path.
                          Perhaps you should add the directory containing `pixman-1.pc'
                          to the PKG_CONFIG_PATH environment variable
                          No package 'pixman-1' found
                          gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in bindin                                                                                                                                                             g.gyp. while trying to load binding.gyp
                          gyp ERR! configure error
                          gyp ERR! stack Error: `gyp` failed with exit code: 1
                          gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modu                                                                                                                                                             les/node-gyp/lib/configure.js:351:16)
                          gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                                                             s.js:275:12)
                          gyp ERR! System Linux 4.17.0-rc6-rk3328
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                                                                                                                                             p/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/nod                                                                                                                                                             e_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_pat                                                                                                                                                             h=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_ab                                                                                                                                                             i_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                          gyp ERR! cwd /opt/iobroker/node_modules/canvas
                          gyp ERR! node -v v12.16.3
                          gyp ERR! node-gyp -v v5.1.0
                          gyp ERR! not ok
                          node-pre-gyp ERR! build error
                          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_mo                                                                                                                                                             dules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --                                                                                                                                                             module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name                                                                                                                                                             =canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_ver                                                                                                                                                             sion=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (                                                                                                                                                             1)
                          node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modu                                                                                                                                                             les/node-pre-gyp/lib/util/compile.js:83:29)
                          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
                          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/chi                                                                                                                                                             ld_process.js:286:5)
                          node-pre-gyp ERR! System Linux 4.17.0-rc6-rk3328
                          node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-                                                                                                                                                             pre-gyp" "install" "--fallback-to-build"
                          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                          node-pre-gyp ERR! node -v v12.16.3
                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                          node-pre-gyp ERR! not ok
                          ERR! sharp Use with glibc 2.24 requires manual installation of libvips >= 8.9.1
                          info sharp Attempting to build from source via node-gyp but this may fail due to                                                                                                                                                              the above error
                          info sharp Please see https://sharp.pixelplumbing.com/install for required depen                                                                                                                                                             dencies
                          ../src/common.cc:23:22: fatal error: vips/vips8: No such file or directory
                           #include <vips/vips8>
                                                ^
                          compilation terminated.
                          make: *** [Release/obj.target/sharp/src/common.o] Error 1
                          gyp ERR! build error
                          gyp ERR! stack Error: `make` failed with exit code: 2
                          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_module                                                                                                                                                             s/node-gyp/lib/build.js:194:23)
                          gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_proces                                                                                                                                                             s.js:275:12)
                          gyp ERR! System Linux 4.17.0-rc6-rk3328
                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy                                                                                                                                                             p/bin/node-gyp.js" "rebuild"
                          gyp ERR! cwd /opt/iobroker/node_modules/sharp
                          gyp ERR! node -v v12.16.3
                          gyp ERR! node-gyp -v v5.1.0
                          gyp ERR! not ok
                          Starting node restart.js
                          root@ioBroker-Rock64:/opt/iobroker#
                          
                          

                          Im log habe ich níchts Aufälliges gefunden ausser (nach "warn" gefiltert):

                          javascript.0	2020-06-01 00:36:16.534	warn	(20487) script.js.common.Statusansagen: clearInterval() => not found
                          iot.0	2020-06-01 00:35:18.824	error	(20741) [ALEXA] Cannot process "hm-rpc.0.KEQ0631374.1.PRESS_SHORT": TypeError: friendlyName.split is not a function
                          iot.0	2020-06-01 00:35:10.782	warn	(20741) Cannot initialize getImage: Error: Cannot find module 'canvas' Require stack: - /opt/iobroker/node_modules/iobroker.iot/lib/getImage.js - /opt/iobroker/node_modules/iobroker.iot/lib/alexaCusto
                          host.ioBroker-Rock64	2020-06-01 00:35:00.046	warn	instance system.adapter.tvspielfilm.0 already running with pid 20628
                          host.ioBroker-Rock64	2020-06-01 00:34:07.569	error	system.adapter.js-controller.0 invalid mode
                          

                          Sonst scheint alles zu laufen. Die Version die der Admin anzeigt ist 4.0.10

                          Gruss Ralf

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @derrapf last edited by Thomas Braun

                            @derrapf sagte in js-controller 3.1 jetzt im STABLE!:

                            pixman-1

                            sudo apt install libpixman-1-dev libpango1.0-dev libjpeg62-turbo-dev
                            cd /opt/iobroker
                            npm rebuild canvas --build-from-source
                            
                            D 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @Mike08 last edited by

                              @Mike08 Jupp, bleibt aus ... darf ich den Grund erfahren das Du es deaktivierst? Nur persönliches Interesse ...

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

                                @Negalein Adapter. ggf mal nach einem Update schauen?

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

                                  @sth_technik Bitte Issue beim Adapter anlegen und schauen ob es ggf eine neue Version gibt.

                                  K B 2 Replies Last reply Reply Quote 1
                                  • Negalein
                                    Negalein Global Moderator @apollon77 last edited by

                                    @apollon77 sagte in js-controller 3.1 jetzt im STABLE!:

                                    Adapter. ggf mal nach einem Update schauen?

                                    Adapter ist aktuell.
                                    Hab dort ein Issue angelegt. Eventuell kann @arteck dazu was sagen.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      MattinK last edited by Negalein

                                      Hallo zusammen.

                                      Irgendwie hat es meine IOBroker nach dem Update zerbröselt. Läuft in einem Docker auf einer QNAP TS-451+.

                                      iobroker start                                                                                                                                                                                                                                                                
                                      module.js:550                                                                                                                                                                                                                                                                   
                                         throw err;                                                                                                                                                                                                                                                                  
                                         ^                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                     
                                      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'                                                                                                                                                                                       
                                         at Function.Module._resolveFilename (module.js:548:15)                                                                                                                                                                                                                      
                                         at Function.Module._load (module.js:475:25)                                                                                                                                                                                                                                 
                                         at Function.Module.runMain (module.js:694:10)                                                                                                                                                                                                                               
                                         at startup (bootstrap_node.js:204:16)                                                                                                                                                                                                                                       
                                         at bootstrap_node.js:625:3
                                      

                                      Fragt mich aber bitte nicht wieso das so ist. 🙂 Kann jemand helfen?
                                      Für eure Hilfe im Voraus vielen Dank.

                                      VG
                                      Martin


                                      Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
                                      Hier gehts zur Hilfe.

                                      Thomas Braun apollon77 tomte-me 3 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @MattinK last edited by

                                        @MattinK

                                        which nodejs && nodejs -v && which node && node -v && which npm && npm -v
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @MattinK last edited by

                                          @MattinK Auch das Log vom Update wäre interessant

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

                                            @apollon77 @sth_technik
                                            Ich habe eine lssue erstellt. Rückantwort war vom stable des fhem Adapters 1.3 auf 1.5.2 updaten. Fehler war da nach nicht mehr da.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            940
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller
                                            38
                                            100
                                            24617
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo