Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 3.2 jetzt im Latest!

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.7k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.1k

js-controller 3.2 jetzt im Latest!

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
575 Beiträge 70 Kommentatoren 146.4k Aufrufe 57 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • DiginixD Diginix

    @apollon77 mein Host lief bisher mit loglevel warn. Ob es daran liegt, dass man nicht mehr sieht weiß ich nicht.
    Hier mal von 11:00 Uhr und 11:30 wieder so ein Fall wo die Instanz nicht gestartet wurde und jeweils zweimal die 3 Prozesse zum Restart der Instanz nicht beendert wurden. 11:45 Uhr hat es dann funktioniert. Aber die Zombies von den 2 Läufen davor blieben. Die CPU Last steigt mit jedem mal wo die 3 Prozesse bleiben um ca. 1-2.

    iobroker   28628  0.0  0.0  10156  2888 ?        S    11:00   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
    root       28629  0.0  0.1  12640  4944 ?        S    11:00   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
    iobroker   28630 98.2  3.4 743112 134900 ?       Rl   11:00  45:34 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
    iobroker   32996  0.0  0.0  10156  2900 ?        S    11:30   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
    root       32997  0.0  0.1  12636  4932 ?        S    11:30   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
    iobroker   32998 95.8  2.9 743352 118528 ?       Rl   11:30  15:42 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
    iobroker   35355 16.2  1.9 638660 77188 ?        Sl   11:46   0:03 io.radar2.0
    
    

    Und hier das Log:

    2021-01-23 11:00:06.485  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock radar2.0.alive: false / radar2.0.connected: false
    2021-01-23 11:00:14.150  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: unlocked #1
    2021-01-23 11:00:17.152  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Starting radar2
    2021-01-23 11:00:27.096  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Unable to increase LUA script timeout: Error: Connection is closed.
     Cannot load "custom": Error: Connection is closed.
     Cannot load "custom": Error: Connection is closed.
     [...]
    over 40000 mal die Zeile "Cannot load "custom": Error: Connection is closed."
     [...]
     Cannot load "custom": Error: Connection is closed.
     Cannot load "custom": Error: Connection is clos
    2021-01-23 11:30:48.377  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 radar2.0.connected: false
    2021-01-23 11:30:48.378  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 Starting radar2
    2021-01-23 11:30:55.122  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 The adapter "radar2.0" was started.
    2021-01-23 11:31:15.124  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 radar2.0.connected: true
    2021-01-23 11:31:58.030  - error: daswetter.0 (33006) force terminate
    2021-01-23 11:31:58.036  - warn: daswetter.0 (33006) Terminated (15): Without reason
    2021-01-23 11:32:04.439  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.440  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.441  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.443  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.445  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.446  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.447  - warn: daswetter.0 (33006) get state Error: DB closed
    2021-01-23 11:32:04.451  - error: daswetter.0 (33006) exception in await insertIntoList [Error: DB closed]
    2021-01-23 11:32:05.765  - error: daswetter.0 (33006) 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().
    2021-01-23 11:32:05.766  - error: daswetter.0 (33006) unhandled promise rejection: Cannot read property 'setState' of null
    2021-01-23 11:32:05.812  - error: daswetter.0 (33006) TypeError: Cannot read property 'setState' of null
        at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35)
        at processTicksAndRejections (internal/process/task_queues.js:97:5)
    2021-01-23 11:32:05.813  - error: daswetter.0 (33006) Cannot read property 'setState' of null
    2021-01-23 11:32:06.187  - error: host.BT3-PRO instance system.adapter.daswetter.0 terminated with code 15 (15)
    2021-01-23 11:40:23.212  - warn: ical.0 (34385) get state Error: Connection is closed.
    2021-01-23 11:40:23.232  - warn: ical.0 (34385) get state Error: DB closed
    

    Die Konsolenausgaben bei "iobroker restart radar2.0" sind entweder: "The adapter "radar2.0" was started." oder gar keine.
    Im Fall von "...was started" läuft nicht zwingend die Instanz wieder. Deswegen prüfe ich den .connected state.
    Wenn gar keine Ausgabe kommt, ist es der zur Zeit der Fall mit "Cannot load "custom": Error: Connection is closed."

    Das Skript ist eigentlich ein Blockly, aber hier mal der Teil zum Stoppen und Starten der Instanz als Javascript:

    var command, restart_count, run_count, result, timeout_keyble, check_radar_running, timeout_radar_restart;
    
    // Smart Lock Control
    async function control_smart_lock(command) {
      run_count = (typeof run_count == 'number' ? run_count : 0) + 1;
      exec('iobroker stop radar2.0', async function (error, result, stderr) {
          // 5000 ms bis 2020-05-25
        timeout_keyble = setTimeout(async function () {
          console.log((['*** Smart Lock radar2 alive: ',getState("system.adapter.radar2.0.alive").val,' / connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
          exec('keyble-sendcommand --address 00:11:22:33:44:55 --user_id 2 --user_key *** --command status', async function (error, result, stderr) {
              console.log(('*** Smart Lock: ' + String(result)));
            // war 20s und nach exec keyble, nicht innerhalb
            // bis 2020-05-25
            //
            // seit 2020-06-25 7s statt 2s damit bei unlock/lock
            // retry radar2 nicht erst zwischen gestartet wird
            timeout_radar_restart = setTimeout(async function () {
              await start_radar2(1);
            }, 3000);
          });
        }, 2000);
      });
    }
    
    // Beschreibe diese Funktion …
    async function start_radar2(restart_count) {
      console.log((['*** Smart Lock: #',restart_count,' Starting radar2'].join('')));
      exec('iobroker restart radar2.0', async function (error, result, stderr) {
          console.log((['*** Smart Lock: #',restart_count,' ',result].join('')));
        check_radar_running = setTimeout(async function () {
          console.log((['*** Smart Lock: #',restart_count,' radar2 connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
          if (getState("system.adapter.radar2.0.connected").val != true && restart_count < 3) {
            restart_count = (typeof restart_count == 'number' ? restart_count : 0) + 1;
            await start_radar2(restart_count);
          } else if (getState("system.adapter.radar2.0.connected").val != true && restart_count >= 3) {
            console.log((['*** Smart Lock radar2 running: ',getState("system.adapter.radar2.0.connected").val,', kein ',restart_count + 1,'. Versuch'].join('')));
          }
        }, 20000);
      });
    }
    
    
    await control_smart_lock('status');
    

    M Offline
    M Offline
    MHeymann
    schrieb am zuletzt editiert von MHeymann
    #186

    Ich habe eben auch auf 3.2.8 geupdatet. Jetzt bleibt mein Mein javascript Adapter rot.

    host.ioBroker	2021-01-23 12:08:46.875	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: }
    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: ]
    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
    host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: requireStack: [
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: {
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Require stack:
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Error: Cannot find module 'typescript'
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: ^
    host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: throw err;
    host.ioBroker	2021-01-23 12:08:46.872	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
    host.ioBroker	2021-01-23 12:08:16.724	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: }
    host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: ]
    host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: requireStack: [
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: {
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
    host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Require stack:
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Error: Cannot find module 'typescript'
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: ^
    host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: throw err;
    host.ioBroker	2021-01-23 12:08:16.721	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
    host.ioBroker	2021-01-23 12:07:46.602	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: }
    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: ]
    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
    host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: requireStack: [
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: {
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Require stack:
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Error: Cannot find module 'typescript'
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: ^
    host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: throw err;
    host.ioBroker	2021-01-23 12:07:46.599	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
    host.ioBroker	2021-01-23 12:07:16.473	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: }
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: ]
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: requireStack: [
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: {
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Require stack:
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Error: Cannot find module 'typescript'
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: ^
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: throw err;
    host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
    

    Keine Ahnung was da falsch gelaufen ist.

    Hat da jemand ne lösung für mich?

    LG Marko

    Thomas BraunT apollon77A 2 Antworten Letzte Antwort
    0
    • M MHeymann

      Ich habe eben auch auf 3.2.8 geupdatet. Jetzt bleibt mein Mein javascript Adapter rot.

      host.ioBroker	2021-01-23 12:08:46.875	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: }
      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: ]
      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
      host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: requireStack: [
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: {
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Require stack:
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Error: Cannot find module 'typescript'
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: ^
      host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: throw err;
      host.ioBroker	2021-01-23 12:08:46.872	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
      host.ioBroker	2021-01-23 12:08:16.724	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: }
      host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: ]
      host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: requireStack: [
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: {
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
      host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Require stack:
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Error: Cannot find module 'typescript'
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: ^
      host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: throw err;
      host.ioBroker	2021-01-23 12:08:16.721	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
      host.ioBroker	2021-01-23 12:07:46.602	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: }
      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: ]
      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
      host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: requireStack: [
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: {
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Require stack:
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Error: Cannot find module 'typescript'
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: ^
      host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: throw err;
      host.ioBroker	2021-01-23 12:07:46.599	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
      host.ioBroker	2021-01-23 12:07:16.473	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: }
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: ]
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: requireStack: [
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: {
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
      host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Require stack:
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Error: Cannot find module 'typescript'
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: ^
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: throw err;
      host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
      

      Keine Ahnung was da falsch gelaufen ist.

      Hat da jemand ne lösung für mich?

      LG Marko

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #187

      @mheymann
      node-Installation sauber?

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      M 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @mheymann
        node-Installation sauber?

        M Offline
        M Offline
        MHeymann
        schrieb am zuletzt editiert von
        #188

        @thomas-braun
        Keine Ahnung??? Wie Prüfe ich das? Vor dem Update war alles io.

        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • M MHeymann

          @thomas-braun
          Keine Ahnung??? Wie Prüfe ich das? Vor dem Update war alles io.

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #189

          @mheymann
          Sicher das du im Beta-Zweig richtig bist?

          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          M 1 Antwort Letzte Antwort
          0
          • crunchipC crunchip

            @apollon77 hab ne Verständnisfrage, bzw ein Problem. Habe gerade

            • Js-C upgrade von 3.2.7 auf 3.2.8
            • danach iobroker fix durchlaufen lassen
              3e09defc-98cf-4c18-a354-b456916c8fe5-image.png
              nun erhalte ich im Adapter linux-control folgendes
            linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
            linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:87:5)
            linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.userCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:196:9)
            linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.userCommandExecute (/opt/iobroker/node_modules/iobroker.linux-control/main.js:251:21)
            linux-control.0	2021-01-23 11:37:26.716	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
            linux-control.0	2021-01-23 11:37:26.716	error	at runMicrotasks (<anonymous>)
            linux-control.0	2021-01-23 11:37:26.716	error	at LinuxControl.sendCommand (/opt/iobroker/node_modules/iobroker.linux-control/main.js:874:26)
            linux-control.0	2021-01-23 11:37:26.716	error	(22907) [userCommandExecute] iobroker (10.1.1.10:22, id: root-verzeichnis, description: ): response error: /root/.bashrc: Zeile 24: /root/.iobroker/iobroker_completions: Datei oder Verzeichnis nicht
            linux-control.0	2021-01-23 11:37:26.680	error	at LinuxControl.onReady (/opt/iobroker/node_modules/iobroker.linux-control/main.js:54:5)
            linux-control.0	2021-01-23 11:37:26.680	error	at LinuxControl.refreshHost (/opt/iobroker/node_modules/iobroker.linux-control/main.js:82:5)
            linux-control.0	2021-01-23 11:37:26.680	error	at LinuxControl.servicesInfo (/opt/iobroker/node_modules/iobroker.linux-control/main.js:485:21)
            linux-control.0	2021-01-23 11:37:26.680	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
            linux-control.0	2021-01-23 11:37:26.680	error	at runMicrotasks (<anonymous>)
            
            apollon77A Offline
            apollon77A Offline
            apollon77
            schrieb am zuletzt editiert von
            #190

            @crunchip Hm .. ok denke braucht einen neuen installer bzw fixer. Dann ist das weg. sind dran

            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
            1 Antwort Letzte Antwort
            1
            • K KHK

              @apollon77
              Mit dem Update auf einem RPi4 habe ich schon beim Start folgende Fehler:
              4008aba9-09ab-49f8-b934-0a5c580c1e33-grafik.png
              wenn ich iobroker fix mache kommt ähnliches :

              c6152c92-e619-406b-810f-a7fa94e50fa5-grafik.png

              Karl

              apollon77A Offline
              apollon77A Offline
              apollon77
              schrieb am zuletzt editiert von
              #191

              @khk Liegt am installation fixer, nicht controller. Fix kommt nachher

              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
              HomoranH 1 Antwort Letzte Antwort
              0
              • apollon77A apollon77

                @khk Liegt am installation fixer, nicht controller. Fix kommt nachher

                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #192

                @apollon77 sagte in js-controller 3.2 jetzt im Latest!:

                Liegt am installation fixer, nicht controller. Fix kommt nachher

                bleibt der dann 3.1.x oder gar 2.2.x kompatibel?

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                apollon77A 1 Antwort Letzte Antwort
                0
                • M MHeymann

                  Ich habe eben auch auf 3.2.8 geupdatet. Jetzt bleibt mein Mein javascript Adapter rot.

                  host.ioBroker	2021-01-23 12:08:46.875	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: }
                  host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: ]
                  host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                  host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                  host.ioBroker	2021-01-23 12:08:46.875	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: requireStack: [
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: {
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:08:46.874	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Require stack:
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: ^
                  host.ioBroker	2021-01-23 12:08:46.873	error	Caught by controller[0]: throw err;
                  host.ioBroker	2021-01-23 12:08:46.872	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                  host.ioBroker	2021-01-23 12:08:16.724	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: }
                  host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: ]
                  host.ioBroker	2021-01-23 12:08:16.724	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: requireStack: [
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: {
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                  host.ioBroker	2021-01-23 12:08:16.723	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Require stack:
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: ^
                  host.ioBroker	2021-01-23 12:08:16.722	error	Caught by controller[0]: throw err;
                  host.ioBroker	2021-01-23 12:08:16.721	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                  host.ioBroker	2021-01-23 12:07:46.602	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: }
                  host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: ]
                  host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                  host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                  host.ioBroker	2021-01-23 12:07:46.602	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: requireStack: [
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: {
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:07:46.601	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Require stack:
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: ^
                  host.ioBroker	2021-01-23 12:07:46.600	error	Caught by controller[0]: throw err;
                  host.ioBroker	2021-01-23 12:07:46.599	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                  host.ioBroker	2021-01-23 12:07:16.473	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: }
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: ]
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: requireStack: [
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: {
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:07:16.473	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                  host.ioBroker	2021-01-23 12:07:16.472	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Require stack:
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: ^
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: throw err;
                  host.ioBroker	2021-01-23 12:07:16.471	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                  

                  Keine Ahnung was da falsch gelaufen ist.

                  Hat da jemand ne lösung für mich?

                  LG Marko

                  apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von Homoran
                  #193

                  @mheymann AM besten den javascript Adapte rnochmals installieren ...

                  am besten in /opt/iobroker

                  ein "npm i iobroker.javascript"

                  ausführen. Das ist komisch

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  M 1 Antwort Letzte Antwort
                  0
                  • HomoranH Homoran

                    @apollon77 sagte in js-controller 3.2 jetzt im Latest!:

                    Liegt am installation fixer, nicht controller. Fix kommt nachher

                    bleibt der dann 3.1.x oder gar 2.2.x kompatibel?

                    apollon77A Offline
                    apollon77A Offline
                    apollon77
                    schrieb am zuletzt editiert von
                    #194

                    @homoran Komplett unabhängig vom controller

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    1 Antwort Letzte Antwort
                    0
                    • DiginixD Diginix

                      @apollon77 mein Host lief bisher mit loglevel warn. Ob es daran liegt, dass man nicht mehr sieht weiß ich nicht.
                      Hier mal von 11:00 Uhr und 11:30 wieder so ein Fall wo die Instanz nicht gestartet wurde und jeweils zweimal die 3 Prozesse zum Restart der Instanz nicht beendert wurden. 11:45 Uhr hat es dann funktioniert. Aber die Zombies von den 2 Läufen davor blieben. Die CPU Last steigt mit jedem mal wo die 3 Prozesse bleiben um ca. 1-2.

                      iobroker   28628  0.0  0.0  10156  2888 ?        S    11:00   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                      root       28629  0.0  0.1  12640  4944 ?        S    11:00   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                      iobroker   28630 98.2  3.4 743112 134900 ?       Rl   11:00  45:34 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                      iobroker   32996  0.0  0.0  10156  2900 ?        S    11:30   0:00 /bin/bash /usr/bin/iobroker restart radar2.0
                      root       32997  0.0  0.1  12636  4932 ?        S    11:30   0:00 sudo -H -u iobroker node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                      iobroker   32998 95.8  2.9 743352 118528 ?       Rl   11:30  15:42 node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restart radar2.0
                      iobroker   35355 16.2  1.9 638660 77188 ?        Sl   11:46   0:03 io.radar2.0
                      
                      

                      Und hier das Log:

                      2021-01-23 11:00:06.485  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock radar2.0.alive: false / radar2.0.connected: false
                      2021-01-23 11:00:14.150  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: unlocked #1
                      2021-01-23 11:00:17.152  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Starting radar2
                      2021-01-23 11:00:27.096  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 Unable to increase LUA script timeout: Error: Connection is closed.
                       Cannot load "custom": Error: Connection is closed.
                       Cannot load "custom": Error: Connection is closed.
                       [...]
                      over 40000 mal die Zeile "Cannot load "custom": Error: Connection is closed."
                       [...]
                       Cannot load "custom": Error: Connection is closed.
                       Cannot load "custom": Error: Connection is clos
                      2021-01-23 11:30:48.377  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #1 radar2.0.connected: false
                      2021-01-23 11:30:48.378  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 Starting radar2
                      2021-01-23 11:30:55.122  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 The adapter "radar2.0" was started.
                      2021-01-23 11:31:15.124  - info: javascript.0 (1408) script.js.automatization.Door_Window.Smart_Lock: *** Smart Lock: #2 radar2.0.connected: true
                      2021-01-23 11:31:58.030  - error: daswetter.0 (33006) force terminate
                      2021-01-23 11:31:58.036  - warn: daswetter.0 (33006) Terminated (15): Without reason
                      2021-01-23 11:32:04.439  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.440  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.441  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.442  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.443  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.444  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.445  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.446  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.447  - warn: daswetter.0 (33006) get state Error: DB closed
                      2021-01-23 11:32:04.451  - error: daswetter.0 (33006) exception in await insertIntoList [Error: DB closed]
                      2021-01-23 11:32:05.765  - error: daswetter.0 (33006) 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().
                      2021-01-23 11:32:05.766  - error: daswetter.0 (33006) unhandled promise rejection: Cannot read property 'setState' of null
                      2021-01-23 11:32:05.812  - error: daswetter.0 (33006) TypeError: Cannot read property 'setState' of null
                          at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35)
                          at processTicksAndRejections (internal/process/task_queues.js:97:5)
                      2021-01-23 11:32:05.813  - error: daswetter.0 (33006) Cannot read property 'setState' of null
                      2021-01-23 11:32:06.187  - error: host.BT3-PRO instance system.adapter.daswetter.0 terminated with code 15 (15)
                      2021-01-23 11:40:23.212  - warn: ical.0 (34385) get state Error: Connection is closed.
                      2021-01-23 11:40:23.232  - warn: ical.0 (34385) get state Error: DB closed
                      

                      Die Konsolenausgaben bei "iobroker restart radar2.0" sind entweder: "The adapter "radar2.0" was started." oder gar keine.
                      Im Fall von "...was started" läuft nicht zwingend die Instanz wieder. Deswegen prüfe ich den .connected state.
                      Wenn gar keine Ausgabe kommt, ist es der zur Zeit der Fall mit "Cannot load "custom": Error: Connection is closed."

                      Das Skript ist eigentlich ein Blockly, aber hier mal der Teil zum Stoppen und Starten der Instanz als Javascript:

                      var command, restart_count, run_count, result, timeout_keyble, check_radar_running, timeout_radar_restart;
                      
                      // Smart Lock Control
                      async function control_smart_lock(command) {
                        run_count = (typeof run_count == 'number' ? run_count : 0) + 1;
                        exec('iobroker stop radar2.0', async function (error, result, stderr) {
                            // 5000 ms bis 2020-05-25
                          timeout_keyble = setTimeout(async function () {
                            console.log((['*** Smart Lock radar2 alive: ',getState("system.adapter.radar2.0.alive").val,' / connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
                            exec('keyble-sendcommand --address 00:11:22:33:44:55 --user_id 2 --user_key *** --command status', async function (error, result, stderr) {
                                console.log(('*** Smart Lock: ' + String(result)));
                              // war 20s und nach exec keyble, nicht innerhalb
                              // bis 2020-05-25
                              //
                              // seit 2020-06-25 7s statt 2s damit bei unlock/lock
                              // retry radar2 nicht erst zwischen gestartet wird
                              timeout_radar_restart = setTimeout(async function () {
                                await start_radar2(1);
                              }, 3000);
                            });
                          }, 2000);
                        });
                      }
                      
                      // Beschreibe diese Funktion …
                      async function start_radar2(restart_count) {
                        console.log((['*** Smart Lock: #',restart_count,' Starting radar2'].join('')));
                        exec('iobroker restart radar2.0', async function (error, result, stderr) {
                            console.log((['*** Smart Lock: #',restart_count,' ',result].join('')));
                          check_radar_running = setTimeout(async function () {
                            console.log((['*** Smart Lock: #',restart_count,' radar2 connected: ',getState("system.adapter.radar2.0.connected").val].join('')));
                            if (getState("system.adapter.radar2.0.connected").val != true && restart_count < 3) {
                              restart_count = (typeof restart_count == 'number' ? restart_count : 0) + 1;
                              await start_radar2(restart_count);
                            } else if (getState("system.adapter.radar2.0.connected").val != true && restart_count >= 3) {
                              console.log((['*** Smart Lock radar2 running: ',getState("system.adapter.radar2.0.connected").val,', kein ',restart_count + 1,'. Versuch'].join('')));
                            }
                          }, 20000);
                        });
                      }
                      
                      
                      await control_smart_lock('status');
                      

                      apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #195

                      @diginix Ich bereite für nachmittag eine 3.2.9 vor (muss nur erst einkaufen), dann müsste das problem weg sein

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      1
                      • Thomas BraunT Thomas Braun

                        @mheymann
                        Sicher das du im Beta-Zweig richtig bist?

                        which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                        
                        M Offline
                        M Offline
                        MHeymann
                        schrieb am zuletzt editiert von
                        #196

                        @thomas-braun
                        Durchaus möglich das ich hier nicht ganz richtig bin. Hab nur gelesen das crunchip auch nen Fehler nach dem update hat. Da mir ehrlich gesagt gerade das Hertz in die Hose gerutscht ist als ich die lange Fehlermeldung gesehen habe versuche ich einfach hier mein Glück. Sorry dafür.

                        /usr/bin/nodejs
                        v12.20.1
                        /usr/bin/node
                        v12.20.1
                        /usr/bin/npm
                        6.14.10
                        nodejs:
                          Installed: 12.20.1-1nodesource1
                          Candidate: 12.20.1-1nodesource1
                          Version table:
                         *** 12.20.1-1nodesource1 500
                                500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages
                                100 /var/lib/dpkg/status
                             8.10.0~dfsg-2ubuntu0.4 500
                                500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                             8.10.0~dfsg-2ubuntu0.2 500
                                500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                             8.10.0~dfsg-2 500
                                500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                        
                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • M MHeymann

                          @thomas-braun
                          Durchaus möglich das ich hier nicht ganz richtig bin. Hab nur gelesen das crunchip auch nen Fehler nach dem update hat. Da mir ehrlich gesagt gerade das Hertz in die Hose gerutscht ist als ich die lange Fehlermeldung gesehen habe versuche ich einfach hier mein Glück. Sorry dafür.

                          /usr/bin/nodejs
                          v12.20.1
                          /usr/bin/node
                          v12.20.1
                          /usr/bin/npm
                          6.14.10
                          nodejs:
                            Installed: 12.20.1-1nodesource1
                            Candidate: 12.20.1-1nodesource1
                            Version table:
                           *** 12.20.1-1nodesource1 500
                                  500 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages
                                  100 /var/lib/dpkg/status
                               8.10.0~dfsg-2ubuntu0.4 500
                                  500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                               8.10.0~dfsg-2ubuntu0.2 500
                                  500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                               8.10.0~dfsg-2 500
                                  500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #197

                          @mheymann Passt soweit.
                          Dann die Änderungen abwarten.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Antwort Letzte Antwort
                          0
                          • apollon77A apollon77

                            @mheymann AM besten den javascript Adapte rnochmals installieren ...

                            am besten in /opt/iobroker

                            ein "npm i iobroker.javascript"

                            ausführen. Das ist komisch

                            M Offline
                            M Offline
                            MHeymann
                            schrieb am zuletzt editiert von
                            #198

                            @thomas-braun
                            @apollon77

                            am besten in /opt/iobroker

                            ein "npmi iobroker.javascript"

                            ausführen. Das ist komisch

                            Hat funktioniert. Vielen Dank für die Hilfe.

                            1 Antwort Letzte Antwort
                            0
                            • apollon77A Offline
                              apollon77A Offline
                              apollon77
                              schrieb am zuletzt editiert von
                              #199

                              Der Installation Fixer ist "gefixt" :-) Also bitte nochmal iobroker stoppen und "iobroker fix" ausführen, dann sollten die komischen Shell meldungen weg sein

                              Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                              • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                              • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                              crunchipC 1 Antwort Letzte Antwort
                              2
                              • apollon77A apollon77

                                Der Installation Fixer ist "gefixt" :-) Also bitte nochmal iobroker stoppen und "iobroker fix" ausführen, dann sollten die komischen Shell meldungen weg sein

                                crunchipC Abwesend
                                crunchipC Abwesend
                                crunchip
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #200

                                @apollon77 super und danke für den schnellen fix, läuft wieder:+1:
                                was mir grad aufgefallen ist, die zweite Zeile, die ist neu

                                tankerkoenig.0	2021-01-23 13:47:47.399	warn	(15196) State "tankerkoenig.0.stations.8.e10.combined" has no existing object, this might lead to an error in future versions
                                tankerkoenig.0	2021-01-23 13:47:46.387	warn	(15196) Please update js-controller to at least 1.2.0
                                

                                umgestiegen von Proxmox auf Unraid

                                apollon77A 1 Antwort Letzte Antwort
                                0
                                • crunchipC crunchip

                                  @apollon77 super und danke für den schnellen fix, läuft wieder:+1:
                                  was mir grad aufgefallen ist, die zweite Zeile, die ist neu

                                  tankerkoenig.0	2021-01-23 13:47:47.399	warn	(15196) State "tankerkoenig.0.stations.8.e10.combined" has no existing object, this might lead to an error in future versions
                                  tankerkoenig.0	2021-01-23 13:47:46.387	warn	(15196) Please update js-controller to at least 1.2.0
                                  
                                  apollon77A Offline
                                  apollon77A Offline
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #201

                                  @crunchip Nee die ist Uralt und kommt dann wenn der zum anlegen der Objekte mal "Länger" als erwartet braucht ... ist ein mega hack und bullshit inzwischen :-) leg mal eher ein issue an das man das ausbaut ;-)

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  crunchipC 1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @crunchip Nee die ist Uralt und kommt dann wenn der zum anlegen der Objekte mal "Länger" als erwartet braucht ... ist ein mega hack und bullshit inzwischen :-) leg mal eher ein issue an das man das ausbaut ;-)

                                    crunchipC Abwesend
                                    crunchipC Abwesend
                                    crunchip
                                    Forum Testing Most Active
                                    schrieb am zuletzt editiert von crunchip
                                    #202

                                    @apollon77 ok, mach ich
                                    seltsam, sonst wurde mir nur die erste Zeile angezeigt

                                    edit:
                                    @apollon77 Alexa2 (weil es ja dein Part ist:relaxed: und ich den passenden Thread grad nicht finde)
                                    version 3.5.6 bei start von iobroker

                                    2021-01-23 13:47:18.036 - error: alexa2.0 (14667) Error: Error while checking Authentication: Error: no JSON
                                    2021-01-23 13:47:18.039 - info: alexa2.0 (14667) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                    2021-01-23 13:47:19.461 - error: alexa2.0 (14667) Cannot check object existence of "alexa2.0.info.connection": Error: Connection is closed.
                                    2021-01-23 13:47:19.462 - warn: alexa2.0 (14667) Could not check object existence of state alexa2.0.info.connection: Error: Cannot check object existence of "alexa2.0.info.connection": Error: Connection is closed.
                                    2021-01-23 13:47:19.463 - error: alexa2.0 (14667) 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().
                                    2021-01-23 13:47:19.463 - error: alexa2.0 (14667) unhandled promise rejection: Cannot read property 'setState' of null
                                    2021-01-23 13:47:19.492 - error: alexa2.0 (14667) TypeError: Cannot read property 'setState' of null
                                    at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35)
                                    at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                    2021-01-23 13:47:19.493 - error: alexa2.0 (14667) Cannot read property 'setState' of null
                                    2021-01-23 13:47:19.494 - info: alexa2.0 (14667) sendToHost not processed because States database not connected
                                    2021-01-23 13:47:20.015 - info: alexa2.0 (14667) terminating
                                    

                                    umgestiegen von Proxmox auf Unraid

                                    apollon77A 1 Antwort Letzte Antwort
                                    0
                                    • foxriver76F Offline
                                      foxriver76F Offline
                                      foxriver76
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #203

                                      Wenn man nun den Fixer ausführt, sollte die iobroker CLI in Kombination mit "Grace" auch Auto-Completion unterstützen.

                                      Videotutorials & mehr

                                      Hier könnt ihr mich unterstützen.

                                      1 Antwort Letzte Antwort
                                      1
                                      • crunchipC crunchip

                                        @apollon77 ok, mach ich
                                        seltsam, sonst wurde mir nur die erste Zeile angezeigt

                                        edit:
                                        @apollon77 Alexa2 (weil es ja dein Part ist:relaxed: und ich den passenden Thread grad nicht finde)
                                        version 3.5.6 bei start von iobroker

                                        2021-01-23 13:47:18.036 - error: alexa2.0 (14667) Error: Error while checking Authentication: Error: no JSON
                                        2021-01-23 13:47:18.039 - info: alexa2.0 (14667) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                        2021-01-23 13:47:19.461 - error: alexa2.0 (14667) Cannot check object existence of "alexa2.0.info.connection": Error: Connection is closed.
                                        2021-01-23 13:47:19.462 - warn: alexa2.0 (14667) Could not check object existence of state alexa2.0.info.connection: Error: Cannot check object existence of "alexa2.0.info.connection": Error: Connection is closed.
                                        2021-01-23 13:47:19.463 - error: alexa2.0 (14667) 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().
                                        2021-01-23 13:47:19.463 - error: alexa2.0 (14667) unhandled promise rejection: Cannot read property 'setState' of null
                                        2021-01-23 13:47:19.492 - error: alexa2.0 (14667) TypeError: Cannot read property 'setState' of null
                                        at Adapter.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:6065:35)
                                        at processTicksAndRejections (internal/process/task_queues.js:97:5)
                                        2021-01-23 13:47:19.493 - error: alexa2.0 (14667) Cannot read property 'setState' of null
                                        2021-01-23 13:47:19.494 - info: alexa2.0 (14667) sendToHost not processed because States database not connected
                                        2021-01-23 13:47:20.015 - info: alexa2.0 (14667) terminating
                                        
                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #204

                                        @crunchip Die Alexa2 Fehler bitte mit der kommenden 3.2.9 vom controller nochmals checken

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        Dr. BakteriusD crunchipC 3 Antworten Letzte Antwort
                                        0
                                        • UncleSamU Offline
                                          UncleSamU Offline
                                          UncleSam
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #205

                                          Hat jemand von euch den folgenden Fehler schon mal gesehen:

                                          Something	2021-01-22 18:47:43.864	error	went wrong: sourceId=sonoff.0.WiFi-Plug11.POWER, sourceObj={"_id":"sonoff.0.WiFi-Plug11.POWER","common":{"type":"boolean","role":"switch","read":true,"write":true,"storeMap":true,"name":"WiFi-Plug11
                                          Something	2021-01-22 18:47:43.863	error	went wrong: sourceId=mihome-vacuum.0.rooms.275001013648.roomClean, sourceObj={"type":"state","common":{"name":"clean Room","type":"boolean","role":"button","read":false,"write":true,"desc":"Start Roo
                                          

                                          Er ist nicht von mir, aber er wurde in diesem Thema gemeldet.

                                          Bitte bei Problemen mit meinen Adaptern, Issue auf GitHub erfassen: Loxone | I2C | Luxtronik2
                                          ♡-lichen Dank an meine Sponsoren

                                          R apollon77A 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          967

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe