Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Probleme mit Adapterupdate nach Update aud Nodejs 16

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Probleme mit Adapterupdate nach Update aud Nodejs 16

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

      Hallo zusammen,

      ich habe nach Anleitung von Nodejs 14 auf 16 aktualisiert und nun Probleme beim Adapterupdate.
      Habe ich doch etwas falsch gemacht? etwas vergessen? Hat jemand eine Idee was ich tun kann?

      Danke!

      pi@raspberrypi:~ $ iobroker stop admin
      The adapter "admin.0" was stopped.
      pi@raspberrypi:~ $ iobroker upgrade admin --debug
      
      This upgrade of "admin" will introduce the following changes:
      ==========================================================================
      -> 6.1.11:
      Fixed GUI issues
      Release candidate 1
      
      -> 6.1.10:
      Fixed issue with map
      ==========================================================================
      
      Would you like to upgrade admin from @6.1.9 to @6.1.11 now? [(y)es, (n)o]: y
      Update admin from @6.1.9 to @6.1.11
      NPM version: 8.11.0
      Installing iobroker.admin@6.1.11... (System call)
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/abbrev
      npm ERR! dest /opt/iobroker/node_modules/.abbrev-5eNud0FY
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abbrev' -> '/opt/iobroker/node_modules/.abbrev-5eNud0FY'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-07-07T10_02_01_944Z-debug-0.log
      host.raspberrypi Cannot install iobroker.admin@6.1.11: 217
      pi@raspberrypi:~ $ nodejs -v && node -v && npm -v && which nodejs && which node && which npm                v16.15.1
      v16.15.1
      8.11.0
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      
      
      pi@raspberrypi:~ $ iobroker upgrade backitup --debug
      
      This upgrade of "backitup" will introduce the following changes:
      ==========================================================================
      -> 2.4.10:
      Code cleaning
      dependencies updated
      Disclaimer added
      Travis Support removed
      Fix backup-download with ssl
      ==========================================================================
      
      Would you like to upgrade backitup from @2.4.9 to @2.4.10 now? [(y)es, (n)o]: y
      Update backitup from @2.4.9 to @2.4.10
      NPM version: 8.11.0
      Installing iobroker.backitup@2.4.10... (System call)
      npm ERR! code ENOTEMPTY
      npm ERR! syscall rename
      npm ERR! path /opt/iobroker/node_modules/abbrev
      npm ERR! dest /opt/iobroker/node_modules/.abbrev-5eNud0FY
      npm ERR! errno -39
      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/abbrev' -> '/opt/iobroker/node_modules/.abbrev-5eNud0FY'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2022-07-07T10_17_36_587Z-debug-0.log
      host.raspberrypi Cannot install iobroker.backitup@2.4.10: 217
      
      
      
      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @andi2055 last edited by

        @andi2055

        Warum ein Thread dazu ... du bist der 1000 dazu ... gibt das mal in der Suche ein , da stehen Lösungen dazu

        A 1 Reply Last reply Reply Quote 0
        • A
          andi2055 @Glasfaser last edited by

          @glasfaser

          naja, weil man nichts Vernünftiges schnell findet. Daher auch meine Frage.
          Keine Ahnung was du im Sinn hattest - hast du ja nicht verraten.

          Zu meinem Fehler "ENOTEMPTY" findet man spontan nur einen Thread. Da steht keine Lösung drin
          https://forum.iobroker.net/topic/45728/npm-err-code-enotempty-adapter-upgrade-nicht-mehr-m%C3%B6glich

          In anderen Threads wo es um npm geht, sind tausende Lösungsvorschläge genannt, ohne dass die sich auf mein Problem direkt beziehen. Diverse habe ich nun trotzdem einfach mal auf gut Glück ausprobiert.

          Vielleicht habe ich die schnelle Lösung auch nur nicht gefunden, wo diese auch immer steht....

          Letztendlich hat geholfen:

          pi@raspberrypi:/opt/iobroker $ npm cache clean --force
          
          Meister Mopper 1 Reply Last reply Reply Quote 0
          • Meister Mopper
            Meister Mopper @andi2055 last edited by

            @andi2055
            Guck mal hier.

            A 1 Reply Last reply Reply Quote 0
            • A
              andi2055 @Meister Mopper last edited by

              @meister-mopper
              Bin ich auch drüber gestolpert, mich dann aber für den anderen Befehl (siehe oben) entschieden...
              Danke.

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

                @andi2055

                rm -rf /opt/iobroker/node_modules/.abbrev-5eNud0FY
                

                wäre es gewesen.

                A 1 Reply Last reply Reply Quote 1
                • A
                  andi2055 @Thomas Braun last edited by

                  @thomas-braun
                  tatsächlich war es auf meinem zweiten System nicht ganz so einfach wie beim ersten.
                  Die Lösung dort war nun ca. 600 Folder nach dem Format /opt/iobroker/node_modules/.XXXX-yyyyy (siehe Beispiel oben) manuell zu löschen.
                  Danach hat wieder alles funktioniert. Ob es dafür keinen Automatismus gibt...?

                  Danke euch!

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

                  Support us

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

                  681
                  Online

                  31.7k
                  Users

                  79.7k
                  Topics

                  1.3m
                  Posts

                  4
                  7
                  380
                  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