Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst) admin Adapter lässt sich nicht updaten

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    (gelöst) admin Adapter lässt sich nicht updaten

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

      Hallo, mein ioBroker läuft schon lange super auf einer Synology mit der Installation von André (BAUNET).

      Node.js 12.19.0
      NPM 6.14.8

      jetzt lässt sich der admin Adapter nicht updaten, über den Update Button läuft die Installation durch, danach ist die alte Version 4.0.5 weiterhin vorhanden. Ich habe es dann über die Konsole im Portainer versucht und erhalte folgende Meldung:

      root@iobroker:/opt/iobroker# sudo npm install iobroker.admin@4.1.10
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
      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 ERR! code EEXIST
      npm ERR! path /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
      npm ERR! Refusing to delete /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver: is outside /opt/iobroker/node_modules/iobroker.admin/node_modules/semver and not a link
      npm ERR! File exists: /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
      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!     /root/.npm/_logs/2020-11-22T20_04_11_830Z-debug.log
      root@iobroker:/opt/iobroker#
      
      

      Kann da jemand sagen an was es liegt?

      Vielen Dank

      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

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

        @SvenH75 sagte in admin Adapter lässt sich nicht updaten:

        Refusing to delete /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver: is outside /opt/iobroker/node_modules/iobroker.admin/node_modules/semver

        Daran dürfte das liegen.
        Was liefert

        ls -la /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
        
        S 1 Reply Last reply Reply Quote 0
        • S
          SvenH75 @Thomas Braun last edited by

          @Thomas-Braun sagte in admin Adapter lässt sich nicht updaten:

          ls -la /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver

          Hallo @Thomas-Braun ,

          root@iobroker:/opt/iobroker# ls -la /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
          -rwxrwxrwx 1 iobroker iobroker 23 Dez 20 2019 /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver

          Hilft das?

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

            @SvenH75
            Bitte in CodeTags </> setzen, damit man das auch lesen kann.

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

              @Thomas-Braun , sorry

              root@iobroker:/opt/iobroker# ls -la /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
              -rwxrwxrwx 1 iobroker iobroker 23 Dez 20  2019 /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @SvenH75 last edited by

                @SvenH75
                Das sollte eigentlich ein Link sein. Auf meinem System ist es das auch:

                ls -la /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver
                lrwxrwxrwx 1 iobroker iobroker 23 Aug 28 22:34 /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver -> ../semver/bin/semver.js
                

                Ob das bei dem gedockten Zeuch auch so sein soll weiß ich aber nicht. Das müsste mal jemand mit einem Docker schauen.

                S andre 2 Replies Last reply Reply Quote 0
                • S
                  SvenH75 @Thomas Braun last edited by

                  @Thomas-Braun , danke erst einmal, hab Adapter auch schon mehrmals neu installiert, hilft leider nicht

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

                    @Thomas-Braun sagte in admin Adapter lässt sich nicht updaten:

                    Das sollte eigentlich ein Link sein. Auf meinem System ist es das auch:
                    ls -la /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver lrwxrwxrwx 1 iobroker iobroker 23 Aug 28 22:34 /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver -> ../semver/bin/semver.js
                    Ob das bei dem gedockten Zeuch auch so sein soll weiß ich aber nicht. Das müsste mal jemand mit einem Docker schauen.

                    So ist es bei mir auch. Was soll da beim "gedockten Zeuch" auch anders sein? Ist schlicht ein npm-paket im ioBroker Verzeichnis. Das funktioniert unter Docker wie auf jedem anderen Linux System auch...

                    @SvenH75 Hast du denn mal getan was das Log von dir verlangt??

                    npm ERR! Remove the existing file and try again, or run npm
                    

                    MfG,
                    André

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SvenH75 @andre last edited by SvenH75

                      @andre HalloAndre‘, habe mich jetzt getraut, ja das löschen der Datei "semver" unter: /opt/iobroker/node_modules/iobroker.admin/node_modules/.bin/semver hat das Problem behoben.

                      Vielen Dank

                      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

                      993
                      Online

                      32.1k
                      Users

                      80.6k
                      Topics

                      1.3m
                      Posts

                      admin update adapter
                      3
                      9
                      778
                      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