Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich

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

      pi@IoBroker:~ $ iobroker update -i
      Used repository: stable
      Adapter    "admin"        : 5.3.8    , installed 5.3.8
      Adapter    "backitup"     : 2.4.9    , installed 2.4.9
      Adapter    "chromecast"   : 2.3.1    , installed 2.3.1
      Adapter    "discovery"    : 3.0.3    , installed 3.0.3
      Adapter    "fritzdect"    : 2.2.3    , installed 2.2.3
      Adapter    "influxdb"     : 2.6.3    , installed 1.9.5  [Updatable]
      Adapter    "javascript"   : 5.7.0    , installed 5.2.21 [Updatable]
      Controller "js-controller": 4.0.23   , installed 4.0.23
      Adapter    "net-tools"    : 0.2.0    , installed 0.2.0
      Adapter    "ping"         : 1.5.3    , installed 1.5.3
      Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
      Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
      

      influxdb hat eben nach dem ich es geupdatet hab nicht mehr funktioniert das wollte ich jetzt so lassen.
      Aber ich dachte eigentlich ich hätte Java geupdatet aber das scheint nicht funktioniert zu haben.

      $ iobroker upgrade javascript@5.7.0
      Update javascript from @5.2.21 to @5.7.0
      NPM version: 8.11.0Installing iobroker.javascript@5.7.0... (System call)
      host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
      ERROR: Process exited with code 25
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Habi last edited by

        @habi sagte in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

        iobroker upgrade javascript@5.7.0 --debug
        

        Und schau dir an was mit dem influx ist. 'So lassen' ist jedenfalls keine Option.

        1 Reply Last reply Reply Quote 0
        • H
          Habi last edited by Habi

          influx kann ich updaten das funktioniert alles. Bekomme dann nur die Fehlermeldung "no connection to DB". Das Problem hatten ja schon mehrere im Forum. Muss mich da noch durcharbeiten. Will dann aber erstmal wieder nen Backup machen wenn der Rest läuft.

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

            @habi

            Und was sagt dein javascript?

            iobroker upgrade javascript@5.7.0 --debug
            
            1 Reply Last reply Reply Quote 0
            • H
              Habi last edited by Habi

              Versuche zu installieren und bekomme solche Meldungen

              pi@IoBroker:~ $ iobroker upgrade javascript@5.7.0 --debug
              Would you like to reinstall version 5.7.0 of javascript now? [(y)es, (n)o]: y
              Update javascript from @5.7.0 to @5.7.0
              NPM version: 8.11.0
              Installing iobroker.javascript@5.7.0... (System call)
              npm ERR! code ENOTEMPTY
              npm ERR! syscall rename
              npm ERR! path /opt/iobroker/node_modules/iobroker.javascript
              npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
              npm ERR! errno -39
              npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-07-02T19_22_48_389Z-debug-0.log
              host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
              

              Hab gefühlte schon 8 gelöscht. Dabei ist der Pi 2 mal abgestürzt beim versuch zu installieren.
              Nach dem ersten Restart meint er jetzt 5.7.0 sei installiert. Wenn ich dann aber sage er soll 5.7.0 neu installieren bekomme ich ne neue Fehlermeldung.
              Im IoBroker unter Adapter steht 5.7.0 ist installiert und unter Instanzen steht 5.2.21 ist installiert.
              Würde jetzt einfach weitermachen bis ich alle Fehlermeldungen gelöscht habe.

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

                @habi sagte in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

                Die Übung kennst du ja schon.

                /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn

                löschen.

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

                  @habi sagte in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

                  bekomme ich ne neue Fehlermeldung.

                  Das ist ja interessant...

                  Und was steht in der 'neuen Fehlermeldung' drin? Außer das die geheim ist und unter keinen Umständen weitergesagt werden darf?

                  1 Reply Last reply Reply Quote 0
                  • H
                    Habi last edited by

                    Immer das selbe Lösche halt immer weiter

                    pi@IoBroker:~ $ iobroker upgrade javascript@5.7.0 --debug
                    Would you like to reinstall version 5.7.0 of javascript now? [(y)es, (n)o]: y
                    Update javascript from @5.7.0 to @5.7.0
                    NPM version: 8.11.0
                    Installing iobroker.javascript@5.7.0... (System call)
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/iobroker.javascript
                    npm ERR! dest /opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobr                                        oker.javascript' -> '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-02T19_22_48_389Z-debug-0.log
                    host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
                    pi@IoBroker:~ $ sudo -u iobroker rm -rf /opt/iobroker/node_modules/.iobroker.javascript5NZ432mn                                    
                    pi@IoBroker:~ $ iobroker upgrade javascript@5.7.0 --debug
                    Would you like to reinstall version 5.7.0 of javascript now? [(y)es, (n)o]: y
                    Update javascript from @5.7.0 to @5.7.0
                    NPM version: 8.11.0
                    Installing iobroker.javascript@5.7.0... (System call)
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/jszip
                    npm ERR! dest /opt/iobroker/node_modules/.jszip-r3fGcU4N
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/jszip' -> '/opt/iobroker/node_modules/.jszip-r3fGcU4N'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-02T19_30_57_647Z-debug-0.log
                    host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
                    pi@IoBroker:~ $ sudo -u iobroker rm -rf /opt/iobroker/node_modules/.jszip-r3fGcU4N
                    pi@IoBroker:~ $ iobroker upgrade javascript@5.7.0 --debug
                    Would you like to reinstall version 5.7.0 of javascript now? [(y)es, (n)o]: y
                    Update javascript from @5.7.0 to @5.7.0
                    NPM version: 8.11.0
                    Installing iobroker.javascript@5.7.0... (System call)
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/semver
                    npm ERR! dest /opt/iobroker/node_modules/.semver-n8m5lQuN
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/semver' -> '/opt/iobroker/node_modules/.semver-n8m5lQuN'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-02T19_31_28_579Z-debug-0.log
                    host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
                    pi@IoBroker:~ $ sudo -u iobroker rm -rf /opt/iobroker/node_modules/.semver-n8m5lQuN
                    pi@IoBroker:~ $ iobroker upgrade javascript@5.7.0 --debug
                    Would you like to reinstall version 5.7.0 of javascript now? [(y)es, (n)o]: y
                    Update javascript from @5.7.0 to @5.7.0
                    NPM version: 8.11.0
                    Installing iobroker.javascript@5.7.0... (System call)
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/setimmediate
                    npm ERR! dest /opt/iobroker/node_modules/.setimmediate-hneOl41Z
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/setimmediate' -> '/opt/iobroker/node_modules/.setimmediate-hneOl41Z'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-02T19_31_57_244Z-debug-0.log
                    host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
                    pi@IoBroker:~ $ sudo -u iobroker rm -rf /opt/iobroker/node_modules/.setimmediate-hneOl41Z
                    pi@IoBroker:~ $ iobroker upgrade javascript@5.7.0 --debug
                    Would you like to reinstall version 5.7.0 of javascript now? [(y)es, (n)o]: y
                    Update javascript from @5.7.0 to @5.7.0
                    NPM version: 8.11.0
                    Installing iobroker.javascript@5.7.0... (System call)
                    npm ERR! code ENOTEMPTY
                    npm ERR! syscall rename
                    npm ERR! path /opt/iobroker/node_modules/typescript
                    npm ERR! dest /opt/iobroker/node_modules/.typescript-rKKYB1QG
                    npm ERR! errno -39
                    npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/typescript' -> '/opt/iobroker/node_modules/.typescript-rKKYB1QG'
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2022-07-02T19_32_41_426Z-debug-0.log
                    host.IoBroker Cannot install iobroker.javascript@5.7.0: 217
                    pi@IoBroker:~ $ sudo -u iobroker rm -rf /opt/iobroker/node_modules/.typescript-rKKYB1QG
                    
                    Bass-T 1 Reply Last reply Reply Quote 0
                    • Bass-T
                      Bass-T @Habi last edited by

                      Habe jetzt auch das Problem dass sich adapter nicht mehr updaten lassen, bzw auch keine neuen installieren lassen.
                      Gibt es schon eine globaöe Lösung, oder immer noch nur die angeforderten Ordner einzeln löschen?

                      Grüße

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Bass-T last edited by Thomas Braun

                        @bass-t

                        Gibt es. Ist im Forum angepinnt...

                        https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8

                        D 1 Reply Last reply Reply Quote 1
                        • D
                          djsirius @Thomas Braun last edited by

                          Hi thomas-braun,

                          vielleicht kannst du mir nochmal helfen. Seit heute bekomme ich meinen iobroker nicht mehr gestartet.

                          iobroker@debian:~$ iob status
                          iobroker is not running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          
                          iobroker@debian:~$ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          x86_64
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v16.18.0
                          v16.18.0
                          8.19.2
                          4.0.23
                          iobroker
                          iobroker tty dialout cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner
                          tty
                          /home/iobroker
                          OK:1 http://deb.debian.org/debian buster InRelease
                          OK:2 http://security.debian.org/debian-security buster/updates InRelease
                          OK:3 http://deb.debian.org/debian-security buster/updates InRelease
                          OK:4 http://deb.debian.org/debian buster-updates InRelease
                          OK:5 http://ftp.de.debian.org/debian buster InRelease
                          OK:6 https://deb.nodesource.com/node_16.x buster InRelease
                          OK:7 http://deb.debian.org/debian buster-backports InRelease
                          OK:8 https://packages.sury.org/php buster InRelease
                          OK:9 http://ftp.de.debian.org/debian buster-updates InRelease
                          OK:10 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Aktualisierung für 14 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                          nodejs:
                            Installiert:           16.18.0-deb-1nodesource1
                            Installationskandidat: 16.18.0-deb-1nodesource1
                            Versionstabelle:
                           *** 16.18.0-deb-1nodesource1 500
                                  500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages
                                  100 /var/lib/dpkg/status
                               10.24.0~dfsg-1~deb10u2 500
                                  500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
                                  500 http://deb.debian.org/debian-security buster/updates/main amd64 Packages
                               10.24.0~dfsg-1~deb10u1 500
                                  500 http://ftp.de.debian.org/debian buster/main amd64 Packages
                                  500 http://deb.debian.org/debian buster/main amd64 Packages
                          iobroker@debian:~$ ^C
                          Sie haben neue Post in /var/mail/iobroker.
                          
                          
                          Glasfaser Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @djsirius last edited by

                            @djsirius sagte in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

                            iobroker is not running on this host.

                            iobroker start
                            

                            mal versucht !?

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

                              @djsirius sagte in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

                              Wer schreibt dir denn hier Emails:

                              Sie haben neue Post in /var/mail/iobroker.

                              System aktuell halten:

                              Aktualisierung für 14 Pakete verfügbar.
                              

                              Seit heute bekomme ich meinen iobroker nicht mehr gestartet.

                              Konkret?

                              iobroker start
                              

                              sagt?

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                djsirius @Thomas Braun last edited by

                                @thomas-braun
                                uodates sind gemacht. iobroker start bringt nichts.

                                iobroker@debian:~$ iobroker start
                                iobroker@debian:~$ iob status
                                iobroker is not running on this host.
                                
                                
                                Objects type: jsonl
                                States  type: jsonl
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @djsirius last edited by Thomas Braun

                                  @djsirius

                                  iob logs
                                  

                                  sagt?

                                  Du bist aber auch etwas OffTopic hier.

                                  D 1 Reply Last reply Reply Quote 0
                                  • D
                                    djsirius @Thomas Braun last edited by

                                    @thomas-braun said in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

                                    iob logs

                                    iobroker@debian:~$ iob logs
                                    Uncaught Rejection: Error: Cannot find module 'moment'
                                    Require stack:
                                    - /opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js
                                    - /opt/iobroker/node_modules/winston-daily-rotate-file/daily-rotate-file.js
                                    - /opt/iobroker/node_modules/winston-daily-rotate-file/index.js
                                    - /opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/logger.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
                                        at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
                                        at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                                        at Module.require (node:internal/modules/cjs/loader:1057:19)
                                        at require (node:internal/modules/cjs/helpers:103:18)
                                        at Object.<anonymous> (/opt/iobroker/node_modules/file-stream-rotator/FileStreamRotator.js:15:14)
                                        at Module._compile (node:internal/modules/cjs/loader:1155:14)
                                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
                                        at Module.load (node:internal/modules/cjs/loader:1033:32)
                                        at Function.Module._load (node:internal/modules/cjs/loader:868:12)
                                        at Module.require (node:internal/modules/cjs/loader:1057:19)
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @djsirius last edited by

                                      @djsirius

                                      cd /opt/iobroker
                                      sudo -H -u iobroker npm install iobroker.js-controller
                                      
                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        djsirius @Thomas Braun last edited by

                                        @thomas-braun said in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

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

                                        iobroker@debian:~$ cd /opt/iobroker
                                        iobroker@debian:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-contr                                                                                                                               oller
                                        npm ERR! code ENOTEMPTY
                                        npm ERR! syscall rename
                                        npm ERR! path /opt/iobroker/node_modules/iobroker.admin
                                        npm ERR! dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igk
                                        npm ERR! errno -39
                                        npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /home/iobroker/.npm/_logs/2022-11-03T12_22_25_791Z-debug-0.log
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @djsirius last edited by

                                          @djsirius sagte in npm ERR! code ENOTEMPTY - Adapter Upgrade nicht mehr möglich:

                                          ENOTEMPTY:

                                          Kennst du ja schon:

                                          for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done 
                                          
                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            djsirius @Thomas Braun last edited by

                                            @thomas-braun Vielen Dank!

                                            Aber warum habe ich so oft diese Probleme?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            811
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            69
                                            11693
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo