Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Loxone Adapter Update 2.0.2 Problem

    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

    UNSOLVED Loxone Adapter Update 2.0.2 Problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      A1uca2d last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Acer Laptop
      Arbeitsspeicher: 4GB
      Festplattenart: 500GB HDD
      Betriebssystem: Windows 10 2004
      Node-Version: 14.8.0
      Nodejs-Version: 14.8.0
      NPM-Version: 6.14.7
      Installationsart: Skript

      Ich habe bei dem Update des Loxone-Adapters von 2.0.1 auf 2.0.2 folgende Fehlermeldung (Das Update wird nicht durchgeführt):

      $ ./iobroker upgrade loxone
      Update loxone from @2.0.1 to @2.0.2
      NPM version: 6.14.7
      npm install iobroker.loxone@2.0.2 --loglevel error (System call)
      npm
       ERR! code EPERMnpm ERR! syscall unlinknpm ERR! path C:\Program Files\iobroker\SmartVdGA\node_modules\.bufferutil.DELETE\prebuilds\win32-x64\node-napi.nodenpm ERR! errno -4048
      npm 
      ERR! Error: EPERM: operation not permitted, unlink 'C:\Program Files\iobroker\SmartVdGA\node_modules\.bufferutil.DELETE\prebuilds\win32-x64\node-napi.node'npm ERR!  [OperationalError: EPERM: operation not permitted, unlink 'C:\Program Files\iobroker\SmartVdGA\node_modules\.bufferutil.DELETE\prebuilds\win32-x64\node-napi.node'] {npm ERR!
         cause: [Error: EPERM: operation not permitted, unlink 'C:\Program Files\iobroker\SmartVdGA\node_modules\.bufferutil.DELETE\prebuilds\win32-x64\node-napi.node'] {npm 
      ERR!     errno: -4048,npm
       ERR!     code: 'EPERM',npm ERR!     syscall: 'unlink',npm ERR!
           path: 'C:\\Program Files\\iobroker\\SmartVdGA\\node_modules\\.bufferutil.DELETE\\prebuilds\\win32-x64\\node-napi.node'npm ERR!   },npm ERR!   errno: -4048,npm ERR!   code: 'EPERM',npm 
      ERR!   syscall: 'unlink',npm ERR!   path: 'C:\\Program Files\\iobroker\\SmartVdGA\\node_modules\\.bufferutil.DELETE\\prebuilds\\win32-x64\\node-napi.node',npm ERR!   parent: 'SmartVdGA'npm 
      ERR! }
      npm ERR! npm ERR! The operation was rejected by your operating system.npm ERR! It's possible that the file was already in use (by a text editor or antivirus),npm ERR! or that you lack permissions to access it.npm ERR! 
      npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR! the command again as root/Administrator.
      
      npm ERR! A complete log of this run can be found in:npm ERR!     C:\Program Files\iobroker\SmartVdGA\env\npm-cache\_logs\2020-11-03T19_45_37_061Z-debug.log
      ERROR: host.DESKTOP-HFVVAJN(SmartHome) Cannot install iobroker.loxone@2.0.2: 4294963248
      ERROR: process exited with code 25
      

      Was kann ich machen, um das Update umsetzen zu können?
      Ich muss direkt dazu sagen, dass die Console nicht bei mir funktioniert. (hier gibt es bis jetzt keine Lösung zu).

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

        @A1uca2d
        Was mir direkt auffällt:
        node14 ist noch nicht die empfohlene nodeJS Version.

        UncleSam 1 Reply Last reply Reply Quote 0
        • A
          A1uca2d @A1uca2d last edited by

          @A1uca2d

          Neues Problem: Nun ist der Loxone Adapter plötzlich nicht mehr installiert.
          Der Adapter wird bei den Instanzen angezeit lässt sich aber nicht starten. eine neu-/zusatzinstallation ist nicht möglich. Folgende Fehlermeldung:

          $ ./iobroker add loxone  --host DESKTOP-HFVVAJN(SmartHome)
          NPM version: 6.14.7
          npm install iobroker.loxone@2.0.2 --loglevel error (System call)
          Der Befehl "node-gyp-build" ist entweder falsch geschrieben oder
          konnte nicht gefunden werden.
          npm
           ERR! code ELIFECYCLEnpm ERR! errno 1
          npm ERR!
           bufferutil@4.0.2 install: `node-gyp-build`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the bufferutil@4.0.2 install script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
          
          npm ERR! A complete log of this run can be found in:npm ERR!     C:\Program Files\iobroker\SmartVdGA\env\npm-cache\_logs\2020-11-03T20_24_09_921Z-debug.log
          ERROR: host.DESKTOP-HFVVAJN(SmartHome) Cannot install iobroker.loxone@2.0.2: 1
          ERROR: process exited with code 25
          

          Jemand mit einer Idee?

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

            @Thomas-Braun sagte in Loxone Adapter Update 2.0.2 Problem:

            node14 ist noch nicht die empfohlene nodeJS Version.

            Ja, das könnte ein Problem sein. Ich meine zwar, dass die Installation auch unter Windows getestet wird, bin mir aber gerade nicht sicher.

            Aber du scheinst gyp nicht installiert zu haben. Das wird benötigt um gewisse Abhängigkeiten zu kompilieren.

            Wir hast du Node installiert? Welche Optionen hast du gewählt?

            A 1 Reply Last reply Reply Quote 0
            • A
              A1uca2d @UncleSam last edited by

              @UncleSam

              Ursprünglich habe ich den Win-Installer genutzt für den IOBroker.
              die Version 14.x von Node.js habe ich über Copy-Paste in das IoBroker Verzeichnis installiert.
              Hatte in der Vergangenheit auch nie Probleme damit.
              Liegt das vielleicht an einen Win10 update?

              UncleSam 1 Reply Last reply Reply Quote 0
              • UncleSam
                UncleSam Developer @A1uca2d last edited by

                @A1uca2d sagte in Loxone Adapter Update 2.0.2 Problem:

                die Version 14.x von Node.js habe ich über Copy-Paste in das IoBroker Verzeichnis installiert.

                Uiuiui... das würde ich nie machen. Weder unter Windows noch unter Linux.

                Ich schlage vor: installiere ioBroker mit der Version von Node, die mitgeliefert wird (das ist doch so unter Windows, oder?) und dann lass die Finger von grossen Updates "von Hand".

                Das Problem mit den Berechtigungen kommt wahrscheinlich genau vom rumkopieren.

                A 1 Reply Last reply Reply Quote 0
                • A
                  A1uca2d @UncleSam last edited by

                  @UncleSam
                  DAs verstehe ich durchaus.
                  Habe mich allerings hierbei einer Anleitung bedient, die in der Vergangenheit auch funktionierte.
                  Dazu möchte ich noch sagen, dass ich das Node.js Update nicht heute gemacht habe sondern vor ca .3 Monaten. Seit dem hat immer alles funktioniert!

                  Muss ich echt mein IOBroker neu aufsetzen?

                  UncleSam 1 Reply Last reply Reply Quote 0
                  • UncleSam
                    UncleSam Developer @A1uca2d last edited by

                    @A1uca2d sagte in Loxone Adapter Update 2.0.2 Problem:

                    Muss ich echt mein IOBroker neu aufsetzen?

                    Versuch mal alle Verzeichnisse, die mit .DELETE enden in C:\Program Files\iobroker\SmartVdGA\node_modules\ zu löschen.

                    Und dann mach den Upgrade Befehl von oben mal in einem Kommandofenster mit Admin-Rechten, eventuell hilft das noch.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      A1uca2d @UncleSam last edited by

                      @UncleSam
                      Danke für die Idee.
                      Das hat leider auch nicht funktioniert.
                      Nun habe ich den ganzen IOBroker neu aufgesetzt. Dies hat beim dritten Versuch endlich geklappt und bis jetzt scheint es wieder alles zu laufen. komischer weise war die Instanz von Loxone direkt wieder mit den Einstellungen da. Ich glaube da hat sich die alte Installation irgendwo tiefer verschluckt.

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

                        @A1uca2d
                        nodeJS wieder so schräg reingekloppt?

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

                          @Thomas-Braun
                          Coole Formulierung.

                          Nein, habe Node.js ist auf Version 10.17.0 gelassen, wie der win-Installer es aktuell nur hergibt.

                          Mal sehen, wie lange das so bleibt.
                          Beim letzten update von node.js hat es auch fast 3 Monate funktioniert. Ich gehe von einem Problem mit dem Win-Update aus, dass der Laptop zuvor gemacht hatte.

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

                            @A1uca2d
                            Unter Windows ist das immer so ein Gefrickel mit den node-Updates. Zum Glück habe ich damit nix zu tun.

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            906
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            errorproblem loxone adapter update adapter
                            3
                            12
                            642
                            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