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.
    • AlCalzone
      AlCalzone Developer @Beowolf last edited by AlCalzone

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

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

      Siehe Doku: https://www.iobroker.net/#de/documentation/tutorial/adapter.md?upgradeeinesadapters.md ==> Upload von Adapterdateien

      Und wenn schon auf der Konsole, dann ohne sudo (wie übrigens 99% aller Befehle).

      1 Reply Last reply Reply Quote 0
      • dslraser
        dslraser Forum Testing Most Active @Beowolf last edited by

        @Beowolf

        Gab es jetzt schon öfter hier im Forum (mit Lösung)
        https://forum.iobroker.net/post/374914

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

          Habe es hier mit versucht.

          Lösung:
          sudo iobroker stop
          sudo npm install iobroker.javascript@4.3.4
          sudo iobroker start

          ioBroker zeigt immer noch das Update an.

          Habe auch alle neu gestartet. Keine Änderung.

          AlCalzone S 2 Replies Last reply Reply Quote 0
          • AlCalzone
            AlCalzone Developer @Beowolf last edited by AlCalzone

            @Beowolf Mach mal noch iobroker upload javascript.

            Und... bitte kein sudo! https://forum.iobroker.net/post/17109

            1 Reply Last reply Reply Quote 0
            • S
              saeft_2003 Most Active @Beowolf last edited by

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

              Habe es hier mit versucht.

              Lösung:
              sudo iobroker stop
              sudo npm install iobroker.javascript@4.3.4
              sudo iobroker start

              ioBroker zeigt immer noch das Update an.

              Habe auch alle neu gestartet. Keine Änderung.

              Ich hatte das selbe Problem wie du und habe es so gemacht wie du es beschrieben hast nur ohne sudo. Das hat bei mir geholfen.

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

                So, alles ohne Sudo gemacht. Keine Änderung. 4.3.4 wird immer noch als Update angezeigt inkl. der Adminmeldung.

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

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

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

                    @apollon77
                    hab ich gemacht vllt. hilft das im anderen post.... anscheinend sagen iot und js das admin noch 3.7.9 währe

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

                      @rebel85 I love doppelposts 🙂

                      "iobroker upload admin" und dann Admin Shidft reload? ggf js-controller restart?

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

                        Tripelpost => Direkt-Chat 😲

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

                          @apollon77
                          Admin Shidft reload = heist was?

                          ja nach upload und dann erneutem update des admin adapters (ohne sudo)
                          läuft es wieder
                          nur iot ist jetzt 1.2.1
                          und js ist 4.3.3
                          ich glaub ich warte noch mit einem update 😉

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

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

                            Shidft reload = heist was?

                            [↑] + [F5]

                            1 Reply Last reply Reply Quote 1
                            • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            848
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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