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.
    • Zelly
      Zelly @Thomas Braun last edited by

      @thomas-braun
      Die Ausgabe ist zu lang, um sie hier zu posten... aber nach restart war immer noch das problem da.

      Ist hier was falsch?
      pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v18.12.1
      v18.12.1
      8.19.2
      nodejs:
      Installiert: 18.12.1-deb-1nodesource1
      Installationskandidat: 18.12.1-deb-1nodesource1
      Versionstabelle:
      *** 18.12.1-deb-1nodesource1 500
      500 https://deb.nodesource.com/node_18.x buster/main armhf Packages
      100 /var/lib/dpkg/status
      10.24.0~dfsg-1~deb10u2 500
      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

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

        @zelly

        df -h
        

        meinte ich auch, sorry.

        Nodejs ist grundsätzlich wohl sauber installiert, allerdings ist die Empfehlung v16.
        Dein Betriebssystem ist aus dem regulären Support raus, installier da Bullseye.

        Zelly 1 Reply Last reply Reply Quote 0
        • Zelly
          Zelly @Thomas Braun last edited by Homoran

          @thomas-braun
          zunächst: vielen Dank für deine Unterstützung!

          pi@raspberrypi:~ $ df -h
          Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
          /dev/root        15G    4,2G  9,6G   31% /
          devtmpfs        430M       0  430M    0% /dev
          tmpfs           462M       0  462M    0% /dev/shm
          tmpfs           462M     18M  444M    4% /run
          tmpfs           5,0M    4,0K  5,0M    1% /run/lock
          tmpfs           462M       0  462M    0% /sys/fs/cgroup
          /dev/mmcblk0p1  253M     49M  204M   20% /boot
          tmpfs            93M       0   93M    0% /run/user/1000
          

          MOD-EDIT: Code in code-tags gesetzt!

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

            @zelly

            iobroker status
            
            Zelly 1 Reply Last reply Reply Quote 0
            • Zelly
              Zelly @Thomas Braun last edited by

              @thomas-braun

              pi@raspberrypi:~ $ iobroker status
              iobroker is 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 @Zelly last edited by

                @zelly
                Okay...

                iobroker stop
                iobroker fix
                iobroker update
                
                Zelly 1 Reply Last reply Reply Quote 0
                • Zelly
                  Zelly @Thomas Braun last edited by

                  @thomas-braun
                  so... ist jetzt einmal durchgelaufen:

                  pi@raspberrypi:~ $ iobroker update
                  Used repository: stable
                  Adapter    "admin"        : 6.2.23   , installed 6.2.23
                  Adapter    "alexa2"       : 3.21.0   , installed 3.21.0
                  Adapter    "backitup"     : 2.5.4    , installed 2.4.12 [Updatable]
                  Adapter    "daswetter"    : 3.1.4    , installed 3.1.4
                  Adapter    "deconz"       : 1.3.21   , installed 2.0.5
                  Adapter    "discovery"    : 3.0.5    , installed 3.1.0
                  Adapter    "email"        : 1.1.3    , installed 1.1.4
                  Adapter    "firetv"       : 1.0.0    , installed 1.0.0
                  Adapter    "geofency"     : 1.1.1    , installed 1.2.4
                  Adapter    "info"         : 1.9.19   , installed 1.9.21
                  Adapter    "javascript"   : 6.0.3    , installed 6.0.3
                  Controller "js-controller": 4.0.23   , installed 4.0.23
                  Adapter    "mihome-vacuum": 3.8.6    , installed 3.6.0  [Updatable]
                  Adapter    "nuki"         : 1.6.0    , installed 1.6.0
                  Adapter    "pushover"     : 3.0.3    , installed 3.0.3
                  Adapter    "shelly"       : 6.0.0    , installed 6.2.4
                  Adapter    "shuttercontrol": 1.4.18  , installed 1.4.18
                  Adapter    "simple-api"   : 2.7.0    , installed 2.7.2
                  Adapter    "socketio"     : 4.2.0    , installed 6.1.10
                  Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                  Adapter    "tuya"         : 3.9.4    , installed 3.7.2  [Updatable]
                  Adapter    "vis"          : 1.4.15   , installed 1.4.15
                  Adapter    "web"          : 4.3.0    , installed 5.2.10
                  Adapter    "ws"           : 1.3.0    , installed 2.1.5
                  

                  Kann ich jetzt wieder den iobroker starten?
                  Ich vermute "Bullseye" muss nochmal separat installiert werden?

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

                    @zelly

                    Dann zieh die Adapter jetzt auf den aktuellen Stand.

                    Auf Bullseye kann u. U. online upgegraded werden.
                    Ich hab das z. B. hier mal gemacht:

                    https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                    Ansonsten: Am besten eine frische Neuinstallation, Backup einspielen.

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

                      @thomas-braun
                      Hochziehen funktioniert bei mir leider nicht.

                      Would you like to upgrade backitup from @2.4.12 to @2.5.4 now? [(y)es, (n)o]: y
                      Update backitup from @2.4.12 to @2.5.4
                      host.raspberrypi Adapter "system.adapter.backitup.0" is stopped.
                      NPM version: 8.19.2
                      Installing iobroker.backitup@2.5.4... (System call)
                      host.raspberrypi Cannot install iobroker.backitup@2.5.4: 217
                      

                      So ist es mit allen Adaptern.

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

                        @zelly

                        Bitte immer vollständig posten.

                        iobroker update backitup --debug
                        

                        Wird aber vermutlich mal wieder
                        https://forum.iobroker.net/topic/57337/fehler-25-bei-adapter-install-update-mit-npm8
                        sein.

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

                          @thomas-braun
                          also der Befehl brachte irgendwie nichts:

                          pi@raspberrypi:~ $ iobroker update backitup --debug
                          Used repository: backitup
                          Error: unknown repository is active - "backitup". Known: stable, beta
                          

                          Im ioBroker das Upgrade direkt probiert... dabei wurde es mit "npm ERR! code ENOTEMPTY" abgebrochen:
                          $ iobroker upgrade backitup@2.5.4 --debug
                          Update backitup from @2.4.12 to @2.5.4
                          NPM version: 8.19.2
                          Installing iobroker.backitup@2.5.4... (System call)
                          npm ERR! code ENOTEMPTY
                          npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-11-24T22_00_30_809Z-debug-0.log
                          host.raspberrypi Cannot install iobroker.backitup@2.5.4: 217
                          ERROR: Process exited with code 25

                          Also jetzt den Befehl aus dem Link ausführen?

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

                          Es handelt sich ja um die Fehlermeldung 25

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

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

                            Error: unknown repository is active - "backitup". Known: stable, beta

                            iobroker repo list
                            

                            sagt?

                            Den Befehl aus dem Link kannst du aber unabhänigig davon schon mal ausführen.

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

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

                              iobroker repo list

                              pi@raspberrypi:~ $ iobroker repo list
                              stable        : http://download.iobroker.net/sources-dist.json
                              beta          : http://download.iobroker.net/sources-dist-latest.json
                              
                              Active repo(s): stable
                              
                              pi@raspberrypi:~ $ for i in $(find /opt/iobroker/node_modules -type d -iname ".*-????????" ! -iname ".local-chromium"); do rm -rf ${i%%/}; done
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Zelly last edited by

                                @zelly

                                iobroker upgrade backitup --debug
                                

                                ist der richtige Befehl.

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

                                  @thomas-braun
                                  Hi, kurzer Zwischenstand.... ich habe es tatsächlich geschafft die Adapter upzugraden! Vielen Dank! 🙂
                                  Ohne deine Hilfe, hätte ich den Raspi schon lange in die Tonne geworfen!

                                  Allerdings bei der Umstellung auf bullseye ist ein ein Problem aufgetreten.... Mein Raspi wird im Netzwerk nicht mehr gefunden... Alles nach Anleitung durchgeführt... Und bei reboot keine reaktion

                                  Ich habe mich bereits durch das Forum gelesen, aber hat bei mir nichts gebracht. Ich werde mich bei dem Thema nochmal melden (https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye)

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

                                    @zelly

                                    Mach ein eigenes Thema dazu auf.

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

                                    Support us

                                    ioBroker
                                    Community Adapters
                                    Donate

                                    734
                                    Online

                                    31.8k
                                    Users

                                    80.0k
                                    Topics

                                    1.3m
                                    Posts

                                    8
                                    69
                                    11687
                                    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