Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Update Javascript auf 5.2.21 - Fehler im Log

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Update Javascript auf 5.2.21 - Fehler im Log

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Basti97 last edited by

      @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.

      Basti97 1 Reply Last reply Reply Quote 0
      • Basti97
        Basti97 Most Active @Thomas Braun last edited by

        @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
        
        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @Basti97 last edited by

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

          Basti97 2 Replies Last reply Reply Quote 0
          • Basti97
            Basti97 Most Active @apollon77 last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • Basti97
              Basti97 Most Active @apollon77 last edited by

              @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 Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Basti97 last edited by 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
                
                Basti97 1 Reply Last reply Reply Quote 0
                • Basti97
                  Basti97 Most Active @Thomas Braun last edited by

                  @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 Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Basti97 last edited by

                    @basti97

                    Da ist ein s zu viel.

                    npm i iobroker.javascript
                    
                    1 Reply Last reply Reply Quote 0
                    • Basti97
                      Basti97 Most Active last edited by

                      @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
                      
                      
                      apollon77 1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @Basti97 last edited by

                        @basti97 uund hats was gebracht?

                        Basti97 1 Reply Last reply Reply Quote 0
                        • Basti97
                          Basti97 Most Active @apollon77 last edited by

                          @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 Braun apollon77 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Basti97 last edited by

                            @basti97

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

                            iobroker install ADAPTERNAME
                            
                            Basti97 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @Basti97 last edited by

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

                              Basti97 1 Reply Last reply Reply Quote 0
                              • Basti97
                                Basti97 Most Active @Thomas Braun last edited by

                                @thomas-braun Danke gut zu wissen. 🙂

                                1 Reply Last reply Reply Quote 0
                                • Basti97
                                  Basti97 Most Active @apollon77 last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  940
                                  Online

                                  31.6k
                                  Users

                                  79.4k
                                  Topics

                                  1.3m
                                  Posts

                                  6
                                  53
                                  2592
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo