Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Backup aus älterer Version einspielen

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Backup aus älterer Version einspielen

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

      @homoran

      Richtig das müsste die Image Version sein aber auch da bin ich mir nicht sicher welche Version als letztes als Docker gelaufen ist.

      https://hub.docker.com/r/buanet/iobroker

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

        @firefighter166

        jetzt bring mal alle notwendigen Informationen strukturiert bei.

        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

        1 Reply Last reply Reply Quote 0
        • F
          firefighter166 @Marc Berg last edited by firefighter166

          @marc-berg said in Backup aus älterer Version einspielen:

          "name": "system.host.$$hostname$$", "title": "JS controller", "installedVersion": "5.0.17",

          @Marc-Berg

          "name": "system.host.$$__hostname__$$",
          "title": "JS controller",
          "installedVersion": "3.2.16",
          
          1 Reply Last reply Reply Quote 0
          • Marc Berg
            Marc Berg Most Active last edited by Marc Berg

            @firefighter166 sagte in Backup aus älterer Version einspielen:

            "installedVersion": "3.2.16",

            Die Version feiert bald dritten Geburtstag.
            98ccf05e-bc92-42be-851f-8ad123d8a193-grafik.png

            F 1 Reply Last reply Reply Quote 0
            • F
              firefighter166 @Marc Berg last edited by

              @marc-berg

              Dann muss ich doch jetzt nur eine Docker Instanz aufsetzten, wo nodejs 14.x drauf läuft oder ?

              Marc Berg 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @firefighter166 last edited by

                @firefighter166 sagte in Backup aus älterer Version einspielen:

                Dann muss ich doch jetzt nur eine Docker Instanz aufsetzten, wo nodejs 14.x drauf läuft oder ?

                Insofern war das mit dem Docker-Image 7.x genau richtig, denn dort läuft Node.js 14. Ich hätte es wohl auch so gemacht.

                Versuch noch mal bei einem leeren Verzeichnis zu starten. Und (wie schon anfangs erwähnt) das komplette Docker-Log aus der Console hier rein.

                F 1 Reply Last reply Reply Quote 0
                • F
                  firefighter166 @Marc Berg last edited by

                  @marc-berg

                  wie gewünscht der Docker Log

                  --------------------------------------------------------------------------------
                  -------------------------     2023-12-07 13:56:53      -------------------------
                  --------------------------------------------------------------------------------
                  -----                                                                      -----
                  ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                  ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                  ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                  ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                  ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                  ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                  -----                                                                      -----
                  -----              Welcome to your ioBroker Docker container!              -----
                  -----                    Startupscript is now running!                     -----
                  -----                          Please be patient!                          -----
                  --------------------------------------------------------------------------------
                   
                  --------------------------------------------------------------------------------
                  -----                          System Information                          -----
                  -----                    arch:                x86_64                       -----
                  -----                    hostname:            51ebd490ef3f                 -----
                  -----                                                                      -----
                  -----                          Version Information                         -----
                  -----                    image:               v7.2.0                       -----
                  -----                    build:               2023-02-10T23:45:25+00:00    -----
                  -----                    node:                v16.20.2                     -----
                  -----                    npm:                 8.19.4                       -----
                  -----                                                                      -----
                  -----                        Environment Variables                         -----
                  -----                    SETGID:              1000                         -----
                  -----                    SETUID:              1000                         -----
                  --------------------------------------------------------------------------------
                   
                  --------------------------------------------------------------------------------
                  -----                  Step 1 of 5: Preparing container                   -----
                  --------------------------------------------------------------------------------
                   
                  This is not the first run of this container. Skipping first run preparation.
                   
                  --------------------------------------------------------------------------------
                  -----             Step 2 of 5: Detecting ioBroker installation             -----
                  --------------------------------------------------------------------------------
                   
                  Existing installation of ioBroker detected in "/opt/iobroker".
                   
                  --------------------------------------------------------------------------------
                  -----             Step 3 of 5: Checking ioBroker installation              -----
                  --------------------------------------------------------------------------------
                   
                  (Re)setting permissions (This might take a while! Please be patient!)... Done.
                   
                  Fixing "sudo-bug" by replacing sudo with gosu... Done.
                   
                  Hostname in ioBroker matches the hostname of this container.
                  No action required.
                   
                  --------------------------------------------------------------------------------
                  -----                Step 4 of 5: Applying special settings                -----
                  --------------------------------------------------------------------------------
                   
                  Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                  For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
                   
                  --------------------------------------------------------------------------------
                  -----                    Step 5 of 5: ioBroker startup                     -----
                  --------------------------------------------------------------------------------
                   
                  Starting ioBroker... 
                   
                  ##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
                  host.51ebd490ef3f check instance "system.adapter.admin.0" for host "51ebd490ef3f"
                  host.51ebd490ef3f check instance "system.adapter.discovery.0" for host "51ebd490ef3f"
                  host.51ebd490ef3f check instance "system.adapter.backitup.0" for host "51ebd490ef3f"
                  Send diag info: {"uuid":"95b5c97c-816b-475b-9b4d-29c6637fe84f","language":"de","country":"","hosts":[{"version":"4.0.24","platform":"Javascript/Node.js","type":"linux"}],"node":"v16.20.2","arch":"x64","docker":true,"adapters":{"admin":{"version":"6.3.5","platform":"Javascript/Node.js"},"discovery":{"version":"3.1.0","platform":"Javascript/Node.js"},"backitup":{"version":"2.5.12","platform":"Javascript/Node.js"}},"statesType":"jsonl","objectsType":"jsonl","noInstances":3,"compactMode":false,"noCompactInstances":0,"model":"AMD GX-424CC SOC with Radeon(TM) R5E Graphics","cpus":4,"mem":15734272000,"ostype":"Linux","city":""}
                  ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
                  
                  
                  Marc Berg 1 Reply Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @firefighter166 last edited by Marc Berg

                    @firefighter166 sagte in Backup aus älterer Version einspielen:

                    wie gewünscht der Docker Log

                    Da ist jetzt aber Node 16 drin. Dann müsstest du noch mal in den Release Notes wühlen, mit welchem Image die 14 mitkam.

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      firefighter166 @Marc Berg last edited by

                      @marc-berg

                      ich bin jetzt nochmal auf die Docker-Image 6.0 zurück gegangen und jetzt müsste es mit Node.js 14x passen oder?

                      --------------------------------------------------------------------------------
                      -------------------------     2023-12-07 14:19:06      -------------------------
                      --------------------------------------------------------------------------------
                       
                      --------------------------------------------------------------------------------
                      -----                 Welcome to your ioBroker-container!                  -----
                      -----                    Startupscript is now running.                     -----
                      -----                          Please be patient!                          -----
                      --------------------------------------------------------------------------------
                       
                      --------------------------------------------------------------------------------
                      -----                        Debugging information                         -----
                      -----                                                                      -----
                      -----                                System                                -----
                      -----                    arch:                x86_64                       -----
                      -----                                                                      -----
                      -----                             Docker-Image                             -----
                      -----                    image:               v6.0.0                       -----
                      -----                    build:               2022-02-25T23:46:04+00:00    -----
                      -----                                                                      -----
                      -----                               Versions                               -----
                      -----                    node:                v14.21.3                     -----
                      -----                    npm:                 6.14.18                      -----
                      -----                                                                      -----
                      -----                                 ENV                                  -----
                      -----                    SETGID:              1000                         -----
                      -----                    SETUID:              1000                         -----
                      --------------------------------------------------------------------------------
                       
                      --------------------------------------------------------------------------------
                      -----                  Step 1 of 5: Preparing container                   -----
                      --------------------------------------------------------------------------------
                       
                      Nothing to do here.
                       
                      --------------------------------------------------------------------------------
                      -----             Step 2 of 5: Detecting ioBroker installation             -----
                      --------------------------------------------------------------------------------
                       
                      Existing installation of ioBroker detected in /opt/iobroker.
                       
                      --------------------------------------------------------------------------------
                      -----             Step 3 of 5: Checking ioBroker installation              -----
                      --------------------------------------------------------------------------------
                       
                      (Re)Setting folder permissions (This might take a while! Please be patient!)...
                      Done.
                       
                      Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
                      Done.
                       
                      --------------------------------------------------------------------------------
                      -----                Step 4 of 5: Applying special settings                -----
                      --------------------------------------------------------------------------------
                       
                      Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                      For more information take a look at readme.md on Github!
                       
                      --------------------------------------------------------------------------------
                      -----                    Step 5 of 5: ioBroker startup                     -----
                      --------------------------------------------------------------------------------
                       
                      Starting ioBroker...
                       
                      host.3b2fadb26f50 check instance "system.adapter.admin.0" for host "3b2fadb26f50"
                      host.3b2fadb26f50 check instance "system.adapter.discovery.0" for host "3b2fadb26f50"
                      host.3b2fadb26f50 check instance "system.adapter.backitup.0" for host "3b2fadb26f50"
                      ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
                      
                      
                      Marc Berg 1 Reply Last reply Reply Quote 0
                      • Marc Berg
                        Marc Berg Most Active @firefighter166 last edited by

                        @firefighter166
                        sieht gut aus, versuch dein Glück.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          firefighter166 @Marc Berg last edited by firefighter166

                          @marc-berg

                          ich habe jetzt nochmal auf die Docker Version 7 umgeschwenkt, da ich eine neuere Backupdatei gefunden haben.

                          installedVersion ist hier 4.0.23

                          Die Backup Datei lässt sich auch einspielen nur beim Container Neustart hängt er sich dann auf.

                          --------------------------------------------------------------------------------
                          -------------------------     2023-12-07 14:54:41      -------------------------
                          --------------------------------------------------------------------------------
                          -----                                                                      -----
                          ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                          ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                          ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                          ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                          ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                          ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                          -----                                                                      -----
                          -----              Welcome to your ioBroker Docker container!              -----
                          -----                    Startupscript is now running!                     -----
                          -----                          Please be patient!                          -----
                          --------------------------------------------------------------------------------
                           
                          --------------------------------------------------------------------------------
                          -----                          System Information                          -----
                          -----                    arch:                x86_64                       -----
                          -----                    hostname:            5e92feb257f9                 -----
                          -----                                                                      -----
                          -----                          Version Information                         -----
                          -----                    image:               v7.2.0                       -----
                          -----                    build:               2023-02-10T23:45:25+00:00    -----
                          -----                    node:                v16.20.2                     -----
                          -----                    npm:                 8.19.4                       -----
                          -----                                                                      -----
                          -----                        Environment Variables                         -----
                          -----                    SETGID:              1000                         -----
                          -----                    SETUID:              1000                         -----
                          --------------------------------------------------------------------------------
                           
                          --------------------------------------------------------------------------------
                          -----                  Step 1 of 5: Preparing container                   -----
                          --------------------------------------------------------------------------------
                           
                          This is not the first run of this container. Skipping first run preparation.
                           
                          --------------------------------------------------------------------------------
                          -----             Step 2 of 5: Detecting ioBroker installation             -----
                          --------------------------------------------------------------------------------
                           
                          Existing installation of ioBroker detected in "/opt/iobroker".
                           
                          --------------------------------------------------------------------------------
                          -----             Step 3 of 5: Checking ioBroker installation              -----
                          --------------------------------------------------------------------------------
                           
                          (Re)setting permissions (This might take a while! Please be patient!)... Done.
                           
                          Fixing "sudo-bug" by replacing sudo with gosu... Done.
                           
                          Hostname in ioBroker matches the hostname of this container.
                          No action required.
                           
                          --------------------------------------------------------------------------------
                          -----                Step 4 of 5: Applying special settings                -----
                          --------------------------------------------------------------------------------
                           
                          Some adapters have special requirements/ settings which can be activated by the use of environment variables.
                          For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
                           
                          --------------------------------------------------------------------------------
                          -----                    Step 5 of 5: ioBroker startup                     -----
                          --------------------------------------------------------------------------------
                           
                          Starting ioBroker... 
                           
                          ##### #### ### ## # iobroker.js-controller log output # ## ### #### #####
                          ================================== > LOG REDIRECT system.adapter.admin.0 => true [starting]
                          host.iobroker-1 check instance "system.adapter.admin.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.history.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.influxdb.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.influxdb.1" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.javascript.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.node-red.0" for host "slavestrom"
                          host.iobroker-1 check instance "system.adapter.telegram.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.alexa2.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.alexa2.1" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.hm-rega.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.hm-rpc.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.hue.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.modbus.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.mqtt.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.smartmeter.0" for host "slavestrom"
                          host.iobroker-1 check instance "system.adapter.sonoff.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.sonos.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.sony-bravia.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.discovery.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.backitup.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.daswetter.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.device-reminder.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.echarts.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.energymanager.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.fritzdect.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.fronius.1" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.habpanel.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.info.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.kecontact.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.pvforecast.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.smartgarden.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.vis.0" for host "5e92feb257f9"
                          host.iobroker-1 check instance "system.adapter.web.0" for host "5e92feb257f9"
                          
                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @firefighter166 last edited by Marc Berg

                            @firefighter166
                            Ja, so ganz ohne Fehlermeldung ...

                            Versuch mal folgendes:

                            In den Container gehen und

                            iob fix
                            pkill -u iobroker
                            iob host this
                            

                            Neustart des Containers.

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              firefighter166 @Marc Berg last edited by

                              @marc-berg

                              Keine Chance der Container bleibt an der selben Stelle hängen.

                              Marc Berg 1 Reply Last reply Reply Quote 0
                              • Marc Berg
                                Marc Berg Most Active @firefighter166 last edited by Marc Berg

                                @firefighter166 sagte in Backup aus älterer Version einspielen:

                                @marc-berg

                                Keine Chance der Container bleibt an der selben Stelle hängen.

                                Der Container-/Hostname ist jetzt scheinbar ein anderer als in der Sicherung.

                                host.iobroker-1 check instance "system.adapter.web.0" for host "5e92feb257f9"

                                Benenne den mal wie vorher (also "iobroker-1"), und dann nochmal mit leerem Ordner starten.

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  firefighter166 @Marc Berg last edited by firefighter166

                                  @marc-berg said in Backup aus älterer Version einspielen:

                                  Benenne den mal wie vorher (also "iobroker-1"), und dann nochmal mit leerem Ordner starten.

                                  Wie beschrieben habe ich den Container Namen auf iobroker-1 angepasst, was auch hier nicht zum Erfolg geführt hat. Der Container bleibt immer wieder an der selben Stelle hängen. Habe es jetzt auch mal mit einer Backup Datei versucht die nur zwei Tage älter ist, keine Chance.

                                  Marc Berg 1 Reply Last reply Reply Quote 0
                                  • Marc Berg
                                    Marc Berg Most Active @firefighter166 last edited by

                                    @firefighter166 sagte in Backup aus älterer Version einspielen:

                                    keine Chance.

                                    so ganz ohne Fehlermeldungen ist das jetzt Fischen im Trüben. Wie sieht es denn im Ordner /iobroker/log aus?

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      firefighter166 @Marc Berg last edited by firefighter166

                                      @marc-berg said in Backup aus älterer Version einspielen:

                                      so ganz ohne Fehlermeldungen ist das jetzt Fischen im Trüben. Wie sieht es denn im Ordner /iobroker/log aus?

                                      Welchen Ordner muss ich denn leeren, damit ich den Container erneute starten kann?

                                      Hier ist mal der Log:

                                      2023-12-08 09:48:33.700  - info: host.db4cbef0bc80 iobroker.js-controller version 4.0.24 js-controller starting
                                      2023-12-08 09:48:33.706  - info: host.db4cbef0bc80 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                      2023-12-08 09:48:33.707  - info: host.db4cbef0bc80 hostname: db4cbef0bc80, node: v16.20.2
                                      2023-12-08 09:48:33.708  - info: host.db4cbef0bc80 ip addresses: 10.0.1.126
                                      2023-12-08 09:48:33.957  - info: host.db4cbef0bc80 connected to Objects and States
                                      2023-12-08 09:48:33.994  - info: host.db4cbef0bc80 Node.js version has changed from unknown to 16.20.2
                                      2023-12-08 09:48:34.033  - info: host.db4cbef0bc80 added notifications configuration of host
                                      2023-12-08 09:48:34.251  - info: host.db4cbef0bc80 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                      2023-12-08 09:48:34.289  - info: host.db4cbef0bc80 3 instances found
                                      2023-12-08 09:48:34.299  - info: host.db4cbef0bc80 starting 3 instances
                                      2023-12-08 09:48:34.360  - info: host.db4cbef0bc80 instance system.adapter.admin.0 started with pid 2206
                                      2023-12-08 09:48:34.553  - info: host.db4cbef0bc80 Created UUID: ee7c0d0e-d418-4da2-bc87-b8432405ee7b
                                      2023-12-08 09:48:36.403  - info: admin.0 (2206) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v16.20.2, js-controller: 4.0.24
                                      2023-12-08 09:48:36.460  - info: admin.0 (2206) requesting all states
                                      2023-12-08 09:48:36.461  - info: admin.0 (2206) requesting all objects
                                      2023-12-08 09:48:36.562  - info: admin.0 (2206) received all objects
                                      2023-12-08 09:48:36.599  - info: admin.0 (2206) Request actual repository...
                                      2023-12-08 09:48:36.622  - info: host.db4cbef0bc80 Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                                      2023-12-08 09:48:36.711  - info: admin.0 (2206) http server listening on port 8081
                                      2023-12-08 09:48:36.712  - info: admin.0 (2206) Use link "http://localhost:8081" to configure.
                                      2023-12-08 09:48:36.720  - info: admin.0 (2206) socket.io server listening on port 8081
                                      2023-12-08 09:48:36.782  - warn: admin.0 (2206) Repository cannot be read: Active repo - stable
                                      2023-12-08 09:48:36.783  - warn: admin.0 (2206) Active repository "stable" cannot be read
                                      2023-12-08 09:48:36.802  - error: admin.0 (2206) Cannot update news: TypeError: newNews.forEach is not a function
                                      2023-12-08 09:48:39.179  - info: host.db4cbef0bc80 instance system.adapter.discovery.0 started with pid 2233
                                      2023-12-08 09:48:39.381  - info: admin.0 (2206) Repository received successfully.
                                      2023-12-08 09:48:40.900  - info: discovery.0 (2233) starting. Version 3.1.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v16.20.2, js-controller: 4.0.24
                                      2023-12-08 09:48:42.335  - info: host.db4cbef0bc80 instance system.adapter.backitup.0 started with pid 2248
                                      2023-12-08 09:48:44.139  - info: backitup.0 (2248) starting. Version 2.5.12 in /opt/iobroker/node_modules/iobroker.backitup, node: v16.20.2, js-controller: 4.0.24
                                      2023-12-08 09:48:44.262  - info: backitup.0 (2248) [iobroker] backup was activated at 02:40 every 1 day(s)
                                      2023-12-08 09:51:09.032  - info: admin.0 (2206) ==> Connected system.user.admin from ::ffff:10.0.2.171
                                      2023-12-08 09:51:10.922  - info: admin.0 (2206) <== Disconnect system.user.admin from ::ffff:10.0.2.171 admin
                                      2023-12-08 09:51:19.847  - info: admin.0 (2206) ==> Connected system.user.admin from ::ffff:10.0.2.171
                                      2023-12-08 09:52:35.912  - info: admin.0 (2206) ==> Connected system.user.admin from ::ffff:10.0.2.171
                                      2023-12-08 09:52:38.526  - info: admin.0 (2206) <== Disconnect system.user.admin from ::ffff:10.0.2.171 
                                      2023-12-08 09:52:54.495  - info: admin.0 (2206) ==> Connected system.user.admin from ::ffff:10.0.2.171
                                      2023-12-08 09:53:52.048  - info: host.db4cbef0bc80 received SIGTERM
                                      2023-12-08 09:53:52.053  - info: host.db4cbef0bc80 stopInstance system.adapter.admin.0 (force=false, process=true)
                                      2023-12-08 09:53:52.054  - info: host.db4cbef0bc80 stopInstance system.adapter.discovery.0 (force=false, process=true)
                                      2023-12-08 09:53:52.054  - info: host.db4cbef0bc80 stopInstance system.adapter.backitup.0 (force=false, process=true)
                                      2023-12-08 09:53:52.065  - info: admin.0 (2206) Got terminate signal TERMINATE_YOURSELF
                                      2023-12-08 09:53:52.065  - info: discovery.0 (2233) Got terminate signal TERMINATE_YOURSELF
                                      2023-12-08 09:53:52.069  - info: backitup.0 (2248) Got terminate signal TERMINATE_YOURSELF
                                      2023-12-08 09:53:52.066  - info: admin.0 (2206) terminating http server on port 8081
                                      2023-12-08 09:53:52.070  - info: admin.0 (2206) terminating
                                      2023-12-08 09:53:52.072  - info: admin.0 (2206) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      2023-12-08 09:53:52.067  - info: discovery.0 (2233) terminating
                                      2023-12-08 09:53:52.078  - info: discovery.0 (2233) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      2023-12-08 09:53:52.085  - info: host.db4cbef0bc80 stopInstance system.adapter.admin.0 send kill signal
                                      2023-12-08 09:53:52.071  - info: backitup.0 (2248) cleaned everything up...
                                      2023-12-08 09:53:52.082  - info: backitup.0 (2248) terminating
                                      2023-12-08 09:53:52.083  - info: backitup.0 (2248) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                      2023-12-08 09:53:52.088  - info: host.db4cbef0bc80 stopInstance system.adapter.discovery.0 send kill signal
                                      2023-12-08 09:53:52.090  - info: host.db4cbef0bc80 stopInstance system.adapter.backitup.0 send kill signal
                                      2023-12-08 09:53:52.683  - info: host.db4cbef0bc80 instance system.adapter.admin.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                      2023-12-08 09:53:52.684  - info: host.db4cbef0bc80 instance system.adapter.discovery.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                      2023-12-08 09:53:52.685  - info: host.db4cbef0bc80 instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                      2023-12-08 09:53:52.685  - info: host.db4cbef0bc80 All instances are stopped.
                                      2023-12-08 09:53:52.879  - info: host.db4cbef0bc80 terminated
                                      2023-12-08 09:55:57.094  - info: host.iobroker-1 iobroker.js-controller version 4.0.24 js-controller starting
                                      2023-12-08 09:55:57.101  - info: host.iobroker-1 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                      2023-12-08 09:55:57.102  - info: host.iobroker-1 hostname: iobroker-1, node: v16.20.2
                                      2023-12-08 09:55:57.103  - info: host.iobroker-1 ip addresses: 10.0.1.126
                                      2023-12-08 09:55:58.041  - warn: host.iobroker-1-Server Objects 10.0.1.65:42936 Error from InMemDB: Error: Unknown Script 
                                      2023-12-08 09:55:58.670  - info: host.iobroker-1 connected to Objects and States
                                      2023-12-08 09:55:58.727  - info: host.iobroker-1 added notifications configuration of host
                                      2023-12-08 09:55:58.742  - info: host.iobroker-1 Node.js version has changed from 14.20.0 to 16.20.2
                                      2023-12-08 09:55:58.932  - info: host.iobroker-1 Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                      2023-12-08 09:56:00.160  - info: host.iobroker-1 Delete state "system.host.iobroker-1.versions.nodeCurrent"
                                      2023-12-08 09:56:00.163  - info: host.iobroker-1 34 instances found
                                      2023-12-08 09:56:00.182  - warn: host.iobroker-1 does not start any instances on this host
                                      2023-12-08 09:56:00.218  - info: host.iobroker-1 Delete state "system.host.iobroker-1.versions.nodeNewest"
                                      2023-12-08 09:56:00.228  - info: host.iobroker-1 Delete state "system.host.iobroker-1.versions.nodeNewestNext"
                                      2023-12-08 09:56:00.238  - info: host.iobroker-1 Delete state "system.host.iobroker-1.versions.npmCurrent"
                                      2023-12-08 09:56:00.247  - info: host.iobroker-1 Delete state "system.host.iobroker-1.versions.npmNewest"
                                      2023-12-08 09:56:00.298  - info: host.iobroker-1 Delete state "system.host.iobroker-1.versions.npmNewestNext"
                                      2023-12-08 09:56:00.309  - info: host.iobroker-1 Some obsolete host states deleted.
                                      2023-12-08 10:01:31.417  - info: host.iobroker-1 received SIGTERM
                                      2023-12-08 10:01:31.460  - info: host.iobroker-1 terminated
                                      2023-12-08 10:02:12.098  - info: host.iobroker-1 iobroker.js-controller version 4.0.24 js-controller starting
                                      2023-12-08 10:02:12.104  - info: host.iobroker-1 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                      2023-12-08 10:02:12.105  - info: host.iobroker-1 hostname: iobroker-1, node: v16.20.2
                                      2023-12-08 10:02:12.106  - info: host.iobroker-1 ip addresses: 10.0.1.126
                                      2023-12-08 10:02:13.373  - info: host.iobroker-1 connected to Objects and States
                                      2023-12-08 10:02:13.424  - info: host.iobroker-1 added notifications configuration of host
                                      2023-12-08 10:02:14.131  - info: host.iobroker-1 34 instances found
                                      2023-12-08 10:02:14.150  - warn: host.iobroker-1 does not start any instances on this host
                                      2023-12-08 10:10:19.617  - info: host.iobroker-1 received SIGTERM
                                      2023-12-08 10:10:19.661  - info: host.iobroker-1 terminated
                                      2023-12-08 10:11:04.261  - info: host.iobroker-1 iobroker.js-controller version 4.0.24 js-controller starting
                                      2023-12-08 10:11:04.270  - info: host.iobroker-1 Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                      2023-12-08 10:11:04.271  - info: host.iobroker-1 hostname: iobroker-1, node: v16.20.2
                                      2023-12-08 10:11:04.272  - info: host.iobroker-1 ip addresses: 10.0.1.126
                                      2023-12-08 10:11:05.632  - info: host.iobroker-1 connected to Objects and States
                                      2023-12-08 10:11:05.688  - info: host.iobroker-1 added notifications configuration of host
                                      2023-12-08 10:11:06.486  - info: host.iobroker-1 34 instances found
                                      2023-12-08 10:11:06.505  - warn: host.iobroker-1 does not start any instances on this host
                                      
                                      
                                      Marc Berg 1 Reply Last reply Reply Quote 0
                                      • Marc Berg
                                        Marc Berg Most Active @firefighter166 last edited by Marc Berg

                                        @firefighter166 sagte in Backup aus älterer Version einspielen:

                                        host.db4cbef0bc80 instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)

                                        Ich sehe da immer noch den Hostnamen "db4cbef0bc80". Wie erstellst du den Container, und was hat der Befehl von oben

                                        iob host this
                                        

                                        ausgegeben?

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          firefighter166 last edited by

                                          @Marc-Berg

                                          Also den Hostname bekomme ich ja von der Container Station vorgegeben ist die ID. Ich habe jetzt mal den oberen Befehlt ausgeführt und hier das Ergebnis.

                                          # iob fix
                                          library: loaded
                                          Library version=2023-10-13
                                          
                                          ==========================================================================
                                          
                                              Welcome to the ioBroker installation fixer!
                                              Script version: 2023-10-13
                                          
                                          ==========================================================================
                                          
                                          
                                          ==========================================================================
                                              Installing prerequisites (1/5)
                                          ==========================================================================
                                          
                                          Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
                                          Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48,4 kB]   
                                          Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44,1 kB]
                                          Get:4 https://deb.nodesource.com/node_16.x bullseye InRelease [4.586 B]
                                          Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8.062 kB]
                                          Get:6 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages [776 B]
                                          Get:7 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [260 kB]
                                          Get:8 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [17,7 kB]
                                          Fetched 8.553 kB in 4s (2.130 kB/s)                         
                                          Reading package lists... Done
                                          Docker detected!
                                          If you have any adapters that need the CAP_NET_ADMIN capability,
                                          you need to start the docker container with the option --cap-add=NET_ADMIN
                                          and manually add that capability to node
                                          
                                          ==========================================================================
                                              Checking ioBroker user and directory permissions (2/5)
                                          ==========================================================================
                                          
                                          Created /etc/sudoers.d/iobroker
                                          Fixing directory permissions...
                                          This system does not support setting default permissions.
                                          Do not use npm to manually install adapters unless you know what you are doing!
                                          
                                          ==========================================================================
                                              Check and cleanup npm temporary directories (3/5)
                                          ==========================================================================
                                          
                                          Done.
                                          
                                          ==========================================================================
                                              Database maintenance (4/5)
                                          ==========================================================================
                                          
                                          Checking for uncompressed JSONL databases... This might take a while!
                                          
                                          Compressing /opt/iobroker/iobroker-data/states.jsonl
                                          Cannot compress states.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"!
                                              at JsonlDB.open (/opt/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                                              at async compressDB (/opt/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                                              at async main (/opt/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:78:17)
                                          Compressing /opt/iobroker/iobroker-data/objects.jsonl
                                          Cannot compress objects.jsonl: Error: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                              at JsonlDB.open (/opt/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@alcalzone/jsonl-db/build/lib/db.js:185:19)
                                              at async compressDB (/opt/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:37:9)
                                              at async main (/opt/iobroker/.npm/_npx/36bee06d4228a674/node_modules/@iobroker/jsonltool/index.js:93:17)
                                          No relevant JSONL files found to compress, skip
                                          
                                          ==========================================================================
                                              Checking autostart (5/5)
                                          ==========================================================================
                                          
                                          Unsupported init system, cannot enable autostart!
                                          
                                          ==========================================================================
                                          
                                              Your installation was fixed successfully
                                              Run iobroker start to start ioBroker again!
                                          
                                          ==========================================================================
                                          
                                          # pkill -u iobroker
                                          # iob host this
                                          Cannot use this command in multihost!
                                          iobroker host this
                                          
                                          Initialize current host
                                          
                                          Options:
                                            --help  Show help  [boolean]
                                          # 
                                          
                                          Marc Berg 1 Reply Last reply Reply Quote 0
                                          • Marc Berg
                                            Marc Berg Most Active @firefighter166 last edited by

                                            @firefighter166 sagte in Backup aus älterer Version einspielen:

                                            Also den Hostname bekomme ich ja von der Container Station vorgegeben ist die ID

                                            Ich kenne die Containerstation nicht, aber das Internet sagt mir:

                                            Um einen Containernamen in der QNAP Container Station zu vergeben, können Sie die folgenden Schritte befolgen:

                                            • Wechseln Sie im Menü zu Container.
                                            • Klicken Sie auf Erstellen. Das Fenster “Container erstellen” wird geöffnet.
                                            • Wählen Sie ein Image aus.
                                            • Klicken Sie auf Weiter.
                                            • Geben Sie einen Containernamen an, der 2-64 Zeichen enthält, mit einem Buchstaben oder einer Zahl beginnt und nur die folgenden Zeichen enthält:
                                              Gültige Zeichen: A-Z , a-z , 0-9
                                              Gültige Sonderzeichen: Bindestrich (-) , Unterstrich (_) oder Punkt (.)1
                                            F 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            904
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            54
                                            2025
                                            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