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.
    • simatec
      simatec Developer Most Active @stony2k last edited by

      @stony2k Wie im Log zu sehen, hast du ein Rechteproblem.
      Da du mit komplett mit root unterwegs bist, würde ich dir raten, nochmal von vorne anzufangen und dann mit einer vernünftigen Userstruktur arbeiten

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

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

        Hier arbeite ich direkt mit dem User root.

        Warum? Das macht man nicht.

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

          @thomas-braun Weil das der Standardnutzer im Container war. Aber ich gebe dir recht. Aktuell probiere ich aus, wie sich das in einer virtuellen Maschine verhält, außerhalb von einem Container. Hier werde ich auch mit einem nicht-root User arbeiten.

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

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

            Weil das der Standardnutzer im Container war.

            Es sollte genauso Standard und erste Aktion im Container sein sich einen User anzulegen.

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

              Update: Ich habe eine VM, anstatt eines Containers mit debian aufgesetzt, den ioBroker installiert und wie @thomas-braun vorgeschlagen (danke dir) einen normalen Benutzer erstellt.

              Jetzt hat der Restore der InfluxDB ohne Probleme geklappt.

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

                Hallo
                Ich habe das Problem nun auch.
                Mein Problem fing an das der ioBroker nicht mehr startet. ich habe Fix ausprobiert. Alles ohne erfolg. Ich hatte ein Funktionierendes Backup auf dem NAS.
                Also ioBroker neu aufgesetzt Den BackitUp Adapter eingerichtet. ein neues Backup im gleichen Verzeichnis auf dem NAS erstellt und dann wieder hergestellt von einem alten Backup.
                Seit dem macht er kein ioBroker Backup. Fehler 6-Fachtaster VIS. ????
                Zigbee und JavaScript gehen.

                Ich bin echt ein Looser im Terminal. Ich weiss was ihr hier so alles macht. Kann mir jemand verständlich 🤡 erklären was das soll und wie ich es kann?
                Also was ich gut kann ist copy und Paste ins Terminal. 😉
                Mehr geht wirklich nicht.....

                Hier ist mal ein Log. File. vielleicht kann ja damit ein Profi was anfangen.

                Started iobroker ...
                [DEBUG] [mount] - mount activ... umount is started before mount!!
                [DEBUG] [mount] - umount successfully completed
                [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=1.0 //192.168.2.31/home/ioBrokerVis /opt/iobroker/backups"
                [DEBUG] [mount] - mount successfully completed
                [DEBUG] [mount] - done
                [DEBUG] [iobroker] - host.raspberrypi 8760 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-11_17_12_ioBroker_backupiobroker.tar.gz
                [DEBUG] [javascripts] - done
                [ERROR] [ftp] - [IGNORED] Error: Login incorrect.
                [DEBUG] [cifs] - done
                [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                [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
                
                
                
                
                
                t.raspberrypi
                2022-02-13 11:15:04.177	info	instance system.adapter.coronavirus-statistics.0 started with pid 30238
                
                dwd.0
                2022-02-13 11:15:03.830	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                
                dwd.0
                2022-02-13 11:15:02.108	info	starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v14.19.0, js-controller: 3.3.22
                host.raspberrypi
                2022-02-13 11:15:00.142	info	instance system.adapter.dwd.0 started with pid 30212
                
                backitup.0
                2022-02-13 11:13:06.852	error	Error: Login incorrect.
                
                backitup.0
                2022-02-13 11:13:00.248	info	[iobroker] backup was activated at 02:40 every 1 day(s)
                
                backitup.0
                2022-02-13 11:12:59.755	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 11:12:57.946	info	instance system.adapter.backitup.0 started with pid 29900
                host.raspberrypi
                2022-02-13 11:12:55.461	info	instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                
                backitup.0
                2022-02-13 11:12:54.879	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                
                backitup.0
                2022-02-13 11:12:54.877	info	terminating
                
                backitup.0
                2022-02-13 11:12:54.875	info	cleaned everything up...
                
                backitup.0
                2022-02-13 11:12:54.872	info	Got terminate signal TERMINATE_YOURSELF
                host.raspberrypi
                2022-02-13 11:12:54.872	info	stopInstance system.adapter.backitup.0 send kill signal
                host.raspberrypi
                2022-02-13 11:12:54.824	info	stopInstance system.adapter.backitup.0 (force=false, process=true)
                
                backitup.0
                2022-02-13 11:12:47.687	error	Error: Login incorrect.
                
                backitup.0
                2022-02-13 11:12:41.398	info	[iobroker] backup was activated at 02:40 every 1 day(s)
                
                backitup.0
                2022-02-13 11:12:40.898	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 11:12:39.119	info	instance system.adapter.backitup.0 started with pid 29755
                host.raspberrypi
                2022-02-13 11:12:36.652	info	instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                
                backitup.0
                2022-02-13 11:12:36.043	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                
                backitup.0
                2022-02-13 11:12:36.041	info	terminating
                
                backitup.0
                2022-02-13 11:12:36.040	info	cleaned everything up...
                host.raspberrypi
                2022-02-13 11:
                

                MOD-Edit: Code in code-tags gesetzt!

                Ich währe euch sehr dankbar. ich sitze hier schon seit Tagen dran alles wieder einzustellen. Ein Backup ist echt wichtig.

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

                  @elmos04

                  Was du auch nicht gut kannst: CodeTags verwenden.

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

                    Füge ich der list mit an..

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

                      @thomas-braun code_text
                      code_text

                      ```Started iobroker ...
                      [DEBUG] [mount] - mount activ... umount is started before mount!!
                      [DEBUG] [mount] - umount successfully completed
                      [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=1.0 //192.168.2.31/home/ioBrokerVis /opt/iobroker/backups"
                      [DEBUG] [mount] - mount successfully completed
                      [DEBUG] [mount] - done
                      [DEBUG] [iobroker] - host.raspberrypi 8760 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-11_58_19_ioBroker_backupiobroker.tar.gz
                      [DEBUG] [javascripts] - done
                      [ERROR] [ftp] - [IGNORED] Error: Login incorrect.
                      [DEBUG] [cifs] - done
                      [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                      [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
                      E Homoran simatec 3 Replies Last reply Reply Quote 0
                      • E
                        elmos04 @elmos04 last edited by

                        @elmos04 😊 😊 😊 😊

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

                          @elmos04 iobroker update -i

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

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

                            iobroker update -i

                            Habe ich so gemacht

                            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=1.0 //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-12_02_46_ioBroker_backupiobroker.tar.gz
                            [DEBUG] [javascripts] - done
                            [ERROR] [ftp] - [IGNORED] Error: Login incorrect.
                            [DEBUG] [cifs] - done
                            [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                            [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
                            

                            Kommt noch immer

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

                              @elmos04 wenn du auf ein NAS sicherst, warum dann noch ftp?
                              Das macht kein Sinn.

                              Aber selbst wenn musst du für ftp deine Zugangsdaten und IP prüfen.
                              Da stimmt was nicht

                              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 ich so gemacht

                                das gepostete ist doch nicht die Ein- und Ausgabe von dem Befehl iobroker update -i

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

                                  @simatec ftp hatte ich gerade getestet. ist wieder raus. geht aber noch nicht es gibt nur ein neues backup vom Zigbee und Java

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

                                    @elmos04

                                    NAS ist eine Fritzbox?
                                    Dann sind die Mountoptionen falsch.

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

                                      @thomas-braun

                                      Hallo
                                      Nein mein Backup geht an eine Synology. dort kommen auch neue Backups an. Zigbee und Java. Sonst kommt noch ein iobroker backup in das Verzeichnis. jetzt nicht mehr

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

                                        @elmos04

                                        Dann muss 'noserverino' ausgeschaltet sein und die smb-Version höher sein. Meist wird smb3 verwendet.

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

                                          @thomas-braun
                                          Loisverino ist an und smb 1.0
                                          cifs ist ausgewählt

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

                                            @elmos04
                                            Das sehe ich im Log.
                                            Das ist aber zu 100% falsch eingestellt.
                                            Stell 'noserverino' aus und die smb Version auf die, die auch dein NAS spricht.

                                            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

                                            500
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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