Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 6.0.x jetzt für alle User im STABLE!

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oFbEQnpoLKKl6mbY5e13 @isi07 last edited by

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

      @foxriver76
      kurze Rückmeldung: bei mir ist das Problem mit den alias Meldungen mit dem Update des js-controller heute verschwunden.
      Vielen Dank für die schnelle Lösung.

      Me too!

      1 Reply Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @foxriver76 last edited by sigi234

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

        @crunchip hm ich muss mir den adapter auch mal installieren und schauen ob sich das auch so verhält mit stopped meinte ich allerdings iob stop

        Bei mir alle Updates erfolgreich und keine Fehler, auch bei Inwentwo Adapter.

        Plattform: Windows
        RAM: 15.9 GB
        Admin: 7.0.23
        JS-Controller: 6.0.10
        Node.js: v20.16.0
        NPM: 10.8.1
        Vis 2 Inventwo Widgets: 0.1.11
        Inventwo Design Widgets: 3.3.4
        
        
        crunchip 1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @sigi234 last edited by

          @sigi234 Unterschied bei uns beiden
          docker vs windows
          nodejs18 vs 20
          5ced971b-4a7d-445f-9c51-a576e5e9a737-image.png

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @crunchip last edited by

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

            @sigi234 Unterschied bei uns beiden

            Und ev. auch das?

            Screenshot (902).png

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @sigi234 last edited by

              @sigi234 6ef90750-8184-4eeb-b794-c4ea5d035279-image.png

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

                @crunchip Hm der Controller stoppt auf Docker auch mit dem maintenance Skript, wartet 3 Sekunden und macht dann weiter. Evtl brauchen wir da 2 Sekunden mehr Timeout für manche Fälle.. oder müssen checken dass alle Prozesse weg sind. Ansonsten weiß ich nicht ob das maintenance Skript bei Aktivierung sich um das killen der Prozesse kümmert..

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @foxriver76 last edited by crunchip

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

                  Evtl brauchen wir da 2 Sekunden mehr Timeout für manche Fälle

                  Kann ich das auf die schnelle manuell ändern und testen?
                  Noch läuft 6.0.9

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

                  oder müssen checken dass alle Prozesse weg sind

                  Ich dachte das ist mit v6 so optimiert

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

                    @crunchip es ist optimiert, dass der Prozess ein sigkill am beim timeout bekommt wenn er sich nicht in time beendet. Aber das Timing beim Update mit Webserver ist ne andere Sache. Und ja Docker weiß ich nicht wie er den Controller beendet und ob da alles etwas länger dauert. Da das maintenencae Skript villt davor noch anderes tut, müsste André was zu sagen.

                    1 Reply Last reply Reply Quote 1
                    • D
                      dipsy @Thomas Braun last edited by

                      @thomas-braun sagte in js-controller 6.0.x jetzt für alle User im STABLE!:

                      cd /opt/iobroker
                      npm install iobroker.js-controller@6.0.9

                      Hallo @Thomas-Braun ,

                      viel Dank, es hat keine 2 Minuten gedauert und der pi hat sich am Master erfolgreich angmeldet und die Instanz gestartet.

                      greetz dipsy

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • D
                        DPO99 last edited by

                        Update ist augenscheinlich gut durchgelaufen. Folgende Fehler gab es im Log, falls es hilft:

                        2024-08-06 20:46:04.538 - error: host.iobroker Caught by controller[0]: 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(). The promise rejected with the reason:
                        2024-08-06 20:46:04.538 - error: host.iobroker Caught by controller[0]: Error: DB closed
                        2024-08-06 20:46:04.539 - error: host.iobroker Caught by controller[0]: at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                        2024-08-06 20:46:04.539 - error: host.iobroker Caught by controller[0]: at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                        2024-08-06 20:46:04.539 - error: host.iobroker Caught by controller[0]: at Object.onceWrapper (node:events:634:26)
                        2024-08-06 20:46:04.539 - error: host.iobroker Caught by controller[0]: at Socket.emit (node:events:519:28)
                        2024-08-06 20:46:04.539 - error: host.iobroker Caught by controller[0]: at Socket.emit (node:domain:488:12)
                        2024-08-06 20:46:04.539 - error: host.iobroker Caught by controller[0]: at TCP. (node:net:339:12)
                        
                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @dipsy last edited by

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

                          @thomas-braun sagte in js-controller 6.0.x jetzt für alle User im STABLE!:

                          cd /opt/iobroker
                          npm install iobroker.js-controller@6.0.9

                          Hallo @Thomas-Braun ,

                          viel Dank, es hat keine 2 Minuten gedauert und der pi hat sich am Master erfolgreich angmeldet und die Instanz gestartet.

                          greetz dipsy

                          Manchmal weiß ich halt auch was... 😉

                          D 1 Reply Last reply Reply Quote 1
                          • D
                            dipsy @Thomas Braun last edited by

                            @thomas-braun,
                            manchmal ist gut, ich glaube das war gefühlt das 10. mal, das du mir aktiv aus der Patsche geholfen hast. Ungezählt die von mir genutzten Anleitungen.

                            greetz dipsy

                            lemonbiter 1 Reply Last reply Reply Quote 0
                            • lemonbiter
                              lemonbiter @dipsy last edited by lemonbiter

                              Hallo zusammen
                              habe alles mal upgedated: ALLES super gelaufen! Herzlichen Dank... Bekomme trotzdem noch als "Empfohene Version 18.x" angezeit?
                              Übersehe ich was?
                              Admin ist 7.0.22

                              60e53021-2a62-48ed-858f-39b41e1e08cb-image.png

                              f8daf675-5e75-49d2-a20a-86c2791aa039-image.png

                              UweRLP mcm1957 2 Replies Last reply Reply Quote 0
                              • UweRLP
                                UweRLP @lemonbiter last edited by

                                @lemonbiter Möglicherweise das hier?
                                https://forum.iobroker.net/post/1121560

                                1 Reply Last reply Reply Quote 1
                                • mcm1957
                                  mcm1957 @lemonbiter last edited by

                                  @lemonbiter
                                  DervInfo Adapter IST DEPRECATED u zeigt tw falsche Infos an. Einfach deinstallieren ...

                                  1 Reply Last reply Reply Quote 2
                                  • J
                                    Joe550 last edited by

                                    Hallo zusammen,

                                    ich habe die Tage den Iobroker aktualisiert.
                                    Admin auf die Version 7 und nach Anlaufschwierigkeiten Nodejs von Version 18 auf 20.
                                    Damit lief es einige Tage.
                                    Heute nach einem Systemupdate und einem Restart geht nichts mehr.
                                    Eine Neuinstallation des Iobrokers brachte nichts.

                                    Immer wieder wird der js-controller nicht erkannt.
                                    Ich habe die Version 6.0.9 des js-contollers installiert
                                    ein iob fix brachte nichts

                                    Ich habe hier die iob diag Ausgabe:

                                    ======================= SUMMARY =======================
                                    			v.2024-05-22
                                    
                                    
                                     Static hostname: smarthome
                                           Icon name: computer-desktop
                                             Chassis: desktop
                                    Operating System: Ubuntu 22.04.4 LTS
                                              Kernel: Linux 5.15.0-118-generic
                                        Architecture: x86-64
                                     Hardware Vendor: Intel Corporation
                                      Hardware Model: NUC6CAYH
                                    
                                    Installation: 		native
                                    Kernel: 		x86_64
                                    Userland: 		64 bit
                                    Timezone: 		Europe/Berlin (CEST, +0200)
                                    User-ID: 		1000
                                    Display-Server: 	false
                                    Boot Target: 		graphical.target
                                    
                                    Pending OS-Updates: 	0
                                    Pending iob updates: 	0
                                    
                                    Nodejs-Installation:
                                    /usr/bin/nodejs 	v20.16.0
                                    /usr/bin/node 		v20.16.0
                                    /usr/bin/npm 		10.8.2
                                    /usr/bin/npx 		10.8.2
                                    /usr/bin/corepack 	0.28.2
                                    
                                    Recommended versions are nodejs 20.16.0 and npm 
                                    Your nodejs installation is correct
                                    
                                    MEMORY: 
                                                   total        used        free      shared  buff/cache   available
                                    Mem:            7.8G        2.9G        1.1G         49M        3.8G        4.6G
                                    Swap:           2.0G          0B        2.0G
                                    Total:          9.8G        2.9G        3.1G
                                    
                                    Active iob-Instances: 	2
                                    Upgrade policy: none
                                    
                                    node:internal/modules/cjs/loader:1148
                                      throw err;
                                      ^
                                    
                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                        at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
                                        at Module._load (node:internal/modules/cjs/loader:986:27)
                                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
                                        at node:internal/main/run_main_module:28:49 {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: []
                                    }
                                    
                                    Node.js v20.16.0
                                    ioBroker Core: 		js-controller 		
                                    node:internal/modules/cjs/loader:1148
                                      throw err;
                                      ^
                                    
                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                        at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
                                        at Module._load (node:internal/modules/cjs/loader:986:27)
                                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
                                        at node:internal/main/run_main_module:28:49 {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: []
                                    }
                                    
                                    Node.js v20.16.0
                                    			admin 			
                                    
                                    node:internal/modules/cjs/loader:1148
                                      throw err;
                                      ^
                                    
                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                        at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
                                        at Module._load (node:internal/modules/cjs/loader:986:27)
                                        at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
                                        at node:internal/main/run_main_module:28:49 {
                                      code: 'MODULE_NOT_FOUND',
                                      requireStack: []
                                    }
                                    
                                    Node.js v20.16.0
                                    ioBroker Status: 	
                                    
                                    Status admin and web instance:
                                    + system.adapter.admin.0                  : admin                 : smarthome                                -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
                                      system.adapter.web.0                    : web                   : smarthome                                -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                                    
                                    Objects: 		0
                                    States: 		0
                                    
                                    Size of iob-Database:
                                    
                                    39M	/opt/iobroker/iobroker-data/objects.jsonl
                                    12M	/opt/iobroker/iobroker-data/objects.json.migrated
                                    12M	/opt/iobroker/iobroker-data/objects.json.bak.migrated
                                    0	/opt/iobroker/iobroker-data/objects.json.broken
                                    3.4M	/opt/iobroker/iobroker-data/states.jsonl
                                    2.2M	/opt/iobroker/iobroker-data/states.json.migrated
                                    2.2M	/opt/iobroker/iobroker-data/states.json.bak.migrated
                                    0	/opt/iobroker/iobroker-data/states.json.broken
                                    
                                    
                                    
                                    =================== END OF SUMMARY ====================
                                    
                                    

                                    Vielleicht hat jemand noch eine Idee was ich machen könnte, damit der iobroker wieder läuft

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

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

                                      Eine Neuinstallation des Iobrokers brachte nichts.

                                      Wie unternommen?

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Joe550 @Thomas Braun last edited by

                                        @thomas-braun

                                        So habe ich das System schon 2x wieder zum Laufen bekommen

                                        cd /opt/iobroker
                                        sudo iobroker stop
                                        mv node_modules node_modules_
                                        sudo npm cache clean
                                        sudo npm i npm@latest -g
                                        curl -sLf https://iobroker.net/install.sh | bash -

                                        -> alles wird neu installiert und dauert eine ganze Weile

                                        mcm1957 Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • mcm1957
                                          mcm1957 @Joe550 last edited by

                                          @joe550
                                          Thomas Braun wirds noch detaillierter sagen, aber

                                          Iobroker Commands NIE mit sudo ausführen

                                          npm NIE extra installieren. Die zur node version passende npm Version wird mit node installiert u aktualisiert.

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

                                            @joe550

                                            Und mit sudo iobroker machst du es wieder kaputt.
                                            Lasst den root und sudo in Ruh!
                                            Und von npm lässt du auch die Finger!

                                            Da muss man sich halt auch nicht weiter wundern, wenn das alles nicht funktioniert...

                                            Gib mal die Langfassung von

                                            iob diag
                                            

                                            zum Besten.

                                            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

                                            953
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            controller js-controller kiera stable
                                            47
                                            257
                                            32712
                                            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