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

  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Update Javascript auf 5.2.21 - Fehler im Log

NEWS

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

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

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

Update Javascript auf 5.2.21 - Fehler im Log

Geplant Angeheftet Gesperrt Verschoben Error/Bug
53 Beiträge 6 Kommentatoren 4.7k 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.
  • apollon77A apollon77

    @basti97 Naja du must wenn javascript komplett entfernen nicht nur instanz 1 ... Die Skripte werden an sich nicht gelöscht, also iob del javascript (vorher backup sicherheitshalber)

    Alternativ kannst du vorher ein ´cd /opt/iobrokerundnpm i iobroker.javasscript` versuchen obs hilft

    Basti97B Online
    Basti97B Online
    Basti97
    Most Active
    schrieb am zuletzt editiert von
    #38

    @apollon77 Ich habe aber auf meinem Master noch zwei Javascript Instanzen laufen. Nicht das sie mit gelöscht werden.
    Wenn ich den Master herunterfahre und das iobroker del javascript ausführe kommt das hier.
    Oder soll ich das mal als sudo probieren.

    pi@Media04:~ $ iobroker del javascript
    No connection to databases possible ...
    

    Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

    Thomas BraunT apollon77A 2 Antworten Letzte Antwort
    0
    • Basti97B Basti97

      @apollon77 Ich habe aber auf meinem Master noch zwei Javascript Instanzen laufen. Nicht das sie mit gelöscht werden.
      Wenn ich den Master herunterfahre und das iobroker del javascript ausführe kommt das hier.
      Oder soll ich das mal als sudo probieren.

      pi@Media04:~ $ iobroker del javascript
      No connection to databases possible ...
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #39

      @basti97 sagte in Update Javascript auf 5.2.21 - Fehler im Log:

      Oder soll ich das mal als sudo probieren.

      Nein, iobroker nie mit sudo beackern.

      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

      Basti97B 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @basti97 sagte in Update Javascript auf 5.2.21 - Fehler im Log:

        Oder soll ich das mal als sudo probieren.

        Nein, iobroker nie mit sudo beackern.

        Basti97B Online
        Basti97B Online
        Basti97
        Most Active
        schrieb am zuletzt editiert von
        #40

        @thomas-braun ok also führe ich auf den Slave mal das hier aus?
        bleiben die andere Instanzen unberührt oder soll ich den Master herunterfahren.

        cd /opt/iobrokerundnpm i iobroker.javasscript
        

        Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

        1 Antwort Letzte Antwort
        0
        • Basti97B Basti97

          @apollon77 Ich habe aber auf meinem Master noch zwei Javascript Instanzen laufen. Nicht das sie mit gelöscht werden.
          Wenn ich den Master herunterfahre und das iobroker del javascript ausführe kommt das hier.
          Oder soll ich das mal als sudo probieren.

          pi@Media04:~ $ iobroker del javascript
          No connection to databases possible ...
          
          apollon77A Online
          apollon77A Online
          apollon77
          schrieb am zuletzt editiert von
          #41

          @basti97 dann mach lieber das mit npm install ... zu dem "no connection to db": Welcher controller? Welche db?

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

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

            @basti97 dann mach lieber das mit npm install ... zu dem "no connection to db": Welcher controller? Welche db?

            Basti97B Online
            Basti97B Online
            Basti97
            Most Active
            schrieb am zuletzt editiert von
            #42

            @apollon77

                Plattform: linux
                Betriebssystem: linux
                Architektur: arm
                CPUs: 4
                Geschwindigkeit: 600 MHz
                Modell: ARMv7 Processor rev 4 (v7l)
                RAM: 922.8 MB
                System-Betriebszeit: 1 T. 22:21:40
                Node.js: v14.19.0
                NPM: 6.14.16
                Datenträgergröße: 14.5 GB
                freier Festplattenspeicher: 4.9 GB
                Adapter-Anzahl: 400
                Betriebszeit: 04:10:41
                Aktive Instanzen: 4
                Pfad: /opt/iobroker/
                JS Controller: 3.3.2
            

            Javascript Adapter hat die Version 5.2.21
            Brauchst du noch mehr infos?

            Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

            1 Antwort Letzte Antwort
            0
            • apollon77A apollon77

              @basti97 dann mach lieber das mit npm install ... zu dem "no connection to db": Welcher controller? Welche db?

              Basti97B Online
              Basti97B Online
              Basti97
              Most Active
              schrieb am zuletzt editiert von
              #43

              @apollon77 sollte ich das ausführen? Weil irgendwie ging es nicht.

              pi@Media04:~ $ cd /opt/iobrokerundnpm i iobroker.javasscript
              -bash: cd: Zu viele Argumente.
              pi@Media04:~ $ cd /opt/iobroker undnpm i iobroker.javasscript
              
              

              Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • Basti97B Basti97

                @apollon77 sollte ich das ausführen? Weil irgendwie ging es nicht.

                pi@Media04:~ $ cd /opt/iobrokerundnpm i iobroker.javasscript
                -bash: cd: Zu viele Argumente.
                pi@Media04:~ $ cd /opt/iobroker undnpm i iobroker.javasscript
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #44

                @basti97 sagte in Update Javascript auf 5.2.21 - Fehler im Log:

                cd /opt/iobrokerundnpm i iobroker.javasscript

                Das soll so lauten:

                cd /opt/iobroker/ 
                npm i iobroker.javasscript
                

                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

                Basti97B 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @basti97 sagte in Update Javascript auf 5.2.21 - Fehler im Log:

                  cd /opt/iobrokerundnpm i iobroker.javasscript

                  Das soll so lauten:

                  cd /opt/iobroker/ 
                  npm i iobroker.javasscript
                  
                  Basti97B Online
                  Basti97B Online
                  Basti97
                  Most Active
                  schrieb am zuletzt editiert von
                  #45

                  @thomas-braun
                  Das kommt raus

                  pi@Media04:/opt/iobroker $  npm i iobroker.javasscript
                  npm ERR! code E404
                  npm ERR! 404 Not Found - GET https://registry.npmjs.org/iobroker.javasscript - N                                                                                                                     ot found
                  npm ERR! 404
                  npm ERR! 404  'iobroker.javasscript@latest' is not in the npm registry.
                  npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
                  npm ERR! 404
                  npm ERR! 404 Note that you can also install from a
                  npm ERR! 404 tarball, folder, http url, or git url.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2022-03-06T16_02_24_230Z-debug.log
                  pi@Media04:/opt/iobroker $
                  
                  

                  Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • Basti97B Basti97

                    @thomas-braun
                    Das kommt raus

                    pi@Media04:/opt/iobroker $  npm i iobroker.javasscript
                    npm ERR! code E404
                    npm ERR! 404 Not Found - GET https://registry.npmjs.org/iobroker.javasscript - N                                                                                                                     ot found
                    npm ERR! 404
                    npm ERR! 404  'iobroker.javasscript@latest' is not in the npm registry.
                    npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
                    npm ERR! 404
                    npm ERR! 404 Note that you can also install from a
                    npm ERR! 404 tarball, folder, http url, or git url.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-03-06T16_02_24_230Z-debug.log
                    pi@Media04:/opt/iobroker $
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #46

                    @basti97

                    Da ist ein s zu viel.

                    npm i iobroker.javascript
                    

                    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
                    • Basti97B Online
                      Basti97B Online
                      Basti97
                      Most Active
                      schrieb am zuletzt editiert von
                      #47

                      @thomas-braun said in Update Javascript auf 5.2.21 - Fehler im Log:

                      npm i iobroker.javascript

                      Super vielen Dank das hat funktoniert ich bin glücklich.
                      Das kam im übrigen.

                      pi@Media04:/opt/iobroker $ npm i iobroker.javascript
                      npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                      npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                      
                      > iobroker.javascript@5.3.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
                      > node ./install/installTypings.js
                      
                      Installing NodeJS typings...
                      latest @types: 17, installed node: 14
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                      
                      + iobroker.javascript@5.3.1
                      added 3 packages from 3 contributors, removed 3 packages and updated 6 packages in 377.051s
                      
                      90 packages are looking for funding
                        run `npm fund` for details
                      
                      

                      Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                      apollon77A 1 Antwort Letzte Antwort
                      0
                      • Basti97B Basti97

                        @thomas-braun said in Update Javascript auf 5.2.21 - Fehler im Log:

                        npm i iobroker.javascript

                        Super vielen Dank das hat funktoniert ich bin glücklich.
                        Das kam im übrigen.

                        pi@Media04:/opt/iobroker $ npm i iobroker.javascript
                        npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                        npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                        
                        > iobroker.javascript@5.3.1 postinstall /opt/iobroker/node_modules/iobroker.javascript
                        > node ./install/installTypings.js
                        
                        Installing NodeJS typings...
                        latest @types: 17, installed node: 14
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman-converters/node_modules/zigbee-herdsman/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/zigbee-herdsman/node_modules/fsevents):
                        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                        
                        + iobroker.javascript@5.3.1
                        added 3 packages from 3 contributors, removed 3 packages and updated 6 packages in 377.051s
                        
                        90 packages are looking for funding
                          run `npm fund` for details
                        
                        
                        apollon77A Online
                        apollon77A Online
                        apollon77
                        schrieb am zuletzt editiert von
                        #48

                        @basti97 uund hats was gebracht?

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

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

                          @basti97 uund hats was gebracht?

                          Basti97B Online
                          Basti97B Online
                          Basti97
                          Most Active
                          schrieb am zuletzt editiert von
                          #49

                          @apollon77 Ja der Adapter funktioniert wieder. Wenn man die Lösung weiß ist es einfach. Ich habe mir gleich den Lösungsweg gespeichert. :)

                          Würde der Befehl npm i iobroker.javascript auch funktionieren wenn ein anderer Adapter kaputt wäre. Natürlich müsste ich dann javascript ersetzen.

                          Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                          Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                          0
                          • Basti97B Basti97

                            @apollon77 Ja der Adapter funktioniert wieder. Wenn man die Lösung weiß ist es einfach. Ich habe mir gleich den Lösungsweg gespeichert. :)

                            Würde der Befehl npm i iobroker.javascript auch funktionieren wenn ein anderer Adapter kaputt wäre. Natürlich müsste ich dann javascript ersetzen.

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

                            @basti97

                            Eigentlich vermeidet man den Einsatz von npm auf direktem Weg.
                            Besser:

                            iobroker install ADAPTERNAME
                            

                            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

                            Basti97B 1 Antwort Letzte Antwort
                            0
                            • Basti97B Basti97

                              @apollon77 Ja der Adapter funktioniert wieder. Wenn man die Lösung weiß ist es einfach. Ich habe mir gleich den Lösungsweg gespeichert. :)

                              Würde der Befehl npm i iobroker.javascript auch funktionieren wenn ein anderer Adapter kaputt wäre. Natürlich müsste ich dann javascript ersetzen.

                              apollon77A Online
                              apollon77A Online
                              apollon77
                              schrieb am zuletzt editiert von
                              #51

                              @basti97 ja und nein. Als pauschale Nummer nicht ganz so geeignet. Kommt immer darauf an

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

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

                                @basti97

                                Eigentlich vermeidet man den Einsatz von npm auf direktem Weg.
                                Besser:

                                iobroker install ADAPTERNAME
                                
                                Basti97B Online
                                Basti97B Online
                                Basti97
                                Most Active
                                schrieb am zuletzt editiert von
                                #52

                                @thomas-braun Danke gut zu wissen. :)

                                Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                                1 Antwort Letzte Antwort
                                0
                                • apollon77A apollon77

                                  @basti97 ja und nein. Als pauschale Nummer nicht ganz so geeignet. Kommt immer darauf an

                                  Basti97B Online
                                  Basti97B Online
                                  Basti97
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #53

                                  @apollon77 Ok dann lieber immer nachfragen bevor man was falsches macht. Aber so lange man ein Backup hat was man im Notfall einspielen könnte. Wenn es dann nicht mehr funktioniert. Aber nicht so schlimm wenn man wie hier gute Hilfe bekommt. :)
                                  Ausfälle sind zwar ärgerlich und zeitaufwändig aber wenn es dann funktioniert ist man glücklicher.

                                  Iobroker läuft als VM auf Proxmoxserver x folgende Hersteller im Einsatz Sonoff, Gosund, Siemens x Aofo über Tasmota x Zigbee x das Smarthome wächst und wächst

                                  1 Antwort Letzte Antwort
                                  1
                                  Antworten
                                  • In einem neuen Thema antworten
                                  Anmelden zum Antworten
                                  • Älteste zuerst
                                  • Neuste zuerst
                                  • Meiste Stimmen


                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  678

                                  Online

                                  32.4k

                                  Benutzer

                                  81.4k

                                  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