Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Absturz beim Update admin Adapter 6.2.14 auf 6.2.17

    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

    Absturz beim Update admin Adapter 6.2.14 auf 6.2.17

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Dampfhammer @Glasfaser last edited by

      @glasfaser wenn ich den Befehl ausführe in den Ordnern passier folgendes:

      root@6feb521e2437:~# cd /opt/iobroker/node_modules/@node-red/editor-api
      root@6feb521e2437:/opt/iobroker/node_modules/@node-red/editor-api# for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
      ls: cannot access '.[^.]*-*/': No such file or directory
      

      Das passiert in allen, habe einige ausprobiert....hast du eine Idee? 🙂

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

        @dampfhammer

        Das ist ein Container oder eine VM oder sowas? Da scheint die Shell keine RegEx zu verstehen.

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

          @thomas-braun

          Docker läuft auf QNAP. Zugriff mache ich über Portainer

          Okay gibt es eine alternative?

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

            @dampfhammer Keine Ahnung. Hier läuft ein vollständiges Linux.

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

              @thomas-braun Wie sieht die Lösung aus?

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

                @thomas-braun sagte in Absturz beim Update admin Adapter 6.2.14 auf 6.2.17:

                läuft

                Okay dann wird es spannend....was genau wird denn mit dem RegEx gelöscht? Ich könnte "händisch den Ordner leeren oder die einzelnen Dateien rauslöschen.

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

                  @hpiecuch sagte in Absturz beim Update admin Adapter 6.2.14 auf 6.2.17:

                  @thomas-braun Wie sieht die Lösung aus?

                  Verzeichnisse löschen. Lies den Thread.

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

                    @dampfhammer

                    Es werden alle Verzeichnisse, die mit einem Punkt beginnen und mindestens einen Bindestrich enthalten, gelöscht.

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

                      @thomas-braun Habe ich gemacht wie beschrieben "for i in $(ls -d .[^.]-/); do rm -rf ${i%%/}; done" und danach versucht die neue Version des admins adapter zu installieren. Nach 10 Minuten habe ich dann aufgegeben, das sich nichts tat. Nun habe ich per "iobroker start admin" wieder den Zustand wie zuvor. Ich kann einfach keine Adapter mehr auf die neueste Version aktualisieren.
                      eb4f2090-721b-4c41-9c5b-cfdfe021b2cf-image.png

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

                        @thomas-braun

                        Okay ich habe mal 5 Ordner gecheckt da beginnt keine Datei mit einem Punkt....oder muss ich auch Verzeichnisse bzw. Dateien löschen die nicht mit einem Punkt beginnen aber einen Bindestrich enthalten?

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

                          @dampfhammer

                          Nein, alle 'versteckten' Verzeichnisse (beginnen immer mit einem Punkt) und die einen Bindestrich enthalten (und eine kryptische Endung haben).

                          D 1 Reply Last reply Reply Quote 1
                          • Thomas Braun
                            Thomas Braun Most Active @hpiecuch last edited by Thomas Braun

                            @hpiecuch

                            Installier es über die Konsole mit --debug-Option.
                            Dann werden die Verzeichnisse genannt.

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

                              @thomas-braun "iobroker upgrade --d", da bekomme ich folgende Rückmeldung
                              This upgrade of "vis-weather" will introduce the following changes:

                              -> 2.5.6:
                              tooltip with value added

                              Would you like to upgrade vis-weather from @2.5.5 to @2.5.6 now? [(y)es, (n)o]: y
                              Update vis-weather from @2.5.5 to @2.5.6
                              NPM version: 8.15.0
                              Installing iobroker.vis-weather@2.5.6... (System call)
                              host.iobroker Cannot install iobroker.vis-weather@2.5.6: 217

                              Ich bin mir aber nicht sicher ob ich das richtige Kommando für den upgrade hier verwendet habe.

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

                                @hpiecuch

                                --debug

                                H 2 Replies Last reply Reply Quote 0
                                • H
                                  hpiecuch @Thomas Braun last edited by

                                  @thomas-braun ich bekomme folgende Meldung.
                                  This upgrade of "admin" will introduce the following changes:

                                  -> 6.2.17:
                                  Corrected GUI bug on intro tab

                                  -> 6.2.16:
                                  Corrected many GUI issues
                                  Added stable flag for repositories
                                  Added reset button for repositories
                                  Improved writeFile function for socket communication

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

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

                                    @hpiecuch

                                    Das ist entweder nicht vollständig oder nicht mit --debug gemacht.
                                    Und bitte Konsolenoutput in CodeTags setzen.

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

                                      @thomas-braun hier das Ergebnis mit --debug
                                      This upgrade of "admin" will introduce the following changes:

                                      -> 6.2.17:
                                      Corrected GUI bug on intro tab

                                      -> 6.2.16:
                                      Corrected many GUI issues
                                      Added stable flag for repositories
                                      Added reset button for repositories
                                      Improved writeFile function for socket communication

                                      Would you like to upgrade admin from @6.2.14 to @6.2.17 now? [(y)es, (n)o]: y
                                      Update admin from @6.2.14 to @6.2.17
                                      host.iobroker Adapter "system.adapter.admin.0" is stopped.
                                      NPM version: 8.15.0
                                      Installing iobroker.admin@6.2.17... (System call)
                                      npm ERR! code ENOTEMPTY
                                      npm ERR! syscall rename
                                      npm ERR! path /opt/iobroker/node_modules/@babel/runtime
                                      npm ERR! dest /opt/iobroker/node_modules/@babel/.runtime-cSN2FFol
                                      npm ERR! errno -39
                                      npm ERR! ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/@babel/runtime' -> '/opt/iobroker/node_modules/@babel/.runtime-cSN2FFol'

                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR! /home/iobroker/.npm/_logs/2022-08-20T09_08_37_600Z-debug-0.log
                                      host.iobroker Cannot install iobroker.admin@6.2.17: 217

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

                                        @hpiecuch

                                        Dann siehst du ja jetzt welches Verzeichnis zu löschen ist.

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

                                          @thomas-braun Dieses vermutlich '/opt/iobroker/node_modules/@babel/runtime'

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

                                            @hpiecuch
                                            Nein. Das mit der kryptischen Endung und dem Punkt am Anfang.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            902
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            8
                                            85
                                            5635
                                            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