Navigation

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • Meister Mopper
      Meister Mopper @laola last edited by

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

      Gelöscht, reboot -> gleiches Ergebnis - meckert noch immer

      Na dann, geh auf bullseye, die 64 bit Variante.

      Das sollte, je nach Anzahl der Adapter, und Backup nach spätestens 2 - 3 Stunden erledigt sein.
      Und: in dieser Zeit kannst du natürlich andere, wichtige Sachen erledigen. 😏

      1 Reply Last reply Reply Quote 0
      • S
        SpeedyBlade @ronny130286 last edited by

        @ronny130286 stehe aktuell genau gleich weit...wie bist du dann weiter gekommen?

        Meister Mopper 1 Reply Last reply Reply Quote 0
        • Meister Mopper
          Meister Mopper @SpeedyBlade last edited by

          Habe jetzt auch mein Multihost-System auf 5.x gebracht.

          Hatte mal wieder ein Problem, dass die google devices stumm waren.

          Der übliche Workaround:

          chromecast Instanz stoppen
          chromecast Objekte löschen
          chromecast Instanz starten

          hat mal wieder geholfen.

          1 Reply Last reply Reply Quote 0
          • B
            Borio85 last edited by

            Hallo zusammen, ich habe versucht meinen JS-Controller upzugraden, aber seit dem Upgrade bekomme ich kein NPM mehr angezeigt und der INFO-Adapter bleibt rot, aber alles andere ist grün.

            Wenn ich nach Anleitung vorgehe bekomme ich folgendes

            @ioBroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
            /usr/lib/node_modules/npm/lib/cli.js:35
                throw err
                ^
            
            TypeError: Class extends value undefined is not a constructor or null
                at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/fs-minipass/lib/index.js:136:4)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                at Module.load (node:internal/modules/cjs/loader:1119:32)
                at Module._load (node:internal/modules/cjs/loader:960:12)
                at Module.require (node:internal/modules/cjs/loader:1143:19)
                at require (node:internal/modules/cjs/helpers:121:18)
                at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/content/read.js:4:13)
                at Module._compile (node:internal/modules/cjs/loader:1256:14)
                at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            
            Node.js v18.17.1
            
            

            Im LOG steht folgendes

            2023-10-05 23:33:55.060 - info: host.ioBroker instance system.adapter.info.0 started with pid 150658
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: /usr/lib/node_modules/npm/lib/cli.js:35
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: throw err
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: ^
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: TypeError: Class extends value undefined is not a constructor or null
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: at Object. (/usr/lib/node_modules/npm/node_modules/fs-minipass/lib/index.js:136:4)
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32)
            2023-10-05 23:33:55.694 - error: host.ioBroker Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[0]: at Object. (/usr/lib/node_modules/npm/node_modules/cacache/lib/content/read.js:4:13)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[0]: Node.js v18.17.1
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: /opt/iobroker/node_modules/iobroker.info/main.js:89
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: adapter.log.error("Could not check npm version: " + e);
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: ^
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: TypeError: Cannot read properties of undefined (reading 'log')
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: at getSystemVersions (/opt/iobroker/node_modules/iobroker.info/main.js:89:11)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: at Object. (/opt/iobroker/node_modules/iobroker.info/main.js:58:18)
            2023-10-05 23:33:55.695 - error: host.ioBroker Caught by controller[1]: at Module._compile (node:internal/modules/cjs/loader:1256:14)
            2023-10-05 23:33:55.696 - error: host.ioBroker Caught by controller[1]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
            2023-10-05 23:33:55.696 - error: host.ioBroker Caught by controller[1]: at Module.load (node:internal/modules/cjs/loader:1119:32)
            2023-10-05 23:33:55.696 - error: host.ioBroker Caught by controller[1]: at Module._load (node:internal/modules/cjs/loader:960:12)
            2023-10-05 23:33:55.696 - error: host.ioBroker Caught by controller[1]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
            2023-10-05 23:33:55.696 - error: host.ioBroker Caught by controller[1]: at node:internal/main/run_main_module:23:47
            2023-10-05 23:33:55.696 - error: host.ioBroker Caught by controller[1]: Node.js v18.17.1
            2023-10-05 23:33:55.696 - error: host.ioBroker instance system.adapter.info.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            2023-10-05 23:33:55.696 - info: host.ioBroker Restart adapter system.adapter.info.0 because enabled
            

            Kann mir jemand sagen, wie ich dass wieder in den Griff bekomme?

            Besten Dank im Voraus

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

              @borio85

              iob diag
              

              sagt dazu?

              B 1 Reply Last reply Reply Quote 0
              • B
                Borio85 @Thomas Braun last edited by

                @thomas-braun

                Ich hoffe die summary reicht

                ======================= SUMMARY =======================
                                     v.2023-06-20
                
                
                   Static hostname: ioBroker
                         Icon name: computer-vm
                           Chassis: vm
                        Machine ID: 9bc0d88846bd437dbec4dd93845c120d
                           Boot ID: db0b2180df1e46f3a39f9fc5c13f0a15
                    Virtualization: kvm
                  Operating System: Debian GNU/Linux 11 (bullseye)
                            Kernel: Linux 5.10.0-20-amd64
                      Architecture: x86-64
                
                Installation:           kvm
                Kernel:                 x86_64
                Userland:               amd64
                Timezone:               Europe/Berlin (CEST, +0200)
                User-ID:                1000
                X-Server:               false
                Boot Target:            graphical.target
                
                Pending OS-Updates:     62
                Pending iob updates:    0
                
                Nodejs-Installation:    /usr/bin/nodejs         v18.17.1
                                        /usr/bin/node           v18.17.1
                /usr/lib/node_modules/npm/lib/cli.js:35
                    throw err
                    ^
                
                TypeError: Class extends value undefined is not a constructor or null
                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/fs-minipass/lib/index.js:136:4)
                    at Module._compile (node:internal/modules/cjs/loader:1256:14)
                    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                    at Module.load (node:internal/modules/cjs/loader:1119:32)
                    at Module._load (node:internal/modules/cjs/loader:960:12)
                    at Module.require (node:internal/modules/cjs/loader:1143:19)
                    at require (node:internal/modules/cjs/helpers:121:18)
                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/content/read.js:4:13)
                    at Module._compile (node:internal/modules/cjs/loader:1256:14)
                    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                
                Node.js v18.17.1
                                        /usr/bin/npm
                /usr/lib/node_modules/npm/lib/cli.js:35
                    throw err
                    ^
                
                TypeError: Class extends value undefined is not a constructor or null
                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/fs-minipass/lib/index.js:136:4)
                    at Module._compile (node:internal/modules/cjs/loader:1256:14)
                    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                    at Module.load (node:internal/modules/cjs/loader:1119:32)
                    at Module._load (node:internal/modules/cjs/loader:960:12)
                    at Module.require (node:internal/modules/cjs/loader:1143:19)
                    at require (node:internal/modules/cjs/helpers:121:18)
                    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/content/read.js:4:13)
                    at Module._compile (node:internal/modules/cjs/loader:1256:14)
                    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
                
                Node.js v18.17.1
                                        /usr/bin/npx
                
                Recommended versions are nodejs 18.x.y and npm 9.x.y
                Your nodejs installation is correct
                
                MEMORY:
                               total        used        free      shared  buff/cache   available
                Mem:            8.0G        1.6G        4.5G        0.0K        1.9G        6.1G
                Swap:           974M          0B        974M
                Total:          8.9G        1.6G        5.5G
                
                Active iob-Instances:   18
                Active repo(s): stable
                
                ioBroker Core:          js-controller           5.0.12
                                        admin                   6.10.1
                
                ioBroker Status:        iobroker is running on this host.
                
                
                Objects type: jsonl
                States  type: jsonl
                
                Status admin and web instance:
                + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 7575, bind: 0.0.0.0, run as: admin
                + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                
                Objects:                4956
                States:                 3745
                
                Size of iob-Database:
                
                12M     /opt/iobroker/iobroker-data/objects.jsonl
                4.9M    /opt/iobroker/iobroker-data/states.jsonl
                
                
                
                =================== END OF SUMMARY ====================
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Borio85 last edited by

                  @borio85

                  Jag das node-fix-Skript aus meiner Signatur drüber.
                  Und das System auf Stand halten!

                  B 1 Reply Last reply Reply Quote 1
                  • B
                    Borio85 @Thomas Braun last edited by

                    @thomas-braun
                    vielen Dank, dein Script hat geholfen iob diag sagt das es keine Probleme gibt und die Summary sieht so aus

                    ======================= SUMMARY =======================
                                         v.2023-06-20
                    
                    
                       Static hostname: ioBroker
                             Icon name: computer-vm
                               Chassis: vm
                            Machine ID: 9bc0d88846bd437dbec4dd93845c120d
                               Boot ID: 1b67447b9d654caf803a3abd83c5bada
                        Virtualization: kvm
                      Operating System: Debian GNU/Linux 11 (bullseye)
                                Kernel: Linux 5.10.0-25-amd64
                          Architecture: x86-64
                    
                    Installation:           kvm
                    Kernel:                 x86_64
                    Userland:               amd64
                    Timezone:               Europe/Berlin (CEST, +0200)
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            graphical.target
                    
                    Pending OS-Updates:     0
                    Pending iob updates:    0
                    
                    Nodejs-Installation:    /usr/bin/nodejs         v18.18.0
                                            /usr/bin/node           v18.18.0
                                            /usr/bin/npm            9.8.1
                                            /usr/bin/npx            9.8.1
                    
                    Recommended versions are nodejs 18.x.y and npm 9.x.y
                    Your nodejs installation is correct
                    
                    MEMORY:
                                   total        used        free      shared  buff/cache   available
                    Mem:            7.9G        1.2G        6.2G        0.0K        492M        6.5G
                    Swap:           974M          0B        974M
                    Total:          8.9G        1.2G        7.2G
                    
                    Active iob-Instances:   19
                    Active repo(s): stable
                    
                    ioBroker Core:          js-controller           5.0.12
                                            admin                   6.10.1
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin and web instance:
                    + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 7575, bind: 0.0.0.0, run as: admin
                    + system.adapter.web.0                    : web                   : ioBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                    
                    Objects:                4956
                    States:                 3761
                    
                    Size of iob-Database:
                    
                    13M     /opt/iobroker/iobroker-data/objects.jsonl
                    6.7M    /opt/iobroker/iobroker-data/states.jsonl
                    
                    
                    
                    =================== END OF SUMMARY ====================
                    

                    Werde mich jetzt um mein System kümmern, vielen Dank für deine Unterstützung!

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

                      Es kommt zeitnah erst mal ins Latest ein Controller 5.0.13

                      Grob folgende Änderungen:

                      • Diverse Type Improvements (nur für Entwickler itneressant)
                      • Besserer vis-2 Support (zB in Backups)
                      • Edge Case Fehler im Backup Prozess behoben
                      • getForeignObjects liefert nun wieder alle enums wenn nicht näher spezifiziert
                      • Binary State Depreaction Log, loggt nun die ID des betroffenen DPs
                      • Verbesserter Prozess für das finden des Config Folders (Edge Case)
                      • setObjectNotExists ersetzt nun nicht erlaubte Zeichen, wie die Alternativmethoden dies bereits seit langem tun
                      • Frontend Push Funktionalität nach ersten Tests weiter optimiert
                      • Fehler bei multihost browse Kommando behoben
                      • Es werden nicht länger alle States die auf .logging enden fehlerhaft als Log Subscriber betrachtet sondern nun noch diese in system.adapter.*.logging
                      • deleteState erlaubt nun wieder die Übergabe von null für parentDevice und parentChannel
                      Feuersturm O 2 Replies Last reply Reply Quote 5
                      • Feuersturm
                        Feuersturm @foxriver76 last edited by

                        @foxriver76 Master + Slave erfolgreich auf 5.0.13 aktualisiert und System ist ohne Probleme gestartet. Dankeschön 🙂

                        1 Reply Last reply Reply Quote 0
                        • O
                          oFbEQnpoLKKl6mbY5e13 @foxriver76 last edited by oFbEQnpoLKKl6mbY5e13

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

                          Es kommt zeitnah erst mal ins Latest ein Controller 5.0.13

                          Grob folgende Änderungen:

                          • setObjectNotExists ersetzt nun nicht erlaubte Zeichen, wie die Alternativmethoden dies bereits seit langem tun

                          mqttc.PNG

                          2023-10-08 21:15:40.356  - warn: mqtt-client.0 (9112) Used invalid characters: mqtt-client.0.stat.� 0� stat.tasmota_95F changed to mqtt-client.0.stat._0_stat.tasmota_95F
                          

                          Vielen Dank!

                          1 Reply Last reply Reply Quote 0
                          • S
                            SaschaL last edited by

                            Hallo zusammen,
                            ich habe versucht das Upgrade von js-controller 4.0.24 auf 5.0.12 durchzuführen:

                            iobroker stop
                            iobroker update
                            iobroker fix
                            iobroker upgrade self
                            iobroker start

                            Es kommt keine Fehlermeldung und läuft auch problemlos durch, aber am Ende ist immer noch die 4.0.24 installiert. Alle Adapter sind (soweit aufgrund der js-controller version möglich) auf Stand.

                            Hier das Summary der Diagnose:

                            ======================= SUMMARY =======================
                                                    v.2023-10-10
                            
                            
                               Static hostname: raspberrypi
                                     Icon name: computer
                              Operating System: Raspbian GNU/Linux 10 (buster)
                                        Kernel: Linux 5.10.103-v7l+
                                  Architecture: arm
                            
                            Installation:           native
                            Kernel:                 armv7l
                            Userland:               armhf
                            Timezone:               Europe/Berlin (CEST, +0200)
                            User-ID:                1000
                            X-Server:               false
                            Boot Target:            graphical.target
                            
                            Pending OS-Updates:     0
                            Pending iob updates:    11
                            
                            Nodejs-Installation:    /usr/bin/nodejs         v14.21.3
                                                    /usr/bin/node           v14.21.3
                                                    /usr/bin/npm            6.14.18
                                                    /usr/bin/npx            6.14.18
                                                    /usr/bin/corepack       0.15.1
                            
                            Recommended versions are nodejs 16.20.2 and npm 8.19.4
                            Your nodejs installation is correct
                            
                            MEMORY:
                                          total        used        free      shared  buff/cache   available
                            Mem:           3.8G        1.4G        1.5G        8.0M        935M        2.8G
                            Swap:           99M          0B         99M
                            Total:         3.9G        1.4G        1.6G
                            
                            Active iob-Instances:   24
                            Active repo(s): stable
                            
                            ioBroker Core:          js-controller           4.0.24
                                                    admin                   6.3.5
                            
                            ioBroker Status:        iobroker is running on this host.
                            
                            
                            Objects type: jsonl
                            States  type: jsonl
                            
                            Status admin and web instance:
                            + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                            + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 192.168.178.68, run as: admin
                            
                            Objects:                5374
                            States:                 4564
                            
                            Size of iob-Database:
                            
                            20M     /opt/iobroker/iobroker-data/objects.jsonl
                            8.3M    /opt/iobroker/iobroker-data/objects.json.migrated
                            8.3M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                            3.7M    /opt/iobroker/iobroker-data/states.jsonl
                            1.1M    /opt/iobroker/iobroker-data/states.json.migrated
                            1.1M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                            
                            
                            
                            =================== END OF SUMMARY ====================
                            

                            Was kann ich noch tun?
                            Vorab vielen Dank für die Hilfe

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

                              @saschal
                              Node 14 ist zu alt. Siehe Eröffnungsposting

                              Aktualisiere auf node 18.

                              S 1 Reply Last reply Reply Quote 0
                              • mcm1957
                                mcm1957 @SaschaL last edited by

                                @saschal
                                Schau in signatu v thomas brakn bezügluch node fix acript. Könnte ev helfen.
                                @thomas-braun

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

                                  @mcm57 Super! Vielen Dank. Genau das hat geholfen und jetzt ist wieder alles auf Stand.

                                  Danke und Gruß,
                                  Sascha

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SaschaL @mcm1957 last edited by

                                    @mcm57 Ja, genau das war das Problem

                                    Vielen Dank!

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

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

                                      @saschal
                                      Schau in signatu v thomas brakn bezügluch node fix acript. Könnte ev helfen.
                                      @thomas-braun

                                      Und seit heute auch offiziell Familienmitglied:

                                      https://forum.iobroker.net/topic/69068/neuer-befehl-iob-nodejs-update

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

                                        @saschal

                                        Dein Betriebssystem Debian 10 'Buster' ist auch veraltet und muss aktualisiert werden.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          SaschaL @Thomas Braun last edited by

                                          @thomas-braun ...ich hatte befürchtet das da noch was kommt 😨 Da muss ich mich erstmal schlau machen wie das ohne Probleme und Datenverlust funktioniert.

                                          Danke für den Tip

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

                                            @saschal

                                            https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                                            S 2 Replies 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

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller stable upgrade
                                            82
                                            509
                                            100954
                                            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