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
    528

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

  • 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 Beowolf

    @thomas-braun sagte in javascript instanz bleibt rot:

    @beowolf

    Das Skript würde ich zunächst mal außen vor lassen und mich auf den mihome-cloud-Adapter stürzen.

    Zum Fehler bei der Installation:

    https://forum.iobroker.net/topic/57337/fehler-25-oder-217-bei-adapter-install-update-mit-npm8

    npm 9.5.1 ist auch ein untrügliches Zeichen für eine verbogene Installation von nodejs/npm. nodejs@16 kommt mit npm@8 daher. Schau dir das Konstrukt bei dir an und installier nodejs richtig.

    Mit diesem Befehl

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

    läuft die Javascript Instanz wieder.

    Für" installier nodejs richtig" gibt es da eine genaue Anleitung?

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

    @beowolf sagte in javascript instanz bleibt rot:

    Für" installier nodejs richtig" gibt es da eine genaue Anleitung?

    Ja, die steht in meiner Signatur verlinkt.

    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

    B 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @beowolf sagte in javascript instanz bleibt rot:

      Für" installier nodejs richtig" gibt es da eine genaue Anleitung?

      Ja, die steht in meiner Signatur verlinkt.

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

      @thomas-braun
      Wer lesen kann usw. :blush:

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

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • B Beowolf

        @thomas-braun
        Wer lesen kann usw. :blush:

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

        @beowolf sagte in javascript instanz bleibt rot:

        Wer lesen kann

        macht weniger Blödsinn.

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

        1 Antwort Letzte Antwort
        0
        • B Offline
          B Offline
          Beowolf
          schrieb am zuletzt editiert von
          #10

          Danke für die Hilfe.

          Jetzt löpp wieder alles.

          Grüße
          Manfred

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

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • B Beowolf

            Danke für die Hilfe.

            Jetzt löpp wieder alles.

            Grüße
            Manfred

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

            @beowolf

            Was spuckt

            iob diag
            

            aus?

            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
            • B Offline
              B Offline
              Beowolf
              schrieb am zuletzt editiert von
              #12

              Ist dieses gemeint?

              
              ======================= 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            9.5.1
                                      /usr/bin/npx            9.5.1
              
              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:                8904
              States:                 8156
              
              Size of iob-Database:
              
              17M     /opt/iobroker/iobroker-data/objects.jsonl
              11M     /opt/iobroker/iobroker-data/states.jsonl
              
              
              =================== END OF SUMMARY ====================
              

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

              wendy2702W Thomas BraunT 2 Antworten Letzte Antwort
              0
              • B Beowolf

                Ist dieses gemeint?

                
                ======================= 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            9.5.1
                                        /usr/bin/npx            9.5.1
                
                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:                8904
                States:                 8156
                
                Size of iob-Database:
                
                17M     /opt/iobroker/iobroker-data/objects.jsonl
                11M     /opt/iobroker/iobroker-data/states.jsonl
                
                
                =================== END OF SUMMARY ====================
                
                wendy2702W Online
                wendy2702W Online
                wendy2702
                schrieb am zuletzt editiert von
                #13

                @beowolf sagte in javascript instanz bleibt rot:

                9.5.1

                die ist "falsch"

                Schau mal in die Signatur von @Thomas-Braun wie man das Korrigiert.

                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
                • B Beowolf

                  Ist dieses gemeint?

                  
                  ======================= 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            9.5.1
                                          /usr/bin/npx            9.5.1
                  
                  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:                8904
                  States:                 8156
                  
                  Size of iob-Database:
                  
                  17M     /opt/iobroker/iobroker-data/objects.jsonl
                  11M     /opt/iobroker/iobroker-data/states.jsonl
                  
                  
                  =================== END OF SUMMARY ====================
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #14

                  @beowolf sagte in javascript instanz bleibt rot:

                                      /usr/bin/npm            9.5.1                                                                    
                  

                  Hatten wir nicht gerade im Nachbarthread damit zu tun?

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

                  1 Antwort Letzte Antwort
                  0
                  • wendy2702W wendy2702

                    @beowolf sagte in javascript instanz bleibt rot:

                    9.5.1

                    die ist "falsch"

                    Schau mal in die Signatur von @Thomas-Braun wie man das Korrigiert.

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

                    @wendy2702

                    Hatte ich geschaut.

                    Dort steht

                    1. cd /opt/iobroker
                    2. npm ls | grep -E 'github|ERR'

                    gibt bei mir nichts zurück. Also doch schon mal gut.

                    Auch sudo apt update und sudo apt upgrade gemacht. Auch sudo apt full-upgrade.

                    Was ich aber auf der Seite nur sehe, ist das es um "nodejs" geht.

                    Muß ich etwas manuell anstossen?

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

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • B Beowolf

                      @wendy2702

                      Hatte ich geschaut.

                      Dort steht

                      1. cd /opt/iobroker
                      2. npm ls | grep -E 'github|ERR'

                      gibt bei mir nichts zurück. Also doch schon mal gut.

                      Auch sudo apt update und sudo apt upgrade gemacht. Auch sudo apt full-upgrade.

                      Was ich aber auf der Seite nur sehe, ist das es um "nodejs" geht.

                      Muß ich etwas manuell anstossen?

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

                      @beowolf

                      iob stop
                      sudo apt install --reinstall nodejs
                      iob start
                      

                      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
                      • B Offline
                        B Offline
                        Beowolf
                        schrieb am zuletzt editiert von Beowolf
                        #17

                        @thomas-braun sagte in javascript instanz bleibt rot:

                        Danke für die Hilfe.

                        So sollte es besser sein?

                        ======================= 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
                        
                        Objects:                8905
                        States:                 8158
                        
                        Size of iob-Database:
                        
                        26M     /opt/iobroker/iobroker-data/objects.jsonl
                        9.6M    /opt/iobroker/iobroker-data/states.jsonl
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        

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

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • B Beowolf

                          @thomas-braun sagte in javascript instanz bleibt rot:

                          Danke für die Hilfe.

                          So sollte es besser sein?

                          ======================= 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
                          
                          Objects:                8905
                          States:                 8158
                          
                          Size of iob-Database:
                          
                          26M     /opt/iobroker/iobroker-data/objects.jsonl
                          9.6M    /opt/iobroker/iobroker-data/states.jsonl
                          
                          
                          =================== END OF SUMMARY ====================
                          
                          
                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #18

                          @beowolf sagte in javascript instanz bleibt rot:

                          (Fast) perfekt.

                          Ich würde noch das Boot Target in

                          sudo raspi-config
                          

                          auf
                          Boot Target: multi-user.target
                          setzen:

                          1 System Options       
                          S5 Boot / Auto Login 
                          B1 Console
                          

                          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
                          • 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
                                          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

                                          894

                                          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