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 Kiera (v6.0)

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Alpha Test js-controller Kiera (v6.0)

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

      @foxriver76 Das ist die Ausgabe

      proxmox@ioBrokerTestsystem:/opt/iobroker$ npm ls @appland/appmap-agent-js
      iobroker.inst@2.0.3 /opt/iobroker
      `-- iobroker.device-manager@0.0.3
        `-- @appland/appmap-agent-js@13.9.1
      
      
      foxriver76 1 Reply Last reply Reply Quote 0
      • foxriver76
        foxriver76 Developer @Feuersturm last edited by

        @feuersturm die inkompatible dependency bringt der device-manager Adapter mit, gerne dort mal ein Issue eröffnen. Ansonsten kannst du natürlich auch gerne mit node v18 testen.

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

          @foxriver76 Danke. Issue https://github.com/ioBroker/ioBroker.device-manager/issues/42 wurde beim device-manager erstellt. Dann mach ich mal ein downgrade 🙂

          Feuer-sturm created this issue in ioBroker/ioBroker.device-manager

          closed Not compatible with your version of node/npm: @appland/appmap-agent-js@13.9.1 #42

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

            @foxriver76 Nach dem Downgrade auf nodejs18 ging die Installation vom js-controller6 ohne Probleme.
            Beim Start wirft der Admin Adapter 6.17.11 fehler und kann nicht gestartet werden.

            2024-05-22 14:28:04.907  - info: host.ioBrokerTestsystem iobroker.js-controller version 6.0.0 js-controller starting
            2024-05-22 14:28:04.921  - info: host.ioBrokerTestsystem Copyright (c) 2014-2023 bluefox, 2014 hobbyquaker
            2024-05-22 14:28:04.925  - info: host.ioBrokerTestsystem hostname: ioBrokerTestsystem, node: v18.20.3
            2024-05-22 14:28:04.929  - info: host.ioBrokerTestsystem ip addresses: 192.168.178.77 fe80::f854:cfff:fe5f:6c25
            2024-05-22 14:28:07.666  - info: host.ioBrokerTestsystem connected to Objects and States
            2024-05-22 14:28:07.713  - info: host.ioBrokerTestsystem added notifications configuration of host
            2024-05-22 14:28:08.866  - info: host.ioBrokerTestsystem 64 instances found
            2024-05-22 14:28:08.975  - info: host.ioBrokerTestsystem starting 27 instances
            2024-05-22 14:28:09.740  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeCurrent"
            2024-05-22 14:28:09.822  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeNewest"
            2024-05-22 14:28:09.893  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.nodeNewestNext"
            2024-05-22 14:28:09.929  - info: host.ioBrokerTestsystem instance system.adapter.admin.0 started with pid 19670
            2024-05-22 14:28:10.082  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmCurrent"
            2024-05-22 14:28:10.108  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmNewest"
            2024-05-22 14:28:10.126  - info: host.ioBrokerTestsystem Delete state "system.host.ioBrokerTestsystem.versions.npmNewestNext"
            2024-05-22 14:28:10.137  - info: host.ioBrokerTestsystem Some obsolete host states deleted.
            2024-05-22 14:28:13.695  - info: host.ioBrokerTestsystem instance system.adapter.influxdb.0 started with pid 19677
            2024-05-22 14:28:16.342  - info: admin.0 (19670) starting. Version 6.17.11 in /opt/iobroker/node_modules/iobroker.admin, node: v18.20.3, js-controller: 6.0.0
            2024-05-22 14:28:16.436  - info: admin.0 (19670) requesting all objects
            2024-05-22 14:28:20.148  - info: admin.0 (19670) received all objects
            2024-05-22 14:28:20.331  - info: host.ioBrokerTestsystem instance system.adapter.javascript.0 started with pid 19708
            2024-05-22 14:28:20.749  - error: admin.0 (19670) 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().
            2024-05-22 14:28:20.753  - error: admin.0 (19670) unhandled promise rejection: utils.commonTools.session is not a function
            2024-05-22 14:28:20.768  - error: admin.0 (19670) TypeError: utils.commonTools.session is not a function
                at Web.#init (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:451:50)
                at new Web (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:167:19)
                at /opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1289:46
                at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1136:25)
                at processImmediate (node:internal/timers:478:21)
            2024-05-22 14:28:20.772  - error: admin.0 (19670) utils.commonTools.session is not a function
            2024-05-22 14:28:21.208  - info: admin.0 (19670) terminating http server on port 8081
            2024-05-22 14:28:21.215  - info: admin.0 (19670) terminating
            2024-05-22 14:28:21.221  - warn: admin.0 (19670) Terminated (UNCAUGHT_EXCEPTION): Without reason
            2024-05-22 14:28:21.237  - info: admin.0 (19670) Request actual repository...
            2024-05-22 14:28:21.738  - info: admin.0 (19670) terminating
            2024-05-22 14:28:22.423  - warn: admin.0 (19670) redis get admin.0.info.newsLastId, error - Connection is closed.
            2024-05-22 14:28:22.445  - warn: admin.0 (19670) get state error: Connection is closed.
            2024-05-22 14:28:22.518  - warn: admin.0 (19670) get state error: Connection is closed.
            2024-05-22 14:28:22.526  - warn: admin.0 (19670) get state error: Connection is closed.
            2024-05-22 14:28:22.530  - warn: admin.0 (19670) get state error: Connection is closed.
            2024-05-22 14:28:22.534  - warn: admin.0 (19670) get state error: Connection is closed.
            2024-05-22 14:28:22.538  - warn: admin.0 (19670) get state error: Connection is closed.
            2024-05-22 14:28:22.594  - warn: admin.0 (19670) Cannot check node.js/npm version
            2024-05-22 14:28:22.981  - error: host.ioBrokerTestsystem 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-05-22 14:28:22.986  - error: host.ioBrokerTestsystem Caught by controller[0]: TypeError: utils.commonTools.session is not a function
            2024-05-22 14:28:22.992  - error: host.ioBrokerTestsystem Caught by controller[0]:     at Web.#init (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:451:50)
            2024-05-22 14:28:22.997  - error: host.ioBrokerTestsystem Caught by controller[0]:     at new Web (/opt/iobroker/node_modules/iobroker.admin/build-backend/lib/web.js:167:19)
            2024-05-22 14:28:23.001  - error: host.ioBrokerTestsystem Caught by controller[0]:     at /opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1289:46
            2024-05-22 14:28:23.007  - error: host.ioBrokerTestsystem Caught by controller[0]:     at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/build-backend/main.js:1136:25)
            2024-05-22 14:28:23.011  - error: host.ioBrokerTestsystem Caught by controller[0]:     at processImmediate (node:internal/timers:478:21)
            2024-05-22 14:28:23.015  - error: host.ioBrokerTestsystem instance system.adapter.admin.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
            
            
            foxriver76 1 Reply Last reply Reply Quote 0
            • mcm1957
              mcm1957 @Feuersturm last edited by

              @feuersturm said in Alpha Test js-controller Kiera (v6.0):

              @foxriver76 Danke. Issue https://github.com/ioBroker/ioBroker.device-manager/issues/42 wurde beim device-manager erstellt. Dann mach ich mal ein downgrade 🙂

              Da muss der device-manager ev. intensiver angepasst werden. Das Repo von appmap-agent-js wurde archiviert und auf npm ist das package nicht mehr via Suche zu finden.
              https://github.com/getappmap/appmap-agent-js

              Ist aber für js-controlelr 6 irrelevant.

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

                @foxriver76 sagte in Alpha Test js-controller Kiera (v6.0):

                Windows
                Generell muss das Update manuell via npm installiert werden.
                Hierzu im ioBroker-Verzeichnis nach stoppen des ioBroker den Befehl npm i iobroker.js-controller@next --omit=dev ausführen.

                Hallo,

                nach dem installieren startet der IOB nicht, er beendet sich immer automatisch.

                Screenshot (759).png Screenshot (760).png

                **********************************************************
                ***               Welcome to ioBroker.                 ***
                ***                                                    ***
                ***     Type 'iob help' for list of instructions.      ***
                ***                For more help see                   ***
                ***     https://github.com/ioBroker/ioBroker.docs      ***
                **********************************************************
                
                Your environment has been set up for using Node.js 18.20.3 (x64) and npm.
                
                C:\Test>npm ls @iobroker/adapter-core
                iobroker.inst@3.0.0 C:\Test
                +-- iobroker.admin@6.13.16
                | +-- @iobroker/adapter-core@3.1.4
                | `-- @iobroker/socket-classes@1.5.0
                |   `-- @iobroker/adapter-core@3.1.4 deduped
                +-- iobroker.backitup@2.11.0
                | `-- @iobroker/adapter-core@3.1.4 deduped
                +-- iobroker.discovery@4.4.0
                | `-- @iobroker/adapter-core@3.1.4 deduped
                `-- iobroker.js-controller@6.0.1-alpha.0-20240522-f267270b9
                  `-- @iobroker/adapter-core@3.1.4 deduped
                
                
                C:\Test>
                

                Edit:

                Bin wieder auf Version 5.0.19 , alles läuft wieder.

                Screenshot (762).png

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

                  @sigi234 said in Alpha Test js-controller Kiera (v6.0):

                  nach dem installieren startet der IOB nicht, er beendet sich immer automatisch.

                  Exakt das Gleiche beobachte ich auch. Beim Start wird nicht mal was in die Log Datei geschrieben, auch nicht, wenn ich die Controller Log Ausgabe auf Debug schalte.

                  Ach ja:

                  npm ls @iobroker/adapter-core
                  iobroker.inst@3.0.0 C:\ioBroker\SmartHome1
                  +-- iobroker.admin@6.17.11
                  | +-- @iobroker/adapter-core@3.1.4
                  | `-- @iobroker/socket-classes@1.5.0
                  |   `-- @iobroker/adapter-core@3.1.4 deduped
                  +-- iobroker.backitup@2.11.0
                  | `-- @iobroker/adapter-core@3.1.4 deduped
                  +-- iobroker.discovery@4.5.0
                  | `-- @iobroker/adapter-core@3.1.4 deduped
                  +-- iobroker.habpanel@0.5.0
                  | `-- @iobroker/adapter-core@2.6.8
                  +-- iobroker.javascript@8.3.1
                  | `-- @iobroker/adapter-core@3.1.4 deduped
                  +-- iobroker.js-controller@6.0.1-alpha.0-20240522-f267270b9
                  | `-- @iobroker/adapter-core@3.1.4 deduped
                  +-- iobroker.socketio@6.7.0
                  | `-- @iobroker/adapter-core@3.1.4 deduped
                  +-- iobroker.web@6.2.5
                  | +-- @iobroker/adapter-core@3.1.4 deduped
                  | +-- iobroker.simple-api@2.7.2
                  | | `-- @iobroker/adapter-core@2.6.8
                  | +-- iobroker.socketio@6.6.1
                  | | `-- @iobroker/adapter-core@3.1.4 deduped
                  | `-- iobroker.ws@2.5.11
                  |   `-- @iobroker/adapter-core@3.1.4 deduped
                  `-- iobroker.ws@2.6.1
                    `-- @iobroker/adapter-core@3.1.4 deduped
                  
                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @Feuersturm last edited by

                    @feuersturm Kannst du nochmal neu installieren

                    gleiches gilt für @Thomas-Braun ich hoffe die Fehler sind gefixt.

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

                      @gaspode Kannst du mal direkt mittels node die controller.js ausführen (liegt in deinen node_modules/iobroker.js-controller/controller.js), da müsste dann ein Fehler auftauchen hoffe ich.

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

                        @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                        @gaspode Kannst du mal direkt mittels node die controller.js ausführen

                        Ja, dann läuft er hoch.

                        Start per Service liefert im Service error log file daemon\iob_smarthome1.err.log:

                        C:\ioBroker\SmartHome1\controller.js:2
                        require('./node_modules/iobroker.js-controller/controller.js');
                        ^
                        
                        Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                        C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                        Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                        
                            at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                          code: 'ERR_REQUIRE_ESM'
                        }
                        
                        Node.js v18.20.3
                        C:\ioBroker\SmartHome1\controller.js:2
                        require('./node_modules/iobroker.js-controller/controller.js');
                        ^
                        
                        Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                        C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                        Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                        
                            at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                          code: 'ERR_REQUIRE_ESM'
                        }
                        
                        Node.js v18.20.3
                        C:\ioBroker\SmartHome1\controller.js:2
                        require('./node_modules/iobroker.js-controller/controller.js');
                        ^
                        
                        Error [ERR_REQUIRE_ESM]: require() of ES Module C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js from C:\ioBroker\SmartHome1\controller.js not supported.
                        C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.
                        Instead either rename C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\controller.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change "type": "module" to "type": "commonjs" in C:\ioBroker\SmartHome1\node_modules\iobroker.js-controller\package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).
                        
                            at Object.<anonymous> (C:\ioBroker\SmartHome1\controller.js:2:1) {
                          code: 'ERR_REQUIRE_ESM'
                        }
                        
                        Node.js v18.20.3
                        
                        
                        foxriver76 1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer @Gaspode last edited by foxriver76

                          @gaspode kannst du den Inhalt von controller.js zeigen, das klingt iwie als wurde das irgendwie nicht aktualisiert.

                          Bzw. ist das bei dir eine controller.js die im Root-verzeichnis der Installation liegt? Wird die vom Installer erstellt, weißt du das evtl? Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

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

                            @foxriver76

                            Nein, hier hagelt es weiterhin Fehler beim bauen.
                            Genaueres später, mit richtigem Terminal.

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

                              @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                              Dann müsste diese auch angepasst werden von uns für die ESM Thematik.

                              Ja, in die Richtung hab ich auch schon überlegt. Der Service wird so angelegt:

                              const svc = new Service({
                                  name: process.env.iobServiceName ? process.env.iobServiceName : 'ioBroker',
                                  description: 'ioBroker service.',
                                  script: require('path').join(__dirname, 'controller.js'),
                                  env: {
                                      name: 'NODE_ENV',
                                      value: 'production'
                                  }
                              });
                              

                              Und controller.js liegt tatsächlich im Inst. Root und lautet

                              'use strict';
                              require('./node_modules/iobroker.js-controller/controller.js');
                              
                              foxriver76 1 Reply Last reply Reply Quote 0
                              • foxriver76
                                foxriver76 Developer @Gaspode last edited by

                                @gaspode Hm okay die required dann wiederum die vom Controller. Die müsste jetzt eigentlich das require durch import ersetzen. Was passiert wenn du mal hart editierst und das require durch import ersetzt?

                                Gaspode 1 Reply Last reply Reply Quote 1
                                • Gaspode
                                  Gaspode @foxriver76 last edited by

                                  @foxriver76 said in Alpha Test js-controller Kiera (v6.0):

                                  Was passiert wenn du mal hart editierst und das require durch import ersetzt?

                                  Läuft.

                                  Die Datei kommt übrigens von hier:
                                  https://github.com/ioBroker/ioBroker/blob/master/install/windows/controller.js
                                  Sie wird vom Windows Installationsscript im Installationsverlauf dort hin kopiert.

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

                                    @gaspode Top, danke für das Feedback.

                                    M Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Feuersturm
                                      Feuersturm @foxriver76 last edited by Feuersturm

                                      @foxriver76 Hi, update auf js-controller 6.0.1-alpha.0-20240522-6037ce8ae war erfolgreich. Admin startet jetzt auch wieder.
                                      Hier ein paar Auffälligkeiten aus dem Log. Das System ist ein Master Slave Testsystem.

                                      ical.0 Instanz ist nicht aktiv, ical.5 instanz ist aktiv. Im log kommt folgendes:

                                      2024-05-22 17:25:58.654 - error: ical.0 (1392) adapter disabled
                                      2024-05-22 17:25:59.316 - warn: ical.0 (1392) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
                                      2024-05-22 17:25:59.710 - info: hm-rega.0 (1325) starting. Version 4.0.0 in /opt/iobroker/node_modules/iobroker.hm-rega, node: v18.20.3, js-controller: 6.0.1-alpha.0-20240522-6037ce8ae
                                      2024-05-22 17:25:59.814 - info: host.ioBrokerTestsystem instance system.adapter.unifi.0 started with pid 1447
                                      2024-05-22 17:26:00.086 - info: hm-rpc.0 (1332) xmlrpc server is trying to listen on 192.168.178.77:2010
                                      2024-05-22 17:26:00.100 - info: hue.0 (1370) starting. Version 3.11.0 in /opt/iobroker/node_modules/iobroker.hue, node: v18.20.3, js-controller: 6.0.1-alpha.0-20240522-6037ce8ae
                                      2024-05-22 17:26:00.094 - info: hm-rpc.0 (1332) xmlrpc client is trying to connect to 192.168.178.84:2010/ with ["http://192.168.178.77:2010","ioBrokerTestsystem:hm-rpc.0:713ad579999f65d7863c7adac62c5e63"]
                                      2024-05-22 17:26:00.403 - info: hm-rpc.0 (1332) Connected
                                      2024-05-22 17:26:00.422 - info: hm-rpc.0 (1332) xmlrpc <- listDevices ["ioBrokerTestsystem:hm-rpc.0:713ad579999f65d7863c7adac62c5e63"]
                                      2024-05-22 17:26:00.684 - error: host.ioBrokerTestsystem instance system.adapter.ical.5 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
                                      
                                      2024-05-22 17:26:31.595 - info: host.ioBrokerTestsystem instance system.adapter.vis-inventwo.0 started with pid 1570
                                      2024-05-22 17:26:31.674 - error: host.ioBrokerTestsystem Caught by controller[0]: /opt/iobroker/node_modules/iobroker.vis-google-fonts/node_modules/@iobroker/adapter-core/build/controllerTools.js:83
                                      2024-05-22 17:26:31.677 - error: host.ioBrokerTestsystem Caught by controller[0]: throw new Error(`Cannot resolve JS-Controller module ${name}.js`);
                                      2024-05-22 17:26:31.690 - error: host.ioBrokerTestsystem Caught by controller[0]: ^
                                      2024-05-22 17:26:31.693 - error: host.ioBrokerTestsystem Caught by controller[0]: Error: Cannot resolve JS-Controller module letsencrypt.js
                                      2024-05-22 17:26:31.695 - error: host.ioBrokerTestsystem Caught by controller[0]: at resolveNamedModule (/opt/iobroker/node_modules/iobroker.vis-google-fonts/node_modules/@iobroker/adapter-core/build/controllerTools.js:83:11)
                                      2024-05-22 17:26:31.709 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.vis-google-fonts/node_modules/@iobroker/adapter-core/build/controllerTools.js:126:18)
                                      2024-05-22 17:26:31.711 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:26:31.714 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                                      2024-05-22 17:26:31.717 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                                      2024-05-22 17:26:31.729 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                                      2024-05-22 17:26:31.732 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
                                      2024-05-22 17:26:31.746 - error: host.ioBrokerTestsystem Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                                      2024-05-22 17:26:31.750 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.vis-google-fonts/node_modules/@iobroker/adapter-core/build/index.js:19:27)
                                      2024-05-22 17:26:31.752 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:26:31.764 - error: host.ioBrokerTestsystem Caught by controller[0]: Node.js v18.20.3
                                      2024-05-22 17:26:31.779 - info: host.ioBrokerTestsystem instance system.adapter.vis-google-fonts.0 terminated while should be started once
                                      2024-05-22 17:26:35.580 - error: host.ioBrokerTestsystem Caught by controller[0]: /opt/iobroker/node_modules/iobroker.vis-inventwo/node_modules/@iobroker/adapter-core/build/controllerTools.js:83
                                      2024-05-22 17:26:35.584 - error: host.ioBrokerTestsystem Caught by controller[0]: throw new Error(`Cannot resolve JS-Controller module ${name}.js`);
                                      2024-05-22 17:26:35.587 - error: host.ioBrokerTestsystem Caught by controller[0]: ^
                                      2024-05-22 17:26:35.589 - error: host.ioBrokerTestsystem Caught by controller[0]: Error: Cannot resolve JS-Controller module letsencrypt.js
                                      2024-05-22 17:26:35.592 - error: host.ioBrokerTestsystem Caught by controller[0]: at resolveNamedModule (/opt/iobroker/node_modules/iobroker.vis-inventwo/node_modules/@iobroker/adapter-core/build/controllerTools.js:83:11)
                                      2024-05-22 17:26:35.595 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.vis-inventwo/node_modules/@iobroker/adapter-core/build/controllerTools.js:126:18)
                                      2024-05-22 17:26:35.597 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:26:35.600 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                                      2024-05-22 17:26:35.603 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                                      2024-05-22 17:26:35.606 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                                      2024-05-22 17:26:35.609 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
                                      2024-05-22 17:26:35.612 - error: host.ioBrokerTestsystem Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                                      2024-05-22 17:26:35.615 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.vis-inventwo/node_modules/@iobroker/adapter-core/build/index.js:19:27)
                                      2024-05-22 17:26:35.618 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:26:35.621 - error: host.ioBrokerTestsystem Caught by controller[0]: Node.js v18.20.3
                                      2024-05-22 17:26:35.624 - error: host.ioBrokerTestsystem instance system.adapter.vis-inventwo.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      2024-05-22 17:26:35.627 - info: host.ioBrokerTestsystem Restart adapter system.adapter.vis-inventwo.0 because enabled
                                      2024-05-22 17:26:40.521 - info: vis-2.0 (1533) starting. Version 2.9.63 in /opt/iobroker/node_modules/iobroker.vis-2, node: v18.20.3, js-controller: 6.0.1-alpha.0-20240522-6037ce8ae
                                      2024-05-22 17:26:40.715 - info: host.ioBrokerTestsystem instance system.adapter.web.0 started with pid 1604
                                      
                                      2024-05-22 17:26:55.563 - error: host.ioBrokerTestsystem Caught by controller[0]: /opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/controllerTools.js:83
                                      2024-05-22 17:26:55.569 - error: host.ioBrokerTestsystem Caught by controller[0]: throw new Error(`Cannot resolve JS-Controller module ${name}.js`);
                                      2024-05-22 17:26:55.578 - error: host.ioBrokerTestsystem Caught by controller[0]: ^
                                      2024-05-22 17:26:55.581 - error: host.ioBrokerTestsystem Caught by controller[0]: Error: Cannot resolve JS-Controller module letsencrypt.js
                                      2024-05-22 17:26:55.585 - error: host.ioBrokerTestsystem Caught by controller[0]: at resolveNamedModule (/opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/controllerTools.js:83:11)
                                      2024-05-22 17:26:55.596 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/controllerTools.js:126:18)
                                      2024-05-22 17:26:55.599 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:26:55.601 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                                      2024-05-22 17:26:55.604 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                                      2024-05-22 17:26:55.606 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                                      2024-05-22 17:26:55.608 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
                                      2024-05-22 17:26:55.611 - error: host.ioBrokerTestsystem Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                                      2024-05-22 17:26:55.613 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/index.js:19:27)
                                      2024-05-22 17:26:55.615 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:26:55.618 - error: host.ioBrokerTestsystem Caught by controller[0]: Node.js v18.20.3
                                      2024-05-22 17:26:55.621 - error: host.ioBrokerTestsystem instance system.adapter.device-manager.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      2024-05-22 17:26:55.624 - info: host.ioBrokerTestsystem Restart adapter system.adapter.device-manager.0 because enabled
                                      

                                      discovery.0 läuft auf dem Slave, welcher noch auf js-controller 5.0.19 läuft
                                      discovery.1 läuft auf dem Master mit js-controller 6.x

                                      2024-05-22 17:26:59.372 - error: discovery.0 (1639) discovery.0 invalid process id scenario 8047 vs. own ID 1639. Stopping
                                      2024-05-22 17:26:59.410 - info: discovery.0 (1639) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      2024-05-22 17:27:00.196 - info: host.ioBrokerTestsystem instance system.adapter.discovery.1 terminated by request of the instance itself and will not be restarted, before user restarts it.
                                      2024-05-22 17:27:00.200 - info: host.ioBrokerTestsystem Do not restart adapter system.adapter.discovery.1 because desired by instance
                                      
                                      2024-05-22 17:28:00.478 - info: host.ioBrokerTestsystem instance system.adapter.device-manager.0 started with pid 1705
                                      2024-05-22 17:28:03.644 - error: host.ioBrokerTestsystem Caught by controller[0]: /opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/controllerTools.js:83
                                      2024-05-22 17:28:03.654 - error: host.ioBrokerTestsystem Caught by controller[0]: throw new Error(`Cannot resolve JS-Controller module ${name}.js`);
                                      2024-05-22 17:28:03.657 - error: host.ioBrokerTestsystem Caught by controller[0]: ^
                                      2024-05-22 17:28:03.660 - error: host.ioBrokerTestsystem Caught by controller[0]: Error: Cannot resolve JS-Controller module letsencrypt.js
                                      2024-05-22 17:28:03.663 - error: host.ioBrokerTestsystem Caught by controller[0]: at resolveNamedModule (/opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/controllerTools.js:83:11)
                                      2024-05-22 17:28:03.666 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/controllerTools.js:126:18)
                                      2024-05-22 17:28:03.669 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:28:03.684 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
                                      2024-05-22 17:28:03.687 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1203:32)
                                      2024-05-22 17:28:03.690 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1019:12)
                                      2024-05-22 17:28:03.705 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1231:19)
                                      2024-05-22 17:28:03.708 - error: host.ioBrokerTestsystem Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
                                      2024-05-22 17:28:03.711 - error: host.ioBrokerTestsystem Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.device-manager/node_modules/@iobroker/adapter-core/build/index.js:19:27)
                                      2024-05-22 17:28:03.714 - error: host.ioBrokerTestsystem Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1364:14)
                                      2024-05-22 17:28:03.717 - error: host.ioBrokerTestsystem Caught by controller[0]: Node.js v18.20.3
                                      2024-05-22 17:28:03.720 - error: host.ioBrokerTestsystem instance system.adapter.device-manager.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                      2024-05-22 17:28:03.724 - info: host.ioBrokerTestsystem Restart adapter system.adapter.device-manager.0 because enabled
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mrjeschke @foxriver76 last edited by

                                        @foxriver76

                                        Adapter kann ich nur über cli installieren/updaten.
                                        Sonst läuft es erstmal.

                                        2024-05-22 18:05:51.070 - error: host.iobalpha iobroker node:internal/modules/cjs/loader:1148 throw err; ^Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/build/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: []}
                                        2024-05-22 18:05:51.075 - error: host.iobalpha iobroker Node.js v20.13.1
                                        
                                        foxriver76 1 Reply Last reply Reply Quote 0
                                        • foxriver76
                                          foxriver76 Developer @mrjeschke last edited by

                                          @mrjeschke Diese Meldung kommt wann genau?

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            mrjeschke @foxriver76 last edited by

                                            @foxriver76
                                            Wenn ich über das webinterface installieren / updaten will.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            569
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            alpha js-controller kiera test
                                            20
                                            234
                                            20805
                                            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