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 @Thomas Braun last edited by

      @thomas-braun
      Ich habe den IOBroker neu erstellt. als erstes nach dem Start versucht mit dem BackitUp adapter das Backup vor einer Woche eingespielt. danach war nur Zigbee JavaScript und vis da. Aber seit dem geht das Backup nicht mehr.

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

        @homoran
        ich habe den VIS gelöscht und neu gemacht. den Vis Tech wurde durch den DemoView überschrieben. hat alles nicht geklappt.

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

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

          EDIT:
          oder ein defektes (abgebrochenes ???) backup

          Eher das. Das file liegt ja in tmp.

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

            @thomas-braun sagte in Iobroker backitup error.. Wo liegt das problem:

            Eher das. Das file liegt ja in tmp.

            oder es liegt da, weil es gerade(??) die Views packen will??

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

              da ich wie gesagt keine Ahnung habe dachte ich mir das es am view liegt. habe versucht alles weg machen zu können. hat nichts gebracht. ich hatte Gehöft das es ein Befehl gibt ein Verzeichnis zu löschen welchen dann neu erstellt werden kann ohne die Reste vom Alten Backup.
              aber ist wohl doch ein grösseres problem.

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

                @elmos04
                Hast du denn das krumme file gelöscht?

                ls -la /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                sudo rm /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                
                E 1 Reply Last reply Reply Quote 0
                • E
                  elmos04 @Thomas Braun last edited by

                  @thomas-braun
                  bestimmt nicht
                  ich habe nur den View überschrieben
                  im terminal hab ich nicht gelöscht. das kann ich ja halt nicht.
                  ich brauchen den ganzen view tech nicht. hab ein neuen main erstellt.

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

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

                    im terminal hab ich nicht gelöscht. das kann ich ja halt nicht.

                    Warum nicht? Die Befehle hab ich doch schon c&p-fertig serviert?

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

                      @thomas-braun

                      Ich meinte das ich das nochnicjt gemacht hatte. habe es jetzt versucht.

                      code_text
                      pi@raspberrypi:~ $ cd /opt/iobroker/
                      pi@raspberrypi:/opt/iobroker $ ls -la /opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                      ls: Zugriff auf '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json' nicht möglich: Datei oder Verzeichnis nicht gefunden
                      pi@raspberrypi:/opt/iobroker $ 
                      

                      Kommt das

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

                        @elmos04
                        Dann ist es auch weg.
                        Ein Backup-Versuch sieht jetzt wie aus?

                        Tip am Rande: Umlaute in Dateinamen sind zu vermeiden.

                        E Homoran 2 Replies Last reply Reply Quote 0
                        • E
                          elmos04 @Thomas Braun last edited by

                          @thomas-braun

                          code_textStarted iobroker ...
                          [DEBUG] [iobroker] - host.raspberrypi 8762 states saved
                          
                          [DEBUG] [iobroker] - host.raspberrypi 10657 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_1_Büro_licht.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-13_06_24_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
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @elmos04 last edited by Thomas Braun

                            @elmos04
                            Dann ist die Quell-Datei schon krumm. Ich weiß aber nicht wo die liegt und wie die da hingekommen ist.

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

                              @thomas-braun
                              das werde ich wohl nie sagen können wie es dahin gekommen ist.
                              Denke das ich auch ohne Backup erst mal leben kann. Ich speichere meine Vis und skripte gelegentlich selber ab. wenn der Broker mal defekt ist mache ich alles nochmal und dann wird der Back-up adapter wieder gehen. Mein altes system wurde darüber gesichert und lief auch über 4 jähre durch. bei einer Neuinstallation hat er mir diesmal auch nicht weiter geholfen. Aber viele vielen dank für eure Hilfe. Dann weis ich nun das ich es versucht habe und es ein großes Problem ist.

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

                                @elmos04
                                Schaue mal, ob die Datei hier liegt

                                /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                                

                                Lösche diese bzw. lege sie woanders ab.
                                Die hat einen Fehler und bricht beim parsen das Backup ab

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

                                  @thomas-braun sagte in Iobroker backitup error.. Wo liegt das problem:

                                  Dann ist es auch weg.

                                  oder er hat keine Rechte

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

                                    code_text
                                    pi@raspberrypi:/opt/iobroker $ /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                                    -bash: /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json: Keine Berechtigung
                                    pi@raspberrypi:/opt/iobroker $ 
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @elmos04 last edited by

                                      @elmos04

                                      ls -la /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                                      
                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        elmos04 @Thomas Braun last edited by

                                        @thomas-braun sagte in Iobroker backitup error.. Wo liegt das problem:

                                        ls -la /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json

                                        code_text
                                        pi@raspberrypi:/opt/iobroker $ ls
                                        backups             iob       iobroker-data  node_modules  package-lock.json
                                        INSTALLER_INFO.txt  iobroker  log            package.json  reinstall.js
                                        pi@raspberrypi:/opt/iobroker $ /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                                        -bash: /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json: Keine Berechtigung
                                        pi@raspberrypi:/opt/iobroker $ ls -la /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                                        -rw-rw-r--+ 1 iobroker iobroker 2405  4. Feb 17:57 /opt/iobroker/iobroker-data/files/vis.0/Tech/6_Fach_Taster_1_Büro_licht.json
                                        pi@raspberrypi:/opt/iobroker $ 
                                        
                                        simatec Homoran 2 Replies Last reply Reply Quote 0
                                        • E
                                          elmos04 last edited by

                                          code_text
                                          Started iobroker ...
                                          [DEBUG] [mount] - noserverino option: true
                                          [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=ElmoS04,password=****,noserverino,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.2.31/home/ioBrokerVis /opt/iobroker/backups"
                                          [DEBUG] [mount] - mount successfully completed
                                          [DEBUG] [mount] - done
                                          [DEBUG] [iobroker] - host.raspberrypi 8762 states saved
                                          
                                          [DEBUG] [iobroker] - host.raspberrypi 10657 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_1_Büro_licht.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-15_58_06_ioBroker_backupiobroker.tar.gz
                                          [DEBUG] [javascripts] - done
                                          [DEBUG] [cifs] - done
                                          [DEBUG] [clean] - done
                                          [DEBUG] [historyHTML] - new history html values created
                                          [DEBUG] [historyHTML] - done
                                          [DEBUG] [historyJSON] - new history json values created
                                          [DEBUG] [historyJSON] - done
                                          [DEBUG] [umount] - mount activ, umount is started ...
                                          [DEBUG] [umount] - umount successfully completed
                                          [DEBUG] [umount] - done
                                          [EXIT] 26
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • simatec
                                            simatec Developer Most Active @elmos04 last edited by

                                            @elmos04 Das json Format ist nicht in Ordnung.
                                            Speiche doch die Datei erstmal weg und lösche sie im Vis Pfad

                                            E 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

                                            832
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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