Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. [Gelöst]Fehler der JS-Instanz nach JS-Controller Update

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    13
    1
    621

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    2.0k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    885

[Gelöst]Fehler der JS-Instanz nach JS-Controller Update

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
12 Beiträge 4 Kommentatoren 1.5k Aufrufe 3 Beobachtet
  • Ä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.
  • R Offline
    R Offline
    robson
    schrieb am zuletzt editiert von robson
    #1

    Hallo zusammen,

    ich habe heute mein ioBroker System (v5.1.25) auf die aktuellste (mir angezeigte) Version des JS-Controllers (3.3.21) aktualisiert.

    Nach dem Update lässt sich nun die Javascript-Instanz nicht mehr starten und wirft folgende Fehler ins Protokoll:

    host.ioBroker-RasPi4
    2021-12-04 13:55:16.506	info	Restart adapter system.adapter.javascript.0 because enabled
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.506	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.505	error	Caught by controller[0]: }
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.505	error	Caught by controller[0]: ]
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.505	error	Caught by controller[0]: requireStack: [
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.504	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.504	error	Caught by controller[0]: {
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.504	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.504	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.504	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.504	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.503	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.503	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.503	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.503	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.503	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.503	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.502	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.501	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.501	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.501	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.501	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.501	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.500	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.500	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.500	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.499	error	Caught by controller[0]: Require stack:
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.499	error	Caught by controller[0]: Error: Cannot find module 'typescript'
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.499	error	Caught by controller[0]: ^
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.499	error	Caught by controller[0]: throw err;
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.498	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
    host.ioBroker-RasPi4
    2021-12-04 13:55:16.032	info	instance system.adapter.javascript.0 started with pid 13431
    

    Ein Restore hat zwar funktioniert, jedoch ist immer noch die Hostversion 3.3.21 installiert und der Adapter funktioniert weiterhin nicht.

    Vor dem Upgrade hatte ich keine Probleme. Das System lief monatelang problemlos.
    Kann jemand was mit den Fehlermeldungen anfangen? Kann ich die JS-Controller Version wieder downgraden (leider weiß ich nicht mehr, welches die vorherige Version war)?

    Über Ratschläge wäre ich sehr dankbar.

    VG

    //edit: Protokoll-Eintrag erweitert

    Thomas BraunT GlasfaserG 2 Antworten Letzte Antwort
    0
    • R robson

      Hallo zusammen,

      ich habe heute mein ioBroker System (v5.1.25) auf die aktuellste (mir angezeigte) Version des JS-Controllers (3.3.21) aktualisiert.

      Nach dem Update lässt sich nun die Javascript-Instanz nicht mehr starten und wirft folgende Fehler ins Protokoll:

      host.ioBroker-RasPi4
      2021-12-04 13:55:16.506	info	Restart adapter system.adapter.javascript.0 because enabled
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.506	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.505	error	Caught by controller[0]: }
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.505	error	Caught by controller[0]: ]
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.505	error	Caught by controller[0]: requireStack: [
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.504	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.504	error	Caught by controller[0]: {
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.504	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.504	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.504	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.504	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.503	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.503	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.503	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.503	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.503	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.503	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.502	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.501	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.501	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.501	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.501	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.501	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.500	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.500	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.500	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.499	error	Caught by controller[0]: Require stack:
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.499	error	Caught by controller[0]: Error: Cannot find module 'typescript'
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.499	error	Caught by controller[0]: ^
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.499	error	Caught by controller[0]: throw err;
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.498	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
      host.ioBroker-RasPi4
      2021-12-04 13:55:16.032	info	instance system.adapter.javascript.0 started with pid 13431
      

      Ein Restore hat zwar funktioniert, jedoch ist immer noch die Hostversion 3.3.21 installiert und der Adapter funktioniert weiterhin nicht.

      Vor dem Upgrade hatte ich keine Probleme. Das System lief monatelang problemlos.
      Kann jemand was mit den Fehlermeldungen anfangen? Kann ich die JS-Controller Version wieder downgraden (leider weiß ich nicht mehr, welches die vorherige Version war)?

      Über Ratschläge wäre ich sehr dankbar.

      VG

      //edit: Protokoll-Eintrag erweitert

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

      @robson

      Unten anfangen.
      NodeJS sauber im System?

      iobroker update -i
      iobroker list instances
      
      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && 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

      R 1 Antwort Letzte Antwort
      1
      • Thomas BraunT Thomas Braun

        @robson

        Unten anfangen.
        NodeJS sauber im System?

        iobroker update -i
        iobroker list instances
        
        which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
        
        R Offline
        R Offline
        robson
        schrieb am zuletzt editiert von
        #3

        @thomas-braun
        Danke.

        NodeJS finde ich beim Ausführen der Befehle nicht (s. unten). Aber hier werden doch auch nur die installierten Adapter und Instanzen angezeigt, korrekt?

        Den dritten Befehl habe ich ebenfalls ausgeführt und iobroker neugestartet. Leider keine Veränderung. Die Fehlermeldung (s. erster Beitrag) bleibt bestehen.

        iobroker update -i
        Used repository: stable
        hash unchanged, use cached sources
        update done
        Adapter    "admin"         : 5.1.25   , installed 5.1.25
        Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
        Adapter    "backitup"      : 2.2.2    , installed 2.2.2
        Adapter    "cloud"         : 4.1.0    , installed 4.1.0
        Adapter    "devices"       : 1.0.9    , installed 1.0.9
        Adapter    "discovery"     : 2.7.3    , installed 2.7.3
        Adapter    "easee"         : 1.0.5    , installed 1.0.5
        Adapter    "fb-checkpresence": 1.1.10  , installed 1.1.10
        Adapter    "flot"          : 1.10.7   , installed 1.10.7
        Adapter    "followthesun"  : 0.3.5    , installed 0.3.5
        Adapter    "fullybrowser"  : 2.0.9    , installed 2.0.9
        Adapter    "harmony"       : 1.2.2    , installed 1.2.2
        Adapter    "heatingcontrol": 2.7.2    , installed 2.7.2
        Adapter    "history"       : 1.9.13   , installed 1.9.13
        Adapter    "hm-rega"       : 3.0.32   , installed 3.0.32
        Adapter    "hm-rpc"        : 1.14.45  , installed 1.14.45
        Adapter    "ical"          : 1.11.4   , installed 1.11.4
        Adapter    "icons-mfd-png" : 1.0.2    , installed 1.0.2
        Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
        Adapter    "info"          : 1.9.8    , installed 1.9.8
        Adapter    "iot"           : 1.8.24   , installed 1.8.24
        Adapter    "javascript"    : 5.2.13   , installed 5.2.13
        Controller "js-controller" : 3.3.21   , installed 3.3.21
        Adapter    "netatmo-crawler": 0.6.0   , installed 0.6.0
        Adapter    "ping"          : 1.5.0    , installed 1.5.0
        Adapter    "schoolfree"    : 1.0.0    , installed 1.0.0
        Adapter    "shelly"        : 4.0.7    , installed 4.0.7
        Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
        Adapter    "socketio"      : 3.1.4    , installed 3.1.4
        Adapter    "sonoff"        : 2.4.5    , installed 2.4.5
        Adapter    "tankerkoenig"  : 2.1.1    , installed 2.1.1
        Adapter    "telegram"      : 1.10.0   , installed 1.10.0
        Adapter    "tr-064"        : 4.2.14   , installed 4.2.14
        Adapter    "trashschedule" : 1.2.0    , installed 1.2.0
        Adapter    "vis"           : 1.4.5    , installed 1.4.5
        Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
        Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
        Adapter    "volvo"         : 0.0.6    , installed 0.0.6
        Adapter    "weatherunderground": 3.3.1   , installed 3.3.1
        Adapter    "web"           : 3.4.9    , installed 3.4.9
        Adapter    "wolf"          : 1.2.1    , installed 1.2.1
        Adapter    "worx"          : 1.5.5    , installed 1.5.5
        Adapter    "yr"            : 3.0.5    , installed 3.0.5
        
         iobroker list instances
        
        + system.adapter.admin.0                  : admin                 : ioBroker-RasPi4                          -  enabled, port: 8081, bind: 0.0.0.0                                                                                                 (SSL), run as: admin
        + system.adapter.alexa2.0                 : alexa2                : ioBroker-RasPi4                          -  enabled
        + system.adapter.backitup.0               : backitup              : ioBroker-RasPi4                          -  enabled
        + system.adapter.cloud.0                  : cloud                 : ioBroker-RasPi4                          -  enabled
          system.adapter.devices.0                : devices               : ioBroker-RasPi4                          - disabled
        + system.adapter.discovery.0              : discovery             : ioBroker-RasPi4                          -  enabled
        + system.adapter.easee.0                  : easee                 : ioBroker-RasPi4                          -  enabled
          system.adapter.fb-checkpresence.0       : fb-checkpresence      : ioBroker-RasPi4                          - disabled
          system.adapter.flot.0                   : flot                  : ioBroker-RasPi4                          - disabled
          system.adapter.followthesun.0           : followthesun          : ioBroker-RasPi4                          - disabled
          system.adapter.fullybrowser.0           : fullybrowser          : ioBroker-RasPi4                          - disabled
          system.adapter.harmony.0                : harmony               : ioBroker-RasPi4                          - disabled
          system.adapter.heatingcontrol.0         : heatingcontrol        : ioBroker-RasPi4                          - disabled
          system.adapter.history.0                : history               : ioBroker-RasPi4                          - disabled
        + system.adapter.hm-rega.0                : hm-rega               : ioBroker-RasPi4                          -  enabled
        + system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-RasPi4                          -  enabled, port: 12001
        + system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-RasPi4                          -  enabled, port: 12010
          system.adapter.ical.0                   : ical                  : ioBroker-RasPi4                          -  enabled
          system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker-RasPi4                          - disabled
        + system.adapter.info.0                   : info                  : ioBroker-RasPi4                          -  enabled
        + system.adapter.iot.0                    : iot                   : ioBroker-RasPi4                          -  enabled
        + system.adapter.iot.1                    : iot                   : ioBroker-RasPi4                          -  enabled
          system.adapter.javascript.0             : javascript            : ioBroker-RasPi4                          -  enabled
          system.adapter.javascript.1             : javascript            : ioBroker-RasPi4                          - disabled
          system.adapter.netatmo-crawler.0        : netatmo-crawler       : ioBroker-RasPi4                          -  enabled
        + system.adapter.ping.0                   : ping                  : ioBroker-RasPi4                          -  enabled
        + system.adapter.schoolfree.0             : schoolfree            : ioBroker-RasPi4                          -  enabled
          system.adapter.shelly.0                 : shelly                : ioBroker-RasPi4                          - disabled, port: 1882, bind: 0.0.0.0
          system.adapter.simple-api.0             : simple-api            : ioBroker-RasPi4                          - disabled, port: 8087, bind: 192.168                                                                                                .178.11, run as: admin
          system.adapter.socketio.0               : socketio              : ioBroker-RasPi4                          - disabled, port: 8084, bind: 0.0.0.0                                                                                                , run as: admin
        + system.adapter.sonoff.0                 : sonoff                : ioBroker-RasPi4                          -  enabled, port: 1883, bind: 192.168                                                                                                .178.11
        + system.adapter.tankerkoenig.0           : tankerkoenig          : ioBroker-RasPi4                          -  enabled
        + system.adapter.telegram.0               : telegram              : ioBroker-RasPi4                          -  enabled, port: 8443, bind: 0.0.0.0
        + system.adapter.tr-064.0                 : tr-064                : ioBroker-RasPi4                          -  enabled
        + system.adapter.trashschedule.0          : trashschedule         : ioBroker-RasPi4                          -  enabled
          system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBroker-RasPi4                          - disabled
          system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker-RasPi4                          - disabled
          system.adapter.vis.0                    : vis                   : ioBroker-RasPi4                          -  enabled
          system.adapter.volvo.0                  : volvo                 : ioBroker-RasPi4                          - disabled
          system.adapter.weatherunderground.0     : weatherunderground    : ioBroker-RasPi4                          -  enabled
          system.adapter.web.0                    : web                   : ioBroker-RasPi4                          -  enabled, port: 443, bind: 0.0.0.0                                                                                                 (SSL), run as: admin
          system.adapter.wolf.0                   : wolf                  : ioBroker-RasPi4                          -  enabled, port: 12004, bind: 0.0.0.                                                                                                0
          system.adapter.worx.0                   : worx                  : ioBroker-RasPi4                          - disabled
        + system.adapter.yr.0                     : yr                    : ioBroker-RasPi4                          -  enabled
        
        + instance is alive
        
        
        R crunchipC 2 Antworten Letzte Antwort
        0
        • R robson

          @thomas-braun
          Danke.

          NodeJS finde ich beim Ausführen der Befehle nicht (s. unten). Aber hier werden doch auch nur die installierten Adapter und Instanzen angezeigt, korrekt?

          Den dritten Befehl habe ich ebenfalls ausgeführt und iobroker neugestartet. Leider keine Veränderung. Die Fehlermeldung (s. erster Beitrag) bleibt bestehen.

          iobroker update -i
          Used repository: stable
          hash unchanged, use cached sources
          update done
          Adapter    "admin"         : 5.1.25   , installed 5.1.25
          Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
          Adapter    "backitup"      : 2.2.2    , installed 2.2.2
          Adapter    "cloud"         : 4.1.0    , installed 4.1.0
          Adapter    "devices"       : 1.0.9    , installed 1.0.9
          Adapter    "discovery"     : 2.7.3    , installed 2.7.3
          Adapter    "easee"         : 1.0.5    , installed 1.0.5
          Adapter    "fb-checkpresence": 1.1.10  , installed 1.1.10
          Adapter    "flot"          : 1.10.7   , installed 1.10.7
          Adapter    "followthesun"  : 0.3.5    , installed 0.3.5
          Adapter    "fullybrowser"  : 2.0.9    , installed 2.0.9
          Adapter    "harmony"       : 1.2.2    , installed 1.2.2
          Adapter    "heatingcontrol": 2.7.2    , installed 2.7.2
          Adapter    "history"       : 1.9.13   , installed 1.9.13
          Adapter    "hm-rega"       : 3.0.32   , installed 3.0.32
          Adapter    "hm-rpc"        : 1.14.45  , installed 1.14.45
          Adapter    "ical"          : 1.11.4   , installed 1.11.4
          Adapter    "icons-mfd-png" : 1.0.2    , installed 1.0.2
          Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
          Adapter    "info"          : 1.9.8    , installed 1.9.8
          Adapter    "iot"           : 1.8.24   , installed 1.8.24
          Adapter    "javascript"    : 5.2.13   , installed 5.2.13
          Controller "js-controller" : 3.3.21   , installed 3.3.21
          Adapter    "netatmo-crawler": 0.6.0   , installed 0.6.0
          Adapter    "ping"          : 1.5.0    , installed 1.5.0
          Adapter    "schoolfree"    : 1.0.0    , installed 1.0.0
          Adapter    "shelly"        : 4.0.7    , installed 4.0.7
          Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
          Adapter    "socketio"      : 3.1.4    , installed 3.1.4
          Adapter    "sonoff"        : 2.4.5    , installed 2.4.5
          Adapter    "tankerkoenig"  : 2.1.1    , installed 2.1.1
          Adapter    "telegram"      : 1.10.0   , installed 1.10.0
          Adapter    "tr-064"        : 4.2.14   , installed 4.2.14
          Adapter    "trashschedule" : 1.2.0    , installed 1.2.0
          Adapter    "vis"           : 1.4.5    , installed 1.4.5
          Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
          Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
          Adapter    "volvo"         : 0.0.6    , installed 0.0.6
          Adapter    "weatherunderground": 3.3.1   , installed 3.3.1
          Adapter    "web"           : 3.4.9    , installed 3.4.9
          Adapter    "wolf"          : 1.2.1    , installed 1.2.1
          Adapter    "worx"          : 1.5.5    , installed 1.5.5
          Adapter    "yr"            : 3.0.5    , installed 3.0.5
          
           iobroker list instances
          
          + system.adapter.admin.0                  : admin                 : ioBroker-RasPi4                          -  enabled, port: 8081, bind: 0.0.0.0                                                                                                 (SSL), run as: admin
          + system.adapter.alexa2.0                 : alexa2                : ioBroker-RasPi4                          -  enabled
          + system.adapter.backitup.0               : backitup              : ioBroker-RasPi4                          -  enabled
          + system.adapter.cloud.0                  : cloud                 : ioBroker-RasPi4                          -  enabled
            system.adapter.devices.0                : devices               : ioBroker-RasPi4                          - disabled
          + system.adapter.discovery.0              : discovery             : ioBroker-RasPi4                          -  enabled
          + system.adapter.easee.0                  : easee                 : ioBroker-RasPi4                          -  enabled
            system.adapter.fb-checkpresence.0       : fb-checkpresence      : ioBroker-RasPi4                          - disabled
            system.adapter.flot.0                   : flot                  : ioBroker-RasPi4                          - disabled
            system.adapter.followthesun.0           : followthesun          : ioBroker-RasPi4                          - disabled
            system.adapter.fullybrowser.0           : fullybrowser          : ioBroker-RasPi4                          - disabled
            system.adapter.harmony.0                : harmony               : ioBroker-RasPi4                          - disabled
            system.adapter.heatingcontrol.0         : heatingcontrol        : ioBroker-RasPi4                          - disabled
            system.adapter.history.0                : history               : ioBroker-RasPi4                          - disabled
          + system.adapter.hm-rega.0                : hm-rega               : ioBroker-RasPi4                          -  enabled
          + system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-RasPi4                          -  enabled, port: 12001
          + system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-RasPi4                          -  enabled, port: 12010
            system.adapter.ical.0                   : ical                  : ioBroker-RasPi4                          -  enabled
            system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker-RasPi4                          - disabled
          + system.adapter.info.0                   : info                  : ioBroker-RasPi4                          -  enabled
          + system.adapter.iot.0                    : iot                   : ioBroker-RasPi4                          -  enabled
          + system.adapter.iot.1                    : iot                   : ioBroker-RasPi4                          -  enabled
            system.adapter.javascript.0             : javascript            : ioBroker-RasPi4                          -  enabled
            system.adapter.javascript.1             : javascript            : ioBroker-RasPi4                          - disabled
            system.adapter.netatmo-crawler.0        : netatmo-crawler       : ioBroker-RasPi4                          -  enabled
          + system.adapter.ping.0                   : ping                  : ioBroker-RasPi4                          -  enabled
          + system.adapter.schoolfree.0             : schoolfree            : ioBroker-RasPi4                          -  enabled
            system.adapter.shelly.0                 : shelly                : ioBroker-RasPi4                          - disabled, port: 1882, bind: 0.0.0.0
            system.adapter.simple-api.0             : simple-api            : ioBroker-RasPi4                          - disabled, port: 8087, bind: 192.168                                                                                                .178.11, run as: admin
            system.adapter.socketio.0               : socketio              : ioBroker-RasPi4                          - disabled, port: 8084, bind: 0.0.0.0                                                                                                , run as: admin
          + system.adapter.sonoff.0                 : sonoff                : ioBroker-RasPi4                          -  enabled, port: 1883, bind: 192.168                                                                                                .178.11
          + system.adapter.tankerkoenig.0           : tankerkoenig          : ioBroker-RasPi4                          -  enabled
          + system.adapter.telegram.0               : telegram              : ioBroker-RasPi4                          -  enabled, port: 8443, bind: 0.0.0.0
          + system.adapter.tr-064.0                 : tr-064                : ioBroker-RasPi4                          -  enabled
          + system.adapter.trashschedule.0          : trashschedule         : ioBroker-RasPi4                          -  enabled
            system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBroker-RasPi4                          - disabled
            system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker-RasPi4                          - disabled
            system.adapter.vis.0                    : vis                   : ioBroker-RasPi4                          -  enabled
            system.adapter.volvo.0                  : volvo                 : ioBroker-RasPi4                          - disabled
            system.adapter.weatherunderground.0     : weatherunderground    : ioBroker-RasPi4                          -  enabled
            system.adapter.web.0                    : web                   : ioBroker-RasPi4                          -  enabled, port: 443, bind: 0.0.0.0                                                                                                 (SSL), run as: admin
            system.adapter.wolf.0                   : wolf                  : ioBroker-RasPi4                          -  enabled, port: 12004, bind: 0.0.0.                                                                                                0
            system.adapter.worx.0                   : worx                  : ioBroker-RasPi4                          - disabled
          + system.adapter.yr.0                     : yr                    : ioBroker-RasPi4                          -  enabled
          
          + instance is alive
          
          
          R Offline
          R Offline
          robson
          schrieb am zuletzt editiert von
          #4

          Protokoll-Eintrag im ersten Post erweitert.

          1 Antwort Letzte Antwort
          0
          • R Offline
            R Offline
            robson
            schrieb am zuletzt editiert von
            #5

            Der Befehl

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

            gibt mir folgende Ausgabe:

             which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            v12.22.1
            v12.22.1
            6.14.12
            OK:1 http://archive.raspberrypi.org/debian buster InRelease
            OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
            OK:3 https://deb.nodesource.com/node_12.x buster InRelease
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung für 159 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
            OK:1 http://archive.raspberrypi.org/debian buster InRelease
            OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
            OK:3 https://deb.nodesource.com/node_12.x buster InRelease
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Aktualisierung für 159 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
            nodejs:
              Installiert:           12.22.1-1nodesource1
              Installationskandidat: 12.22.7-deb-1nodesource1
              Versionstabelle:
                 12.22.7-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
             *** 12.22.1-1nodesource1 100
                    100 /var/lib/dpkg/status
                 10.24.0~dfsg-1~deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            
            
            iob fix
            

            habe ich abschließend ebenfalls noch mal ausgeführt.

            Thomas BraunT 1 Antwort Letzte Antwort
            0
            • R robson

              @thomas-braun
              Danke.

              NodeJS finde ich beim Ausführen der Befehle nicht (s. unten). Aber hier werden doch auch nur die installierten Adapter und Instanzen angezeigt, korrekt?

              Den dritten Befehl habe ich ebenfalls ausgeführt und iobroker neugestartet. Leider keine Veränderung. Die Fehlermeldung (s. erster Beitrag) bleibt bestehen.

              iobroker update -i
              Used repository: stable
              hash unchanged, use cached sources
              update done
              Adapter    "admin"         : 5.1.25   , installed 5.1.25
              Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
              Adapter    "backitup"      : 2.2.2    , installed 2.2.2
              Adapter    "cloud"         : 4.1.0    , installed 4.1.0
              Adapter    "devices"       : 1.0.9    , installed 1.0.9
              Adapter    "discovery"     : 2.7.3    , installed 2.7.3
              Adapter    "easee"         : 1.0.5    , installed 1.0.5
              Adapter    "fb-checkpresence": 1.1.10  , installed 1.1.10
              Adapter    "flot"          : 1.10.7   , installed 1.10.7
              Adapter    "followthesun"  : 0.3.5    , installed 0.3.5
              Adapter    "fullybrowser"  : 2.0.9    , installed 2.0.9
              Adapter    "harmony"       : 1.2.2    , installed 1.2.2
              Adapter    "heatingcontrol": 2.7.2    , installed 2.7.2
              Adapter    "history"       : 1.9.13   , installed 1.9.13
              Adapter    "hm-rega"       : 3.0.32   , installed 3.0.32
              Adapter    "hm-rpc"        : 1.14.45  , installed 1.14.45
              Adapter    "ical"          : 1.11.4   , installed 1.11.4
              Adapter    "icons-mfd-png" : 1.0.2    , installed 1.0.2
              Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
              Adapter    "info"          : 1.9.8    , installed 1.9.8
              Adapter    "iot"           : 1.8.24   , installed 1.8.24
              Adapter    "javascript"    : 5.2.13   , installed 5.2.13
              Controller "js-controller" : 3.3.21   , installed 3.3.21
              Adapter    "netatmo-crawler": 0.6.0   , installed 0.6.0
              Adapter    "ping"          : 1.5.0    , installed 1.5.0
              Adapter    "schoolfree"    : 1.0.0    , installed 1.0.0
              Adapter    "shelly"        : 4.0.7    , installed 4.0.7
              Adapter    "simple-api"    : 2.6.1    , installed 2.6.1
              Adapter    "socketio"      : 3.1.4    , installed 3.1.4
              Adapter    "sonoff"        : 2.4.5    , installed 2.4.5
              Adapter    "tankerkoenig"  : 2.1.1    , installed 2.1.1
              Adapter    "telegram"      : 1.10.0   , installed 1.10.0
              Adapter    "tr-064"        : 4.2.14   , installed 4.2.14
              Adapter    "trashschedule" : 1.2.0    , installed 1.2.0
              Adapter    "vis"           : 1.4.5    , installed 1.4.5
              Adapter    "vis-fancyswitch": 1.1.0   , installed 1.1.0
              Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
              Adapter    "volvo"         : 0.0.6    , installed 0.0.6
              Adapter    "weatherunderground": 3.3.1   , installed 3.3.1
              Adapter    "web"           : 3.4.9    , installed 3.4.9
              Adapter    "wolf"          : 1.2.1    , installed 1.2.1
              Adapter    "worx"          : 1.5.5    , installed 1.5.5
              Adapter    "yr"            : 3.0.5    , installed 3.0.5
              
               iobroker list instances
              
              + system.adapter.admin.0                  : admin                 : ioBroker-RasPi4                          -  enabled, port: 8081, bind: 0.0.0.0                                                                                                 (SSL), run as: admin
              + system.adapter.alexa2.0                 : alexa2                : ioBroker-RasPi4                          -  enabled
              + system.adapter.backitup.0               : backitup              : ioBroker-RasPi4                          -  enabled
              + system.adapter.cloud.0                  : cloud                 : ioBroker-RasPi4                          -  enabled
                system.adapter.devices.0                : devices               : ioBroker-RasPi4                          - disabled
              + system.adapter.discovery.0              : discovery             : ioBroker-RasPi4                          -  enabled
              + system.adapter.easee.0                  : easee                 : ioBroker-RasPi4                          -  enabled
                system.adapter.fb-checkpresence.0       : fb-checkpresence      : ioBroker-RasPi4                          - disabled
                system.adapter.flot.0                   : flot                  : ioBroker-RasPi4                          - disabled
                system.adapter.followthesun.0           : followthesun          : ioBroker-RasPi4                          - disabled
                system.adapter.fullybrowser.0           : fullybrowser          : ioBroker-RasPi4                          - disabled
                system.adapter.harmony.0                : harmony               : ioBroker-RasPi4                          - disabled
                system.adapter.heatingcontrol.0         : heatingcontrol        : ioBroker-RasPi4                          - disabled
                system.adapter.history.0                : history               : ioBroker-RasPi4                          - disabled
              + system.adapter.hm-rega.0                : hm-rega               : ioBroker-RasPi4                          -  enabled
              + system.adapter.hm-rpc.0                 : hm-rpc                : ioBroker-RasPi4                          -  enabled, port: 12001
              + system.adapter.hm-rpc.1                 : hm-rpc                : ioBroker-RasPi4                          -  enabled, port: 12010
                system.adapter.ical.0                   : ical                  : ioBroker-RasPi4                          -  enabled
                system.adapter.icons-mfd-png.0          : icons-mfd-png         : ioBroker-RasPi4                          - disabled
              + system.adapter.info.0                   : info                  : ioBroker-RasPi4                          -  enabled
              + system.adapter.iot.0                    : iot                   : ioBroker-RasPi4                          -  enabled
              + system.adapter.iot.1                    : iot                   : ioBroker-RasPi4                          -  enabled
                system.adapter.javascript.0             : javascript            : ioBroker-RasPi4                          -  enabled
                system.adapter.javascript.1             : javascript            : ioBroker-RasPi4                          - disabled
                system.adapter.netatmo-crawler.0        : netatmo-crawler       : ioBroker-RasPi4                          -  enabled
              + system.adapter.ping.0                   : ping                  : ioBroker-RasPi4                          -  enabled
              + system.adapter.schoolfree.0             : schoolfree            : ioBroker-RasPi4                          -  enabled
                system.adapter.shelly.0                 : shelly                : ioBroker-RasPi4                          - disabled, port: 1882, bind: 0.0.0.0
                system.adapter.simple-api.0             : simple-api            : ioBroker-RasPi4                          - disabled, port: 8087, bind: 192.168                                                                                                .178.11, run as: admin
                system.adapter.socketio.0               : socketio              : ioBroker-RasPi4                          - disabled, port: 8084, bind: 0.0.0.0                                                                                                , run as: admin
              + system.adapter.sonoff.0                 : sonoff                : ioBroker-RasPi4                          -  enabled, port: 1883, bind: 192.168                                                                                                .178.11
              + system.adapter.tankerkoenig.0           : tankerkoenig          : ioBroker-RasPi4                          -  enabled
              + system.adapter.telegram.0               : telegram              : ioBroker-RasPi4                          -  enabled, port: 8443, bind: 0.0.0.0
              + system.adapter.tr-064.0                 : tr-064                : ioBroker-RasPi4                          -  enabled
              + system.adapter.trashschedule.0          : trashschedule         : ioBroker-RasPi4                          -  enabled
                system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : ioBroker-RasPi4                          - disabled
                system.adapter.vis-timeandweather.0     : vis-timeandweather    : ioBroker-RasPi4                          - disabled
                system.adapter.vis.0                    : vis                   : ioBroker-RasPi4                          -  enabled
                system.adapter.volvo.0                  : volvo                 : ioBroker-RasPi4                          - disabled
                system.adapter.weatherunderground.0     : weatherunderground    : ioBroker-RasPi4                          -  enabled
                system.adapter.web.0                    : web                   : ioBroker-RasPi4                          -  enabled, port: 443, bind: 0.0.0.0                                                                                                 (SSL), run as: admin
                system.adapter.wolf.0                   : wolf                  : ioBroker-RasPi4                          -  enabled, port: 12004, bind: 0.0.0.                                                                                                0
                system.adapter.worx.0                   : worx                  : ioBroker-RasPi4                          - disabled
              + system.adapter.yr.0                     : yr                    : ioBroker-RasPi4                          -  enabled
              
              + instance is alive
              
              
              crunchipC Abwesend
              crunchipC Abwesend
              crunchip
              Forum Testing Most Active Developer
              schrieb am zuletzt editiert von crunchip
              #6

              @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

              Den dritten Befehl habe ich ebenfalls ausgeführt und iobroker neugestartet. Leider keine Veränderung

              dann sind auch keine Befehle um das System zu reparieren, sondern zeigen den aktuellen Stand
              deine javascript instanz läuft gar nicht

              @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

              Error: Cannot find module 'typescript'

              typescript nachinstallieren

              umgestiegen von Proxmox auf Unraid

              1 Antwort Letzte Antwort
              1
              • R robson

                Hallo zusammen,

                ich habe heute mein ioBroker System (v5.1.25) auf die aktuellste (mir angezeigte) Version des JS-Controllers (3.3.21) aktualisiert.

                Nach dem Update lässt sich nun die Javascript-Instanz nicht mehr starten und wirft folgende Fehler ins Protokoll:

                host.ioBroker-RasPi4
                2021-12-04 13:55:16.506	info	Restart adapter system.adapter.javascript.0 because enabled
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.506	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.505	error	Caught by controller[0]: }
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.505	error	Caught by controller[0]: ]
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.javascript/main.js'
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/index.js',
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.505	error	Caught by controller[0]: '/opt/iobroker/node_modules/virtual-tsc/build/server.js',
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.505	error	Caught by controller[0]: requireStack: [
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.504	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.504	error	Caught by controller[0]: {
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.504	error	Caught by controller[0]: at internal/main/run_main_module.js:17:47
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.504	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.504	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.504	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.503	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.503	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.503	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:35:24)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.503	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.503	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.503	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/index.js:8:16)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.502	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.501	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.501	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.501	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.501	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/virtual-tsc/build/server.js:4:10)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.501	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.500	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.500	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.500	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.javascript/main.js
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/index.js
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.500	error	Caught by controller[0]: - /opt/iobroker/node_modules/virtual-tsc/build/server.js
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.499	error	Caught by controller[0]: Require stack:
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.499	error	Caught by controller[0]: Error: Cannot find module 'typescript'
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.499	error	Caught by controller[0]: ^
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.499	error	Caught by controller[0]: throw err;
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.498	error	Caught by controller[0]: internal/modules/cjs/loader.js:818
                host.ioBroker-RasPi4
                2021-12-04 13:55:16.032	info	instance system.adapter.javascript.0 started with pid 13431
                

                Ein Restore hat zwar funktioniert, jedoch ist immer noch die Hostversion 3.3.21 installiert und der Adapter funktioniert weiterhin nicht.

                Vor dem Upgrade hatte ich keine Probleme. Das System lief monatelang problemlos.
                Kann jemand was mit den Fehlermeldungen anfangen? Kann ich die JS-Controller Version wieder downgraden (leider weiß ich nicht mehr, welches die vorherige Version war)?

                Über Ratschläge wäre ich sehr dankbar.

                VG

                //edit: Protokoll-Eintrag erweitert

                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                schrieb am zuletzt editiert von
                #7

                @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                Error: Cannot find module 'typescript'

                https://forum.iobroker.net/topic/46983/gelöst-javascript-startet-nicht-mehr-nach-update/5

                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                1 Antwort Letzte Antwort
                1
                • R robson

                  Der Befehl

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

                  gibt mir folgende Ausgabe:

                   which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                  /usr/bin/nodejs
                  /usr/bin/node
                  /usr/bin/npm
                  v12.22.1
                  v12.22.1
                  6.14.12
                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Aktualisierung für 159 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                  OK:3 https://deb.nodesource.com/node_12.x buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Aktualisierung für 159 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                  nodejs:
                    Installiert:           12.22.1-1nodesource1
                    Installationskandidat: 12.22.7-deb-1nodesource1
                    Versionstabelle:
                       12.22.7-deb-1nodesource1 500
                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                   *** 12.22.1-1nodesource1 100
                          100 /var/lib/dpkg/status
                       10.24.0~dfsg-1~deb10u1 500
                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                  
                  
                  iob fix
                  

                  habe ich abschließend ebenfalls noch mal ausgeführt.

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

                  @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                  Aktualisierung für 159 Pakete verfügbar.

                  Unabhänig vom aktuellen Problem:
                  Halt die Kiste auf Stand...

                  Bei nächster Gelegenheit (bald!!!)

                  iobroker stop
                  sudo apt update
                  sudo apt dist-upgrade
                  sudo reboot
                  

                  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

                  R 1 Antwort Letzte Antwort
                  1
                  • Thomas BraunT Thomas Braun

                    @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                    Aktualisierung für 159 Pakete verfügbar.

                    Unabhänig vom aktuellen Problem:
                    Halt die Kiste auf Stand...

                    Bei nächster Gelegenheit (bald!!!)

                    iobroker stop
                    sudo apt update
                    sudo apt dist-upgrade
                    sudo reboot
                    
                    R Offline
                    R Offline
                    robson
                    schrieb am zuletzt editiert von robson
                    #9

                    Das wichtigste vorweg: vielen Dank an @Thomas-Braun, @Glasfaser und @crunchip!

                    Aber der Reihe nach.

                    1.
                    Die Befehle:

                    iobroker del javascript
                    iobroker install javascript
                    

                    aus dem von @Glasfaser verlinkten Thread haben geholfen. Ein Rebuild war nicht genug.

                    2.
                    @crunchip sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                    @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                    Error: Cannot find module 'typescript'

                    typescript nachinstallieren

                    Warum muss so etwas nach nachinstalliert werden, wenn es doch monatelang funktioniert hat? Nur interessenhalber.

                    3.
                    @thomas-braun sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                    @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                    Aktualisierung für 159 Pakete verfügbar.

                    Unabhänig vom aktuellen Problem:
                    Halt die Kiste auf Stand...

                    Bei nächster Gelegenheit (bald!!!)

                    iobroker stop
                    sudo apt update
                    sudo apt dist-upgrade
                    sudo reboot
                    

                    Danke für den Hinweis. Ich bin leider selten auf der Konsole unterwegs. Kann ich das auch irgendwo im ioBroker selbst einsehen? Da sieht für mich alles grün und aktuell aus.

                    Thomas BraunT 2 Antworten Letzte Antwort
                    0
                    • R robson

                      Das wichtigste vorweg: vielen Dank an @Thomas-Braun, @Glasfaser und @crunchip!

                      Aber der Reihe nach.

                      1.
                      Die Befehle:

                      iobroker del javascript
                      iobroker install javascript
                      

                      aus dem von @Glasfaser verlinkten Thread haben geholfen. Ein Rebuild war nicht genug.

                      2.
                      @crunchip sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                      @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                      Error: Cannot find module 'typescript'

                      typescript nachinstallieren

                      Warum muss so etwas nach nachinstalliert werden, wenn es doch monatelang funktioniert hat? Nur interessenhalber.

                      3.
                      @thomas-braun sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                      @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                      Aktualisierung für 159 Pakete verfügbar.

                      Unabhänig vom aktuellen Problem:
                      Halt die Kiste auf Stand...

                      Bei nächster Gelegenheit (bald!!!)

                      iobroker stop
                      sudo apt update
                      sudo apt dist-upgrade
                      sudo reboot
                      

                      Danke für den Hinweis. Ich bin leider selten auf der Konsole unterwegs. Kann ich das auch irgendwo im ioBroker selbst einsehen? Da sieht für mich alles grün und aktuell aus.

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

                      @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                      Kann ich das auch irgendwo im ioBroker selbst einsehen?

                      Nein, der ioBroker kümmert sich nicht um das zugrunde liegende Betriebssystem.
                      Das musst du schon selber machen.

                      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
                      1
                      • R robson

                        Das wichtigste vorweg: vielen Dank an @Thomas-Braun, @Glasfaser und @crunchip!

                        Aber der Reihe nach.

                        1.
                        Die Befehle:

                        iobroker del javascript
                        iobroker install javascript
                        

                        aus dem von @Glasfaser verlinkten Thread haben geholfen. Ein Rebuild war nicht genug.

                        2.
                        @crunchip sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                        @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                        Error: Cannot find module 'typescript'

                        typescript nachinstallieren

                        Warum muss so etwas nach nachinstalliert werden, wenn es doch monatelang funktioniert hat? Nur interessenhalber.

                        3.
                        @thomas-braun sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                        @robson sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                        Aktualisierung für 159 Pakete verfügbar.

                        Unabhänig vom aktuellen Problem:
                        Halt die Kiste auf Stand...

                        Bei nächster Gelegenheit (bald!!!)

                        iobroker stop
                        sudo apt update
                        sudo apt dist-upgrade
                        sudo reboot
                        

                        Danke für den Hinweis. Ich bin leider selten auf der Konsole unterwegs. Kann ich das auch irgendwo im ioBroker selbst einsehen? Da sieht für mich alles grün und aktuell aus.

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

                        @robson

                        Warum sind da eigentlich zwei Instanzen vom javascript anlegt?
                        Ich würde das System immer so simpel wie möglich halten. Für eine zweite Instanz würde ich jetzt beim javascript keinen Grund sehen. Lösch die javascript.1 raus.

                        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

                        R 1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @robson

                          Warum sind da eigentlich zwei Instanzen vom javascript anlegt?
                          Ich würde das System immer so simpel wie möglich halten. Für eine zweite Instanz würde ich jetzt beim javascript keinen Grund sehen. Lösch die javascript.1 raus.

                          R Offline
                          R Offline
                          robson
                          schrieb am zuletzt editiert von robson
                          #12

                          @thomas-braun sagte in Fehler der JS-Instanz nach JS-Controller Update auf 3.3.21:

                          @robson

                          Warum sind da eigentlich zwei Instanzen vom javascript anlegt?
                          Ich würde das System immer so simpel wie möglich halten. Für eine zweite Instanz würde ich jetzt beim javascript keinen Grund sehen. Lösch die javascript.1 raus.

                          Die nutze ich für Experimentier-Skripte. Die Instanz schalte ich nur an, wenn ich beim Skripten was testen möchte. Danach ist sie wieder deaktiviert.
                          Alle stabilen Skripte laufen auf der .0-Instanz.

                          1 Antwort Letzte Antwort
                          0

                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                          Registrieren Anmelden
                          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

                          311

                          Online

                          32.9k

                          Benutzer

                          83.0k

                          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