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. Untersuchung: code 25 fehlerlösung

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Untersuchung: code 25 fehlerlösung

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
255 Beiträge 34 Kommentatoren 52.3k Aufrufe 31 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.
  • hoepps2802 0H hoepps2802 0

    @mickym
    konnte mir schon sowas denken, aber im thread steht mittlerweile so viel das ich da nicht mehr so richtig durchblicke.

    ne einfach Anleitung wäre super - finde deine Anleitung nicht ?

    Ok- meinst du diese ?

    https://forum.iobroker.net/topic/56543/nach-nodejs-update-kein-adapter-mehr-updatebar/46?_=1665664659274

    mickymM Offline
    mickymM Offline
    mickym
    Most Active
    schrieb am zuletzt editiert von mickym
    #231

    @hoepps2802-0

    Ich habe den Link angepasst - so müsste es gehen: https://forum.iobroker.net/post/831638

    also anstelle von:

    sudo rm -rf node_modules
    
    mv node_modules node_modules.bak
    

    Dann hast da noch eine Sicherung:

    Also nochmal:

    @mickym sagte in Nach Nodejs Update kein Adapter mehr updatebar:

    @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

    @mickym

    wie würde ich da vorgehen?

    also in das /opt/iobroker Verzeichnis wechseln.
    IOB stoppen natürlich:

    iob stop
    
    cd /opt/iobroker
    

    komplettes node_modules Verzeichnis löschen

    sudo rm -rf node_modules
    

    etwaige package-lock.json löschen

    sudo rm package-lock.json
    

    Den cache sicherheitshalber noch leeren:

    npm cache clean --force
    

    Dann das node_modules neu aufbauen lassen:

    npm install
    

    Die ganzen Informationen über die Adapter und deren Abhängigkeiten stehen in der package.json.

    Eine datensicherung oder ein Image würde ich aber in jedem Fall machen, falls was nicht geht. Ist aber noch schneller, als das ganze System neu aufzubauen.

    zum Schluss in dem Verzeichnis /opt/iobroker noch den Befehl

    npm list
    

    und schauen, ob Du einen sauberen Baum hast. npm cache hast ja soweit ich sehe schon gelöscht.

    Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

    apollon77A 1 Antwort Letzte Antwort
    1
    • mickymM mickym

      @hoepps2802-0

      Ich habe den Link angepasst - so müsste es gehen: https://forum.iobroker.net/post/831638

      also anstelle von:

      sudo rm -rf node_modules
      
      mv node_modules node_modules.bak
      

      Dann hast da noch eine Sicherung:

      Also nochmal:

      @mickym sagte in Nach Nodejs Update kein Adapter mehr updatebar:

      @tilly sagte in Nach Nodejs Update kein Adapter mehr updatebar:

      @mickym

      wie würde ich da vorgehen?

      also in das /opt/iobroker Verzeichnis wechseln.
      IOB stoppen natürlich:

      iob stop
      
      cd /opt/iobroker
      

      komplettes node_modules Verzeichnis löschen

      sudo rm -rf node_modules
      

      etwaige package-lock.json löschen

      sudo rm package-lock.json
      

      Den cache sicherheitshalber noch leeren:

      npm cache clean --force
      

      Dann das node_modules neu aufbauen lassen:

      npm install
      

      Die ganzen Informationen über die Adapter und deren Abhängigkeiten stehen in der package.json.

      Eine datensicherung oder ein Image würde ich aber in jedem Fall machen, falls was nicht geht. Ist aber noch schneller, als das ganze System neu aufzubauen.

      zum Schluss in dem Verzeichnis /opt/iobroker noch den Befehl

      npm list
      

      und schauen, ob Du einen sauberen Baum hast. npm cache hast ja soweit ich sehe schon gelöscht.

      apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #232

      @mickym du darfst nicht die Links von oben rechts kopieren. Korrekt bei denen kann sortiering anders sein. Die Links im Post bei der Zeit wann er gepostet hat ist anderer Typ Link mit langer post Id. Der geht.

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      mickymM 1 Antwort Letzte Antwort
      0
      • apollon77A apollon77

        @mickym du darfst nicht die Links von oben rechts kopieren. Korrekt bei denen kann sortiering anders sein. Die Links im Post bei der Zeit wann er gepostet hat ist anderer Typ Link mit langer post Id. Der geht.

        mickymM Offline
        mickymM Offline
        mickym
        Most Active
        schrieb am zuletzt editiert von mickym
        #233

        @apollon77 sagte in Untersuchung: code 25 fehlerlösung:

        @mickym du darfst nicht die Links von oben rechts kopieren. Korrekt bei denen kann sortiering anders sein. Die Links im Post bei der Zeit wann er gepostet hat ist anderer Typ Link mit langer post Id. Der geht.

        Also den Link bei der Zeitangabe im jeweiligen Post (also ... vor 3 Stunden? ) - ich hatte immer den Link aus der Eingabeleiste des Browsers genommen.

        also so: https://forum.iobroker.net/post/872599

        Vielen Dank!!! - Wieder was gelernt - mich hat das nämlich genervt - da sich die Links ja mit jedem neuen Post geändert haben.

        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

        apollon77A 1 Antwort Letzte Antwort
        1
        • mickymM mickym

          @apollon77 sagte in Untersuchung: code 25 fehlerlösung:

          @mickym du darfst nicht die Links von oben rechts kopieren. Korrekt bei denen kann sortiering anders sein. Die Links im Post bei der Zeit wann er gepostet hat ist anderer Typ Link mit langer post Id. Der geht.

          Also den Link bei der Zeitangabe im jeweiligen Post (also ... vor 3 Stunden? ) - ich hatte immer den Link aus der Eingabeleiste des Browsers genommen.

          also so: https://forum.iobroker.net/post/872599

          Vielen Dank!!! - Wieder was gelernt - mich hat das nämlich genervt - da sich die Links ja mit jedem neuen Post geändert haben.

          apollon77A Offline
          apollon77A Offline
          apollon77
          schrieb am zuletzt editiert von
          #234

          @mickym genau der Link ist der richtige.

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          1 Antwort Letzte Antwort
          0
          • liv-in-skyL liv-in-sky

            @apollon77

            sind schon 2 user mit dem puppeteer problem daher würde ich eine änderung deiner beschreibung - zumindest vorübergehend dahin ändern

            zuerst ausführen:

            cd /opt/iobroker/node_modules && for i in $(find -type d -iname ".*-*"); do echo ${i%%/}; done 
            

            dann ausgabedurchsehen, ob das gefundene diese "wirren" namen am ende hat hat z.b.: "./.node-red-admin-97cICUzY"

            dann den befehl mit rm ändern mit den ausnahmen (bei mir: ! -iname ".ts-node" ! -iname ".local-chromium" )

            cd /opt/iobroker/node_modules && for i in $(find -type d -iname ".*-*" ! -iname ".ts-node" ! -iname ".local-chromium" ); do rm -rf ${i%%/}; done
            

            weiß nicht, ob dir das gefällt - umständlich - aber sicherer um spätere fehlersuche zu vermeiden - wird wahrsheinlich eh nicht bei allzu vielen usern sein - puppeteer user und evtl noch user mit zusätzlichen npm modulen

            oder ihr habt bessere idee

            J Offline
            J Offline
            jans_ios
            schrieb am zuletzt editiert von
            #235

            Moin!

            Geil, Leute - hab mein Problem dank Eurer Arbeit hier im Thread fixen können - also: DANKE!!

            Schönes Wochenende und cheers!

            1 Antwort Letzte Antwort
            0
            • David G.D Offline
              David G.D Offline
              David G.
              schrieb am zuletzt editiert von David G.
              #236

              Gibt es für den ein Zeiler

              for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
              

              auch eine Variante für Windows?
              Habe einen Adapter der dort mit Fehler 25 die Installation verweigert.

              Unter Windows kommt bei Fix:

              PS C:\iobroker> for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
              In Zeile:1 Zeichen:4
              + for i in $(find /opt/iobroker/node_modules -type d -iname ".*-??????? ...
              +    ~
              Öffnende "(" fehlt nach dem Schlüsselwort "for".
              In Zeile:1 Zeichen:104
              + ...  -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf  ...
              +                                                                  ~
              Anweisungstext fehlt in der "do"-Schleife.
                  + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
                  + FullyQualifiedErrorId : MissingOpenParenthesisAfterKeyword
              

              Der Adapter zeigt im node Log:

              0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
              1 info using npm@9.5.0
              2 info using node@v18.15.0
              3 timing npm:load:whichnode Completed in 3ms
              4 timing config:load:defaults Completed in 3ms
              5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
              6 timing config:load:builtin Completed in 4ms
              7 timing config:load:cli Completed in 4ms
              8 timing config:load:env Completed in 1ms
              9 timing config:load:file:C:\ioBroker\.npmrc Completed in 0ms
              10 timing config:load:project Completed in 3ms
              11 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\.npmrc Completed in 0ms
              12 timing config:load:user Completed in 0ms
              13 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\etc\npmrc Completed in 1ms
              14 timing config:load:global Completed in 1ms
              15 timing config:load:setEnvs Completed in 2ms
              16 timing config:load Completed in 19ms
              17 timing npm:load:configload Completed in 20ms
              18 timing npm:load:mkdirpcache Completed in 1ms
              19 timing npm:load:mkdirplogs Completed in 0ms
              20 verbose title npm install copystring/ioBroker.roborock#dev
              21 verbose argv "install" "copystring/ioBroker.roborock#dev"
              22 timing npm:load:setTitle Completed in 4ms
              23 timing config:load:flatten Completed in 6ms
              24 timing npm:load:display Completed in 7ms
              25 verbose logfile logs-max:10 dir:C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-
              26 verbose logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
              27 timing npm:load:logFile Completed in 9ms
              28 timing npm:load:timers Completed in 0ms
              29 timing npm:load:configScope Completed in 0ms
              30 timing npm:load Completed in 45ms
              31 timing arborist:ctor Completed in 1ms
              32 silly logfile start cleaning logs, removing 8 files
              33 timing idealTree:init Completed in 565ms
              34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
              35 timing idealTree Completed in 645ms
              36 timing command:install Completed in 659ms
              37 verbose stack Error: An unknown git error occurred
              37 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
              37 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
              37 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
              38 verbose cwd C:\ioBroker
              39 verbose Windows_NT 10.0.22621
              40 verbose node v18.15.0
              41 verbose npm  v9.5.0
              42 error code ENOENT
              43 error syscall spawn git
              44 error path git
              45 error errno -4058
              46 error enoent An unknown git error occurred
              47 error enoent This is related to npm not being able to find a file.
              47 error enoent
              48 verbose exit -4058
              49 timing npm Completed in 750ms
              50 verbose unfinished npm timer reify 1680166627692
              51 verbose unfinished npm timer reify:loadTrees 1680166627699
              52 verbose unfinished npm timer idealTree:userRequests 1680166628267
              53 verbose code -4058
              54 error A complete log of this run can be found in:
              54 error     C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
              
              

              Zeigt eure Lovelace-Visualisierung klick
              (Auch ideal um sich Anregungen zu holen)

              Meine Tabellen für eure Visualisierung klick

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • David G.D David G.

                Gibt es für den ein Zeiler

                for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                

                auch eine Variante für Windows?
                Habe einen Adapter der dort mit Fehler 25 die Installation verweigert.

                Unter Windows kommt bei Fix:

                PS C:\iobroker> for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                In Zeile:1 Zeichen:4
                + for i in $(find /opt/iobroker/node_modules -type d -iname ".*-??????? ...
                +    ~
                Öffnende "(" fehlt nach dem Schlüsselwort "for".
                In Zeile:1 Zeichen:104
                + ...  -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf  ...
                +                                                                  ~
                Anweisungstext fehlt in der "do"-Schleife.
                    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
                    + FullyQualifiedErrorId : MissingOpenParenthesisAfterKeyword
                

                Der Adapter zeigt im node Log:

                0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
                1 info using npm@9.5.0
                2 info using node@v18.15.0
                3 timing npm:load:whichnode Completed in 3ms
                4 timing config:load:defaults Completed in 3ms
                5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
                6 timing config:load:builtin Completed in 4ms
                7 timing config:load:cli Completed in 4ms
                8 timing config:load:env Completed in 1ms
                9 timing config:load:file:C:\ioBroker\.npmrc Completed in 0ms
                10 timing config:load:project Completed in 3ms
                11 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\.npmrc Completed in 0ms
                12 timing config:load:user Completed in 0ms
                13 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\etc\npmrc Completed in 1ms
                14 timing config:load:global Completed in 1ms
                15 timing config:load:setEnvs Completed in 2ms
                16 timing config:load Completed in 19ms
                17 timing npm:load:configload Completed in 20ms
                18 timing npm:load:mkdirpcache Completed in 1ms
                19 timing npm:load:mkdirplogs Completed in 0ms
                20 verbose title npm install copystring/ioBroker.roborock#dev
                21 verbose argv "install" "copystring/ioBroker.roborock#dev"
                22 timing npm:load:setTitle Completed in 4ms
                23 timing config:load:flatten Completed in 6ms
                24 timing npm:load:display Completed in 7ms
                25 verbose logfile logs-max:10 dir:C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-
                26 verbose logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                27 timing npm:load:logFile Completed in 9ms
                28 timing npm:load:timers Completed in 0ms
                29 timing npm:load:configScope Completed in 0ms
                30 timing npm:load Completed in 45ms
                31 timing arborist:ctor Completed in 1ms
                32 silly logfile start cleaning logs, removing 8 files
                33 timing idealTree:init Completed in 565ms
                34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                35 timing idealTree Completed in 645ms
                36 timing command:install Completed in 659ms
                37 verbose stack Error: An unknown git error occurred
                37 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
                37 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
                37 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                38 verbose cwd C:\ioBroker
                39 verbose Windows_NT 10.0.22621
                40 verbose node v18.15.0
                41 verbose npm  v9.5.0
                42 error code ENOENT
                43 error syscall spawn git
                44 error path git
                45 error errno -4058
                46 error enoent An unknown git error occurred
                47 error enoent This is related to npm not being able to find a file.
                47 error enoent
                48 verbose exit -4058
                49 timing npm Completed in 750ms
                50 verbose unfinished npm timer reify 1680166627692
                51 verbose unfinished npm timer reify:loadTrees 1680166627699
                52 verbose unfinished npm timer idealTree:userRequests 1680166628267
                53 verbose code -4058
                54 error A complete log of this run can be found in:
                54 error     C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #237

                @david-g

                Das sind Kommandos für die bash, da kannste unter Windows natürlich nichts mit anfangen.
                Mir wäre auch neu, dass da das Phänomen mir den nicht gelöschten Verzeichnissen auftaucht.

                Fehler 25 bedeutet nur, das irgendwas nicht funktioniert hat. Die ausführliche Meldung lautet?

                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

                David G.D 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @david-g

                  Das sind Kommandos für die bash, da kannste unter Windows natürlich nichts mit anfangen.
                  Mir wäre auch neu, dass da das Phänomen mir den nicht gelöschten Verzeichnissen auftaucht.

                  Fehler 25 bedeutet nur, das irgendwas nicht funktioniert hat. Die ausführliche Meldung lautet?

                  David G.D Offline
                  David G.D Offline
                  David G.
                  schrieb am zuletzt editiert von
                  #238

                  @thomas-braun

                  Hab die Meldung grad eben ergänzt.

                  Hier ist Sie nochmal:

                  0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
                  1 info using npm@9.5.0
                  2 info using node@v18.15.0
                  3 timing npm:load:whichnode Completed in 3ms
                  4 timing config:load:defaults Completed in 3ms
                  5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
                  6 timing config:load:builtin Completed in 4ms
                  7 timing config:load:cli Completed in 4ms
                  8 timing config:load:env Completed in 1ms
                  9 timing config:load:file:C:\ioBroker\.npmrc Completed in 0ms
                  10 timing config:load:project Completed in 3ms
                  11 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\.npmrc Completed in 0ms
                  12 timing config:load:user Completed in 0ms
                  13 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\etc\npmrc Completed in 1ms
                  14 timing config:load:global Completed in 1ms
                  15 timing config:load:setEnvs Completed in 2ms
                  16 timing config:load Completed in 19ms
                  17 timing npm:load:configload Completed in 20ms
                  18 timing npm:load:mkdirpcache Completed in 1ms
                  19 timing npm:load:mkdirplogs Completed in 0ms
                  20 verbose title npm install copystring/ioBroker.roborock#dev
                  21 verbose argv "install" "copystring/ioBroker.roborock#dev"
                  22 timing npm:load:setTitle Completed in 4ms
                  23 timing config:load:flatten Completed in 6ms
                  24 timing npm:load:display Completed in 7ms
                  25 verbose logfile logs-max:10 dir:C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-
                  26 verbose logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                  27 timing npm:load:logFile Completed in 9ms
                  28 timing npm:load:timers Completed in 0ms
                  29 timing npm:load:configScope Completed in 0ms
                  30 timing npm:load Completed in 45ms
                  31 timing arborist:ctor Completed in 1ms
                  32 silly logfile start cleaning logs, removing 8 files
                  33 timing idealTree:init Completed in 565ms
                  34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                  35 timing idealTree Completed in 645ms
                  36 timing command:install Completed in 659ms
                  37 verbose stack Error: An unknown git error occurred
                  37 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
                  37 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
                  37 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                  38 verbose cwd C:\ioBroker
                  39 verbose Windows_NT 10.0.22621
                  40 verbose node v18.15.0
                  41 verbose npm  v9.5.0
                  42 error code ENOENT
                  43 error syscall spawn git
                  44 error path git
                  45 error errno -4058
                  46 error enoent An unknown git error occurred
                  47 error enoent This is related to npm not being able to find a file.
                  47 error enoent
                  48 verbose exit -4058
                  49 timing npm Completed in 750ms
                  50 verbose unfinished npm timer reify 1680166627692
                  51 verbose unfinished npm timer reify:loadTrees 1680166627699
                  52 verbose unfinished npm timer idealTree:userRequests 1680166628267
                  53 verbose code -4058
                  54 error A complete log of this run can be found in:
                  54 error     C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                  
                  

                  Zeigt eure Lovelace-Visualisierung klick
                  (Auch ideal um sich Anregungen zu holen)

                  Meine Tabellen für eure Visualisierung klick

                  Thomas BraunT arteckA apollon77A 3 Antworten Letzte Antwort
                  0
                  • David G.D David G.

                    @thomas-braun

                    Hab die Meldung grad eben ergänzt.

                    Hier ist Sie nochmal:

                    0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
                    1 info using npm@9.5.0
                    2 info using node@v18.15.0
                    3 timing npm:load:whichnode Completed in 3ms
                    4 timing config:load:defaults Completed in 3ms
                    5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
                    6 timing config:load:builtin Completed in 4ms
                    7 timing config:load:cli Completed in 4ms
                    8 timing config:load:env Completed in 1ms
                    9 timing config:load:file:C:\ioBroker\.npmrc Completed in 0ms
                    10 timing config:load:project Completed in 3ms
                    11 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\.npmrc Completed in 0ms
                    12 timing config:load:user Completed in 0ms
                    13 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\etc\npmrc Completed in 1ms
                    14 timing config:load:global Completed in 1ms
                    15 timing config:load:setEnvs Completed in 2ms
                    16 timing config:load Completed in 19ms
                    17 timing npm:load:configload Completed in 20ms
                    18 timing npm:load:mkdirpcache Completed in 1ms
                    19 timing npm:load:mkdirplogs Completed in 0ms
                    20 verbose title npm install copystring/ioBroker.roborock#dev
                    21 verbose argv "install" "copystring/ioBroker.roborock#dev"
                    22 timing npm:load:setTitle Completed in 4ms
                    23 timing config:load:flatten Completed in 6ms
                    24 timing npm:load:display Completed in 7ms
                    25 verbose logfile logs-max:10 dir:C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-
                    26 verbose logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                    27 timing npm:load:logFile Completed in 9ms
                    28 timing npm:load:timers Completed in 0ms
                    29 timing npm:load:configScope Completed in 0ms
                    30 timing npm:load Completed in 45ms
                    31 timing arborist:ctor Completed in 1ms
                    32 silly logfile start cleaning logs, removing 8 files
                    33 timing idealTree:init Completed in 565ms
                    34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                    35 timing idealTree Completed in 645ms
                    36 timing command:install Completed in 659ms
                    37 verbose stack Error: An unknown git error occurred
                    37 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
                    37 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
                    37 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                    38 verbose cwd C:\ioBroker
                    39 verbose Windows_NT 10.0.22621
                    40 verbose node v18.15.0
                    41 verbose npm  v9.5.0
                    42 error code ENOENT
                    43 error syscall spawn git
                    44 error path git
                    45 error errno -4058
                    46 error enoent An unknown git error occurred
                    47 error enoent This is related to npm not being able to find a file.
                    47 error enoent
                    48 verbose exit -4058
                    49 timing npm Completed in 750ms
                    50 verbose unfinished npm timer reify 1680166627692
                    51 verbose unfinished npm timer reify:loadTrees 1680166627699
                    52 verbose unfinished npm timer idealTree:userRequests 1680166628267
                    53 verbose code -4058
                    54 error A complete log of this run can be found in:
                    54 error     C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                    
                    
                    Thomas BraunT Online
                    Thomas BraunT Online
                    Thomas Braun
                    Most Active
                    schrieb am zuletzt editiert von
                    #239

                    @david-g sagte in Untersuchung: code 25 fehlerlösung:

                    error enoent An unknown git error occurred

                    Das ist ein anderer Fehler, den bekämst du mit dem bash-Kommando auch nicht beigeflickt.

                    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
                    • David G.D David G.

                      @thomas-braun

                      Hab die Meldung grad eben ergänzt.

                      Hier ist Sie nochmal:

                      0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
                      1 info using npm@9.5.0
                      2 info using node@v18.15.0
                      3 timing npm:load:whichnode Completed in 3ms
                      4 timing config:load:defaults Completed in 3ms
                      5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
                      6 timing config:load:builtin Completed in 4ms
                      7 timing config:load:cli Completed in 4ms
                      8 timing config:load:env Completed in 1ms
                      9 timing config:load:file:C:\ioBroker\.npmrc Completed in 0ms
                      10 timing config:load:project Completed in 3ms
                      11 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\.npmrc Completed in 0ms
                      12 timing config:load:user Completed in 0ms
                      13 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\etc\npmrc Completed in 1ms
                      14 timing config:load:global Completed in 1ms
                      15 timing config:load:setEnvs Completed in 2ms
                      16 timing config:load Completed in 19ms
                      17 timing npm:load:configload Completed in 20ms
                      18 timing npm:load:mkdirpcache Completed in 1ms
                      19 timing npm:load:mkdirplogs Completed in 0ms
                      20 verbose title npm install copystring/ioBroker.roborock#dev
                      21 verbose argv "install" "copystring/ioBroker.roborock#dev"
                      22 timing npm:load:setTitle Completed in 4ms
                      23 timing config:load:flatten Completed in 6ms
                      24 timing npm:load:display Completed in 7ms
                      25 verbose logfile logs-max:10 dir:C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-
                      26 verbose logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                      27 timing npm:load:logFile Completed in 9ms
                      28 timing npm:load:timers Completed in 0ms
                      29 timing npm:load:configScope Completed in 0ms
                      30 timing npm:load Completed in 45ms
                      31 timing arborist:ctor Completed in 1ms
                      32 silly logfile start cleaning logs, removing 8 files
                      33 timing idealTree:init Completed in 565ms
                      34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                      35 timing idealTree Completed in 645ms
                      36 timing command:install Completed in 659ms
                      37 verbose stack Error: An unknown git error occurred
                      37 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
                      37 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
                      37 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                      38 verbose cwd C:\ioBroker
                      39 verbose Windows_NT 10.0.22621
                      40 verbose node v18.15.0
                      41 verbose npm  v9.5.0
                      42 error code ENOENT
                      43 error syscall spawn git
                      44 error path git
                      45 error errno -4058
                      46 error enoent An unknown git error occurred
                      47 error enoent This is related to npm not being able to find a file.
                      47 error enoent
                      48 verbose exit -4058
                      49 timing npm Completed in 750ms
                      50 verbose unfinished npm timer reify 1680166627692
                      51 verbose unfinished npm timer reify:loadTrees 1680166627699
                      52 verbose unfinished npm timer idealTree:userRequests 1680166628267
                      53 verbose code -4058
                      54 error A complete log of this run can be found in:
                      54 error     C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                      
                      
                      arteckA Offline
                      arteckA Offline
                      arteck
                      Developer Most Active
                      schrieb am zuletzt editiert von
                      #240

                      @david-g sagte in Untersuchung: code 25 fehlerlösung:

                      npm v9.5.0

                      in verbindung mit

                      An unknown git error occurred

                      zigbee hab ich, zwave auch, nuc's genauso und HA auch

                      1 Antwort Letzte Antwort
                      0
                      • David G.D David G.

                        @thomas-braun

                        Hab die Meldung grad eben ergänzt.

                        Hier ist Sie nochmal:

                        0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
                        1 info using npm@9.5.0
                        2 info using node@v18.15.0
                        3 timing npm:load:whichnode Completed in 3ms
                        4 timing config:load:defaults Completed in 3ms
                        5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
                        6 timing config:load:builtin Completed in 4ms
                        7 timing config:load:cli Completed in 4ms
                        8 timing config:load:env Completed in 1ms
                        9 timing config:load:file:C:\ioBroker\.npmrc Completed in 0ms
                        10 timing config:load:project Completed in 3ms
                        11 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\.npmrc Completed in 0ms
                        12 timing config:load:user Completed in 0ms
                        13 timing config:load:file:C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\etc\npmrc Completed in 1ms
                        14 timing config:load:global Completed in 1ms
                        15 timing config:load:setEnvs Completed in 2ms
                        16 timing config:load Completed in 19ms
                        17 timing npm:load:configload Completed in 20ms
                        18 timing npm:load:mkdirpcache Completed in 1ms
                        19 timing npm:load:mkdirplogs Completed in 0ms
                        20 verbose title npm install copystring/ioBroker.roborock#dev
                        21 verbose argv "install" "copystring/ioBroker.roborock#dev"
                        22 timing npm:load:setTitle Completed in 4ms
                        23 timing config:load:flatten Completed in 6ms
                        24 timing npm:load:display Completed in 7ms
                        25 verbose logfile logs-max:10 dir:C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-
                        26 verbose logfile C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                        27 timing npm:load:logFile Completed in 9ms
                        28 timing npm:load:timers Completed in 0ms
                        29 timing npm:load:configScope Completed in 0ms
                        30 timing npm:load Completed in 45ms
                        31 timing arborist:ctor Completed in 1ms
                        32 silly logfile start cleaning logs, removing 8 files
                        33 timing idealTree:init Completed in 565ms
                        34 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/iobroker.js-controller
                        35 timing idealTree Completed in 645ms
                        36 timing command:install Completed in 659ms
                        37 verbose stack Error: An unknown git error occurred
                        37 verbose stack     at makeError (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\make-error.js:28:13)
                        37 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\git\lib\spawn.js:37:26
                        37 verbose stack     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                        38 verbose cwd C:\ioBroker
                        39 verbose Windows_NT 10.0.22621
                        40 verbose node v18.15.0
                        41 verbose npm  v9.5.0
                        42 error code ENOENT
                        43 error syscall spawn git
                        44 error path git
                        45 error errno -4058
                        46 error enoent An unknown git error occurred
                        47 error enoent This is related to npm not being able to find a file.
                        47 error enoent
                        48 verbose exit -4058
                        49 timing npm Completed in 750ms
                        50 verbose unfinished npm timer reify 1680166627692
                        51 verbose unfinished npm timer reify:loadTrees 1680166627699
                        52 verbose unfinished npm timer idealTree:userRequests 1680166628267
                        53 verbose code -4058
                        54 error A complete log of this run can be found in:
                        54 error     C:\WINDOWS\system32\config\systemprofile\AppData\Local\npm-cache\_logs\2023-03-30T08_57_07_607Z-debug-0.log
                        
                        
                        apollon77A Offline
                        apollon77A Offline
                        apollon77
                        schrieb am zuletzt editiert von
                        #241

                        @david-g Diese Meldung besagt das Du einen Adapter installieren willst der ein installiertes "git" braucht. Bitte git installieren und sicherstellen das es im Pfad ist

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        David G.D 1 Antwort Letzte Antwort
                        0
                        • apollon77A apollon77

                          @david-g Diese Meldung besagt das Du einen Adapter installieren willst der ein installiertes "git" braucht. Bitte git installieren und sicherstellen das es im Pfad ist

                          David G.D Offline
                          David G.D Offline
                          David G.
                          schrieb am zuletzt editiert von
                          #242

                          @apollon77
                          Weißt du zufällig, wie ich das unter Windows entsprechend mache?

                          Gleich schreibe ich zusätzlich mal im Thread vom neuen Windows installer ob man es dort ggf Optional mit installiert bekommt.

                          Zeigt eure Lovelace-Visualisierung klick
                          (Auch ideal um sich Anregungen zu holen)

                          Meine Tabellen für eure Visualisierung klick

                          1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @liv-in-sky

                            Funktionert der?
                            Schließt schon mal alles aus, was nicht 8 Zeichen hinter dem Bindestrich hat (also z. B. .ts-node) und .local-chromium heißt.

                            for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%/}; done 
                            

                            [Edit: Es ist jetzt egal in welchem Verzeichnis der Befehl verwendet wird.

                            paul53P Offline
                            paul53P Offline
                            paul53
                            schrieb am zuletzt editiert von paul53
                            #243

                            @thomas-braun
                            Nachdem ich mit NPM 9.5.0 erhebliche Probleme (ENOEMPTY, Code 217) hatte, verwende ich diese Kombination:

                            type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v 
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            /usr/bin/npx
                            v18.15.0
                            v18.15.0
                            6.14.18
                            6.14.18
                            

                            Das funktioniert bisher problemlos.

                            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                            Thomas BraunT apollon77A 2 Antworten Letzte Antwort
                            0
                            • paul53P paul53

                              @thomas-braun
                              Nachdem ich mit NPM 9.5.0 erhebliche Probleme (ENOEMPTY, Code 217) hatte, verwende ich diese Kombination:

                              type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v 
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              /usr/bin/npx
                              v18.15.0
                              v18.15.0
                              6.14.18
                              6.14.18
                              

                              Das funktioniert bisher problemlos.

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

                              @paul53

                              Würde ich nicht machen. Mittlerweile ist die Korrektur auch im

                              iob fix
                              

                              enthalten

                              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

                              paul53P 1 Antwort Letzte Antwort
                              0
                              • paul53P paul53

                                @thomas-braun
                                Nachdem ich mit NPM 9.5.0 erhebliche Probleme (ENOEMPTY, Code 217) hatte, verwende ich diese Kombination:

                                type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v 
                                /usr/bin/nodejs
                                /usr/bin/node
                                /usr/bin/npm
                                /usr/bin/npx
                                v18.15.0
                                v18.15.0
                                6.14.18
                                6.14.18
                                

                                Das funktioniert bisher problemlos.

                                apollon77A Offline
                                apollon77A Offline
                                apollon77
                                schrieb am zuletzt editiert von
                                #245

                                @paul53 Jupp, AM Ende ist das Problem wir irgendwo in npm 8+ drin. npm 6 wird generell gehen ... ist nur die Farge warum es bei dir immer passiert,.

                                Mal eine Bitte an alle die die diese Issues haben: Installiert/updated mal den nächsten Adapter mit "--debug" per Kommandozeile und posted hier die Ausgaben.

                                Wir wissen inzwischen das diese Verzeichnisse wohl angelegt werden wenn irgendwelche Nativen Teile gebaut werden müssen. Da wa aber am Ende eher wenige User betrifft: Erweiterte Annahme: Irgendwo ist ein optionales Paket was bei euch nicht gebaut werden kann und damit immer wieder failed und vllt hat in dem Fall npm einen Bug und die Verzeichnisse bleiben da.

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                M 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @paul53

                                  Würde ich nicht machen. Mittlerweile ist die Korrektur auch im

                                  iob fix
                                  

                                  enthalten

                                  paul53P Offline
                                  paul53P Offline
                                  paul53
                                  schrieb am zuletzt editiert von
                                  #246

                                  @thomas-braun sagte: Mittlerweile ist die Korrektur auch im

                                  iob fix
                                  

                                  enthalten.

                                  NPM 9.5.0 hatte einige Verzeichnisse in "node_modules" versaut. Ich möchte nicht eine nachträgliche Korrektur vornehmen, sondern gleich richtig installieren / updaten. Deshalb hatte ich das Verzeichnis "node_modules" unter "iobroker" komplett gelöscht und ioBroker mit NPM 6.14.18 neu installiert.

                                  Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                  Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                  1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @paul53 Jupp, AM Ende ist das Problem wir irgendwo in npm 8+ drin. npm 6 wird generell gehen ... ist nur die Farge warum es bei dir immer passiert,.

                                    Mal eine Bitte an alle die die diese Issues haben: Installiert/updated mal den nächsten Adapter mit "--debug" per Kommandozeile und posted hier die Ausgaben.

                                    Wir wissen inzwischen das diese Verzeichnisse wohl angelegt werden wenn irgendwelche Nativen Teile gebaut werden müssen. Da wa aber am Ende eher wenige User betrifft: Erweiterte Annahme: Irgendwo ist ein optionales Paket was bei euch nicht gebaut werden kann und damit immer wieder failed und vllt hat in dem Fall npm einen Bug und die Verzeichnisse bleiben da.

                                    M Offline
                                    M Offline
                                    mayer
                                    schrieb am zuletzt editiert von
                                    #247

                                    @apollon77 Ich habe das selbe Problem unter Windows nach dem Update auf Node Version 19.9.0.
                                    Auf der Command line werden die Verzeichnisse nicht angezeigt. Im Explorer werden die Verzeichnisse zwar angezeigt, aber bei Zugriff als nicht vorhanden gemeldet.

                                    Update backitup from @2.5.12 to @2.6.16
                                    host.OptiPlex Adapter "system.adapter.backitup.0" is stopped.
                                    NPM version: 9.6.3
                                    Installing iobroker.backitup@2.6.16... (System call)
                                    npm notice
                                    npm notice New patch version of npm available! 9.6.3 -> 9.6.4
                                    npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.4>
                                    npm notice Run `npm install -g npm@9.6.4` to update!
                                    npm notice
                                    npm ERR! code EBUSY
                                    npm ERR! syscall rename
                                    npm ERR! path C:\ioBroker\node_modules\iobroker
                                    npm ERR! dest C:\ioBroker\node_modules\.iobroker-hewf7iLQ
                                    npm ERR! errno -4082
                                    npm ERR! EBUSY: resource busy or locked, rename 'C:\ioBroker\node_modules\iobroker' -> 'C:\ioBroker\node_modules\.iobroker-hewf7iLQ'
                                    
                                    GlasfaserG apollon77A 2 Antworten Letzte Antwort
                                    0
                                    • M mayer

                                      @apollon77 Ich habe das selbe Problem unter Windows nach dem Update auf Node Version 19.9.0.
                                      Auf der Command line werden die Verzeichnisse nicht angezeigt. Im Explorer werden die Verzeichnisse zwar angezeigt, aber bei Zugriff als nicht vorhanden gemeldet.

                                      Update backitup from @2.5.12 to @2.6.16
                                      host.OptiPlex Adapter "system.adapter.backitup.0" is stopped.
                                      NPM version: 9.6.3
                                      Installing iobroker.backitup@2.6.16... (System call)
                                      npm notice
                                      npm notice New patch version of npm available! 9.6.3 -> 9.6.4
                                      npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.4>
                                      npm notice Run `npm install -g npm@9.6.4` to update!
                                      npm notice
                                      npm ERR! code EBUSY
                                      npm ERR! syscall rename
                                      npm ERR! path C:\ioBroker\node_modules\iobroker
                                      npm ERR! dest C:\ioBroker\node_modules\.iobroker-hewf7iLQ
                                      npm ERR! errno -4082
                                      npm ERR! EBUSY: resource busy or locked, rename 'C:\ioBroker\node_modules\iobroker' -> 'C:\ioBroker\node_modules\.iobroker-hewf7iLQ'
                                      
                                      GlasfaserG Offline
                                      GlasfaserG Offline
                                      Glasfaser
                                      schrieb am zuletzt editiert von
                                      #248

                                      @mayer sagte in Untersuchung: code 25 fehlerlösung:

                                      auf Node Version 19.9.0.

                                      Warum 19 !?
                                      18 ist empfohlen !

                                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                      1 Antwort Letzte Antwort
                                      0
                                      • M mayer

                                        @apollon77 Ich habe das selbe Problem unter Windows nach dem Update auf Node Version 19.9.0.
                                        Auf der Command line werden die Verzeichnisse nicht angezeigt. Im Explorer werden die Verzeichnisse zwar angezeigt, aber bei Zugriff als nicht vorhanden gemeldet.

                                        Update backitup from @2.5.12 to @2.6.16
                                        host.OptiPlex Adapter "system.adapter.backitup.0" is stopped.
                                        NPM version: 9.6.3
                                        Installing iobroker.backitup@2.6.16... (System call)
                                        npm notice
                                        npm notice New patch version of npm available! 9.6.3 -> 9.6.4
                                        npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.4>
                                        npm notice Run `npm install -g npm@9.6.4` to update!
                                        npm notice
                                        npm ERR! code EBUSY
                                        npm ERR! syscall rename
                                        npm ERR! path C:\ioBroker\node_modules\iobroker
                                        npm ERR! dest C:\ioBroker\node_modules\.iobroker-hewf7iLQ
                                        npm ERR! errno -4082
                                        npm ERR! EBUSY: resource busy or locked, rename 'C:\ioBroker\node_modules\iobroker' -> 'C:\ioBroker\node_modules\.iobroker-hewf7iLQ'
                                        
                                        apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        schrieb am zuletzt editiert von
                                        #249

                                        @mayer also ja, warum 19 … am Ende ist EBUSY irgend etwas mit filesystem Zugriffssperren. Versuch mal iobroker zu stoppen und das Update dann zu machen per cli.

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        M 1 Antwort Letzte Antwort
                                        0
                                        • apollon77A apollon77

                                          @mayer also ja, warum 19 … am Ende ist EBUSY irgend etwas mit filesystem Zugriffssperren. Versuch mal iobroker zu stoppen und das Update dann zu machen per cli.

                                          M Offline
                                          M Offline
                                          mayer
                                          schrieb am zuletzt editiert von
                                          #250

                                          @apollon77 Ich habe jetzt mit den Versionen 16, 17 und 18 getestet. Immer das gleiche Ergebnis.
                                          Wenn ich ioBroker stoppe und das das Update mache, läuft es zwar durch, aber mit jeder Menge npm Fehlermeldungen. Anschließend lässt sich ioBroker nicht mehr starten.
                                          Ich werde wohl alles neu aufsetzen.

                                          apollon77A 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

                                          829

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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