Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker backitup error.. Wo liegt das problem

    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

    Iobroker backitup error.. Wo liegt das problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      elmos04 @Homoran last edited by

      @homoran
      deshalb glaub ich da ich damit leben muss.

      Homoran simatec 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @elmos04 last edited by

        @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

        deshalb glaub ich da ich damit leben muss.

        ?????

        Liest du eigentlich was wir dir schreiben?
        und verstehst du was du da tust?

        Du hast doch extra nach der Datei gesucht (und sie gefunden)
        Diese Datei wird im Rahmen des Backups gepackt und vorher geprüft.
        Dafür liegt die (Kopie der) Datei kurzzeitig in diesem tmp-Verzeichnis.

        Der Fehler (das defekte json) ist aber in der Originaldatei, die jedesmal wieder das backup killen wird, wenn du sie nicht löschst oder verschiebst in ein Verzeichnis, das nicht gesichert wird

        Da gibt es kein mit leben müssen !!

        E 1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @elmos04 last edited by

          @elmos04

          sudo cp /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json /home/pi/6_Fach_Taster_1_Büro_licht.json
          sudo rm /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
          

          Danach geht dein Backup

          E 1 Reply Last reply Reply Quote 1
          • E
            elmos04 @Homoran last edited by

            @homoran
            Lesen -Ja
            Verstehen - nein

            1 Reply Last reply Reply Quote 0
            • E
              elmos04 @simatec last edited by

              @simatec
              habe beides Copy und Paste gemacht.
              Gleiche Meldung

              code_text
              Started iobroker ...
              [DEBUG] [iobroker] - host.raspberrypi 8766 states saved
              
              [DEBUG] [iobroker] - host.raspberrypi 10664 objects saved
              
              [ERROR] [iobroker] - host.raspberrypi Backup not created: Error: host.raspberrypi /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_2_Blaulicht.json is not a valid json file
              
              [DEBUG] [iobroker] - done
              [DEBUG] [zigbee] - found zigbee database: zigbee.0
              [DEBUG] [zigbee] - done
              [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
              [DEBUG] [javascripts] - found Script: Garagentor_Status
              [DEBUG] [javascripts] - found Script: Taster_6Fach
              [DEBUG] [javascripts] - found Script: Terrassen_Alexa_mit_Terrassentür
              [DEBUG] [javascripts] - found Script: Alarmanlage_Alexa_Terrasse_ein_und_aus
              [DEBUG] [javascripts] - found Script: Bewegung_UV_Durchsage
              [DEBUG] [javascripts] - found Script: Licht_Tür_UV_Vorraum_und_Eingang
              [DEBUG] [javascripts] - found Script: Gast_Wlan
              [DEBUG] [javascripts] - found Script: Durchsage_Scharf_unscharf
              [DEBUG] [javascripts] - found Script: Durchsage_Ender6_%
              [DEBUG] [javascripts] - found Script: Durchsage_FLsun_%
              [DEBUG] [javascripts] - found Script: Überwachung_Temp
              [DEBUG] [javascripts] - found Script: Rauchmelder
              [DEBUG] [javascripts] - found Script: Autoverbindung_Octopi
              [DEBUG] [javascripts] - found Script: Xiaomi_Taster
              [DEBUG] [javascripts] - found Script: Fenster_mit_WZ_Steckdoesn
              [DEBUG] [javascripts] - found Script: Ikea_Taster_
              [DEBUG] [javascripts] - found Script: Alarmmeldung_wird_abgeschaltet
              [DEBUG] [javascripts] - found Script: Einbruch_laut_melden
              [DEBUG] [javascripts] - found Script: Duty_Cycle
              [DEBUG] [javascripts] - found Script: Alarmmeldung_verhindern
              [DEBUG] [javascripts] - found Script: Einbruch_erkannt
              [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
              [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
              [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_02_13-17_52_40_ioBroker_backupiobroker.tar.gz
              [DEBUG] [javascripts] - done
              [DEBUG] [clean] - done
              [DEBUG] [historyHTML] - new history html values created
              [DEBUG] [historyHTML] - done
              [DEBUG] [historyJSON] - new history json values created
              [DEBUG] [historyJSON] - done
              [EXIT] 26
              
              Homoran wendy2702 simatec 4 Replies Last reply Reply Quote 0
              • E
                elmos04 last edited by wendy2702

                pi@raspberrypi:~ $ sudo cp /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json /home/pi/6_Fach_Taster_1_Büro_licht.json
                pi@raspberrypi:~ $ sudo rm /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                pi@raspberrypi:~ $ 
                
                wendy2702 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 @elmos04 last edited by

                  @elmos04

                  ls -la  /opt/iobroker/iobroker-data/files/vis.0/Tech/
                  
                  1 Reply Last reply Reply Quote 0
                  • E
                    elmos04 last edited by wendy2702

                    @wendy2702 sagte in Iobroker backitup error.. Wo liegt das problem:

                    ls -la /opt/iobroker/iobroker-data/files/vis.0

                    ls -la  /opt/iobroker/iobroker-data/files/vis.0/Tech/
                    insgesamt 1560
                    drwxrwxr-x+ 3 iobroker iobroker   4096 13. Feb 17:48  .
                    drwxrwxr-x+ 4 iobroker iobroker   4096  4. Feb 18:02  ..
                    -rw-rw-r--+ 1 iobroker iobroker   2417  4. Feb 17:57  6_Fach_Taster_2_Blaulicht.json
                    -rw-rw-r--+ 1 iobroker iobroker   2603  4. Feb 17:57  6_fach_Taster_3_Rollo_Runter.json
                    -rw-rw-r--+ 1 iobroker iobroker   2596  4. Feb 17:57  6_Fach_Taster_3_Rollo_Stop.json
                    -rw-rw-r--+ 1 iobroker iobroker   2595  4. Feb 17:57  6_Fach_Taster_4_Rollo_Rauf.json
                    -rw-rw-r--+ 1 iobroker iobroker   2596  4. Feb 17:57  6_fach_Taster_4_rollo_stop.json
                    -rw-rw-r--+ 1 iobroker iobroker   8247  4. Feb 17:57  6_Fach_Taster_5_Anycubic.json
                    -rw-rw-r--+ 1 iobroker iobroker   8332  4. Feb 17:57  6_Fach_Taster_6_Ender6.json
                    -rw-rw-r--+ 1 iobroker iobroker   4441  4. Feb 17:57  Alexa_Aus_über_Alarmanlage.json
                    -rw-rw-r--+ 1 iobroker iobroker  12207  4. Feb 17:57  Alexa__Mute_Terrasse_Werkstatt.json
                    -rw-rw-r--+ 1 iobroker iobroker   7537  4. Feb 17:57  Anycubic_i3_LED_Licht_Automatisch_Ein_-_Aus.json
                    -rw-rw-r--+ 1 iobroker iobroker 243253  5. Feb 15:32 'Bildschirmfoto 2021-10-14 um 09.04.49.jpg'
                    -rw-rw-r--+ 1 iobroker iobroker 385758  5. Feb 15:32 'Bildschirmfoto 2021-10-14 um 09.05.28.jpg'
                    -rw-rw-r--+ 1 iobroker iobroker   3660  4. Feb 17:57  BWM_UV.json
                    -rw-rw-r--+ 1 iobroker iobroker   2031  4. Feb 17:57  Ender_6_Automatisch_Licht_aus_wenn_Ender_Aus.json
                    -rw-rw-r--+ 1 iobroker iobroker   2218  4. Feb 17:57  Ender_6_Start_Automatic.json
                    -rw-rw-r--+ 1 iobroker iobroker   7323  4. Feb 17:57  Ender_Licht_Temp_geschaltet.json
                    -rw-rw-r--+ 1 iobroker iobroker   3407  4. Feb 17:57  ESP_Test_D6_D7.json
                    -rw-rw-r--+ 1 iobroker iobroker   1704  4. Feb 17:57  Fenster_mit_Wohnzimmer_Steckdosen_Schalten.json
                    -rw-rw-r--+ 1 iobroker iobroker   5662  5. Feb 15:32  Garagecapture.jpg
                    -rw-rw-r--+ 1 iobroker iobroker   1772  4. Feb 17:57  Garagen_ESP_Status_HM.json
                    -rw-rw-r--+ 1 iobroker iobroker   8975  4. Feb 17:57  Ikea_Links_Anycubic_Ein.json
                    -rw-rw-r--+ 1 iobroker iobroker   2425  4. Feb 17:57  Ikea_Mitte_Licht.json
                    -rw-rw-r--+ 1 iobroker iobroker   8730  4. Feb 17:57  Ikea_Recht_Ender_6_.json
                    -rw-rw-r--+ 1 iobroker iobroker   2588  4. Feb 17:57  Ikea_Taster_Rollo_Rauf.json
                    -rw-rw-r--+ 1 iobroker iobroker   2608  4. Feb 17:57  IKEA_Taster_Rollo_Runter.json
                    -rw-rw-r--+ 1 iobroker iobroker   4827  4. Feb 17:57  Ikea_Taster_Rollo_Stop.json
                    drwxrwxr-x+ 2 iobroker iobroker   4096  4. Feb 18:02  img
                    -rw-rw-r--+ 1 iobroker iobroker   3403  4. Feb 17:57  NFC_TV.json
                    -rw-rw-r--+ 1 iobroker iobroker   3108  4. Feb 17:57  Tasmota_Anycubic.json
                    -rw-rw-r--+ 1 iobroker iobroker   1715  4. Feb 17:57  Tasmota_Büro_Shelly1.json
                    -rw-rw-r--+ 1 iobroker iobroker   3116  4. Feb 17:57  Tasmota_Ender_6.json
                    -rw-rw-r--+ 1 iobroker iobroker   1666  4. Feb 17:57  Tasmota_iPad.json
                    -rw-rw-r--+ 1 iobroker iobroker   1666  4. Feb 17:57  Tasmota_Linus.json
                    -rw-rw-r--+ 1 iobroker iobroker   1666  4. Feb 17:57  Tasmota_Steckdosen_Linus.json
                    -rw-rw-r--+ 1 iobroker iobroker   1713  4. Feb 17:57  Tasmota_Vorraum.json
                    -rw-rw-r--+ 1 iobroker iobroker   1667  4. Feb 17:57  Tasmota_Weihnachtsbeleuchtung.json
                    -rw-rw-r--+ 1 iobroker iobroker   3145  4. Feb 17:57  Tasmota_Werkstatt_Licht.json
                    -rw-rw-r--+ 1 iobroker iobroker   3113  4. Feb 17:57  Tasmota_Werkstatt_Steckdosen.json
                    -rw-rw-r--+ 1 iobroker iobroker   3105  4. Feb 17:57  Taster_Doppel_Tür_öffnen.json
                    -rw-rw-r--+ 1 iobroker iobroker   8912  4. Feb 17:57  Taster_kurz__TV_ein.json
                    -rw-rw-r--+ 1 iobroker iobroker   9057  4. Feb 17:57  Taster_Lang_auPanik.json
                    -rw-rw-r--+ 1 iobroker iobroker   1031  4. Feb 17:57  Telegram_Test.json
                    -rw-rw-r--+ 1 iobroker iobroker   2061  4. Feb 17:57  Temp_bad.json
                    -rw-rw-r--+ 1 iobroker iobroker   1994  4. Feb 17:57  Temp_Drucker_Creality.json
                    -rw-rw-r--+ 1 iobroker iobroker   2048  4. Feb 17:57  Temp_Küche.json
                    -rw-rw-r--+ 1 iobroker iobroker   2048  4. Feb 17:57  Temp_Linus.json
                    -rw-rw-r--+ 1 iobroker iobroker   2065  4. Feb 17:57  Temp_Schlafzimmer.json
                    -rw-rw-r--+ 1 iobroker iobroker   2062  4. Feb 17:57  Temp_Server.json
                    -rw-rw-r--+ 1 iobroker iobroker   2530  4. Feb 17:57  UV_Tür_Licht_und_HM_SV.json
                    -rw-rw-r--+ 1 iobroker iobroker      0 11. Feb 13:57  vis-user.css
                    -rw-rw-r--+ 1 iobroker iobroker 645413 12. Feb 10:58  vis-views.json
                    -rw-rw-r--+ 1 iobroker iobroker   1919  4. Feb 17:57  Wetter_Warnungen.json
                    -rw-rw-r--+ 1 iobroker iobroker   3477  4. Feb 17:57  Würfel_180_Licht_Büro_aus.json
                    -rw-rw-r--+ 1 iobroker iobroker   3469  4. Feb 17:57  Würfel_90_Licht_ein_Büro.json
                    -rw-rw-r--+ 1 iobroker iobroker   2680  4. Feb 17:57  Würfel_Klopfen_Rollo_Stop.json
                    -rw-rw-r--+ 1 iobroker iobroker   2703  4. Feb 17:57  Würfel_Links_drehen_Rollo_Runter.json
                    -rw-rw-r--+ 1 iobroker iobroker   2694  4. Feb 17:57  Würfel_Rechts_drehen_Rollo_Rauf.json
                    -rw-rw-r--+ 1 iobroker iobroker   1727  4. Feb 17:57  Xiaomi_Magnet_2_zu_HM_und_Alexa.json
                    -rw-rw-r--+ 1 iobroker iobroker   4859  4. Feb 17:57  Zählen_der_Fenster.json
                    pi@raspberrypi:~ $ 
                    
                    
                    E 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @elmos04 last edited by

                      @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

                      habe beides Copy und Paste gemacht.

                      und wo ist EIn- un Ausgabe davon?

                      1 Reply Last reply Reply Quote 0
                      • E
                        elmos04 @elmos04 last edited by

                        @elmos04
                        Das sind Daten aus dem alten Backup

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

                          @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

                          Gleiche Meldung

                          nein - "backup created" !!!!
                          Jetzt ist der Störenfried weg und alles läuft durch

                          1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @elmos04 last edited by

                            @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

                            @simatec
                            habe beides Copy und Paste gemacht.
                            Gleiche Meldung

                            > [ERROR] [iobroker] - host.raspberrypi Backup not created: Error: host.raspberrypi /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_2_Blaulicht.json is not a valid json file 
                            

                            Nicht die gleiche Meldung. Vorher war es das File

                            
                            6_Fach_Taster_1_Büro_licht.json
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • E
                              elmos04 last edited by

                              Ja wenn das Backup nun doch erstellt wird sage ich mal vielen vielen Dank an euch alle die mir dabei geholfen haben. Ich hoffe ich werde dieses Backup nie brauchen. Wenn ich nun auf wiederherstellen gehe sehe ich jedoch nur Javaskripte und Zigbee. Vielleicht sind dort aber dann auch die iobroker Daten gesichert.
                              Vielen Dank

                              wendy2702 Homoran 2 Replies Last reply Reply Quote 0
                              • wendy2702
                                wendy2702 @elmos04 last edited by

                                @elmos04 Was hast du denn im Adapter alles ausgewählt ?

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

                                  @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

                                  wenn das Backup nun doch erstellt wird

                                  wenn!

                                  ich habe diese lange Zeile nicht zu Ende gesehen.
                                  @Wendy hat recht.
                                  Jetzt das gleiche Spiel mit dem Blaulicht

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    elmos04 @wendy2702 last edited by

                                    @wendy2702
                                    Java Zigbee und den iobroker

                                    E wendy2702 2 Replies Last reply Reply Quote 0
                                    • E
                                      elmos04 @elmos04 last edited by

                                      @elmos04
                                      das steht im iobroker Protokoll

                                      code_text
                                      p.0
                                      2022-02-13 17:52:31.393	error	[iobroker] chmod for Backup directory could not be completed: Error: EPERM: operation not permitted, chmod '/opt/iobroker/backups'Please run "iobroker fix"!!
                                      
                                      backitup.0
                                      2022-02-13 17:52:30.642	info	[iobroker] backup was activated at 02:40 every 1 day(s)
                                      
                                      backitup.0
                                      2022-02-13 17:52:30.556	info	starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.0, js-controller: 3.3.22
                                      host.raspberrypi
                                      2022-02-13 17:52:27.918	info	instance system.adapter.backitup.0 started with pid 26735
                                      host.raspberrypi
                                      2022-02-13 17:52:25.539	info	instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                      
                                      backitup.0
                                      2022-02-13 17:52:24.868	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      
                                      backitup.0
                                      2022-02-13 17:52:24.866	info	terminating
                                      
                                      backitup.0
                                      2022-02-13 17:52:24.865	info	cleaned everything up...
                                      host.raspberrypi
                                      2022-02-13 17:52:24.865	info	stopInstance system.adapter.backitup.0 send kill signal
                                      
                                      backitup.0
                                      2022-02-13 17:52:24.863	info	Got terminate signal TERMINATE_YOURSELF
                                      
                                      wendy2702 1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @elmos04 last edited by

                                        Was sind die xxx.json files? Sind das Widgets oder Views?

                                        Werden die noch benötigt?

                                        Kannst du mal den Inhalt eines solchen Files posten?

                                        Z.B.

                                        cat  /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_2_Blaulicht.json
                                        
                                        E 1 Reply Last reply Reply Quote 0
                                        • wendy2702
                                          wendy2702 @elmos04 last edited by

                                          @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

                                          @elmos04
                                          das steht im iobroker Protokoll

                                          > 2022-02-13 17:52:31.393	error	[iobroker] chmod for Backup directory could not be completed: Error: EPERM: operation not permitted, chmod '/opt/iobroker/backups'Please run "iobroker fix"!! 
                                          

                                          Du muss auch mal anfangen die Logfiles zu lesen. Da steht zumindest mal ein Hinweis drin was gemacht werden soll

                                          Homoran E 2 Replies Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @wendy2702 last edited by

                                            @wendy2702 sagte in Iobroker backitup error.. Wo liegt das problem:

                                            Du muss auch mal anfangen die Logfiles zu lesen

                                            @elmos04 sagte in Iobroker backitup error.. Wo liegt das problem:

                                            Lesen -Ja
                                            Verstehen - nein

                                            wendy2702 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

                                            432
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            12
                                            156
                                            17451
                                            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