Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

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

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.7k

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Update Javascript auf 5.2.21 - Fehler im Log

Scheduled Pinned Locked Moved Error/Bug
53 Posts 6 Posters 5.4k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 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 Offline
    Basti97B Offline
    Basti97
    Most Active
    wrote on last edited by
    #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 Reply Last reply
    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 Offline
      apollon77A Offline
      apollon77
      wrote on last edited by
      #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 Replies Last reply
      0
      • apollon77A apollon77

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

        Basti97B Offline
        Basti97B Offline
        Basti97
        Most Active
        wrote on last edited by
        #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 Reply Last reply
        0
        • apollon77A apollon77

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

          Basti97B Offline
          Basti97B Offline
          Basti97
          Most Active
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by 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 Reply Last reply
            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 Offline
              Basti97B Offline
              Basti97
              Most Active
              wrote on last edited by
              #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 Reply Last reply
              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
                wrote on last edited by
                #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 Reply Last reply
                0
                • Basti97B Offline
                  Basti97B Offline
                  Basti97
                  Most Active
                  wrote on last edited by
                  #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 Reply Last reply
                  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 Offline
                    apollon77A Offline
                    apollon77
                    wrote on last edited by
                    #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 Reply Last reply
                    0
                    • apollon77A apollon77

                      @basti97 uund hats was gebracht?

                      Basti97B Offline
                      Basti97B Offline
                      Basti97
                      Most Active
                      wrote on last edited by
                      #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 Replies Last reply
                      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
                        wrote on last edited by
                        #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 Reply Last reply
                        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 Offline
                          apollon77A Offline
                          apollon77
                          wrote on last edited by
                          #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 Reply Last reply
                          0
                          • Thomas BraunT Thomas Braun

                            @basti97

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

                            iobroker install ADAPTERNAME
                            
                            Basti97B Offline
                            Basti97B Offline
                            Basti97
                            Most Active
                            wrote on last edited by
                            #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 Reply Last reply
                            0
                            • apollon77A apollon77

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

                              Basti97B Offline
                              Basti97B Offline
                              Basti97
                              Most Active
                              wrote on last edited by
                              #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 Reply Last reply
                              1
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              406

                              Online

                              32.6k

                              Users

                              82.1k

                              Topics

                              1.3m

                              Posts
                              Community
                              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                              ioBroker Community 2014-2025
                              logo
                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Home
                              • Recent
                              • Tags
                              • Unread 0
                              • Categories
                              • Unreplied
                              • Popular
                              • GitHub
                              • Docu
                              • Hilfe