Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. BackUp Restore funktioniert nicht mehr

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    BackUp Restore funktioniert nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maniac last edited by

      Danke, probiere ich mal aus. Auch wenn es jetzt keinen Sinn mehr für den Umzug macht 🙂

      1 Reply Last reply Reply Quote 0
      • M
        MeisterHoppel last edited by

        Auch von mir ein recht herzliches Dankeschön für den tollen Support.

        1 Reply Last reply Reply Quote 0
        • D
          dpt last edited by

          Hallo erstmals Danke, aber bei mir gehts nicht :roll:

          System

          Qnap mit Virtualziation-Stadion 3

          Ubunutu 16.04 LTS "Server"

          alles installiert, da hatte ich das Problem, das ich die Backups nicht einspielen konnte und iobroker nicht selbst startete

          danach wie von Bluefox empfohlen

          cd /opt/iobroker
          npm i https://github.com/ioBroker/ioBroker.js-controller/tarbal/master --production
          
          

          damit habe ich einen schönen Nebeneffekt, der Autostart von iobroker geht wieder 😉

          jetzt das Restoregemacht.

          sudo iobroker stop
          cd /opt/iobroker
          sudo iobroker restore /home/iobroker/datei.tar.gz
          sudo iobroker start
          
          

          Das Resore ging extrem schnell im vergleich zum Raspi.

          jetzt erreiche ich die Admin Seite nicht mehr via Browser, die ging vordem Backup

          und beim Befehl

          sudo iobroker stop
          
          

          bleibt er bei

          stopping iobrokker daemon…... hängen

          kann das sein, da es auf einer anderen ip läuft?

          1 Reply Last reply Reply Quote 0
          • Bluefox
            Bluefox last edited by

            @dpt:

            Hallo erstmals Danke, aber bei mir gehts nicht :roll:

            System

            Qnap mit Virtualziation-Stadion 3

            Ubunutu 16.04 LTS "Server"

            alles installiert, da hatte ich das Problem, das ich die Backups nicht einspielen konnte und iobroker nicht selbst startete

            danach wie von Bluefox empfohlen

            cd /opt/iobroker
            npm i https://github.com/ioBroker/ioBroker.js-controller/tarbal/master --production
            
            

            damit habe ich einen schönen Nebeneffekt, der Autostart von iobroker geht wieder 😉

            jetzt das Restoregemacht.

            sudo iobroker stop
            cd /opt/iobroker
            sudo iobroker restore /home/iobroker/datei.tar.gz
            sudo iobroker start
            
            

            Das Resore ging extrem schnell im vergleich zum Raspi.

            jetzt erreiche ich die Admin Seite nicht mehr via Browser, die ging vordem Backup

            und beim Befehl

            sudo iobroker stop
            
            

            bleibt er bei

            stopping iobrokker daemon…... hängen

            kann das sein, da es auf einer anderen ip läuft? `
            Wie sieht deine iobroker-data/iobroker.json Datei aus?

            1 Reply Last reply Reply Quote 0
            • D
              dpt last edited by

              @Bluefox:

              Wie sieht deine iobroker-data/iobroker.json Datei aus? `

              {
                "system": {
                  "memoryLimitMB": 0,
                  "hostname": ""
                },
                "network": {
                  "IPv4": true,
                  "IPv6": true,
                  "bindAddress": null,
                  "useSystemNpm": true
                },
                "objects": {
                  "type": "file",
                  "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                  "host": "127.0.0.1",
                  "port": 9001,
                  "user": "",
                  "pass": "",
                  "noFileCache": false,
                  "connectTimeout": 2000,
                  "dataDir": "../../iobroker-data/"
                },
                "states": {
                  "type": "redis",
                  "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                  "host": "127.0.0.1",
                  "port": 6379,
                  "maxQueue": 1000,
                  "options": {
                    "auth_pass": null,
                    "retry_max_delay": 15000
                  }
                },
                "log": {
                  "level": "info",
                  "maxDays": 7,
                  "noStdout": true,
                  "transport": {
                    "file1": {
                      "type": "file",
                      "enabled": true,
                      "filename": "log/iobroker",
                      "fileext": ".log",
                      "maxsize": null,
                      "maxFiles": null
                    },
                    "syslog1": {
                      "type": "syslog",
                      "enabled": false,
                      "host": "localhost",
                      "host_comment": "The host running syslogd, defaults to localhost.",
                      "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                      "protocol": "udp4",
                      "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                      "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                      "facility_comment": "Syslog facility to use (Default: local0).",
                      "localhost": "iobroker",
                      "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                      "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                      "app_name_comment": "The name of the application (Default: process.title).",
                      "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                    }
                  }
                },
                "dataDirComment": "Always relative to iobroker.js-controller/",
                "dataDir": "../../iobroker-data/"
              }
              
              
              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox last edited by

                Ist from redis da?

                1 Reply Last reply Reply Quote 0
                • D
                  dpt last edited by

                  @Bluefox:

                  Ist from redis da? `

                  Blöde Frage,

                  wie meinst das?

                  "sudo apt-get install redis-server" ?

                  erledigt, jetzt geht es 😉

                  Dominik

                  1 Reply Last reply Reply Quote 0
                  • D
                    dpt last edited by

                    @dpt:

                    erledigt, jetzt geht es 😉 `

                    zu früh die Freude

                    Log:

                    host.nas	2017-11-20 14:57:11.937	info	States connected to redis: 127.0.0.1:6379
                    host.nas	2017-11-20 14:57:08.826	info	Adapter admin still running
                    host.nas	2017-11-20 14:57:08.825	info	force terminating
                    host.nas	2017-11-20 14:57:05.051	info	received SIGTERM
                    host.nas	2017-11-20 14:57:03.789	error	Cannot save file /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-co
                    host.nas	2017-11-20 14:57:00.040	info	received SIGTERM
                    admin.0	2017-11-20 14:56:59.849	warn	Reconnection to DB.
                    admin.0	2017-11-20 14:56:59.743	warn	Reconnection to DB.
                    

                    Das ist hartnäckig

                    1 Reply Last reply Reply Quote 0
                    • D
                      dpt last edited by

                      @dpt:

                      @dpt:

                      erledigt, jetzt geht es 😉 `

                      zu früh die Freude

                      Log:

                      host.nas	2017-11-20 14:57:11.937	info	States connected to redis: 127.0.0.1:6379
                      host.nas	2017-11-20 14:57:08.826	info	Adapter admin still running
                      host.nas	2017-11-20 14:57:08.825	info	force terminating
                      host.nas	2017-11-20 14:57:05.051	info	received SIGTERM
                      host.nas	2017-11-20 14:57:03.789	error	Cannot save file /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-co
                      host.nas	2017-11-20 14:57:00.040	info	received SIGTERM
                      admin.0	2017-11-20 14:56:59.849	warn	Reconnection to DB.
                      admin.0	2017-11-20 14:56:59.743	warn	Reconnection to DB.
                      

                      Das ist hartnäckig `

                      jetzt habe ich die Schreibrechte angepasst

                      sudo chmod -R 777 /opt/iobroker
                      
                      

                      jetzt kommen andere Fehlermeldungen, langsam habe ich das Gefühl, es liegt an mir :roll:

                      TypeError:	2017-11-20 16:09:25.995	error	at Timer.listOnTimeout (timers.js:92:15)
                      TypeError:	2017-11-20 16:09:25.995	error	at ontimeout (timers.js:195:34)
                      TypeError:	2017-11-20 16:09:25.995	error	at null. (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:1603:25)
                      TypeError:	2017-11-20 16:09:25.995	error	at startInstance (/opt/iobroker/node_modules/iobroker.js-controller/controller.js:1952:41)
                      TypeError:	2017-11-20 16:09:25.995	error	Cannot read property 'on' of null
                      uncaught	2017-11-20 16:09:25.990	error	exception: Cannot read property 'on' of null
                      host.nas	2017-11-20 16:09:25.957	info	starting 2 instances
                      host.nas	2017-11-20 16:09:25.932	info	23 instances found
                      host.nas	2017-11-20 16:09:25.900	info	InMemoryDB connected
                      host.nas	2017-11-20 16:09:25.880	info	inMem-objects listening on port 9001
                      host.nas	2017-11-20 16:09:25.549	info	ip addresses: 192.168.1.16 2a02:1205:c6a0:3000:5054:ff:fe26:e93d fe80::5054:ff:fe26:e93d
                      host.nas	2017-11-20 16:09:25.547	info	hostname: nas, node: v4.8.6
                      host.nas	2017-11-20 16:09:25.546	info	Copyright (c) 2014-2017 bluefox, 2014 hobbyquaker
                      host.nas	2017-11-20 16:09:25.536	info	iobroker.js-controller version 1.2.1 js-controller starting
                      Adapter	2017-11-20 16:09:23.084	info	admin still running
                      host.nas	2017-11-20 16:09:23.083	info	force terminating
                      host.nas	2017-11-20 16:09:19.266	info	received SIGTERM
                      host.nas	2017-11-20 16:09:14.694	info	"system.adapter.cloud.0" enabled
                      host.nas	2017-11-20 16:09:14.694	info	object change system.adapter.cloud.0
                      admin.0	2017-11-20 16:09:14.627	warn	Reconnection to DB.
                      admin.0	2017-11-20 16:09:14.582	warn	Reconnection to DB.
                      host.nas	2017-11-20 16:09:14.260	info	received SIGTERM
                      iobroker	2017-11-20 16:09:13.907	info	exit 0
                      iobroker	2017-11-20 16:09:13.881	info	Starting node restart.js
                      host.nas	2017-11-20 16:09:13.119	info	States connected to redis: 127.0.0.1:6379
                      iobroker	2017-11-20 16:09:13.069	info	_restart
                      

                      soll ich ein neues Thema aufmachen? wäre dies hilfreicher?

                      1 Reply Last reply Reply Quote 0
                      • S
                        sveni_lee last edited by

                        @dpt:

                        jetzt kommen andere Fehlermeldungen, langsam habe ich das Gefühl, es liegt an mir :roll: `

                        Ich glaube nicht das es an Dir liegt, ich bekomme iobroker auch seit 3 Tagen nicht mehr ans laufen…

                        Gesendet von iPhone mit Tapatalk Pro

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

                          @dpt:

                          jetzt kommen andere Fehlermeldungen `
                          Ist dein Backup von der Installation auf dem NAS gewesen oder kommt das von ganz woanders her?

                          Gruß

                          Rainer

                          1 Reply Last reply Reply Quote 0
                          • D
                            dpt last edited by

                            @Homoran:

                            @dpt:

                            jetzt kommen andere Fehlermeldungen Ist dein Backup von der Installation auf dem NAS gewesen oder kommt das von ganz woanders her?

                            System, vor dem Backup lief auf einem Rasp, wi ich der verdacht habe das sich die Karte langsam….. daher wechsel auf das Nas.

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

                              Und da war die Hardware natürlich ganz anders 😉

                              Hast du nach demiobroker restoreund vor demioBroker starteinmal````
                              iobroker host this

                              
                              Hast du vor dem````
                              iobroker start
                              ````einmal die reinstall.sh ausgeführt um die ganzen Pakete für die neue Hardware zu kompilieren?
                              
                              Gruß
                              
                              Rainer
                              1 Reply Last reply Reply Quote 0
                              • D
                                dpt last edited by

                                @Homoran:

                                einmal````
                                iobroker host this

                                
                                Hast du vor dem````
                                iobroker start
                                ````einmal die reinstall.sh ausgeführt um die ganzen Pakete für die neue Hardware zu kompilieren? `  
                                

                                Denn hatte ich nicht 😉

                                wenn ich jetzt

                                sudo iobroker stop
                                

                                läuft er weiter, ziehe kurz ein neues System rauf, Vorteil von Virtualstadion mit Datensicherungen 😉

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dpt last edited by

                                  @dpt:

                                  läuft er weiter, ziehe kurz ein neues System rauf, Vorteil von Virtualstadion mit Datensicherungen 😉 `

                                  zietiere mich mal wieder selbst :roll:

                                  habe mehrere Sachen getestet

                                  kritisch wird es nach dem

                                  cd /opt/iobroker
                                  npm i https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
                                  

                                  aber ohne dies kann ich die Restore nicht einspielen.

                                  nach diesem, ist das System unstabil und ich kann auch ohne "iobroker restore", keine Adapter mehr installieren, es kommt auch immer wieder das "Zahnrad" im Webbrowser, was vorher fast nie kommt.

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

                                    Vor der Neuinstallation des js-controllers stoppst du iobroker aber doch?

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dpt last edited by

                                      @Homoran:

                                      Vor der Neuinstallation des js-controllers stoppst du iobroker aber doch? `

                                      ja, eigentlich immer, wenn ich via Komandozeile arbeite

                                      versuch es sicherheitshalber nochmals

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dpt last edited by

                                        @dpt:

                                        versuch es sicherheitshalber nochmals `

                                        nochmals versucht:

                                        erst 2-3 Adapter installiert, ohne Probleme

                                        danach

                                        sudo iobroker stop  "getestet ob er wirklich stopt"
                                        cd /opt/iobroker
                                        npm i https://github.com/ioBroker/ioBroker.js-controller/tarball/master --production
                                        
                                        

                                        danach wieder Problem wie oben beschrieben

                                        Qnap Virtualization Stadion 3

                                        System Ubuntu "server-version" 16.04.3 mit "normalem" Kernel

                                        node 4.8.6

                                        installiert nach der Anleitung http://www.iobroker.net/docu/?page_id=5634&lang=de & noch npm installiert

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

                                          Kann es sein, dass deine vm damit beschäftigt ist die Module neu zu kompilieren.

                                          Auf einem pi3 oder tinkerboard hat das zwei Stunden gefauert.

                                          Welches nas mit welcher cpu hast du denn?

                                          Gruß

                                          Rainer

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dpt last edited by

                                            @Homoran:

                                            Kann es sein, dass deine vm damit beschäftigt ist die Module neu zu kompilieren.

                                            Auf einem pi3 oder tinkerboard hat das zwei Stunden gefauert.

                                            Welches nas mit welcher cpu hast du denn? `

                                            Danke, wird gestestet

                                            Qnap 453A

                                            https://www.qnap.com/en/product/ts-453a

                                            VM 1GB Ram und i7 eingestellt

                                            das Module komplimieren, geht erst nach dem Start?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            680
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            18
                                            84
                                            12838
                                            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