Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. JS Adpater lässt sich nicht updaten / Falsche Admin Version

    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

    JS Adpater lässt sich nicht updaten / Falsche Admin Version

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Beowolf @apollon77 last edited by

      @apollon77 sagte in JS Adpater lässt sich nicht updaten / Falsche Admin Version:

      @Beowolf ALso du hast jetzt JS 4.3.4 drauf und er sagt das es ein Update auf 4.3.4 gibt?

      Nein, es wird immer noch 4.1.12 angezeigt als installierte Version. Hinweis auf Update Version 4.3.4.

      1 Reply Last reply Reply Quote 0
      • B
        Beowolf last edited by

        Wenn ich das eingebe

        npm install iobroker.javascript@4.3.4
        

        Kommt das:

        > iobroker.javascript@4.3.4 postinstall /home/pi/node_modules/iobroker.javascript
        > node ./install/installTypings.js
        
        Installing NodeJS typings...
        latest @types: 13, installed node: 13
        npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
        npm WARN pi No description
        npm WARN pi No repository field.
        npm WARN pi No README data
        npm WARN pi No license field.
        
        + iobroker.javascript@4.3.4
        removed 1 package, updated 1 package and audited 348 packages in 30.98s
        
        1 package is looking for funding
          run `npm fund` for details
        
        found 0 vulnerabilities
        
        pi@raspberrypi:~ 
        
        apollon77 1 Reply Last reply Reply Quote 0
        • B
          Beowolf last edited by Beowolf

          Nun, nach mehrmaligen Eingaben habe ich jetzt bei der Version "Script Engine" 4.4.2 als installierte Version stehen.
          Bei Instanzen ist jetzt "javascript.0" auf rot. Habe ioBroker schon neu gestartet. Bleibt auf rot.

          1 Reply Last reply Reply Quote 0
          • B
            Beowolf last edited by

            Ich noch einmal. Ich habe jetzt javascript deinstaliert und wieder installiert. Nun steht dort 4.3.4.

            Nun sollte doch alles ok sein, oder?

            apollon77 1 Reply Last reply Reply Quote 0
            • S
              scotty @Beowolf last edited by

              @Beowolf said in JS Adpater lässt sich nicht updaten / Falsche Admin Version:

              Hallo Apollon,

              ich habe Admin 3.7.8 und die Javascript Engine ist 4.1.12. In der Zeile steht als Update 4.3.4. Wenn ich dort auf den "runden" Pfeil klicke, kommt: "Falsche Version von Admin".

              Dies "iobroker upload admin", mache ich das per Putty direkt auf dem PI3? Also "sudo iobroker upload admin"?

              Grüße
              Manfred

              Ich hab das selbe Problem bei nem Kollegen auf nem Raspberry gesehen und aktuell hab ichs auf ner virtuellen Debian Maschine.

              1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @Beowolf last edited by

                @Beowolf falsches Verzeichnis. Musst du in /opt/iobroker machen.

                1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @Beowolf last edited by

                  @Beowolf Gefühlt experimentierst du extrem rum und mit den Infos Ist es echt schwierig sauber zu verstehen was jetzt Sache ist und zu helfen.

                  Daher ganz generell: wenn du per npm installiert hast Fehler noch ein iobroker upload javascript

                  B 1 Reply Last reply Reply Quote 0
                  • S
                    scotty last edited by

                    also selbes Problem, ausführliche Info:

                    Linux iobroker 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
                    ...
                    iouser@iobroker:~$ npm install iobroker.javascript@4.3.4
                    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                    
                    > iobroker.javascript@4.3.4 postinstall /home/iouser/node_modules/iobroker.javascript
                    > node ./install/installTypings.js
                    
                    Installing NodeJS typings...
                    latest @types: 13, installed node: 10
                    npm WARN saveError ENOENT: no such file or directory, open '/home/iouser/package.json'
                    npm notice created a lockfile as package-lock.json. You should commit this file.
                    npm WARN enoent ENOENT: no such file or directory, open '/home/iouser/package.json'
                    npm WARN iouser No description
                    npm WARN iouser No repository field.
                    npm WARN iouser No README data
                    npm WARN iouser No license field.
                    
                    + iobroker.javascript@4.3.4
                    added 77 packages from 149 contributors and audited 99 packages in 5.685s
                    found 0 vulnerabilities
                    
                    iouser@iobroker:~$ iobroker restart
                    
                    

                    Javascriptadapter ist immer noch 4.1.12, also

                    iouser@iobroker:~$ cd /opt/iobroker/
                    iouser@iobroker:/opt/iobroker$ npm install iobroker.javascript@4.3.4
                    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@types/tough-cookie
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@types/request
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types/node
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/typescript
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@types
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules/@types
                    npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.javascript/node_modules
                    npm ERR! code EACCES
                    npm ERR! syscall access
                    npm ERR! path /opt/iobroker/node_modules/@types/tough-cookie
                    npm ERR! errno -13
                    npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@types/tough-cookie'
                    npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@types/tough-cookie']
                    npm ERR!   stack:
                    npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@types/tough-cookie\'',
                    npm ERR!   errno: -13,
                    npm ERR!   code: 'EACCES',
                    npm ERR!   syscall: 'access',
                    npm ERR!   path: '/opt/iobroker/node_modules/@types/tough-cookie' }
                    npm ERR! 
                    npm ERR! The operation was rejected by your operating system.
                    npm ERR! It is likely you do not have the permissions to access this file as the current user
                    npm ERR! 
                    npm ERR! If you believe this might be a permissions issue, please double-check the
                    npm ERR! permissions of the file and its containing directories, or try running
                    npm ERR! the command again as root/Administrator.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iouser/.npm/_logs/2020-02-10T19_15_33_595Z-debug.log
                    

                    Ich könnte mich jetzt um die Permissions kümmern, oder

                    iouser@iobroker:/opt/iobroker$ sudo npm install iobroker.javascript@4.3.4
                    [sudo] password for iouser: 
                    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                    
                    > iobroker.javascript@4.3.4 postinstall /opt/iobroker/node_modules/iobroker.javascript
                    > node ./install/installTypings.js
                    
                    Installing NodeJS typings...
                    Could not install NodeJS typings. This is not critical.
                    Reason: 
                    npm ERR! code EACCES
                    npm ERR! syscall scandir
                    npm ERR! path /root/.npm/_logs
                    npm ERR! errno -13
                    npm ERR! 
                    npm ERR! Your cache folder contains root-owned files, due to a bug in
                    npm ERR! previous versions of npm which has since been addressed.
                    npm ERR! 
                    npm ERR! To permanently fix this problem, please run:
                    npm ERR!   sudo chown -R 1000:1000 "/root/.npm"
                    glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                      errno: -13,
                      code: 'EACCES',
                      syscall: 'scandir',
                      path: '/root/.npm/_logs' }
                    npm ERR! code EACCES
                    npm ERR! syscall open
                    npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
                    npm ERR! errno -13
                    npm ERR! 
                    npm ERR! Your cache folder contains root-owned files, due to a bug in
                    npm ERR! previous versions of npm which has since been addressed.
                    npm ERR! 
                    npm ERR! To permanently fix this problem, please run:
                    npm ERR!   sudo chown -R 1000:1000 "/root/.npm"
                    
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    
                    + iobroker.javascript@4.3.4
                    added 1 package and updated 5 packages in 6.277s
                    
                    

                    Ok, also doch permissions:

                    iouser@iobroker:/opt/iobroker$ sudo chown -R 1000:1000 "/root/.npm"
                    iouser@iobroker:/opt/iobroker$ sudo npm install iobroker.javascript@4.3.4
                    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                    
                    > iobroker.javascript@4.3.4 postinstall /opt/iobroker/node_modules/iobroker.javascript
                    > node ./install/installTypings.js
                    
                    Installing NodeJS typings...
                    Could not install NodeJS typings. This is not critical.
                    Reason: 
                    npm ERR! code EACCES
                    npm ERR! syscall scandir
                    npm ERR! path /root/.npm/_logs
                    npm ERR! errno -13
                    npm ERR! 
                    npm ERR! Your cache folder contains root-owned files, due to a bug in
                    npm ERR! previous versions of npm which has since been addressed.
                    npm ERR! 
                    npm ERR! To permanently fix this problem, please run:
                    npm ERR!   sudo chown -R 1000:1000 "/root/.npm"
                    glob error { [Error: EACCES: permission denied, scandir '/root/.npm/_logs']
                      errno: -13,
                      code: 'EACCES',
                      syscall: 'scandir',
                      path: '/root/.npm/_logs' }
                    npm ERR! code EACCES
                    npm ERR! syscall open
                    npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
                    npm ERR! errno -13
                    npm ERR! 
                    npm ERR! Your cache folder contains root-owned files, due to a bug in
                    npm ERR! previous versions of npm which has since been addressed.
                    npm ERR! 
                    npm ERR! To permanently fix this problem, please run:
                    npm ERR!   sudo chown -R 1000:1000 "/root/.npm"
                    
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                    
                    + iobroker.javascript@4.3.4
                    updated 1 package in 4.289s
                    
                    
                       ╭────────────────────────────────────────────────────────────────╮
                       │                                                                │
                       │      New minor version of npm available! 6.11.3 → 6.13.7       │
                       │   Changelog: https://github.com/npm/cli/releases/tag/v6.13.7   │
                       │               Run npm install -g npm to update!                │
                       │                                                                │
                       ╰────────────────────────────────────────────────────────────────╯
                    
                    

                    Javascriptadapter ist nun aktuell.

                    1 Reply Last reply Reply Quote 0
                    • B
                      Beowolf @apollon77 last edited by

                      @apollon77 sagte in JS Adpater lässt sich nicht updaten / Falsche Admin Version:

                      Daher ganz generell: wenn du per npm installiert hast Fehler noch ein iobroker upload javascript

                      Das verstehe ich jetzt überhaupt nicht.

                      Und ja, ich experimentiere. Das Deinstallieren und wieder Installieren und mit dem Einspielen des vorher erstellten Backups scheint jetzt alles ohne Problem zu funktionieren.

                      AlCalzone 1 Reply Last reply Reply Quote 0
                      • AlCalzone
                        AlCalzone Developer @Beowolf last edited by

                        @Beowolf Ganz einfach:
                        Deine Experimente mit sudo haben die Permissions durcheinander gebracht. Siehe auch meine Signatur.

                        Also

                        1. Fixer ausführen (egal wo)
                        2. Vor jeder manuellen Installation ins richtige Verzeichnis wechseln
                        3. Nach jeder manuellen Installation Upload durchführen
                        4. npm nicht mit sudo ausführen
                        iobroker fix
                        cd /opt/iobroker
                        npm i iobroker.javascript@4.3.4
                        iobroker upload javascript
                        
                        B 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          Auch wenn wir gerade weeeit vom eigentlichen Thread Thema abgekommen sind:

                          Ich habe jetzt auf zwei meiner Systeme den Admin aktualisiert und in beiden Fällen hat alles wie gewünscht geklappt und ich hatte sofort in der Admin UI die Möglichkeit zB Devices oder iot oder auch Javascript zu installieren ... ich kann den Fehler von Euch also nicht nachvollziehen.

                          Ich warte immer noch darauf das mit mal jemand der dieses Problem hatte das Log vom initialen "Admin 4.0 update" bereitstellt. Ohne das kommen wir hier nicht wirklich weiter 😞

                          1 Reply Last reply Reply Quote 0
                          • B
                            Beowolf @AlCalzone last edited by

                            @AlCalzone sagte in JS Adpater lässt sich nicht updaten / Falsche Admin Version:

                            @Beowolf Ganz einfach:
                            Deine Experimente mit sudo haben die Permissions durcheinander gebracht. Siehe auch meine Signatur.

                            Also

                            1. Fixer ausführen (egal wo)
                            2. Vor jeder manuellen Installation ins richtige Verzeichnis wechseln
                            3. Nach jeder manuellen Installation Upload durchführen
                            4. npm nicht mit sudo ausführen
                            iobroker fix
                            cd /opt/iobroker
                            npm i iobroker.javascript@4.3.4
                            iobroker upload javascript
                            

                            Hallo AlCalzone,
                            vielen Dank für die Hilfe. Wäre es besser, das ich ioBroker noch einmal neu aufsetze, das vorletzte Backup einspiele und dann noch einmal update?

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jack01 last edited by Jack01

                              So, nachdem es mit dem Upload auch im Expert Modus nicht geklappt hat,

                              habe ich mich genau an die Anweisung von @AlCalzone gehalten (allerdings ohne fixer) und das hat funktioniert.

                              Anbei die Ausgabe der Konsole. Die npn-Warnungen verstehe ich allerdings nicht. Die Funktionen sind aber alle gegeben.
                              Mein Admin Adapter hat die Version 3.7.8

                              Gruß
                              Hans-Jürgen

                              pi@ioBroker-RasPi:~ $ cd /opt/iobroker
                              pi@ioBroker-RasPi:/opt/iobroker $ npm i iobroker.javascript@4.3.4
                              
                              > iobroker.javascript@4.3.4 postinstall /opt/iobroker/node_modules/iobroker.javascript
                              > node ./install/installTypings.js
                              
                              Installing NodeJS typings...
                              latest @types: 13, installed node: 10
                              npm WARN ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies yourself.
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                              npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                              npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                              
                              + iobroker.javascript@4.3.4
                              removed 68 packages and updated 7 packages in 143.491s
                              
                              5 packages are looking for funding
                                run `npm fund` for details
                              
                              pi@ioBroker-RasPi:/opt/iobroker $ iobroker upload javascript
                              upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/python/python.js vs/basic-languages/python/python.js application/javascript
                              upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/lua/lua.js vs/basic-languages/lua/lua.js application/javascript
                              upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/csp/csp.js vs/basic-languages/csp/csp.js application/javascript
                              upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/runtime-main.b8ed958b.js static/js/runtime-main.b8ed958b.js application/javascript
                              upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/precache-manifest.746ac9eff22296784d9a7ef35a405493.js precache-manifest.746ac9eff22296784d9a7ef35a405493.js application/javascript
                              upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/fr.js google-blockly/own/msg/fr.js application/javascript
                              upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_time.js google-blockly/own/blocks_time.js application/javascript
                              upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/pl.js google-blockly/msg/js/pl.js application/javascript
                              upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/quote0.png google-blockly/media/quote0.png image/png
                              upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handopen.cur google-blockly/media/handopen.cur null
                              upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handdelete.cur google-blockly/media/handdelete.cur null
                              upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handclosed.cur google-blockly/media/handclosed.cur null
                              upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.wav google-blockly/media/disconnect.wav audio/wav
                              upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.ogg google-blockly/media/disconnect.ogg audio/ogg
                              upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.mp3 google-blockly/media/disconnect.mp3 audio/mpeg
                              upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/wav
                              upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.ogg google-blockly/media/delete.ogg audio/ogg
                              upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.mp3 google-blockly/media/delete.mp3 audio/mpeg
                              upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.wav google-blockly/media/click.wav audio/wav
                              upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.ogg google-blockly/media/click.ogg audio/ogg
                              upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.mp3 google-blockly/media/click.mp3 audio/mpeg
                              upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/1x1.gif google-blockly/media/1x1.gif image/gif
                              upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/javascript_compressed.js google-blockly/javascript_compressed.js application/javascript
                              upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blocks_compressed.js google-blockly/blocks_compressed.js application/javascript
                              upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blockly_compressed.js google-blockly/blockly_compressed.js application/javascript
                              upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE null
                              upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                              upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/asset-manifest.json asset-manifest.json application/json
                              upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript
                              Update "system.adapter.javascript.0"
                              pi@ioBroker-RasPi:/opt/iobroker $
                              
                              
                              AlCalzone 1 Reply Last reply Reply Quote 0
                              • AlCalzone
                                AlCalzone Developer @Jack01 last edited by

                                @Jack01 sagte in JS Adpater lässt sich nicht updaten / Falsche Admin Version:

                                Die npn-Warnungen verstehe ich allerdings nicht.

                                Das sind optionale Abhängigkeiten für andere Betriebssyteme o.ä.
                                Einfach ignorieren. Wie alle npm-Warnungen 😉

                                1 Reply Last reply Reply Quote 0
                                • smile
                                  smile last edited by

                                  Hi zusammen, ich klinke mich hier mal ein, da dies Problem eventuell noch nicht gelöst ist?
                                  Admin Version: 4.1.11
                                  Javascript Engine Version: 4.1.14 --> Soll auf 4.8.4 geupdatet werden.

                                  Dies ist der Log des Updates:

                                  $ ./iobroker upgrade javascript
                                  ERROR: Invalid version of "admin". Installed "3.7.8", required ">=4.0.1
                                  process exited with code 0
                                  

                                  Nicht ganz nachvollziehbar was ich ändern soll, da die admin Version ja korrekt ist?

                                  Hier nochmal der Auszug aus der Konsole:

                                  hendrik@debian-hslounge01:~$ iobroker update
                                  Used repository: default
                                  hash unchanged, use cached sources
                                  update done
                                  Adapter    "admin"         : 4.1.11   , installed 4.1.11
                                  

                                  Danke euch für einen Tipp

                                  AlCalzone apollon77 2 Replies Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer @smile last edited by

                                    @smile

                                    iobroker upload admin
                                    

                                    dann nochmal probieren

                                    1 Reply Last reply Reply Quote 1
                                    • apollon77
                                      apollon77 @smile last edited by

                                      @smile Und auch : Multihost system? Hier den lokalen Admin auf dem host checken wo javascript läuft

                                      1 Reply Last reply Reply Quote 0
                                      • smile
                                        smile last edited by

                                        iobroker upload admin hat funktioniert.
                                        Was bewirkt der Befehl genau? Ich würde es gerne verstehen warum das nur auf dem Wege funktioniert und nicht in der Admin Oberfläche?

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @smile last edited by

                                          @smile sagte in JS Adpater lässt sich nicht updaten / Falsche Admin Version:

                                          Was bewirkt der Befehl genau?

                                          siehe Doku

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            erazor86 last edited by

                                            Hallo zusammen,
                                            ich habe aktuell ähnliche Probleme. Nachdem ich den Javascript adapter gepdated habe, zeigt er mir an, dass meine Admin Version veraltet ist:
                                            fehler1.JPG

                                            daraufhin habe ich die Admin-Version geprüft und diese ist lt Adapter up to date bei 5.2.3:
                                            2.JPG

                                            allerdings ist die Instanz älter und steht bei v4.2.1... wie kann das sein?

                                            3.JPG

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            663
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            admin adapter javascript adapter
                                            14
                                            51
                                            4645
                                            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