Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Kann keine Adapter aktualisieren

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    347

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

Kann keine Adapter aktualisieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
75 Beiträge 14 Kommentatoren 12.9k Aufrufe 10 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @frank_y sagte in Kann keine Adapter aktualisieren:

    /opt/iobroker/node_modules/.abab-bvmibCm3

    Alle Verzeichnisse die so ausgespuckt werden löschen.
    Beispiel:

    rm -rf /opt/iobroker/node_modules/.abab-bvmibCm3
    

    Solange bis alle angemeckerten Verzeichnisse weg sind.

    F Offline
    F Offline
    Frank_y
    schrieb am zuletzt editiert von
    #43

    @thomas-braun sagte in Kann keine Adapter aktualisieren:

    @frank_y sagte in Kann keine Adapter aktualisieren:

    /opt/iobroker/node_modules/.abab-bvmibCm3

    Alle Verzeichnisse die so ausgespuckt werden löschen.
    Beispiel:

    rm -rf /opt/iobroker/node_modules/.abab-bvmibCm3
    

    Solange bis alle angemeckerten Verzeichnisse weg sind.

    Ich musste ca. 20 Verzeichnisse händisch löschen!
    Jetzt wird folgender Fehler ausgeworfen:

    XXXXXXX@iobrokerVM:/opt$ iobroker upgrade history  --debug
    node:internal/modules/cjs/loader:936
      throw err;
      ^
    
    Error: Cannot find module 'at-least-node'
    Require stack:
    - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdirs/m                                                                               ake-dir.js
    - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdirs/i                                                                               ndex.js
    - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-syn                                                                               c/copy-sync.js
    - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-syn                                                                               c/index.js
    - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/index.js
    - /opt/iobroker/node_modules/@alcalzone/pak/build/lib/package-managers/npm/ind                                                                               ex.js
    - /opt/iobroker/node_modules/@alcalzone/pak/build/lib/pak.js
    - /opt/iobroker/node_modules/@alcalzone/pak/build/index.js
    - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.j                                                                               s
    - /opt/iobroker/node_modules/@iobroker/js-controller-common/index.js
    - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
    - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:                                                                               15)
        at Function.Module._load (node:internal/modules/cjs/loader:778:27)
        at Module.require (node:internal/modules/cjs/loader:1005:19)
        at require (node:internal/modules/cjs/helpers:102:18)
        at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modu                                                                               les/fs-extra/lib/mkdirs/make-dir.js:9:21)
        at Module._compile (node:internal/modules/cjs/loader:1105:14)
        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10                                                                               )
        at Module.load (node:internal/modules/cjs/loader:981:32)
        at Function.Module._load (node:internal/modules/cjs/loader:822:12)
        at Module.require (node:internal/modules/cjs/loader:1005:19) {
      code: 'MODULE_NOT_FOUND',
      requireStack: [
        '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdir                                                                               s/make-dir.js',
        '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdir                                                                               s/index.js',
        '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-                                                                               sync/copy-sync.js',
        '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-                                                                               sync/index.js',
        '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/index                                                                               .js',
        '/opt/iobroker/node_modules/@alcalzone/pak/build/lib/package-managers/npm/                                                                               index.js',
        '/opt/iobroker/node_modules/@alcalzone/pak/build/lib/pak.js',
        '/opt/iobroker/node_modules/@alcalzone/pak/build/index.js',
        '/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tool                                                                               s.js',
        '/opt/iobroker/node_modules/@iobroker/js-controller-common/index.js',
        '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
        '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
      ]
    }
    
    

    Sieht nicht gut aus, oder?

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • F Frank_y

      @thomas-braun sagte in Kann keine Adapter aktualisieren:

      @frank_y sagte in Kann keine Adapter aktualisieren:

      /opt/iobroker/node_modules/.abab-bvmibCm3

      Alle Verzeichnisse die so ausgespuckt werden löschen.
      Beispiel:

      rm -rf /opt/iobroker/node_modules/.abab-bvmibCm3
      

      Solange bis alle angemeckerten Verzeichnisse weg sind.

      Ich musste ca. 20 Verzeichnisse händisch löschen!
      Jetzt wird folgender Fehler ausgeworfen:

      XXXXXXX@iobrokerVM:/opt$ iobroker upgrade history  --debug
      node:internal/modules/cjs/loader:936
        throw err;
        ^
      
      Error: Cannot find module 'at-least-node'
      Require stack:
      - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdirs/m                                                                               ake-dir.js
      - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdirs/i                                                                               ndex.js
      - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-syn                                                                               c/copy-sync.js
      - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-syn                                                                               c/index.js
      - /opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/index.js
      - /opt/iobroker/node_modules/@alcalzone/pak/build/lib/package-managers/npm/ind                                                                               ex.js
      - /opt/iobroker/node_modules/@alcalzone/pak/build/lib/pak.js
      - /opt/iobroker/node_modules/@alcalzone/pak/build/index.js
      - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.j                                                                               s
      - /opt/iobroker/node_modules/@iobroker/js-controller-common/index.js
      - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
      - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
          at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:                                                                               15)
          at Function.Module._load (node:internal/modules/cjs/loader:778:27)
          at Module.require (node:internal/modules/cjs/loader:1005:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/opt/iobroker/node_modules/@alcalzone/pak/node_modu                                                                               les/fs-extra/lib/mkdirs/make-dir.js:9:21)
          at Module._compile (node:internal/modules/cjs/loader:1105:14)
          at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10                                                                               )
          at Module.load (node:internal/modules/cjs/loader:981:32)
          at Function.Module._load (node:internal/modules/cjs/loader:822:12)
          at Module.require (node:internal/modules/cjs/loader:1005:19) {
        code: 'MODULE_NOT_FOUND',
        requireStack: [
          '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdir                                                                               s/make-dir.js',
          '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/mkdir                                                                               s/index.js',
          '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-                                                                               sync/copy-sync.js',
          '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/copy-                                                                               sync/index.js',
          '/opt/iobroker/node_modules/@alcalzone/pak/node_modules/fs-extra/lib/index                                                                               .js',
          '/opt/iobroker/node_modules/@alcalzone/pak/build/lib/package-managers/npm/                                                                               index.js',
          '/opt/iobroker/node_modules/@alcalzone/pak/build/lib/pak.js',
          '/opt/iobroker/node_modules/@alcalzone/pak/build/index.js',
          '/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tool                                                                               s.js',
          '/opt/iobroker/node_modules/@iobroker/js-controller-common/index.js',
          '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
          '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
        ]
      }
      
      

      Sieht nicht gut aus, oder?

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #44

      @frank_y

      iobroker stop
      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      F 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @frank_y

        iobroker stop
        cd /opt/iobroker
        sudo -H -u iobroker npm install iobroker.js-controller
        
        F Offline
        F Offline
        Frank_y
        schrieb am zuletzt editiert von
        #45

        @thomas-braun sagte in Kann keine Adapter aktualisieren:

        sudo -H -u iobroker npm install iobroker.js-controller

        jetzt werden wieder Verzeichnisse angemeckert:

        npm ERR! code ENOTEMPTY
        npm ERR! syscall rename
        npm ERR! path /opt/iobroker/node_modules/aws4
        npm ERR! dest /opt/iobroker/node_modules/.aws4-3BmHzpIi
        npm ERR! errno -39
        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/aws4' -> '/opt/iobroker/node_modules/.aws4-3BmHzpIi'
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-07-22T14_18_20_594Z-debug-0.log
        
        

        ich lösche mal weiter: rm -rf /opt/iobroker/node_modules/.aws4-3BmHzpIi

        F 1 Antwort Letzte Antwort
        0
        • F Frank_y

          @thomas-braun sagte in Kann keine Adapter aktualisieren:

          sudo -H -u iobroker npm install iobroker.js-controller

          jetzt werden wieder Verzeichnisse angemeckert:

          npm ERR! code ENOTEMPTY
          npm ERR! syscall rename
          npm ERR! path /opt/iobroker/node_modules/aws4
          npm ERR! dest /opt/iobroker/node_modules/.aws4-3BmHzpIi
          npm ERR! errno -39
          npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/aws4' -> '/opt/iobroker/node_modules/.aws4-3BmHzpIi'
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-07-22T14_18_20_594Z-debug-0.log
          
          

          ich lösche mal weiter: rm -rf /opt/iobroker/node_modules/.aws4-3BmHzpIi

          F Offline
          F Offline
          Frank_y
          schrieb am zuletzt editiert von
          #46

          @frank_y
          es sind wieder mehrere Verzeichnisse....bisher 6...sehr mühsam
          Woran liegt das denn. Es lief ja alles?

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • F Frank_y

            @frank_y
            es sind wieder mehrere Verzeichnisse....bisher 6...sehr mühsam
            Woran liegt das denn. Es lief ja alles?

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #47

            @frank_y sagte in Kann keine Adapter aktualisieren:

            Woran liegt das denn. Es lief ja alles?

            Ich weiß es nicht. Wenn man sich im Netz umschaut passiert das überwiegend bei Aktionen im npm tree die mit root-Rechten und/oder global durchgeführt wurden. Kann auch geraume Zeit her sein, da schlummern dann halt immer Zeitbomben.

            Als ich auf npm8 gewechselt bin hatte ich solche Probleme jedenfalls nicht.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            F 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @frank_y sagte in Kann keine Adapter aktualisieren:

              Woran liegt das denn. Es lief ja alles?

              Ich weiß es nicht. Wenn man sich im Netz umschaut passiert das überwiegend bei Aktionen im npm tree die mit root-Rechten und/oder global durchgeführt wurden. Kann auch geraume Zeit her sein, da schlummern dann halt immer Zeitbomben.

              Als ich auf npm8 gewechselt bin hatte ich solche Probleme jedenfalls nicht.

              F Offline
              F Offline
              Frank_y
              schrieb am zuletzt editiert von
              #48

              @thomas-braun

              wenn ich den iobroker neu/frisch aufsetzte und dann per Backitup wiederherstelle, sollten die Probleme auch weg sein, oder?

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • F Frank_y

                @thomas-braun

                wenn ich den iobroker neu/frisch aufsetzte und dann per Backitup wiederherstelle, sollten die Probleme auch weg sein, oder?

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #49

                @frank_y

                Ich weiß es nicht genau. Die package-lock wird soweit ich weiß mit gesichert.

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                grrfieldG F 2 Antworten Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @frank_y

                  Ich weiß es nicht genau. Die package-lock wird soweit ich weiß mit gesichert.

                  grrfieldG Offline
                  grrfieldG Offline
                  grrfield
                  schrieb am zuletzt editiert von
                  #50

                  @thomas-braun
                  Ich habe bei mir mit

                  cd /opt/iobroker/node_modules
                  mkdir bak
                  mv ./.* bak
                  mv bak/.bin .
                  mv  @*/.??* bak
                  

                  alle beanstandeten Verzeichnisse entfernt. Danach lief das Update los, es kamen einige "normale" Updatemeldungen und dann eine Unmenge an Fehlermeldungen; größtenteils npm ERR! Ich habe mal das Logfile angehängt; es lohnt sich aber nicht, das weiter zu verfolgen: putty.log Da muß wohl noch etwas anderes kaputt sein :-( Ich werde das System neu aufsetzen und dann den letzten Backup einspielen.

                  Trotzdem herzlichen Dank für Deine Hilfe!!!

                  Thomas BraunT 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @frank_y

                    Ich weiß es nicht genau. Die package-lock wird soweit ich weiß mit gesichert.

                    F Offline
                    F Offline
                    Frank_y
                    schrieb am zuletzt editiert von Frank_y
                    #51

                    @thomas-braun
                    das Löschen kann nicht der richtige Weg sein:

                    Habe über

                    find /opt/iobroker/node_modules/ -name .*-* -print
                    

                    alle Dateien mit kryptischen Endungen herausgesucht und gelöscht (bestimmt 100 Stück)

                    sudo -H -u iobroker npm install iobroker.js-controller
                    

                    lief dann auch durch. Es wurden aber sehr viele Warnungen zu veralteten Versionen angezeigt.
                    Ich habe dann ein

                     sudo apt update && sudo apt upgrade
                    

                    durchgeführt. Danach sind alle gerade gelöschten Dateien/Ordner wieder da!?

                    Erneutes

                    sudo -H -u iobroker npm install iobroker.js-controller
                    

                    liefert die erste Fehlermeldung aus dem Versuch des Historie-Updates:

                    @iobrokerVM:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/abbrev
                    npm ERR! dest /opt/iobroker/node_modules/.abbrev-5eNud0FY
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abbrev' -> '/opt/iobroker/node_modules/.abbrev-5eNud0FY'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-22T15_45_08_712Z-debug-0.log
                    
                    

                    Ich bin etwas ratlos?

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • grrfieldG grrfield

                      @thomas-braun
                      Ich habe bei mir mit

                      cd /opt/iobroker/node_modules
                      mkdir bak
                      mv ./.* bak
                      mv bak/.bin .
                      mv  @*/.??* bak
                      

                      alle beanstandeten Verzeichnisse entfernt. Danach lief das Update los, es kamen einige "normale" Updatemeldungen und dann eine Unmenge an Fehlermeldungen; größtenteils npm ERR! Ich habe mal das Logfile angehängt; es lohnt sich aber nicht, das weiter zu verfolgen: putty.log Da muß wohl noch etwas anderes kaputt sein :-( Ich werde das System neu aufsetzen und dann den letzten Backup einspielen.

                      Trotzdem herzlichen Dank für Deine Hilfe!!!

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #52

                      @grrfield

                      Bei dir scheitert der Versuch sharp bzw. die libvips zu bauen.
                      Das ist bekanntermaßen etwas tricky.

                      npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
                      npm ERR! make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                      

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      grrfieldG 1 Antwort Letzte Antwort
                      0
                      • F Frank_y

                        @thomas-braun
                        das Löschen kann nicht der richtige Weg sein:

                        Habe über

                        find /opt/iobroker/node_modules/ -name .*-* -print
                        

                        alle Dateien mit kryptischen Endungen herausgesucht und gelöscht (bestimmt 100 Stück)

                        sudo -H -u iobroker npm install iobroker.js-controller
                        

                        lief dann auch durch. Es wurden aber sehr viele Warnungen zu veralteten Versionen angezeigt.
                        Ich habe dann ein

                         sudo apt update && sudo apt upgrade
                        

                        durchgeführt. Danach sind alle gerade gelöschten Dateien/Ordner wieder da!?

                        Erneutes

                        sudo -H -u iobroker npm install iobroker.js-controller
                        

                        liefert die erste Fehlermeldung aus dem Versuch des Historie-Updates:

                        @iobrokerVM:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                        npm ERR! code ENOTEMPTY
                        npm ERR! syscall rename
                        npm ERR! path /opt/iobroker/node_modules/abbrev
                        npm ERR! dest /opt/iobroker/node_modules/.abbrev-5eNud0FY
                        npm ERR! errno -39
                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abbrev' -> '/opt/iobroker/node_modules/.abbrev-5eNud0FY'
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2022-07-22T15_45_08_712Z-debug-0.log
                        
                        

                        Ich bin etwas ratlos?

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #53

                        @frank_y sagte in Kann keine Adapter aktualisieren:

                        das Löschen kann nicht der richtige Weg sein:

                        Bei anderen Fällen war es das.

                        Dann mach die Roßkur à la @crunchip

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @grrfield

                          Bei dir scheitert der Versuch sharp bzw. die libvips zu bauen.
                          Das ist bekanntermaßen etwas tricky.

                          npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
                          npm ERR! make: Entering directory '/opt/iobroker/node_modules/sharp/build'
                          
                          grrfieldG Offline
                          grrfieldG Offline
                          grrfield
                          schrieb am zuletzt editiert von
                          #54

                          @thomas-braun Geht das wieder, wenn ich nur ioBroker neu installiere?

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • grrfieldG Offline
                            grrfieldG Offline
                            grrfield
                            schrieb am zuletzt editiert von
                            #55

                            Könnte ich das mit https://forum.iobroker.net/topic/32147/update-js-controller-und-node-js/74?_=1658508688254 beheben?

                            1 Antwort Letzte Antwort
                            0
                            • grrfieldG grrfield

                              @thomas-braun Geht das wieder, wenn ich nur ioBroker neu installiere?

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #56

                              @grrfield sagte in Kann keine Adapter aktualisieren:

                              Geht das wieder, wenn ich nur ioBroker neu installiere?

                              sharp/libvips? Nee, das hat mit dem ioBroker nicht direkt zu tun. Da fehlen vielleicht devel-Pakete für die ganzen anderen libs die damit zusammenhängen. Ich meine aber, die würden mittlerweile alle 'auf Verdacht' schon vom

                              iobroker fix
                              

                              auf das System gespült. Hatten in der Vergangenheit zu viel Ärger damit, aber ich hab da schon länger nicht mehr aus der Ecke gesehen. Bis du mit deinem log ankommst... :-)

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              1 Antwort Letzte Antwort
                              0
                              • haselchenH haselchen

                                @nbrgit

                                6 Zeilen unter Dir ist das gleiche Problem.
                                Warum nutzt du nicht den Thread?

                                @Negalein
                                @Homoran

                                Bitte zusammenführen

                                https://forum.iobroker.net/topic/55518/kann-keine-adapter-aktualisieren

                                NegaleinN Offline
                                NegaleinN Offline
                                Negalein
                                Global Moderator
                                schrieb am zuletzt editiert von
                                #57

                                @haselchen sagte in Kann keine Adapter aktualisieren:

                                Bitte zusammenführen

                                erledigt :)

                                ° Node.js: 20.17.0 NPM: 10.8.2
                                ° Proxmox, Ubuntu 22.04.3 LTS
                                ° Fixer ---> iob fix

                                1 Antwort Letzte Antwort
                                1
                                • F Offline
                                  F Offline
                                  Fatmax
                                  schrieb am zuletzt editiert von Fatmax
                                  #58

                                  Vielleicht ist das noch zur Lösungsfindung hilfreich:
                                  Bei mir zumindest funktionieren die Adapterupdates im Admin mit dem Button wo alle Adapter mit Updates auf einmal aktualisiert werden können.
                                  Nur bei den einzelnen Updates gibt es Probleme mit der Versionsüberprüfung.

                                  ec36ddf0-da8a-4fc6-a64e-e31b30778c67-image.png

                                  Liebe Grüße,
                                  Fatmax

                                  1 Antwort Letzte Antwort
                                  0
                                  • grrfieldG Offline
                                    grrfieldG Offline
                                    grrfield
                                    schrieb am zuletzt editiert von
                                    #59

                                    Ich möchte nur nochmal Rückmeldung geben, falls andere das auch haben: Mein Problem war wohl ein defektes Dateisystem auf der eMMC in Folge eines von mir vor einiger Zeit verursachten Stromausfalls. Es gingen dann auch andre Standard-LINUX-Befehle nicht mehr. Nach Neuaufsetzen eines Linux-Images, Installation von ioBroker und Einspielen eines Backups läuft alles wieder.
                                    @thomas-braun Nochmals vielen Dank für die Hilfe!

                                    1 Antwort Letzte Antwort
                                    0
                                    • F Offline
                                      F Offline
                                      Fatmax
                                      schrieb am zuletzt editiert von
                                      #60

                                      Bei mir hat sich das Thema von selbst erledigt.
                                      Nachdem ich einige male Updates mit der Variante aus meinem letzten Post eingespielt hatte, unter anderem auch mehrere Updates vom Admin-Adapter, ist der Fehler nun weg und die Versionsprüfung bei den einzelnen Adaptern funktioniert wieder einwandfrei.
                                      Auch ein Update einzelner Adapter ist nun wieder möglich.

                                      Danke jedenfalls bis dahin für die Hilfe.

                                      Liebe Grüße,
                                      Fatmax

                                      1 Antwort Letzte Antwort
                                      0
                                      • K K 2K Offline
                                        K K 2K Offline
                                        K K 2
                                        schrieb am zuletzt editiert von
                                        #61

                                        Meine Adapter lassen sich nicht mehr aktualisieren.

                                        pi@nas:~ $ iobroker update
                                        Used repository: stable
                                        Adapter    "admin"        : 6.10.1   , installed 6.3.5  [Updatable]
                                        Adapter    "backitup"     : 2.8.1    , installed 2.6.19 [Updatable]
                                        Adapter    "ble"          : 0.13.4   , installed 0.13.0 [Updatable]
                                        Adapter    "daswetter"    : 3.1.10   , installed 3.1.8  [Updatable]
                                        Adapter    "discovery"    : 3.1.0    , installed 3.0.5  [Updatable]
                                        Adapter    "info"         : 2.0.0    , installed 1.9.19 [Updatable]
                                        Adapter    "javascript"   : 7.1.4    , installed 6.1.4  [Updatable]
                                        Controller "js-controller": 5.0.12   , installed 4.0.24 [Updatable]
                                        Adapter    "lgtv"         : 2.1.1    , installed 1.1.10 [Updatable]
                                        Adapter    "octoprint"    : 4.0.0    , installed 4.0.0
                                        Adapter    "ring"         : 3.2.2    , installed 3.4.1
                                        Adapter    "simple-api"   : 2.7.2    , installed 2.7.0  [Updatable]
                                        Adapter    "socketio"     : 6.5.5    , installed 4.2.0  [Updatable]
                                        Adapter    "telegram"     : 1.16.0   , installed 1.15.6 [Updatable]
                                        Adapter    "terminal"     : 1.0.0    , installed 1.0.0
                                        Adapter    "web"          : 6.1.2    , installed 4.3.0  [Updatable]
                                        Adapter    "ws"           : 2.5.5    , installed 1.3.0  [Updatable]
                                        Adapter    "yahka"        : 1.0.3    , installed 0.17.0 [Updatable]
                                        Adapter    "zigbee"       : 1.8.23   , installed 1.8.23
                                        

                                        Update/Upgrade:

                                        pi@nas:~ $ iobroker upgrade daswetter --debug
                                        
                                        This upgrade of "daswetter" will at least introduce the following changes:
                                        ==========================================================================
                                        -> 3.1.10:
                                        dependencies updated
                                        ==========================================================================
                                        
                                        Would you like to upgrade daswetter from @3.1.8 to @3.1.10 now? [(y)es, (n)o]: y
                                        Update daswetter from @3.1.8 to @3.1.10
                                        host.nas Adapter "system.adapter.daswetter.0" is stopped.
                                        NPM version: 9.8.1
                                        Installing iobroker.daswetter@3.1.10... (System call)
                                        npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                        npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                                        npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                        npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                        npm ERR! code 1
                                        npm ERR! git dep preparation failed
                                        npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
                                        npm ERR! npm WARN using --force Recommended protections disabled.
                                        npm ERR! npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
                                        npm ERR! npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                                        npm ERR! npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                                        npm ERR! npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
                                        npm ERR! npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
                                        npm ERR! npm ERR! code 1
                                        npm ERR! npm ERR! path /home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp
                                        npm ERR! npm ERR! command failed
                                        npm ERR! npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
                                        npm ERR! npm ERR! sharp: Using cached /home/iobroker/.npm/_libvips/libvips-8.14.5-linux-armv7.tar.br
                                        npm ERR! npm ERR! sharp: Integrity check passed for linux-armv7
                                        npm ERR! npm ERR! make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp/build� wird betreten
                                        npm ERR! npm ERR!   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
                                        npm ERR! npm ERR! rm -f Release/obj.target/../node-addon-api/nothing.a Release/obj.target/../node-addon-api/nothing.a.ar-file-list; mkdir -p `dirname Release/obj.target/../node-addon-api/nothing.a`
                                        npm ERR! npm ERR! ar crs Release/obj.target/../node-addon-api/nothing.a @Release/obj.target/../node-addon-api/nothing.a.ar-file-list
                                        npm ERR! npm ERR!   COPY Release/nothing.a
                                        npm ERR! npm ERR!   TOUCH Release/obj.target/libvips-cpp.stamp
                                        npm ERR! npm ERR!   CXX(target) Release/obj.target/sharp-linux-armv7/src/common.o
                                        npm ERR! npm ERR! make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp/build� wird verlassen
                                        npm ERR! npm ERR! prebuild-install warn install No prebuilt binaries found (target=7 runtime=napi arch=arm libc= platform=linux)
                                        npm ERR! npm ERR! gyp info it worked if it ends with ok
                                        npm ERR! npm ERR! gyp info using node-gyp@9.4.0
                                        npm ERR! npm ERR! gyp info using node@18.18.2 | linux | arm
                                        npm ERR! npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"
                                        npm ERR! npm ERR! gyp info spawn /usr/bin/python3
                                        npm ERR! npm ERR! gyp info spawn args [
                                        npm ERR! npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                                        npm ERR! npm ERR! gyp info spawn args   'binding.gyp',
                                        npm ERR! npm ERR! gyp info spawn args   '-f',
                                        npm ERR! npm ERR! gyp info spawn args   'make',
                                        npm ERR! npm ERR! gyp info spawn args   '-I',
                                        npm ERR! npm ERR! gyp info spawn args   '/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp/build/config.gypi',
                                        npm ERR! npm ERR! gyp info spawn args   '-I',
                                        npm ERR! npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                                        npm ERR! npm ERR! gyp info spawn args   '-I',
                                        npm ERR! npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dvisibility=default',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp',
                                        npm ERR! npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                        npm ERR! npm ERR! gyp info spawn args   '--depth=.',
                                        npm ERR! npm ERR! gyp info spawn args   '--no-parallel',
                                        npm ERR! npm ERR! gyp info spawn args   '--generator-output',
                                        npm ERR! npm ERR! gyp info spawn args   'build',
                                        npm ERR! npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                        npm ERR! npm ERR! gyp info spawn args ]
                                        npm ERR! npm ERR! gyp info spawn make
                                        npm ERR! npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                        npm ERR! npm ERR! g++: error: unrecognized command line option '-std=gnu++17'
                                        npm ERR! npm ERR! make: *** [sharp-linux-armv7.target.mk:142: Release/obj.target/sharp-linux-armv7/src/common.o] Fehler 1
                                        npm ERR! npm ERR! gyp ERR! build error 
                                        npm ERR! npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                                        npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
                                        npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
                                        npm ERR! npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
                                        npm ERR! npm ERR! gyp ERR! System Linux 5.10.103-v7l+
                                        npm ERR! npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                        npm ERR! npm ERR! gyp ERR! cwd /home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp
                                        npm ERR! npm ERR! gyp ERR! node -v v18.18.2
                                        npm ERR! npm ERR! gyp ERR! node-gyp -v v9.4.0
                                        npm ERR! npm ERR! gyp ERR! not ok
                                        npm ERR! 
                                        npm ERR! npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-19T06_39_00_484Z-debug-0.log
                                        
                                        npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-19T06_36_08_244Z-debug-0.log
                                        Update "system.adapter.daswetter.0"
                                        

                                        Unabhängig vom Adapter sieht es eigentlich immer wie gezeigt aus. Hat jemand eine Idee wie ich das Ding retten kann?

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • K K 2K K K 2

                                          Meine Adapter lassen sich nicht mehr aktualisieren.

                                          pi@nas:~ $ iobroker update
                                          Used repository: stable
                                          Adapter    "admin"        : 6.10.1   , installed 6.3.5  [Updatable]
                                          Adapter    "backitup"     : 2.8.1    , installed 2.6.19 [Updatable]
                                          Adapter    "ble"          : 0.13.4   , installed 0.13.0 [Updatable]
                                          Adapter    "daswetter"    : 3.1.10   , installed 3.1.8  [Updatable]
                                          Adapter    "discovery"    : 3.1.0    , installed 3.0.5  [Updatable]
                                          Adapter    "info"         : 2.0.0    , installed 1.9.19 [Updatable]
                                          Adapter    "javascript"   : 7.1.4    , installed 6.1.4  [Updatable]
                                          Controller "js-controller": 5.0.12   , installed 4.0.24 [Updatable]
                                          Adapter    "lgtv"         : 2.1.1    , installed 1.1.10 [Updatable]
                                          Adapter    "octoprint"    : 4.0.0    , installed 4.0.0
                                          Adapter    "ring"         : 3.2.2    , installed 3.4.1
                                          Adapter    "simple-api"   : 2.7.2    , installed 2.7.0  [Updatable]
                                          Adapter    "socketio"     : 6.5.5    , installed 4.2.0  [Updatable]
                                          Adapter    "telegram"     : 1.16.0   , installed 1.15.6 [Updatable]
                                          Adapter    "terminal"     : 1.0.0    , installed 1.0.0
                                          Adapter    "web"          : 6.1.2    , installed 4.3.0  [Updatable]
                                          Adapter    "ws"           : 2.5.5    , installed 1.3.0  [Updatable]
                                          Adapter    "yahka"        : 1.0.3    , installed 0.17.0 [Updatable]
                                          Adapter    "zigbee"       : 1.8.23   , installed 1.8.23
                                          

                                          Update/Upgrade:

                                          pi@nas:~ $ iobroker upgrade daswetter --debug
                                          
                                          This upgrade of "daswetter" will at least introduce the following changes:
                                          ==========================================================================
                                          -> 3.1.10:
                                          dependencies updated
                                          ==========================================================================
                                          
                                          Would you like to upgrade daswetter from @3.1.8 to @3.1.10 now? [(y)es, (n)o]: y
                                          Update daswetter from @3.1.8 to @3.1.10
                                          host.nas Adapter "system.adapter.daswetter.0" is stopped.
                                          NPM version: 9.8.1
                                          Installing iobroker.daswetter@3.1.10... (System call)
                                          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                                          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                                          npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
                                          npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                          npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
                                          npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                          npm ERR! code 1
                                          npm ERR! git dep preparation failed
                                          npm ERR! command /usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/iobroker/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
                                          npm ERR! npm WARN using --force Recommended protections disabled.
                                          npm ERR! npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
                                          npm ERR! npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
                                          npm ERR! npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
                                          npm ERR! npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
                                          npm ERR! npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
                                          npm ERR! npm ERR! code 1
                                          npm ERR! npm ERR! path /home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp
                                          npm ERR! npm ERR! command failed
                                          npm ERR! npm ERR! command sh -c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
                                          npm ERR! npm ERR! sharp: Using cached /home/iobroker/.npm/_libvips/libvips-8.14.5-linux-armv7.tar.br
                                          npm ERR! npm ERR! sharp: Integrity check passed for linux-armv7
                                          npm ERR! npm ERR! make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp/build� wird betreten
                                          npm ERR! npm ERR!   CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
                                          npm ERR! npm ERR! rm -f Release/obj.target/../node-addon-api/nothing.a Release/obj.target/../node-addon-api/nothing.a.ar-file-list; mkdir -p `dirname Release/obj.target/../node-addon-api/nothing.a`
                                          npm ERR! npm ERR! ar crs Release/obj.target/../node-addon-api/nothing.a @Release/obj.target/../node-addon-api/nothing.a.ar-file-list
                                          npm ERR! npm ERR!   COPY Release/nothing.a
                                          npm ERR! npm ERR!   TOUCH Release/obj.target/libvips-cpp.stamp
                                          npm ERR! npm ERR!   CXX(target) Release/obj.target/sharp-linux-armv7/src/common.o
                                          npm ERR! npm ERR! make: Verzeichnis �/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp/build� wird verlassen
                                          npm ERR! npm ERR! prebuild-install warn install No prebuilt binaries found (target=7 runtime=napi arch=arm libc= platform=linux)
                                          npm ERR! npm ERR! gyp info it worked if it ends with ok
                                          npm ERR! npm ERR! gyp info using node-gyp@9.4.0
                                          npm ERR! npm ERR! gyp info using node@18.18.2 | linux | arm
                                          npm ERR! npm ERR! gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"
                                          npm ERR! npm ERR! gyp info spawn /usr/bin/python3
                                          npm ERR! npm ERR! gyp info spawn args [
                                          npm ERR! npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
                                          npm ERR! npm ERR! gyp info spawn args   'binding.gyp',
                                          npm ERR! npm ERR! gyp info spawn args   '-f',
                                          npm ERR! npm ERR! gyp info spawn args   'make',
                                          npm ERR! npm ERR! gyp info spawn args   '-I',
                                          npm ERR! npm ERR! gyp info spawn args   '/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp/build/config.gypi',
                                          npm ERR! npm ERR! gyp info spawn args   '-I',
                                          npm ERR! npm ERR! gyp info spawn args   '/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
                                          npm ERR! npm ERR! gyp info spawn args   '-I',
                                          npm ERR! npm ERR! gyp info spawn args   '/home/iobroker/.cache/node-gyp/18.18.2/include/node/common.gypi',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dvisibility=default',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/18.18.2',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/18.18.2/<(target_arch)/node.lib',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dmodule_root_dir=/home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp',
                                          npm ERR! npm ERR! gyp info spawn args   '-Dnode_engine=v8',
                                          npm ERR! npm ERR! gyp info spawn args   '--depth=.',
                                          npm ERR! npm ERR! gyp info spawn args   '--no-parallel',
                                          npm ERR! npm ERR! gyp info spawn args   '--generator-output',
                                          npm ERR! npm ERR! gyp info spawn args   'build',
                                          npm ERR! npm ERR! gyp info spawn args   '-Goutput_dir=.'
                                          npm ERR! npm ERR! gyp info spawn args ]
                                          npm ERR! npm ERR! gyp info spawn make
                                          npm ERR! npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
                                          npm ERR! npm ERR! g++: error: unrecognized command line option '-std=gnu++17'
                                          npm ERR! npm ERR! make: *** [sharp-linux-armv7.target.mk:142: Release/obj.target/sharp-linux-armv7/src/common.o] Fehler 1
                                          npm ERR! npm ERR! gyp ERR! build error 
                                          npm ERR! npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
                                          npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
                                          npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:517:28)
                                          npm ERR! npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:292:12)
                                          npm ERR! npm ERR! gyp ERR! System Linux 5.10.103-v7l+
                                          npm ERR! npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                          npm ERR! npm ERR! gyp ERR! cwd /home/iobroker/.npm/_cacache/tmp/git-cloneUOuQIc/node_modules/sharp
                                          npm ERR! npm ERR! gyp ERR! node -v v18.18.2
                                          npm ERR! npm ERR! gyp ERR! node-gyp -v v9.4.0
                                          npm ERR! npm ERR! gyp ERR! not ok
                                          npm ERR! 
                                          npm ERR! npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-19T06_39_00_484Z-debug-0.log
                                          
                                          npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-10-19T06_36_08_244Z-debug-0.log
                                          Update "system.adapter.daswetter.0"
                                          

                                          Unabhängig vom Adapter sieht es eigentlich immer wie gezeigt aus. Hat jemand eine Idee wie ich das Ding retten kann?

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #62

                                          @k-k-2 sagte in Kann keine Adapter aktualisieren:

                                          usr/local/bin/node

                                          Nodejs falsch installiert. Mit

                                          iob nodejs-update
                                          

                                          gerade biegen.

                                          https://forum.iobroker.net/topic/69068/neuer-befehl-iob-nodejs-update

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          K K 2K 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          766

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe