Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Alpha Test js-controller 5.0

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Alpha Test js-controller 5.0

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

      Alpha Changelog

      5.0.1-alpha.0-20230330-e0b409fe

      • Initial version

      5.0.1-alpha.0-20230403-fd495c2e

      • Fixes missing logging object when logTransporter is used (e.g. Admin)
      • Fixes other issue with logTransporter (e.g. Admin) - events should now stream again in Admin
      • Fixed Compact group initialization
      • Fixes Binary/Text detection in writeFile
      • Fixes sendToHost (all) command

      5.0.1-alpha.0-20230406-4552d569

      • Fixes compact mode
      • Hide warning about "www folder not found" for widgets adapters

      5.0.1-alpha.0-20230418-efa3e809

      • Fixed issue with certificate validity on leap years
      • Backup fixed (Fixed wrong return type on db level for readFile promisified)
      • Remove windows bat files completely, installer will create them when needed
      • Respect dns resolution (ipv4/ipv6 first) from config internally and provide relevant methods via adapter-core - I theory a ipv6 only iobroker in a ipv6 only network is possible with this!

      Changelog 5.0.1-alpha.0-20230525-c580eb7e

      • drop support for nodejs 14 with controller 5 as it is EOL
      • Enable upgrade of js-controller via Admin UI (Linux only) - will be testable when we start with Beta
      • fix wrong hostname after backup restore
      • new io-package flag common.supportedMessages to replace messagebox and other messagebox-related properties
      • adapter.sendTo now accepts an optional timeout argument

      Known issues

      • Doorbord Adapter broken: GitHub versionn tut
      Thomas Braun 1 Reply Last reply Reply Quote 2
      • sigi234
        sigi234 Forum Testing Most Active @apollon77 last edited by sigi234

        @apollon77

        Läuft:

        Screenshot (45).png

        Plattform: Windows
        ADMIN: 6.4.2
        RAM: 15.9 GB
        Node.js: v18.15.0
        NPM: v9.5.0
        
        1 Reply Last reply Reply Quote 1
        • arteck
          arteck Developer Most Active last edited by arteck

          vergiss es... läuft.. der Fehler ist aus meiner DEV Umgebeung

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

            @apollon77

            Läuft hier auch ohne großen Schluckauf.

            1 Reply Last reply Reply Quote 1
            • arteck
              arteck Developer Most Active last edited by arteck

              @apollon77

              f7304d3e-39ad-4ecf-b0f5-47f7fafda0a9-grafik.png

              hier passt was nicht..was ist Familiennummer 🙂

              d727f29a-0625-48ab-a970-0c36256d521c-grafik.png

              und hier auch nicht ist ein redis/redis

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

                @apollon77

                Wollte Kodi installieren:

                2023-03-30 19:55:00.820 - error: host.SmartHome iobroker npm ERR! code ENOENTnpm ERR! syscall spawn gitnpm ERR! path gitnpm ERR! errno -4058npm ERR! enoent An unknown git error occurrednpm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoent npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T17_54_54_879Z-debug-0.log
                2023-03-30 19:55:00.821 - error: host.SmartHome iobroker host.SmartHome Cannot install iobroker-community-adapters/ioBroker.kodi#1ca9561e416237455374853f0415f1b95753cf50: 4294963238
                2023-03-30 19:55:01.847 - info: host.SmartHome iobroker exit 25
                
                Thomas Braun apollon77 2 Replies Last reply Reply Quote 1
                • Thomas Braun
                  Thomas Braun Most Active @sigi234 last edited by Thomas Braun

                  @sigi234

                  Ich meine mich erinnern zu können das kodi auch ohne js-controller5 problematisch zu installieren sein kann.

                  Hier funktioniert es allerdings:

                  echad@chet:~ $ iob add kodi
                  NPM version: 9.5.1
                   Installing iobroker.kodi@2.0.9... (System call)
                  
                  added 13 packages in 13s
                  
                  101 packages are looking for funding
                    run `npm fund` for details
                  host.chet install adapter kodi
                  upload [18] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/_data.json _data.json application/json
                  upload [17] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/admin.d.ts admin.d.ts video/mp2t
                  upload [16] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/background.jpg background.jpg image/jpeg
                  upload [15] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/de/translations.json i18n/de/translations.json application/json
                  upload [14] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/en/translations.json i18n/en/translations.json application/json
                  upload [13] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/es/translations.json i18n/es/translations.json application/json
                  upload [12] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                  upload [11] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/it/translations.json i18n/it/translations.json application/json
                  upload [10] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                  upload [9] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                  upload [8] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                  upload [7] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                  upload [6] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/uk/translations.json i18n/uk/translations.json application/json
                  upload [5] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                  upload [4] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/index_m.html index_m.html text/html
                  upload [3] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/kodi.png kodi.png image/png
                  upload [2] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/remote.png remote.png image/png
                  upload [1] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/tsconfig.json tsconfig.json application/json
                  upload [0] kodi.admin /opt/iobroker/node_modules/iobroker.kodi/admin/words.js words.js application/javascript
                  host.chet object system.adapter.kodi created/updated
                  host.chet create instance kodi
                  host.chet object system.adapter.kodi.0.alive created
                  host.chet object system.adapter.kodi.0.connected created
                  host.chet object system.adapter.kodi.0.compactMode created
                  host.chet object system.adapter.kodi.0.cpu created
                  host.chet object system.adapter.kodi.0.cputime created
                  host.chet object system.adapter.kodi.0.memHeapUsed created
                  host.chet object system.adapter.kodi.0.memHeapTotal created
                  host.chet object system.adapter.kodi.0.memRss created
                  host.chet object system.adapter.kodi.0.uptime created
                  host.chet object system.adapter.kodi.0.inputCount created
                  host.chet object system.adapter.kodi.0.outputCount created
                  host.chet object system.adapter.kodi.0.eventLoopLag created
                  host.chet object system.adapter.kodi.0.sigKill created
                  host.chet object system.adapter.kodi.0.logLevel created
                  host.chet object kodi.0.info.connection created
                  host.chet Set default value of kodi.0.info.connection: false
                  host.chet object system.adapter.kodi.0 created
                  

                  Wohl eher kein js-controller5-Thema.

                  1 Reply Last reply Reply Quote 1
                  • apollon77
                    apollon77 @arteck last edited by

                    @arteck admin issues bitte anlegen. Nix controller Thema.

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

                      @sigi234 Kodi braucht ein installiertes git weil es eine git dependency hat. Hast du das? Bei Windows bestimmt im Pfad wo es sein muss. Ist im Standard nicht installiert.

                      sigi234 1 Reply Last reply Reply Quote 0
                      • Feuersturm
                        Feuersturm last edited by Feuersturm

                        Master Slave System wurde erfolgreich auf die neue js-controller Version aktualisiert. Bisher erstmal keine wirklichen Probleme.

                        Wenn ich im Admin das log Fenster offen habe, dann aktualisieren sich die Log Einträge nicht automatisch, sondern ich muss per Reload Button die Aktualisierung vom Log triggern. Ist das bei euch auch so?

                        Edit: https://github.com/ioBroker/ioBroker.js-controller/issues/2191

                        Feuer-sturm created this issue in ioBroker/ioBroker.js-controller

                        closed No auto update of admin log after updating to js-controller 5.0.1 #2191

                        Thomas Braun Gaspode 2 Replies Last reply Reply Quote 1
                        • Thomas Braun
                          Thomas Braun Most Active @Feuersturm last edited by

                          @feuersturm sagte in Alpha Test js-controller 5.0:

                          dann aktualisieren sich die Log Einträge nicht automatisch,

                          Stimmt, ist bei mir auch. Ist mir nicht aufgefallen, weil ich immer ein Terminal damit beschäftigt habe, lese nämlich gerne von oben nach unten und nicht falsch herum. 😉

                          1 Reply Last reply Reply Quote 0
                          • Feuersturm
                            Feuersturm last edited by Feuersturm

                            @apollon77 Ist das Log update Problem ein js-controller oder admin issue?
                            Das Problem tritt erst mit der Kombination Admin 6.4.2 und js-controller 5 auf. Admin 6.4.2 und js-controller 4 ist i.O.

                            apollon77 2 Replies Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @apollon77 last edited by

                              @apollon77 sagte in Alpha Test js-controller 5.0:

                              @sigi234 Kofi braucht ein installiertes git weil es eine git dependency hat. Hast du das? Bei Windows bestimmt im Pfad wo es sein muss. Ist im Standard nicht installiert.

                              Wie installiere ich das unter Windows?

                              apollon77 1 Reply Last reply Reply Quote 0
                              • Feuersturm
                                Feuersturm last edited by

                                Der hm-rega Adpater wirft nach dem js-controller Update Fehler vom Typ
                                "runScriptFile Error: Parameter "options" needs to be a real object but type "string" has been passed". Hab dazu mal ein issue angelegt: https://github.com/ioBroker/ioBroker.hm-rega/issues/368

                                Feuer-sturm created this issue in ioBroker/ioBroker.hm-rega

                                closed runScriptFile Error: Parameter "options" needs to be a real object but type "string" has been passed #368

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

                                  @feuersturm

                                  Da scheinen ein paar Adapter drunter zu fallen:

                                  https://github.com/simatec/ioBroker.backitup/issues/915
                                  https://github.com/DrozmotiX/ioBroker.tado/issues/618

                                  Grothesk242 created this issue in simatec/ioBroker.backitup

                                  closed Manual backup is not starting - Alpha/Beta-Software ahead! #915

                                  Grothesk242 created this issue in DrozmotiX/ioBroker.tado

                                  closed Parameter "callback" needs to be of type "function" but type "undefined" has been passed #618

                                  1 Reply Last reply Reply Quote 1
                                  • apollon77
                                    apollon77 @Feuersturm last edited by

                                    @feuersturm Bitte controller issue auf machen

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

                                      @sigi234 Vllt https://git-scm.com/download/win ?

                                      1 Reply Last reply Reply Quote 1
                                      • apollon77
                                        apollon77 @Feuersturm last edited by

                                        @feuersturm is: admin and admin user oder limitierter User? Bitte mit ins issue?

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

                                          @apollon77
                                          Ich hab jetzt auf 3 Systemen testweise den Controller 5 installiert (Windows). Alle drei liefen vorher mit dem aktuellen Controller stabil.

                                          Ein System läuft bisher stabil, auf den beiden anderen habe ich Probleme mit dem Web Adapter:

                                          2023-03-31 09:45:05.687 - info: host.SmartHome2 iobroker npm-rebuild: exit 2147483651
                                          2023-03-31 09:45:05.713 - info: host.SmartHome2 instance system.adapter.web.0 started with pid 24788
                                          2023-03-31 09:45:07.047 - error: host.SmartHome2 Caught by controller[0]: node:internal/modules/cjs/loader:1078
                                          2023-03-31 09:45:07.047 - error: host.SmartHome2 Caught by controller[0]: throw err;
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: ^
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]:
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: Error: Cannot find module 'C:\ioBroker\_iob_SmartHome2\node_modules\iobroker.js-controller/lib/letsencrypt.js'
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: Require stack:
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: - C:\ioBroker\_iob_SmartHome2\node_modules\iobroker.web\main.js
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:920:27)
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1141:19)
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18)
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: at Object. (C:\ioBroker\_iob_SmartHome2\node_modules\iobroker.web\main.js:10:21)
                                          2023-03-31 09:45:07.048 - error: host.SmartHome2 Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1254:14)
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1117:32)
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:958:12)
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: requireStack: [
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: 'C:\\ioBroker\\_iob_SmartHome2\\node_modules\\iobroker.web\\main.js'
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: ]
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: }
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]:
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 Caught by controller[0]: Node.js v18.15.0
                                          2023-03-31 09:45:07.049 - error: host.SmartHome2 instance system.adapter.web.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                          2023-03-31 09:45:07.050 - info: host.SmartHome2 Adapter system.adapter.web.0 needs rebuild and will be restarted afterwards.
                                          2023-03-31 09:45:07.050 - info: host.SmartHome2 system.adapter.web.0 will be rebuilt
                                          2023-03-31 09:45:07.050 - warn: host.SmartHome2 adapter "web" seems to be installed for a different version of Node.js. Trying to rebuild it... 3 attempt
                                          2023-03-31 09:45:07.050 - info: host.SmartHome2 iobroker rebuild
                                          

                                          Das wiederholt sich drei mal, dann gibt er auf.
                                          Encryption verwende ich nicht.

                                          Auf dem System, das läuft, lässt sich Kodi übrigens nicht installieren, obwohl git installiert ist (gleiche Fehlermeldung wie bei @sigi234 ). Auf einem anderen System mit Controller 4 geht das auf dem gleichen Rechner.

                                          Edit: Ach ja, Nodes.js wurde nicht verändert

                                          apollon77 2 Replies Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @Gaspode last edited by

                                            @gaspode hast Du web aktualisiert wie s oben im ersten Post steht? Brauchst ne minimum Web version ....

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            420
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            25
                                            140
                                            14226
                                            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