Navigation

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

    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 Fehler bei Adapter Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      smotomike last edited by Negalein

      Systemdata Bitte Ausfüllen
      Hardwaresystem: PI4
      Arbeitsspeicher: 2GB
      Festplattenart: SD-Karte
      Betriebssystem: Debian
      Nodejs-Version: 10.16.3
      NPM-Version: 6.9.0
      Installationsart: Manuell
      Image genutzt: Nein

      Ich habe ein Problem beim Updaten von manchen Adaptern wie z.B. Alexa. Hier bricht er mit folgendem Log ab.

      $ ./iobroker upgrade alexa2
      Update alexa2 from @2.6.4 to @3.0.5
      NPM version: 6.9.0npm install iobroker.alexa2@3.0.5 --loglevel error --prefix "/opt/iobroker" (System call)
      npm
       ERR! 
      path /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd
      npm
       ERR!
       code
       EEXIST
      npm ERR!
       Refusing to delete /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd: is outside /opt/iobroker/node_modules/iobroker.alexa2/node_modules/virtual-device-sdk and not a linknpm
       ERR!
       File exists: /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvdnpm
       ERR! Move it away, and try again.
      
      npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2020-03-01T11_32_38_992Z-debug.log
      upload [20] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/info.png info.png image/png
      upload [19] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/index_m.html index_m.html text/html
      upload [18] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/spot.png icons/spot.png image/png
      upload [17] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/sonos.png icons/sonos.png image/png
      upload [16] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/reverb.png icons/reverb.png image/png
      upload [15] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/raspi.png icons/raspi.png image/png
      upload [14] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/multiroom.png icons/multiroom.png image/png
      upload [13] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/microphone.png icons/microphone.png image/png
      upload [12] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/firetv.png icons/firetv.png image/png
      upload [11] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/firetab.png icons/firetab.png image/png
      upload [10] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_sub.png icons/echo_sub.png image/png
      upload [9] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show5.png icons/echo_show5.png image/png
      upload [8] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show2.png icons/echo_show2.png image/png
      upload [7] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_show.png icons/echo_show.png image/png
      upload [6] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_plus2.png icons/echo_plus2.png image/png
      upload [5] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_dot3.png icons/echo_dot3.png image/png
      upload [4] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo_dot.png icons/echo_dot.png image/png
      upload [3] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo2.png icons/echo2.png image/png
      upload [2] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/echo.png icons/echo.png image/png
      upload [1] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/icons/apps.png icons/apps.png image/png
      upload [0] alexa2.admin /opt/iobroker/node_modules/iobroker.alexa2/admin/alexa.png alexa.png image/png
      Adapter "alexa2" updated
      process exited with code 0
      

      Was könnte hier das Problem sein?
      Das Problem tritt seit dem Backup des Systems auf. Evtl. ein Schreibrechteproblem?

      sigi234 Glasfaser 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @smotomike last edited by

        @smotomike sagte in Fehler bei Adapter Update:

        Adapter "alexa2" updated process exited with code 0

        Wurde ja ausgeführt. Mal neu gestartet?

        1 Reply Last reply Reply Quote 0
        • S
          smotomike last edited by

          Ja habe mehrmals Neu gestartet, ohne Erfolg.

          Hier mal das Ende des Logfiles der Installation.
          Das gleiche Problem auch bei Homematic Rega Adapter.

          1259 silly saveTree └── yargs@7.1.0
          1260 warn ws@7.2.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
          1261 warn ws@7.2.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
          1262 verbose stack Error: Refusing to delete /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd: is outside /opt/iobroker/node_modules/iobroker.alexa2/node_modules/virtual-device-sdk and not a link
          1262 verbose stack     at clobberFail (/usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:121:12)
          1262 verbose stack     at isSafeToRm (/usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:114:15)
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:54:5
          1262 verbose stack     at LOOP (/usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:7:26)
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/slide/lib/chain.js:18:7
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:180:7
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/node_modules/iferr/index.js:13:50
          1262 verbose stack     at _readAllLinks (/usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:215:28)
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/node_modules/iferr/index.js:13:50
          1262 verbose stack     at resolveSymlink (/usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:226:22)
          1262 verbose stack     at _readAllLinks (/usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:217:5)
          1262 verbose stack     at readAllLinks (/usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:212:3)
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:179:5
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/node_modules/iferr/index.js:13:50
          1262 verbose stack     at cb (/usr/local/lib/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)
          1262 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/gentle-fs/lib/rm.js:153:16
          1263 verbose cwd /
          1264 verbose Linux 4.19.97-v7l+
          1265 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.alexa2@3.0.5" "--loglevel" "error" "--prefix" "/opt/iobroker"
          1266 verbose node v12.16.1
          1267 verbose npm  v6.13.4
          1268 error code EEXIST
          1269 error path /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd
          1270 error Refusing to delete /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd: is outside /opt/iobroker/node_modules/iobroker.alexa2/node_modules/virtual-device-sdk and not a link
          1271 error File exists: /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd
          1272 error Remove the existing file and try again, or run npm
          1273 error with --force to overwrite files recklessly.
          1274 verbose exit [ 1, true ]
          
          1 Reply Last reply Reply Quote 0
          • S
            smotomike last edited by smotomike

            Keiner ne Idee?

            Das Problem habe ich bei

            Alexa 2.0
            Homematic Rega
            Script Engine

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

              @smotomike

              nodeJS auch damals schon krumm installiert.

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

                @Thomas-Braun

                @smotomike sagte in Fehler bei Adapter Update:
                Refusing to delete /opt/iobroker/node_modules/iobroker.alexa2/node_modules/.bin/bvd: is outside /opt/iobroker/node_modules/iobroker.alexa2/node_modules/virtual-device-sdk and not a linknpm

                und auch die Adapter quer installiert ...

                und wie im anderen Thread auch erwähnt :

                Leider nutze ich kein Backup Adapter sondern sichere das ganze Raspberry Image automatisiert auf eine NAS.
                

                also alles immer schön mitgeschleppt .

                S 1 Reply Last reply Reply Quote 0
                • S
                  smotomike @Glasfaser last edited by

                  Kann es sein, dass euch langweilig ist 🙂 ?

                  Hätte mir das früher mal einer gesagt, hätte ich es evtl. nicht bis heute mitgeschleppt...
                  Und ihr mit eurem quer und krum ^^
                  Es geht bestimmt besser und ja, root ist immer ein Risiko...
                  Aber ich bin Laie und für mich gilt solangs läuft, lass es laufen...

                  Wir können aber auch gerne nen Termin in Teams machen und ihr zeigt mir Remote wie es richtig geht 😉

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

                    @smotomike
                    Nö, das musst du dir schon selber anlesen.
                    Halt nur nicht wundern, wenn alles nicht funktioniert, wenn das ganze so schief installiert ist.

                    Und selbstbezeichneter Laie und dann root ist halt die denkbar schlechteste Kombination.

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

                      @smotomike sagte in Fehler bei Adapter Update:

                      Kann es sein, dass euch langweilig ist ?

                      Nein , uns ist nicht langweilig , wir wollen nur auf Fehler hinweisen bzw. und auch dir die Lösung dazu geben .( siehe die Links ,die ich dir gegeben habe )

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        smotomike @Glasfaser last edited by

                        @glasfaser Dafür bin ich immer Dankbar und werde die Vorschläge oder besser gesagt, die dringenden Empfehlungen auch demnächst Umsetzen. 😉

                        Falls ich dabei Probleme hab, weiß ich ja an wen ich mich wende. Schönen Abend noch und Danke

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        890
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        adapter update error
                        4
                        10
                        446
                        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