Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Daten jsonl(Objekte / States) kopieren js-controller 4.0.21

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Daten jsonl(Objekte / States) kopieren js-controller 4.0.21

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

      Ziel: Vom Prod-System States und Objekte auf das Test-System kopieren.
      Es sollen dort aber nicht die Adapter-Instanzen installiert werden, wie auf dem Prod.

      Beide Systeme:

      Objects type: jsonl
      States  type: jsonl
      

      Wie kann ich die Daten vom PROD auf TEST kopieren?
      Danke.

      411d3fb9-29ef-4ab6-bf7c-bc1f7f89f62d-image.png
      reicht es die objects.jsonl und states.jsonl zu kopieren?

      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @MCU last edited by arteck

        @mcu du willst die daten übernehmen aber ohne die Adapter ..wozu soll das gut sein ?

        ja es geht ... aber
        .. was nutzen dir NUR die Datenpunkte ??

        was hast du vor ?

        M 1 Reply Last reply Reply Quote 0
        • M
          MCU @arteck last edited by MCU

          @arteck Ich möchte das TEST-System zurzeit nur für jarvis-Tests nutzen, benötige dafür aber die States als Grundlage.
          Früher konnte ich durch Kopieren von "objects.json" und "states.json" dem System die Daten als Grundlage mitgeben.
          Nun ist es ja ".jsonl". Da ist nun die Frage, ob es noch immer so einfach ist dem Test-System die Daten vom PROD-System mitzugeben?

          arteck 1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active @MCU last edited by

            @mcu mach doch einfach und schau was passiert

            M 1 Reply Last reply Reply Quote 1
            • M
              MCU @arteck last edited by MCU

              @arteck Tja geht nicht mehr. Er installiert alle Instanzen. Liegt vielleicht am Admin 5.3.1?

              arteck AlCalzone 2 Replies Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active @MCU last edited by

                @mcu nein... das liegt daran dass alle infos in der jsonl liegen..

                wenn du die unbedingt brauchst migriere dir nochmal nach file..

                M 1 Reply Last reply Reply Quote 0
                • M
                  MCU @arteck last edited by MCU

                  @arteck Bei der Nachinstallation von vis kommt immer wieder der Fehler?

                  host.raspberrypi	2022-03-16 11:10:02.478	info	iobroker npm-install: exit 25
                  host.raspberrypi	2022-03-16 11:10:01.432	error	iobroker npm-install: host.raspberrypi Cannot install iobroker.vis@1.4.12: 6
                  vis.0	2022-03-16 11:09:54.786	warn	(2018) Terminated (UNCAUGHT_EXCEPTION): Without reason
                  vis.0	2022-03-16 11:09:54.784	info	(2018) terminating
                  vis.0	2022-03-16 11:09:54.276	error	(2018) Not exists
                  vis.0	2022-03-16 11:09:54.275	error	(2018) Error: Not exists at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2973:17) at ObjectsInRedisClient._readFile (/opt/iobrok
                  vis.0	2022-03-16 11:09:54.272	error	(2018) unhandled promise rejection: Not exists
                  vis.0	2022-03-16 11:09:54.271	error	(2018) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                  vis.0	2022-03-16 11:09:53.785	info	(2018) vis license is OK.
                  vis.0	2022-03-16 11:09:53.547	info	(2018) starting. Version 1.4.12 in /opt/iobroker/node_modules/iobroker.vis, node: v14.19.0, js-controller: 4.0.21
                  

                  Idee?

                  Auch über Adapter, kein Erfolg:

                  $ ./iobroker add vis  --host raspberrypi
                  NPM version: 6.14.16
                  Installing iobroker.vis@1.4.12... (System call)
                  
                  > iobroker.vis@1.4.12 install /opt/iobroker/node_modules/iobroker.vis> node main.js --install
                  ERROR: host.raspberrypi Cannot install iobroker.vis@1.4.12: 6
                  ERROR: process exited with code 25
                  
                  1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer @MCU last edited by

                    @mcu sagte in Daten jsonl(Objekte / States) kopieren js-controller 4.0.21:

                    Tja geht nicht mehr. Er installiert alle Instanzen

                    Das wäre auch bei .json passiert. Die Objects enthalten die Instanzen, die installiert sein sollten. ioBroker erkennt dass sie fehlen und installiert sie nach.

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    887
                    Online

                    31.7k
                    Users

                    79.7k
                    Topics

                    1.3m
                    Posts

                    js-controller 4.0.21 objekte kopieren
                    3
                    8
                    408
                    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