Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Umzug Datenbank von ext redis auf jsonl

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] Umzug Datenbank von ext redis auf jsonl

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

      Guten Tag zusammen
      ich wollte heute die Datenbanken von redis auf den iobroker host "zurück-züglen".
      Habe in der console iob stop eingegeben;
      dann im iob setup custom alles eiggegeben - als er dann startete, habe ich die Fehlermeldung bekommen, dass ich den js-controller von iobroker stoppen soll.... ?! - habe ich das nicht mit iob stop gemacht?
      den iob fix / upgrade / upgrade self etc konnte ich alles machen ohne mucken die Weboberfläche war auch erst wieder nach iob start aufrufbar.

      was habe ich da falsch gemacht?
      Grüsse
      Matt

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

        @matt77che

        Vielleicht würde es helfen, die kompletten Ein- und Ausgaben zu zeigen und das nicht nachzuerzählen, eventuell fällt dann noch etwas auf. Die komplette Ausgabe von "iob diag" schadet sicher auch nicht.

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

          Options:
            --help  Show help  [boolean]
          $ iob setup custom
          Current configuration:
          - Objects database:
            - Type: redis
            - Host/Unix Socket: 192.168.1.154
            - Port: 6379
          - States database:
            - Type: redis
            - Host/Unix Socket: 192.168.1.154
            - Port: 6379
          
          Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [redis]: j
          Host / Unix Socket of objects DB(jsonl), default[127.0.0.1]: 192.168.1.245
          Port of objects DB(jsonl), default[9001]: 
          Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [jsonl]: j
          Host / Unix Socket of states DB (jsonl), default[192.168.1.245]: 
          Port of states DB (jsonl), default[9000]: 
          Data directory (file), default[../../iobroker-data/]: 
          Host name of this machine [iobroker]: 
          It appears that you want to convert this slave host into a Master or Single host system. Is this correct? [Y/n]: y
          
          Do you want to migrate objects and states from "redis/redis" to "jsonl/jsonl" [y/N]: y
          
          Migrating the objects database will overwrite all objects! Are you sure that this is not a slave host and you want to migrate the data? [y/N]: y
          
          Connecting to previous DB "redis/redis"...
          
          Cannot migrate DB while js-controller is still running!
          Please stop ioBroker and try again. No settings have been changed.
          $ sudo iob stop
          
          ***For security reasons ioBroker should not be run or administrated as root.***
          By default only a user that is member of iobroker group can execute ioBroker commands.
          Please execute 'iob fix'to create an appropriate setup!
          $ iob stop
          $ iob status
          iobroker is not running on this host.
          
          At least one iobroker host is running.
          
          Objects type: redis
          States  type: redis
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Matt77CHE last edited by Thomas Braun

            @matt77che

            Wenn du die ganzen Aktionen nicht als root ausführst ist es einfacher mit den Rechten...

            Und mit gestopptem ioBroker schaut das Ganze dann wie aus?

            M 1 Reply Last reply Reply Quote 0
            • M
              Matt77CHE @Thomas Braun last edited by

              @thomas-braun
              ich habe gemerkt, dass ich alle iob Instanzen stoppen muss - heisst Master und Slaves... jetzt ist es am durchlaufen... 👍

              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

              954
              Online

              31.7k
              Users

              79.6k
              Topics

              1.3m
              Posts

              3
              5
              98
              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