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. javascript instanz bleibt rot

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    15
    1
    478

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    616

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.9k

javascript instanz bleibt rot

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
36 Beiträge 5 Kommentatoren 1.6k Aufrufe 4 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.
  • B Offline
    B Offline
    Beowolf
    schrieb am zuletzt editiert von
    #19

    @thomas-braun sagte in javascript instanz bleibt rot:

    Boot / Auto Login
    B1 Console

    ======================= SUMMARY =======================
                         v.2023-01-02
    
    
    Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
    Installation:           Native
    Timezone:               Europe/Berlin
    User-ID:                1000
    X-Server:               false
    Boot Target:            multi-user.target
    
    Pending OS-Updates:     2
    
    Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                            /usr/bin/node           v16.19.1
                            /usr/bin/npm            8.19.3
                            /usr/bin/npx            8.19.3
    
    ioBroker Core:          js-controller           4.0.24
                            admin                   6.3.5
    
    ioBroker Status:        iobroker is running on this host.
    
    
    Objects type: jsonl
    States  type: jsonl
    
    Status admin:
    + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
    
    Pending iob updates:    0
    
    Active repo(s): stable
    
    Objects:                8906
    States:                 8121
    
    Size of iob-Database:
    
    34M     /opt/iobroker/iobroker-data/objects.jsonl
    12M     /opt/iobroker/iobroker-data/states.jsonl
    
    
    =================== END OF SUMMARY ====================
    
    

    So ist es dann ok.

    Danke für die Hilfen

    Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

    wendy2702W 1 Antwort Letzte Antwort
    0
    • B Beowolf

      @thomas-braun sagte in javascript instanz bleibt rot:

      Boot / Auto Login
      B1 Console

      ======================= SUMMARY =======================
                           v.2023-01-02
      
      
      Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
      Installation:           Native
      Timezone:               Europe/Berlin
      User-ID:                1000
      X-Server:               false
      Boot Target:            multi-user.target
      
      Pending OS-Updates:     2
      
      Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                              /usr/bin/node           v16.19.1
                              /usr/bin/npm            8.19.3
                              /usr/bin/npx            8.19.3
      
      ioBroker Core:          js-controller           4.0.24
                              admin                   6.3.5
      
      ioBroker Status:        iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      
      Status admin:
      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      
      Pending iob updates:    0
      
      Active repo(s): stable
      
      Objects:                8906
      States:                 8121
      
      Size of iob-Database:
      
      34M     /opt/iobroker/iobroker-data/objects.jsonl
      12M     /opt/iobroker/iobroker-data/states.jsonl
      
      
      =================== END OF SUMMARY ====================
      
      

      So ist es dann ok.

      Danke für die Hilfen

      wendy2702W Online
      wendy2702W Online
      wendy2702
      schrieb am zuletzt editiert von
      #20

      @beowolf sagte in javascript instanz bleibt rot:

      Pending OS-Updates: 2

      Die kannst du noch machen.

      Bitte keine Fragen per PN, die gehören ins Forum!

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

      B 1 Antwort Letzte Antwort
      0
      • wendy2702W wendy2702

        @beowolf sagte in javascript instanz bleibt rot:

        Pending OS-Updates: 2

        Die kannst du noch machen.

        B Offline
        B Offline
        Beowolf
        schrieb am zuletzt editiert von
        #21

        @wendy2702

        Auch das ist gemacht. :+1:

        Die Natur braucht nicht unseren Schutz, sie braucht unsere Abwesenheit.

        1 Antwort Letzte Antwort
        0
        • Marc_el_KM Offline
          Marc_el_KM Offline
          Marc_el_K
          schrieb am zuletzt editiert von
          #22

          Hallo zusammen,

          leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.

          Alle anderen Adapter laufen.

          host.raspberrypi
          2023-02-26 20:02:17.708	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
          host.raspberrypi
          2023-02-26 20:02:17.707	error	Caught by controller[0]: }
          host.raspberrypi
          2023-02-26 20:02:17.707	error	Caught by controller[0]: requestPath: 'coffeescript'
          host.raspberrypi
          2023-02-26 20:02:17.704	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json',
          host.raspberrypi
          2023-02-26 20:02:17.704	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
          host.raspberrypi
          2023-02-26 20:02:17.703	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) {
          host.raspberrypi
          2023-02-26 20:02:17.703	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
          host.raspberrypi
          2023-02-26 20:02:17.703	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14)
          host.raspberrypi
          2023-02-26 20:02:17.702	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24)
          host.raspberrypi
          2023-02-26 20:02:17.702	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18)
          host.raspberrypi
          2023-02-26 20:02:17.702	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19)
          host.raspberrypi
          2023-02-26 20:02:17.701	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27)
          host.raspberrypi
          2023-02-26 20:02:17.700	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27)
          host.raspberrypi
          2023-02-26 20:02:17.700	error	Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18)
          host.raspberrypi
          2023-02-26 20:02:17.700	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19)
          host.raspberrypi
          2023-02-26 20:02:17.699	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry
          host.raspberrypi
          2023-02-26 20:02:17.699	error	Caught by controller[0]: ^
          host.raspberrypi
          2023-02-26 20:02:17.698	error	Caught by controller[0]: throw err;
          host.raspberrypi
          2023-02-26 20:02:17.696	error	Caught by controller[0]: node:internal/modules/cjs/loader:433
          

          Damit funktioniert es leider nicht:

          for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
          
          

          Mein System / Summary liefert

          ======================= SUMMARY =======================
                               v.2023-01-02
          
          
          Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
          Installation:           Native
          Timezone:               Europe/Berlin
          User-ID:                1000
          X-Server:               false
          Boot Target:            graphical.target
          
          Pending OS-Updates:     0
          
          Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                  /usr/bin/node           v16.19.1
                                  /usr/bin/npm            8.19.3
                                  /usr/bin/npx            8.19.3
          
          ioBroker Core:          js-controller           4.0.24
                                  admin                   6.3.5
          
          ioBroker Status:        iobroker is running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          Status admin:
          + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
          
          Pending iob updates:    0
          
          Active repo(s): Stable (default)
          
          Objects:                16740
          States:                 13735
          
          Size of iob-Database:
          
          25M     /opt/iobroker/iobroker-data/objects.jsonl
          12M     /opt/iobroker/iobroker-data/objects.json.migrated
          12M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
          8.0K    /opt/iobroker/iobroker-data/objects.json.old
          6.6M    /opt/iobroker/iobroker-data/states.jsonl
          5.1M    /opt/iobroker/iobroker-data/states.json.migrated
          5.1M    /opt/iobroker/iobroker-data/states.json.bak.migrated
          2.8M    /opt/iobroker/iobroker-data/states.json.old
          0       /opt/iobroker/iobroker-data/states.json.broken
          
          
          =================== END OF SUMMARY ====================
          

          Ich würde mich sehr freuen, wenn ich Hilfe zur Behebung bekäme. Vielen Dank! :-)

          wendy2702W HomoranH 2 Antworten Letzte Antwort
          0
          • Marc_el_KM Marc_el_K

            Hallo zusammen,

            leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.

            Alle anderen Adapter laufen.

            host.raspberrypi
            2023-02-26 20:02:17.708	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.raspberrypi
            2023-02-26 20:02:17.707	error	Caught by controller[0]: }
            host.raspberrypi
            2023-02-26 20:02:17.707	error	Caught by controller[0]: requestPath: 'coffeescript'
            host.raspberrypi
            2023-02-26 20:02:17.704	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json',
            host.raspberrypi
            2023-02-26 20:02:17.704	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
            host.raspberrypi
            2023-02-26 20:02:17.703	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) {
            host.raspberrypi
            2023-02-26 20:02:17.703	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
            host.raspberrypi
            2023-02-26 20:02:17.703	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14)
            host.raspberrypi
            2023-02-26 20:02:17.702	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24)
            host.raspberrypi
            2023-02-26 20:02:17.702	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18)
            host.raspberrypi
            2023-02-26 20:02:17.702	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19)
            host.raspberrypi
            2023-02-26 20:02:17.701	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27)
            host.raspberrypi
            2023-02-26 20:02:17.700	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27)
            host.raspberrypi
            2023-02-26 20:02:17.700	error	Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18)
            host.raspberrypi
            2023-02-26 20:02:17.700	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19)
            host.raspberrypi
            2023-02-26 20:02:17.699	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry
            host.raspberrypi
            2023-02-26 20:02:17.699	error	Caught by controller[0]: ^
            host.raspberrypi
            2023-02-26 20:02:17.698	error	Caught by controller[0]: throw err;
            host.raspberrypi
            2023-02-26 20:02:17.696	error	Caught by controller[0]: node:internal/modules/cjs/loader:433
            

            Damit funktioniert es leider nicht:

            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
            
            

            Mein System / Summary liefert

            ======================= SUMMARY =======================
                                 v.2023-01-02
            
            
            Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
            Installation:           Native
            Timezone:               Europe/Berlin
            User-ID:                1000
            X-Server:               false
            Boot Target:            graphical.target
            
            Pending OS-Updates:     0
            
            Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                    /usr/bin/node           v16.19.1
                                    /usr/bin/npm            8.19.3
                                    /usr/bin/npx            8.19.3
            
            ioBroker Core:          js-controller           4.0.24
                                    admin                   6.3.5
            
            ioBroker Status:        iobroker is running on this host.
            
            
            Objects type: jsonl
            States  type: jsonl
            
            Status admin:
            + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            
            Pending iob updates:    0
            
            Active repo(s): Stable (default)
            
            Objects:                16740
            States:                 13735
            
            Size of iob-Database:
            
            25M     /opt/iobroker/iobroker-data/objects.jsonl
            12M     /opt/iobroker/iobroker-data/objects.json.migrated
            12M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
            8.0K    /opt/iobroker/iobroker-data/objects.json.old
            6.6M    /opt/iobroker/iobroker-data/states.jsonl
            5.1M    /opt/iobroker/iobroker-data/states.json.migrated
            5.1M    /opt/iobroker/iobroker-data/states.json.bak.migrated
            2.8M    /opt/iobroker/iobroker-data/states.json.old
            0       /opt/iobroker/iobroker-data/states.json.broken
            
            
            =================== END OF SUMMARY ====================
            

            Ich würde mich sehr freuen, wenn ich Hilfe zur Behebung bekäme. Vielen Dank! :-)

            wendy2702W Online
            wendy2702W Online
            wendy2702
            schrieb am zuletzt editiert von
            #23

            @marc_el_k Und was als letztes vorher gemacht ?

            Bitte keine Fragen per PN, die gehören ins Forum!

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

            Marc_el_KM 1 Antwort Letzte Antwort
            0
            • wendy2702W wendy2702

              @marc_el_k Und was als letztes vorher gemacht ?

              Marc_el_KM Offline
              Marc_el_KM Offline
              Marc_el_K
              schrieb am zuletzt editiert von
              #24

              @wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.

              Thomas BraunT wendy2702W 2 Antworten Letzte Antwort
              0
              • Marc_el_KM Marc_el_K

                @wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.

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

                @marc_el_k

                Gib mal die Langfassung von iob diag
                Und die Ausgabe von

                cd /opt/iobroker 
                npm ls coffeescript
                

                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

                Marc_el_KM 1 Antwort Letzte Antwort
                0
                • Marc_el_KM Marc_el_K

                  @wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.

                  wendy2702W Online
                  wendy2702W Online
                  wendy2702
                  schrieb am zuletzt editiert von
                  #26

                  @marc_el_k sagte in javascript instanz bleibt rot:

                  @wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.

                  Geht das auch detaillierter?

                  System nur einzelne oder z.B. von Buster nach Bullseye und was genau bei iobroker? JS Controller? JavaScript Adapter ?

                  Bitte keine Fragen per PN, die gehören ins Forum!

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

                  Marc_el_KM 1 Antwort Letzte Antwort
                  0
                  • Marc_el_KM Marc_el_K

                    Hallo zusammen,

                    leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.

                    Alle anderen Adapter laufen.

                    host.raspberrypi
                    2023-02-26 20:02:17.708	error	instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                    host.raspberrypi
                    2023-02-26 20:02:17.707	error	Caught by controller[0]: }
                    host.raspberrypi
                    2023-02-26 20:02:17.707	error	Caught by controller[0]: requestPath: 'coffeescript'
                    host.raspberrypi
                    2023-02-26 20:02:17.704	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json',
                    host.raspberrypi
                    2023-02-26 20:02:17.704	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                    host.raspberrypi
                    2023-02-26 20:02:17.703	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) {
                    host.raspberrypi
                    2023-02-26 20:02:17.703	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                    host.raspberrypi
                    2023-02-26 20:02:17.703	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14)
                    host.raspberrypi
                    2023-02-26 20:02:17.702	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24)
                    host.raspberrypi
                    2023-02-26 20:02:17.702	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18)
                    host.raspberrypi
                    2023-02-26 20:02:17.702	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19)
                    host.raspberrypi
                    2023-02-26 20:02:17.701	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                    host.raspberrypi
                    2023-02-26 20:02:17.700	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27)
                    host.raspberrypi
                    2023-02-26 20:02:17.700	error	Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18)
                    host.raspberrypi
                    2023-02-26 20:02:17.700	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19)
                    host.raspberrypi
                    2023-02-26 20:02:17.699	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry
                    host.raspberrypi
                    2023-02-26 20:02:17.699	error	Caught by controller[0]: ^
                    host.raspberrypi
                    2023-02-26 20:02:17.698	error	Caught by controller[0]: throw err;
                    host.raspberrypi
                    2023-02-26 20:02:17.696	error	Caught by controller[0]: node:internal/modules/cjs/loader:433
                    

                    Damit funktioniert es leider nicht:

                    for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                    
                    

                    Mein System / Summary liefert

                    ======================= SUMMARY =======================
                                         v.2023-01-02
                    
                    
                    Operatingsystem:        Raspbian GNU/Linux 11 (bullseye)
                    Installation:           Native
                    Timezone:               Europe/Berlin
                    User-ID:                1000
                    X-Server:               false
                    Boot Target:            graphical.target
                    
                    Pending OS-Updates:     0
                    
                    Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                            /usr/bin/node           v16.19.1
                                            /usr/bin/npm            8.19.3
                                            /usr/bin/npx            8.19.3
                    
                    ioBroker Core:          js-controller           4.0.24
                                            admin                   6.3.5
                    
                    ioBroker Status:        iobroker is running on this host.
                    
                    
                    Objects type: jsonl
                    States  type: jsonl
                    
                    Status admin:
                    + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                    
                    Pending iob updates:    0
                    
                    Active repo(s): Stable (default)
                    
                    Objects:                16740
                    States:                 13735
                    
                    Size of iob-Database:
                    
                    25M     /opt/iobroker/iobroker-data/objects.jsonl
                    12M     /opt/iobroker/iobroker-data/objects.json.migrated
                    12M     /opt/iobroker/iobroker-data/objects.json.bak.migrated
                    8.0K    /opt/iobroker/iobroker-data/objects.json.old
                    6.6M    /opt/iobroker/iobroker-data/states.jsonl
                    5.1M    /opt/iobroker/iobroker-data/states.json.migrated
                    5.1M    /opt/iobroker/iobroker-data/states.json.bak.migrated
                    2.8M    /opt/iobroker/iobroker-data/states.json.old
                    0       /opt/iobroker/iobroker-data/states.json.broken
                    
                    
                    =================== END OF SUMMARY ====================
                    

                    Ich würde mich sehr freuen, wenn ich Hilfe zur Behebung bekäme. Vielen Dank! :-)

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

                    @marc_el_k sagte in javascript instanz bleibt rot:

                    leider habe ich seit heut das gleich Problem mit dem Javascript Adapter und erhalte folgende Log-Fehlermeldungen.

                    wie so oft: Dann istces nicht das gleiche Problem!
                    zum Glück zeigt es das log sofort

                    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 -

                    1 Antwort Letzte Antwort
                    0
                    • Thomas BraunT Thomas Braun

                      @marc_el_k

                      Gib mal die Langfassung von iob diag
                      Und die Ausgabe von

                      cd /opt/iobroker 
                      npm ls coffeescript
                      
                      Marc_el_KM Offline
                      Marc_el_KM Offline
                      Marc_el_K
                      schrieb am zuletzt editiert von
                      #28

                      @thomas-braun

                      Der DIalog in Langfassung

                      
                      ======== Start marking the full check here =========
                      
                      Skript v.2023-01-02
                      
                      *** BASE SYSTEM ***
                      Model           : Raspberry Pi 4 Model B Rev 1.4
                      Architecture:   armv7l
                      Docker:         false
                      Virtualization: none
                      Distributor ID: Raspbian
                      Description:    Raspbian GNU/Linux 11 (bullseye)
                      Release:        11
                      Codename:       bullseye
                      
                      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
                      NAME="Raspbian GNU/Linux"
                      VERSION_ID="11"
                      VERSION="11 (bullseye)"
                      VERSION_CODENAME=bullseye
                      ID=raspbian
                      ID_LIKE=debian
                      HOME_URL="http://www.raspbian.org/"
                      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                      
                      Systemuptime and Load:
                       20:13:49 up 17 min,  1 user,  load average: 1.24, 2.12, 2.04
                      CPU threads: 4
                      
                      *** Time and Time Zones ***
                      Sun Feb 26 19:13:49 UTC 2023
                      Sun Feb 26 20:13:49 CET 2023
                      CET +0100
                      Europe/Berlin
                      
                      *** User and Groups ***
                      pi
                      /home/pi
                      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c                                                                                          spi iobroker
                      
                      *** X-Server-Setup ***
                      X-Server:       false
                      Desktop:
                      Terminal:       tty
                      Boot Target:    graphical.target
                      
                      *** MEMORY ***
                                     total        used        free      shared  buff/cache   available
                      Mem:            7.9G        1.8G        5.3G        0.0K        844M        6.4G
                      Swap:            99M          0B         99M
                      Total:          8.0G        1.8G        5.4G
                      
                               7898 M total memory
                               1780 M used memory
                                474 M active memory
                               1966 M inactive memory
                               5274 M free memory
                                163 M buffer memory
                                681 M swap cache
                                 99 M total swap
                                  0 M used swap
                                 99 M free swap
                      
                      *** FILESYSTEM ***
                      Filesystem     Type      Size  Used Avail Use% Mounted on
                      /dev/root      ext4      117G   15G   98G  14% /
                      devtmpfs       devtmpfs  3.7G     0  3.7G   0% /dev
                      tmpfs          tmpfs     3.9G     0  3.9G   0% /dev/shm
                      tmpfs          tmpfs     1.6G  840K  1.6G   1% /run
                      tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                      /dev/mmcblk0p1 vfat      253M   50M  203M  20% /boot
                      /dev/sda1      vfat      233G   32G  202G  14% /media/usb
                      tmpfs          tmpfs     790M     0  790M   0% /run/user/1000
                      
                      Messages in dmesg:
                      [Sun Feb 26 19:56:49 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=1                                                                                          snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1  smsc95xx.macaddr=DC                                                                                         :A6:32:D9:04:68 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  #console=                                                                                         ttyS0,115200 console=tty1 root=PARTUUID=cdb3ca5a-02 rootfstype=ext4 fsck.repair=                                                                                         yes rootwait
                      [Sun Feb 26 19:56:50 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered                                                                                          data mode. Opts: (null). Quota mode: none.
                      [Sun Feb 26 19:56:50 2023] VFS: Mounted root (ext4 filesystem) readonly on devic                                                                                         e 179:2.
                      [Sun Feb 26 19:56:53 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null). Quota                                                                                          mode: none.
                      
                      Show mounted filesystems (real ones only):
                      TARGET       SOURCE         FSTYPE OPTIONS
                      /            /dev/mmcblk0p2 ext4   rw,noatime
                      |-/boot      /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepage=43                                                                                         7,iocharset=ascii,shortname=mixed,flush,errors=remount-ro
                      `-/media/usb /dev/sda1      vfat   rw,nosuid,nodev,noexec,relatime,sync,fmask=00                                                                                         00,dmask=0000,allow_utime=0022,codepage=437,iocharset=ascii,shortname=mixed,erro                                                                                         rs=remount-ro
                      
                      Files in neuralgic directories:
                      
                      /var:
                      4.1G    /var/
                      2.1G    /var/log/journal/3e23e34d17484a28b9473f69f7d9d21c
                      2.1G    /var/log/journal
                      2.1G    /var/log
                      1.9G    /var/cache/apt
                      
                      /opt/iobroker/backups:
                      3.3G    /opt/iobroker/backups/
                      
                      /opt/iobroker/iobroker-data:
                      724M    /opt/iobroker/iobroker-data/
                      407M    /opt/iobroker/iobroker-data/files
                      248M    /opt/iobroker/iobroker-data/backup-objects
                      72M     /opt/iobroker/iobroker-data/files/telegram.admin
                      51M     /opt/iobroker/iobroker-data/files/javascript.admin
                      
                      The five largest files in iobroker-data are:
                      26M     /opt/iobroker/iobroker-data/objects.jsonl
                      19M     /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.904d455f.js.m                                                                                         ap
                      19M     /opt/iobroker/iobroker-data/files/cameras.admin/static/js/main.784c7098.                                                                                         js.map
                      15M     /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors                                                                                         -node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modu                                                                                         les_io-1d9f06.44fe4a3f.chunk.js.map
                      12M     /opt/iobroker/iobroker-data/objects.json.migrated
                      
                      *** NodeJS-Installation ***
                      
                      /usr/bin/nodejs         v16.19.1
                      /usr/bin/node           v16.19.1
                      /usr/bin/npm            8.19.3
                      /usr/bin/npx            8.19.3
                      
                      nodejs:
                        Installed: 16.19.1-deb-1nodesource1
                        Candidate: 16.19.1-deb-1nodesource1
                        Version table:
                       *** 16.19.1-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                              100 /var/lib/dpkg/status
                           12.22.12~dfsg-1~deb11u3 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Package                                                                                         s
                      
                      Temp directories causing npm8 problem: 0
                      
                      *** ioBroker-Installation ***
                      
                      ioBroker Status
                      iobroker is running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      Core adapters versions
                      js-controller:  4.0.24
                      admin:          6.3.5
                      javascript:     6.1.4
                      
                      Adapters from github:   10
                      
                      Adapter State
                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
                      + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
                      + system.adapter.ble.1                    : ble                   : raspberrypi                              -  enabled
                      + system.adapter.bring.0                  : bring                 : raspberrypi                              -  enabled
                      + system.adapter.cameras.0                : cameras               : raspberrypi                              -  enabled, port: 8200, bind: 127.0.0.1
                      + system.adapter.daswetter.0              : daswetter             : raspberrypi                              -  enabled
                      + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
                        system.adapter.dwd.0                    : dwd                   : raspberrypi                              -  enabled
                        system.adapter.feiertage.0              : feiertage             : raspberrypi                              -  enabled
                        system.adapter.flot.0                   : flot                  : raspberrypi                              -  enabled
                      + system.adapter.fritzdect.0              : fritzdect             : raspberrypi                              -  enabled
                      + system.adapter.fullybrowser.0           : fullybrowser          : raspberrypi                              -  enabled
                        system.adapter.ham.0                    : ham                   : raspberrypi                              - disabled
                      + system.adapter.history.0                : history               : raspberrypi                              -  enabled
                      + system.adapter.homeconnect.0            : homeconnect           : raspberrypi                              -  enabled
                        system.adapter.ical.0                   : ical                  : raspberrypi                              -  enabled
                      + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
                      + system.adapter.iot.0                    : iot                   : raspberrypi                              -  enabled
                      + system.adapter.jarvis.0                 : jarvis                : raspberrypi                              -  enabled
                        system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
                      + system.adapter.meross.0                 : meross                : raspberrypi                              -  enabled
                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 192.168.178.76
                      + system.adapter.octoprint.0              : octoprint             : raspberrypi                              -  enabled
                        system.adapter.parser.0                 : parser                : raspberrypi                              - disabled
                        system.adapter.paw.0                    : paw                   : raspberrypi                              - disabled, port: 8898
                        system.adapter.ping.0                   : ping                  : raspberrypi                              - disabled
                      + system.adapter.pollenflug.0             : pollenflug            : raspberrypi                              -  enabled
                      + system.adapter.rpi2.0                   : rpi2                  : raspberrypi                              -  enabled
                      + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                        system.adapter.slideshow.0              : slideshow             : raspberrypi                              - disabled
                      + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: 1885, bind: 0.0.0.0
                      + system.adapter.tado.0                   : tado                  : raspberrypi                              -  enabled
                      + system.adapter.tankerkoenig.1           : tankerkoenig          : raspberrypi                              -  enabled
                      + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
                      + system.adapter.text2command.0           : text2command          : raspberrypi                              -  enabled
                      + system.adapter.tr-064.0                 : tr-064                : raspberrypi                              -  enabled
                      + system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              -  enabled
                      + system.adapter.tuya.0                   : tuya                  : raspberrypi                              -  enabled
                        system.adapter.tvspielfilm.0            : tvspielfilm           : raspberrypi                              -  enabled
                      + system.adapter.upnp.0                   : upnp                  : raspberrypi                              -  enabled
                        system.adapter.vis.0                    : vis                   : raspberrypi                              - disabled
                        system.adapter.weatherunderground.0     : weatherunderground    : raspberrypi                              -  enabled
                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      + system.adapter.wled.0                   : wled                  : raspberrypi                              -  enabled
                      
                      + instance is alive
                      
                      Enabled adapters with bindings
                      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                      + system.adapter.cameras.0                : cameras               : raspberrypi                              -  enabled, port: 8200, bind: 127.0.0.1
                      + system.adapter.mqtt.0                   : mqtt                  : raspberrypi                              -  enabled, port: 1883, bind: 192.168.178.76
                      + system.adapter.shelly.0                 : shelly                : raspberrypi                              -  enabled, port: 1882, bind: 0.0.0.0
                      + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
                      + system.adapter.sonoff.0                 : sonoff                : raspberrypi                              -  enabled, port: 1885, bind: 0.0.0.0
                      + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
                      + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                      
                      ioBroker-Repositories
                      Stable (default): http://download.iobroker.net/sources-dist.json
                      Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
                      
                      Active repo(s): Stable (default)
                      
                      Installed ioBroker-Instances
                      Used repository: Stable (default)
                      Adapter    "admin"        : 6.3.5    , installed 6.3.5
                      Adapter    "alexa2"       : 3.23.2   , installed 3.23.2
                      Adapter    "backitup"     : 2.5.12   , installed 2.5.12
                      Adapter    "ble"          : 0.13.0   , installed 0.13.0
                      Adapter    "bring"        : 1.8.1    , installed 1.8.1
                      Adapter    "chromecast"   : 2.3.1    , installed 2.3.1
                      Adapter    "daswetter"    : 3.1.7    , installed 3.1.7
                      Adapter    "deconz"       : 1.3.21   , installed 1.3.21
                      Adapter    "discovery"    : 3.1.0    , installed 3.1.0
                      Adapter    "dwd"          : 2.8.3    , installed 2.8.3
                      Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                      Adapter    "firetv"       : 1.0.0    , installed 1.0.0
                      Adapter    "flot"         : 1.11.0   , installed 1.11.0
                      Adapter    "fritzdect"    : 2.2.6    , installed 2.2.6
                      Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                      Adapter    "ham"          : 5.3.1    , installed 5.3.1
                      Adapter    "history"      : 2.2.4    , installed 2.2.4
                      Adapter    "homeconnect"  : 1.1.1    , installed 1.1.1
                      Adapter    "hue-extended" : 2.0.0    , installed 2.0.0
                      Adapter    "ical"         : 1.13.2   , installed 1.13.2
                      Adapter    "icons-material-png": 0.1.0, installed 0.1.0
                      Adapter    "icons-mfd-svg": 1.1.0    , installed 1.1.0
                      Adapter    "info"         : 1.9.19   , installed 1.9.19
                      Adapter    "iot"          : 1.14.2   , installed 1.14.2
                      Adapter    "jarvis"       : 3.1.2    , installed 3.1.2
                      Adapter    "javascript"   : 6.1.4    , installed 6.1.4
                      Controller "js-controller": 4.0.24   , installed 4.0.24
                      Adapter    "meross"       : 1.14.0   , installed 1.14.0
                      Adapter    "mqtt"         : 4.0.7    , installed 4.0.7
                      Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
                      Adapter    "octoprint"    : 4.0.0    , installed 4.0.0
                      Adapter    "onvif"        : 0.4.4    , installed 0.4.5
                      Adapter    "parser"       : 1.1.8    , installed 1.1.8
                      Adapter    "paw"          : 0.3.2    , installed 0.3.2
                      Adapter    "ping"         : 1.5.3    , installed 1.5.3
                      Adapter    "pollenflug"   : 1.0.6    , installed 1.0.6
                      Adapter    "rpi2"         : 1.3.2    , installed 1.3.2
                      Adapter    "shelly"       : 6.3.1    , installed 6.3.1
                      Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                      Adapter    "socketio"     : 4.2.0    , installed 4.2.0
                      Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                      Adapter    "tado"         : 0.4.4    , installed 0.4.4
                      Adapter    "tankerkoenig" : 3.3.7    , installed 3.3.7
                      Adapter    "telegram"     : 1.15.2   , installed 1.15.2
                      Adapter    "text2command" : 2.3.0    , installed 2.3.0
                      Adapter    "tr-064"       : 4.2.17   , installed 4.2.17
                      Adapter    "trashschedule": 2.2.0    , installed 2.2.0
                      Adapter    "tuya"         : 3.13.1   , installed 3.13.1
                      Adapter    "tvspielfilm"  : 2.0.4    , installed 2.0.4
                      Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                      Adapter    "vis"          : 1.4.15   , installed 1.4.15
                      Adapter    "vis-bars"     : 0.1.4    , installed 0.1.4
                      Adapter    "vis-canvas-gauges": 1.0.1, installed 1.0.1
                      Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                      Adapter    "vis-hqwidgets": 1.3.0    , installed 1.3.0
                      Adapter    "vis-icontwo"  : 0.90.0   , installed 0.90.0
                      Adapter    "vis-inventwo" : 3.3.1    , installed 3.3.1
                      Adapter    "vis-material-advanced": 1.7.2, installed 1.7.2
                      Adapter    "vis-timeandweather": 1.2.2, installed 1.2.2
                      Adapter    "weatherunderground": 3.4.2, installed 3.4.2
                      Adapter    "web"          : 4.3.0    , installed 4.3.0
                      Adapter    "wled"         : 0.6.7    , installed 0.6.7
                      Adapter    "ws"           : 1.3.0    , installed 1.3.0
                      
                      Objects and States
                      Please stand by - This may take a while
                      Objects:        16740
                      States:         13734
                      
                      *** OS-Repositories and Updates ***
                      Hit:1 http://phoscon.de/apt/deconz bullseye InRelease
                      Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
                      Hit:3 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                      Reading package lists...
                      Pending Updates: 0
                      
                      *** Listening Ports ***
                      Active Internet connections (only servers)
                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                      tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      1000       13059      401/deCONZ
                      tcp        0      0 192.168.178.76:1883     0.0.0.0:*               LISTEN      1001       19999      1847/io.mqtt.0
                      tcp        0      0 0.0.0.0:1885            0.0.0.0:*               LISTEN      1001       19166      2022/io.sonoff.0
                      tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       15400      533/iobroker.js-con
                      tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       15393      533/iobroker.js-con
                      tcp        0      0 0.0.0.0:8400            0.0.0.0:*               LISTEN      1001       28268      4394/io.jarvis.0
                      tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1000       13037      401/deCONZ
                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          12264      557/sshd: /usr/sbin
                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       15683      683/io.admin.0
                      tcp6       0      0 :::8082                 :::*                    LISTEN      1001       56939      13003/io.web.0
                      tcp6       0      0 :::8087                 :::*                    LISTEN      1001       21367      3019/io.simple-api.
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          12266      557/sshd: /usr/sbin
                      udp        0      0 0.0.0.0:51912           0.0.0.0:*                           108        9144       395/avahi-daemon: r
                      udp        0      0 0.0.0.0:43731           0.0.0.0:*                           1001       22695      2851/io.upnp.0
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       24626      3372/io.wled.0
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        9142       395/avahi-daemon: r
                      udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1001       22891      2851/io.upnp.0
                      udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1000       15373      401/deCONZ
                      udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1001       21511      1398/io.tuya.0
                      udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1001       21512      1398/io.tuya.0
                      udp        0      0 0.0.0.0:14374           0.0.0.0:*                           1001       93946      21234/ffmpeg
                      udp        0      0 0.0.0.0:14375           0.0.0.0:*                           1001       93947      21234/ffmpeg
                      udp        0      0 0.0.0.0:14376           0.0.0.0:*                           1001       93955      21234/ffmpeg
                      udp        0      0 0.0.0.0:14377           0.0.0.0:*                           1001       93956      21234/ffmpeg
                      udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       15958      1238/io.shelly.0
                      udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14407      749/dhcpcd
                      udp6       0      0 :::5353                 :::*                                108        9143       395/avahi-daemon: r
                      udp6       0      0 :::43503                :::*                                108        9145       395/avahi-daemon: r
                      udp6       0      0 :::546                  :::*                                0          14419      749/dhcpcd
                      
                      *** Log File - Last 25 Lines ***
                      
                      2023-02-26 20:03:10.160  - error: daswetter.0 (7870) Cannot check object existence of "daswetter.0.NextHours2.Location_1.Day_5.Hour_8.iconURL": Connection is closed.
                      2023-02-26 20:03:10.164  - error: daswetter.0 (7870) exception in await insertIntoList [Error: Could not check object existence of daswetter.0.NextHours2.Location_1.Day_5.Hour_8.iconURL: Cannot check object existence of "daswetter.0.NextHours2.Location_1.Day_5.Hour_8.iconURL": Connection is closed.]
                      2023-02-26 20:03:10.169  - error: daswetter.0 (7870) Cannot check object existence of "daswetter.0.NextHours2.Location_1.Day_5.Hour_8.symbol_desc": Connection is closed.
                      2023-02-26 20:03:10.246  - error: host.raspberrypi instance system.adapter.daswetter.0 terminated with code 15 (UNKNOWN_ERROR)
                      2023-02-26 20:04:19.118  - error: cameras.0 (11028) Cannot get camera image of cam1: TypeError: sharp is not a function
                      2023-02-26 20:04:19.402  - error: cameras.0 (11028) Cannot get camera image of cam2: TypeError: sharp is not a function
                      2023-02-26 20:05:43.047  - error: host.raspberrypi Caught by controller[0]: node:internal/modules/cjs/loader:433
                      2023-02-26 20:05:43.048  - error: host.raspberrypi Caught by controller[0]:       throw err;
                      2023-02-26 20:05:43.049  - error: host.raspberrypi Caught by controller[0]:       ^
                      2023-02-26 20:05:43.050  - error: host.raspberrypi Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'. Please verify that the package.json has a valid "main" entry
                      2023-02-26 20:05:43.050  - error: host.raspberrypi Caught by controller[0]:     at tryPackage (node:internal/modules/cjs/loader:425:19)
                      2023-02-26 20:05:43.051  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._findPath (node:internal/modules/cjs/loader:638:18)
                      2023-02-26 20:05:43.051  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27)
                      2023-02-26 20:05:43.052  - error: host.raspberrypi Caught by controller[0]:     at Function.Module._load (node:internal/modules/cjs/loader:866:27)
                      2023-02-26 20:05:43.053  - error: host.raspberrypi Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1093:19)
                      2023-02-26 20:05:43.053  - error: host.raspberrypi Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:108:18)
                      2023-02-26 20:05:43.054  - error: host.raspberrypi Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.javascript/main.js:21:24)
                      2023-02-26 20:05:43.054  - error: host.raspberrypi Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1191:14)
                      2023-02-26 20:05:43.055  - error: host.raspberrypi Caught by controller[0]:     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
                      2023-02-26 20:05:43.055  - error: host.raspberrypi Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1069:32) {
                      2023-02-26 20:05:43.056  - error: host.raspberrypi Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
                      2023-02-26 20:05:43.056  - error: host.raspberrypi Caught by controller[0]:   path: '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/package.json',
                      2023-02-26 20:05:43.057  - error: host.raspberrypi Caught by controller[0]:   requestPath: 'coffeescript'
                      2023-02-26 20:05:43.057  - error: host.raspberrypi Caught by controller[0]: }
                      2023-02-26 20:05:43.057  - error: host.raspberrypi instance system.adapter.javascript.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      
                      
                      ============ Mark until here for C&P =============
                      
                      iob diag has finished.
                      
                      

                      npm ls coffeescript liefert

                      pi@raspberrypi:~ $ cd /opt/iobroker
                      pi@raspberrypi:/opt/iobroker $ npm ls coffeescript
                      iobroker.inst@3.0.0 /opt/iobroker
                      ├── coffeescript@1.12.7 extraneous
                      └─┬ iobroker.javascript@6.1.4
                        └── coffeescript@1.12.7
                      
                      
                      1 Antwort Letzte Antwort
                      0
                      • wendy2702W wendy2702

                        @marc_el_k sagte in javascript instanz bleibt rot:

                        @wendy2702 ein Update des Systems sowie iobroker, wie immer eigentlich.

                        Geht das auch detaillierter?

                        System nur einzelne oder z.B. von Buster nach Bullseye und was genau bei iobroker? JS Controller? JavaScript Adapter ?

                        Marc_el_KM Offline
                        Marc_el_KM Offline
                        Marc_el_K
                        schrieb am zuletzt editiert von
                        #29

                        @wendy2702 ja natürlich, Verzeihung: Ich habe so geupdatet:

                        sudo apt update
                        sudo apt dist-upgrade
                        sudo reboot
                        
                        Iobroker Update
                        iobroker upgrade
                        

                        und danach noch den Fixer durchlaufen lassen

                        Thomas BraunT 2 Antworten Letzte Antwort
                        0
                        • Marc_el_KM Marc_el_K

                          @wendy2702 ja natürlich, Verzeihung: Ich habe so geupdatet:

                          sudo apt update
                          sudo apt dist-upgrade
                          sudo reboot
                          
                          Iobroker Update
                          iobroker upgrade
                          

                          und danach noch den Fixer durchlaufen lassen

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

                          @marc_el_k

                          cd /opt/iobroker 
                          npm prune
                          npm ls
                          

                          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

                          Marc_el_KM 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @marc_el_k

                            cd /opt/iobroker 
                            npm prune
                            npm ls
                            
                            Marc_el_KM Offline
                            Marc_el_KM Offline
                            Marc_el_K
                            schrieb am zuletzt editiert von
                            #31

                            @thomas-braun

                            pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker
                            pi@raspberrypi:/opt/iobroker $ npm prune
                            
                            removed 816 packages, and changed 1 package in 24s
                            
                            169 packages are looking for funding
                              run `npm fund` for details
                            pi@raspberrypi:/opt/iobroker $ npm ls
                            iobroker.inst@3.0.0 /opt/iobroker
                            ├── iobroker.admin@6.3.5
                            ├── iobroker.alexa2@3.23.2
                            ├── iobroker.backitup@2.5.12
                            ├── iobroker.ble@0.13.0
                            ├── iobroker.bring@1.8.1
                            ├── iobroker.cameras@1.0.3 (git+ssh://git@github.com/ioBroker/ioBroker.cameras.git#496c8683d008b835588f98ef83a090df4ca9de70)
                            ├── iobroker.chromecast@2.3.1
                            ├── iobroker.daswetter@3.1.7
                            ├── iobroker.deconz@1.3.21
                            ├── iobroker.discovery@3.1.0
                            ├── iobroker.dwd@2.8.3
                            ├── iobroker.feiertage@1.1.0
                            ├── iobroker.firetv@1.0.0
                            ├── iobroker.flot@1.11.0
                            ├── iobroker.fritzdect@2.2.6
                            ├── iobroker.fullybrowser@2.1.2
                            ├── iobroker.ham@5.3.1
                            ├── iobroker.history@2.2.4
                            ├── iobroker.homeconnect@1.1.1
                            ├── iobroker.hue-extended@2.0.0
                            ├── iobroker.ical@1.13.2
                            ├── iobroker.icons-material-png@0.1.0
                            ├── iobroker.icons-mfd-svg@1.1.0
                            ├── iobroker.info@1.9.19
                            ├── iobroker.iot@1.14.2
                            ├── iobroker.jarvis@3.1.2
                            ├── iobroker.javascript@6.1.4
                            ├── iobroker.js-controller@4.0.24
                            ├── iobroker.keyble@0.1.1 (git+ssh://git@github.com/oyooyo/ioBroker.keyble.git#1a0292db0cc4402582885d6414a5a1bd2af804a3)
                            ├── iobroker.meross@1.14.0
                            ├── iobroker.mqtt@4.0.7
                            ├── iobroker.net-tools@0.2.0
                            ├── iobroker.octoprint@4.0.0
                            ├── iobroker.onvif-alt@0.2.0 (git+ssh://git@github.com/Jey-Cee/iobroker.onvif-alt.git#f524cdbc00567a3351217272ab5af29d9947c967)
                            ├── iobroker.onvif@0.4.5 (git+ssh://git@github.com/Haba1234/ioBroker.onvif.git#b8ac3ffdbedd9b2c2c67516b2b04344286631f6e)
                            ├── iobroker.parser@1.1.8
                            ├── iobroker.paw@0.3.2 (git+ssh://git@github.com/bondrogeen/ioBroker.paw.git#66372ac89942184fb4022e6838b2d36940ed7711)
                            ├── iobroker.ping@1.5.3
                            ├── iobroker.pollenflug@1.0.6
                            ├── iobroker.rpi2@1.3.2
                            ├── iobroker.rtspstream@0.0.4 (git+ssh://git@github.com/dbweb-ch/ioBroker.rtspstream.git#adff9611d3ab1871cd94d2e779b9fd4fcc937353)
                            ├── iobroker.shelly@6.3.1
                            ├── iobroker.simple-api@2.7.2
                            ├── iobroker.slideshow@0.1.4
                            ├── iobroker.socketio@4.2.0
                            ├── iobroker.sonoff@2.5.1
                            ├── iobroker.tado@0.4.4
                            ├── iobroker.tankerkoenig@3.3.7
                            ├── iobroker.telegram@1.15.2
                            ├── iobroker.text2command@2.3.0
                            ├── iobroker.tr-064@4.2.17
                            ├── iobroker.trashschedule@2.2.0
                            ├── iobroker.tuya@3.13.1
                            ├── iobroker.tvspielfilm@2.0.4
                            ├── iobroker.upnp@1.0.21
                            ├── iobroker.vis-bars@0.1.4 (git+ssh://git@github.com/ioBroker/ioBroker.vis-bars.git#e6e01bd4dae5ce7a09dbfee91ab06d18c81c43e4)
                            ├── iobroker.vis-canvas-gauges@1.0.1
                            ├── iobroker.vis-colorpicker@1.2.0
                            ├── iobroker.vis-fancyswitch@1.1.0 (git+ssh://git@github.com/ioBroker/ioBroker.vis-fancyswitch.git#62fe89a9bf646392c6a53e7f91744352409135ae)
                            ├── iobroker.vis-hqwidgets@1.3.0
                            ├── iobroker.vis-icontwo@0.90.0
                            ├── iobroker.vis-inventwo@3.3.1
                            ├── iobroker.vis-material-advanced@1.7.2 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.vis-material-advanced.git#d818df90004352435f62b34c7b567f8445ae4047)
                            ├── iobroker.vis-materialdesign@0.5.94 (git+ssh://git@github.com/Scrounger/ioBroker.vis-materialdesign.git#8b7529d493f223dfc4f1d1f632553fcb35bbcc92)
                            ├── iobroker.vis-timeandweather@1.2.2
                            ├── iobroker.vis@1.4.15
                            ├── iobroker.weatherunderground@3.4.2
                            ├── iobroker.web@4.3.0
                            ├── iobroker.wled@0.6.7
                            └── iobroker.ws@1.3.0
                            
                            
                            1 Antwort Letzte Antwort
                            0
                            • Marc_el_KM Marc_el_K

                              @wendy2702 ja natürlich, Verzeihung: Ich habe so geupdatet:

                              sudo apt update
                              sudo apt dist-upgrade
                              sudo reboot
                              
                              Iobroker Update
                              iobroker upgrade
                              

                              und danach noch den Fixer durchlaufen lassen

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

                              @marc_el_k

                              Die Aussage

                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'
                              

                              ist wohl soweit richtig, denke ich.
                              Der Pfad zum coffee-script.js wäre

                              echad@chet:/opt/iobroker $ ls -lah /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                              -rw-rw-r--+ 1 iobroker iobroker 14K Feb 12 22:12 /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                              

                              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

                              Marc_el_KM 2 Antworten Letzte Antwort
                              0
                              • Thomas BraunT Thomas Braun

                                @marc_el_k

                                Die Aussage

                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'
                                

                                ist wohl soweit richtig, denke ich.
                                Der Pfad zum coffee-script.js wäre

                                echad@chet:/opt/iobroker $ ls -lah /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                                -rw-rw-r--+ 1 iobroker iobroker 14K Feb 12 22:12 /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                                
                                Marc_el_KM Offline
                                Marc_el_KM Offline
                                Marc_el_K
                                schrieb am zuletzt editiert von
                                #33

                                @thomas-braun Danke für deine Mühe. folgendes bei mir

                                
                                pi@raspberrypi:/opt/iobroker $ ls -lah /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                                -rw-rw-r--+ 1 iobroker iobroker 14K 26. Feb 20:27 /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                                
                                
                                1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @marc_el_k

                                  Die Aussage

                                  Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script'
                                  

                                  ist wohl soweit richtig, denke ich.
                                  Der Pfad zum coffee-script.js wäre

                                  echad@chet:/opt/iobroker $ ls -lah /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                                  -rw-rw-r--+ 1 iobroker iobroker 14K Feb 12 22:12 /opt/iobroker/node_modules/iobroker.javascript/node_modules/coffeescript/lib/coffee-script/coffee-script.js
                                  
                                  Marc_el_KM Offline
                                  Marc_el_KM Offline
                                  Marc_el_K
                                  schrieb am zuletzt editiert von
                                  #34

                                  @thomas-braun Ich habe erneut neu gestartet und der JS Adapter ist grün. Hoffentlich bleibt es so :-(

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • Marc_el_KM Marc_el_K

                                    @thomas-braun Ich habe erneut neu gestartet und der JS Adapter ist grün. Hoffentlich bleibt es so :-(

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

                                    @marc_el_k sagte in javascript instanz bleibt rot:

                                    Ich habe erneut neu gestartet

                                    :-D Das wäre mein nächster Vorschlag gewesen. Ich seh nämlich sonst nix was falsch wäre.

                                    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

                                    Marc_el_KM 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @marc_el_k sagte in javascript instanz bleibt rot:

                                      Ich habe erneut neu gestartet

                                      :-D Das wäre mein nächster Vorschlag gewesen. Ich seh nämlich sonst nix was falsch wäre.

                                      Marc_el_KM Offline
                                      Marc_el_KM Offline
                                      Marc_el_K
                                      schrieb am zuletzt editiert von
                                      #36

                                      @thomas-braun 2h Recherche hier im Forum, + Google und nun Hilfe von Euch... Danke :+1:

                                      1 Antwort 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

                                      884

                                      Online

                                      32.6k

                                      Benutzer

                                      81.9k

                                      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