Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. admin.0 Ordner löschen?

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    admin.0 Ordner löschen?

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      saeft_2003 Most Active @crunchip last edited by

      @crunchip sagte in admin.0 Ordner löschen?:

      @saeft_2003 sagte in admin.0 Ordner löschen?:

      dass ich unter admin.0 noch eine menge selbst angelegte DP habe die ich nicht mehr nutze

      du weißt doch das man das nicht macht😜

      Jetzt weiß ich das, damals war ich aber noch jung und unerfahren 😛

      Und jetzt müssen halt mal die Altlasten weg, meinst du das geht mit dem löschen?

      haselchen 1 Reply Last reply Reply Quote 0
      • haselchen
        haselchen Most Active @saeft_2003 last edited by

        @saeft_2003

        Vielleicht geht das ja von hinten durch die Brust....

        admin.1 Instanz erstellen
        admin.0 ordner löschen
        und dann admin.1 zu admin.0 umbenennen

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @haselchen last edited by

          @haselchen sagte in admin.0 Ordner löschen?:

          Vielleicht geht das ja von hinten durch die Brust....

          bin mir da nicht so sicher 😉

          @saeft_2003
          Aber es geht doch manuell, dauert nur etwas.
          Jedes andere experimentieren dauert aber auch - mit ungewissem Ausgang

          S 1 Reply Last reply Reply Quote 0
          • S
            saeft_2003 Most Active @Homoran last edited by

            @homoran

            Klar geht es manuell, aber da es doch schon einige sind habe ich mir gedacht das es vielleicht auch schnellet geht...

            Aber wenn das Risiko zu hoch ist, dann lösch ich halt immer wieder mal nach und nach welche.

            crunchip liv-in-sky 3 Replies Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @saeft_2003 last edited by

              @saeft_2003 teste doch und lösch den Ordner, notfalls spielst du dein Backup zurück
              und wir wissen dann wenigstens mit Sicherheit, daß es nicht funktioniert😛

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @saeft_2003 last edited by

                @saeft_2003

                bei mir mit test geklappt

                
                
                 $('admin.0.*').each(function(id, i) { 
                     let ida=id.split(".")
                   //  log(ida[2])
                     if(ida[2]!="info" && id!="admin.0.connected") { log(ida[2])
                     deleteState(id)
                     deleteObject(id)}
                
                
                     
                 });
                
                
                
                

                @paul53 denkst du das ist so ok

                S 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @saeft_2003 last edited by liv-in-sky

                  @saeft_2003

                  vorausgesetzt dein admin braucht auch nu den info-ordner und den "connected" datenpunkt

                  1 Reply Last reply Reply Quote 0
                  • S
                    saeft_2003 Most Active @liv-in-sky last edited by

                    @liv-in-sky sagte in admin.0 Ordner löschen?:

                    @saeft_2003

                    bei mir mit test geklappt

                    
                    
                     $('admin.0.*').each(function(id, i) { 
                         let ida=id.split(".")
                       //  log(ida[2])
                         if(ida[2]!="info" && id!="admin.0.connected") { log(ida[2])
                         deleteState(id)
                         deleteObject(id)}
                    
                    
                         
                     });
                    
                    
                    
                    

                    @paul53 denkst du das ist so ok

                    Danke! Was genau macht das skript? Löscht das alles außer den info Ordner?

                    liv-in-sky 2 Replies Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @saeft_2003 last edited by

                      @saeft_2003 alles außer dem info ordner und dem datenpunkt connected

                      Image 2.png

                      beispiel:

                      anim-gif41.gif

                      1 Reply Last reply Reply Quote 1
                      • liv-in-sky
                        liv-in-sky @saeft_2003 last edited by liv-in-sky

                        @saeft_2003

                        exportiere mal admin.0 in ein file und poste es

                        Image 3.png

                        1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky last edited by liv-in-sky

                          nur zur vorsicht - hat jmd von euch noch andere datenpunkte, die benötigt werden und die nicht im admin.0.info ordner sind ?

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @liv-in-sky last edited by

                            @liv-in-sky sagte in admin.0 Ordner löschen?:

                            die nicht im info adapter sind ?

                            Ähm, im "Verzeichnis Info"??

                            nein habe ich nicht

                            liv-in-sky 1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Homoran last edited by liv-in-sky

                              @homoran was hast du dann ?

                              Image 4.png

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @liv-in-sky last edited by

                                @liv-in-sky sagte in admin.0 Ordner löschen?:

                                was hast du dann ?

                                genau das!
                                aber ist das der Info-Adapter????

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @Homoran last edited by

                                  @homoran
                                  nee das ist ein ordner unter admin.0

                                  das ist info.0

                                  Image 5.png

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @liv-in-sky last edited by

                                    @liv-in-sky sagte in admin.0 Ordner löschen?:

                                    nee das ist ein ordner unter admin.0

                                    eben!
                                    aber du schriebst eben:

                                    @liv-in-sky sagte in admin.0 Ordner löschen?:

                                    hat jmd von euch noch andere datenpunkte, die benötigt werden und die nicht im info adapter sind ?

                                    liv-in-sky 1 Reply Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @Homoran last edited by

                                      @homoran sorry - ausgebessert

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        saeft_2003 Most Active last edited by

                                        Puhh ich blick nicht mehr durch 😲

                                        Kann ich heute Abend das Skript zum löschen der DP in admin.0 (außer info) testen?

                                        crunchip 1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @saeft_2003 last edited by

                                          @saeft_2003 backitup sollte auch noch im admin liegen, falls verwendet, dieses dann gegebenenfalls noch mit anpassen

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @crunchip last edited by

                                            @crunchip sagte in admin.0 Ordner löschen?:

                                            backitup sollte auch noch im admin liegen, falls verwendet,

                                            bei mir nicht (sichtbar)!

                                            crunchip 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

                                            842
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            30
                                            800
                                            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