Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Script Engine 4.3.4 zu 4.6.17 funktioniert nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED Script Engine 4.3.4 zu 4.6.17 funktioniert nicht

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

      @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy :~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
      /usr/bin/nodejs
      v12.18.3
      /usr/bin/node
      v12.18.3
      /usr/bin/npm
      6.14.6
      nodejs:
      Installiert: 12.18.3-1nodesource1
      Installationskandidat: 12.18.3-1nodesource1
      Versionstabelle:
      *** 12.18.3-1nodesource1 500
      500 https://deb.nodesource.com/node_12.x stretch/main armhf Packages
      100 /var/lib/dpkg/status
      8.11.1~dfsg-2~bpo9+1 500
      500 http://archive.raspberrypi.org/debian stretch/main armhf Packages
      4.8.2~dfsg-1 500
      500 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages

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

        @Ibot CodeTags setzt man mit dem Symbol </> um den Text herum.

        whoami
        iobroker update
        iobroker upgrade
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Thomas Braun last edited by

          Alternativ

          iobroker install javascript@4.6.17
          
          I 1 Reply Last reply Reply Quote 0
          • I
            Ibot @Thomas Braun last edited by

            @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

            iobroker install javascript@4.6.17
            Funktioniert leider nicht Version bleibt die gleiche anbei die Fehler und dickes Danke schonmal das Dich dem angenommenen hast 😀
            npm ERR! path /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wake
            npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wake: is outside /opt/iobroker/node_modules/iobroker.javascript/node_modules/wake_on_lan and not a link
            npm ERR! File exists: /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wake
            npm ERR! Remove the existing file and try again, or run npm
            npm ERR! with --force to overwrite files recklessly.

            npm ERR! A complete log of this run can be found in:
            npm ERR! /home/iobroker/.npm/_logs/2020-08-08T15_14_37_941Z-debug.log
            Update "system.adapter.javascript.0"

            Glasfaser Thomas Braun 3 Replies Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Ibot last edited by

              @Thomas-Braun

              npm ERR! Remove the existing file and try again, or run npm
              npm ERR! with --force to overwrite files recklessly.

              siehe oben

              ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wake: is outside /opt/iobroker/node_modules/iobroker.javascript/node_modules/wake_on_lan and not a linknpm ERR! File exists: /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/wakenpm ERR! Remove the existing file and try again, or run npmnpm ERR! with --force to overwrite files recklessly.
              

              Remove the existing file and try again

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

                @Ibot
                Versuch es mal mit

                iobroker install --force javascript@4.6.17
                

                Wobei ich noch nie ausprobiert habe ob --force auch mit iobroker statt npm funktioniert.

                Und setz bitte CodeTags. Ich hab nämlich keine Lust den Kram so zu lesen!

                Glasfaser I 2 Replies Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Glasfaser last edited by

                  @Glasfaser Hab ich natürlich gesehen. Wollte aber nicht direkt die Holzhammermethode anwenden.

                  Glasfaser 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Thomas Braun last edited by

                    @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                    die Holzhammermethode anwenden.

                    😁

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @Thomas Braun last edited by

                      @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                      Und setz bitte CodeTags. Ich hab nämlich keine Lust den Kram so zu lesen!

                      @Ibot

                      Hier dein Code
                      

                      Kuddel1.gif

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

                        Das ganz riecht wieder nach 'irgendwie im System als root rumgefuhrwerkt' oder das Dateisystem hat 'nen Schuss. Jedenfalls scheint da ein symlink ins Leere zu laufen oder durch die bin ersetzt worden zu sein.

                        iobroker version
                        

                        liefert was?

                        Glasfaser I 2 Replies Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Thomas Braun last edited by Glasfaser

                          @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                          ins Leere zu laufen oder durch die bin ersetzt worden zu sein.

                          Deshalb wir nie ein Update gelingen , da zuvor alles im Ordner / .bin /

                           /opt/iobroker/node_modules/iobroker.javascript/node_modules/.bin/
                          

                          installiert wurde , was so nicht sein sollte ....

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

                            @Glasfaser Stimmt.
                            Müsste so aussehen:

                            pi@raspberrypi:~ $ cd /opt/iobroker/node_modules/.bin/
                            pi@raspberrypi:/opt/iobroker/node_modules/.bin $ ls -la | grep wake
                            lrwxrwxrwx    1 iobroker iobroker    19 Apr 12 13:04 wake -> ../wake_on_lan/wake
                            pi@raspberrypi:/opt/iobroker/node_modules/.bin $
                            

                            Da ist wohl mal javascript von Hand im falschen Verzeichnis installiert worden.

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

                              @Ibot

                              pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/.bin/wake
                              lrwxrwxrwx 1 iobroker iobroker 19 Apr 12 13:04 /opt/iobroker/node_modules/.bin/wake -> ../wake_on_lan/wake
                              pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/wake_on_lan/wake
                              -rwxrwxr-x+ 1 iobroker iobroker 1611 Mai 20  2018 /opt/iobroker/node_modules/wake_on_lan/wake
                              

                              Sieht das bei dir so aus?

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                Ibot @Thomas Braun last edited by Homoran

                                @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                                iobroker install --force javascript@4.6.17

                                Hallo, funktioniert leider nicht

                                pi@raspberrypi:~ $ iobroker install --force javascript@4.6.17
                                /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:441
                                            if (name.indexOf('@') !== -1) {
                                                     ^
                                
                                TypeError: Cannot read property 'indexOf' of undefined
                                    at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:441:22)
                                    at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2601:5)
                                    at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24)
                                    at Module._compile (internal/modules/cjs/loader.js:1137:30)
                                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
                                    at Module.load (internal/modules/cjs/loader.js:985:32)
                                    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
                                    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
                                    at internal/main/run_main_module.js:17:47
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • I
                                  Ibot @Thomas Braun last edited by

                                  @Thomas-Braun sagte in Script Engine 4.3.4 zu 4.6.17 funktioniert nicht:

                                  iobroker version

                                  pi@raspberrypi:~ $ iobroker version
                                  3.1.6
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    Ibot @Thomas Braun last edited by

                                    @Thomas-Braun
                                    was muss ich eingeben um das zu sehen?

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

                                      @Ibot Die beiden Zeilen mit ls -la usw.
                                      Die Pfade sind absolut, das passt dann so

                                      I 1 Reply Last reply Reply Quote 0
                                      • I
                                        Ibot @Thomas Braun last edited by Homoran

                                        @Thomas-Braun du meinst hiervon die erste und die dritte?

                                        pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/.bin/wake
                                        lrwxrwxrwx 1 iobroker iobroker 19 Apr 12 13:04 /opt/iobroker/node_modules/.bin/wake -> ../wake_on_lan/wake
                                        pi@raspberrypi:~ $ ls -la /opt/iobroker/node_modules/wake_on_lan/wake
                                        -rwxrwxr-x+ 1 iobroker iobroker 1611 Mai 20  2018 /opt/iobroker/node_modules/wake_on_lan/wake
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Ibot last edited by

                                          @Ibot Ja.

                                          I 1 Reply Last reply Reply Quote 0
                                          • I
                                            Ibot @Thomas Braun last edited by

                                            @Thomas-Braun da schreib er Komando nicht gefunden in die Konsole ich glaube ich mache noch irgend was falsch...

                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            603
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            funktioniertnicht skript engine update fehler
                                            3
                                            31
                                            985
                                            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