Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. gelöst: Admin läßt sich nicht auf 6.2.20 updaten

    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

    gelöst: Admin läßt sich nicht auf 6.2.20 updaten

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @nic f. last edited by

      @nic-f

      Wie bist du da unterwegs:

      sudo ln -s /usr/bin/node /usr/bin/nodejs
      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      
      1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active @nic f. last edited by mickym

        @nic-f sagte in Admin läßt sich nicht auf 6.2.20 updaten:

        @mickym hi, ja das habe ich gemacht, sonst hätte ich den Downgrade gar nicht hinbekommen. Beim Update auf 6.2.20 bringt er die Meldung wieder (wenn ich das mache, vermut ich es geht). Aber es ist ja nicht normal, dass ich erst die Verzeichnisse manuell umbenennen muss?

        @nic-f Ich halt mich da raus - weil ich mein System mal komplett sauber gemacht habe und das ganze node_modules Verzeichnis neu aufbauen lies. Aber das ist wohl nicht die empfohlene Methode - deswegen gebe ich den Support wieder vertrauensvoll an @Thomas-Braun zurück, der ja bereits ein Auge darauf hat.

        1 Reply Last reply Reply Quote 0
        • N
          nic f. @Thomas Braun last edited by

          @thomas-braun Super! das Thema aus dem Post war genau die Lösung. Habe ich bei der Suche leider nicht gefunden. Danke für die schnelle Hilfe!

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @nic f. last edited by

            @nic-f

            Und was macht der Rest?

            sudo apt update
            sudo apt full-upgrade
            sudo ln -s /usr/bin/node /usr/bin/nodejs
            uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            
            System 9 1 Reply Last reply Reply Quote 0
            • System 9
              System 9 @Thomas Braun last edited by

              @thomas-braun

              hab leider das gleiche Problem.
              Admin lässt sich nicht installieren (hab es irgendwie geschaft ihn zu löschen)

              metti@homeautomatik:/home/iobroker/.npm/_logs$ iobroker upgrade admin@6.2.13 --debug
              
              This upgrade of "admin" will at least introduce the following changes:
              ==========================================================================
              -> 6.2.13:
              Corrected JSON config
              ==========================================================================
              
              BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES!
              Would you like to upgrade admin from @0.0.0 to @6.2.13 now? [(y)es, (n)o]: y
              Update admin from @0.0.0 to @6.2.13
              NPM version: 8.15.0
              Installing iobroker.admin@6.2.13... (System call)
              npm ERR! code ENOTEMPTY
              npm ERR! syscall rename
              npm ERR! path /opt/iobroker/node_modules/destroy
              npm ERR! dest /opt/iobroker/node_modules/.destroy-ZfJpRRrp
              npm ERR! errno -39
              npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/destroy' -> '/opt/iobroker/node_modules/.destroy-ZfJpRRrp'
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-09-06T17_50_17_948Z-debug-0.log
              host.homeautomatik Cannot install iobroker.admin@6.2.13: 217
              

              Nun fange ich an wild verzeinisse umzubennen, ständig es es ein anderes

              pm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/destroy' -> '/opt/iobroker/node_modules/.destroy-ZfJpRRrp'
              npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/depd' -> '/opt/iobroker/node_modules/.depd-6oV4UsPU'
              
              metti@homeautomatik:/home/iobroker/.npm/_logs$ which nodejs node npm && nodejs -v && node -v && npm -v && apt policy nodejs
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v16.17.0
              v16.17.0
              8.15.0
              nodejs:
                Installed: 16.17.0-1nodesource1
                Candidate: 16.17.0-1nodesource1
                Version table:
               *** 16.17.0-1nodesource1 500
                      500 https://deb.nodesource.com/node_16.x bionic/main amd64 Packages
                      100 /var/lib/dpkg/status
                   8.10.0~dfsg-2ubuntu0.4 500
                      500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                   8.10.0~dfsg-2ubuntu0.2 500
                      500 http://de.archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                   8.10.0~dfsg-2 500
                      500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @System 9 last edited by

                @system-9

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

                1 Reply Last reply Reply Quote 0
                • System 9
                  System 9 last edited by

                  @thomas-braun

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

                  Spuckt er nichts aus.

                  der NMP tree ist auch nicht sauber 😕

                  ├── UNMET DEPENDENCY iobroker.admin@6.2.13
                  

                  .

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

                    @system-9 sagte in gelöst: Admin läßt sich nicht auf 6.2.20 updaten:

                    Spuckt er nichts aus.

                    Das ist gut. Dann hat er getan was er tun soll.

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

                      @system-9

                      iobroker status
                      iobroker list adapters
                      iobroker list instances
                      
                      System 9 1 Reply Last reply Reply Quote 0
                      • System 9
                        System 9 @Thomas Braun last edited by

                        @thomas-braun
                        ein traum, adapter nochmal installiert, nun läufts xD

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        693
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        4
                        14
                        876
                        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