Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. backup auf Grund zu alten js-controllers nicht möglich

    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

    backup auf Grund zu alten js-controllers nicht möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      weimaraner @Thomas Braun last edited by

      @thomas-braun Sorry, beim Kopieren vermurkst

      andreas@debian11:/opt/iobroker$ npm i iobroker.js-controller@3.2.16 --production
      npm WARN config production Use `--omit=dev` instead.
      npm ERR! code 101
      npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
      npm ERR! command failed
      npm ERR! command sh -c -- node iobroker.js setup first
      npm ERR! Installation broken or unknown states type: jsonl configured.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2023-01-09T19_36_39_328Z-debug-0.log
      andreas@debian11:/opt/iobroker$
      
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @weimaraner last edited by

        @weimaraner

        iobroker setup custom
        

        und dann dort das im Alt-System verwendete Datenbankformat einstellen.
        Falls das redis war, dann auch noch redis nachinstallieren.

        W 1 Reply Last reply Reply Quote 0
        • W
          weimaraner @Thomas Braun last edited by weimaraner

          @thomas-braun okay, durchgeführt.
          Dann nochmal

          npm i iobroker.js-controller@3.2.16 --production
          

          eingeben?
          Dann kommt wieder

          andreas@debian11:/opt/iobroker$ npm i iobroker.js-controller@3.2.16 --production
          [sudo] Passwort für andreas:
          npm WARN config production Use `--omit=dev` instead.
          npm ERR! code 101
          npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
          npm ERR! command failed
          npm ERR! command sh -c -- node iobroker.js setup first
          npm ERR! Installation broken or unknown states type: jsonl configured.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2023-01-09T19_52_53_471Z-debug-0.log
          andreas@debian11:/opt/iobroker$
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @weimaraner last edited by

            @weimaraner
            Ja. Bzw. bei aktuellem nodejs/npm lautet das so:

            npm i iobroker.js-controller@3.2.16 --omit=dev
            
            W 1 Reply Last reply Reply Quote 0
            • W
              weimaraner @Thomas Braun last edited by

              @thomas-braun Es kommt immer ein Err

              andreas@debian11:/opt/iobroker$ iobroker setup custom
              Current configuration:
              - Objects database:
                - Type: jsonl
                - Host/Unix Socket: 127.0.0.1
                - Port: 9001
              - States database:
                - Type: jsonl
                - Host/Unix Socket: 127.0.0.1
                - Port: 9000
              - Data Directory: ../../iobroker-data/
              
              Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]: j
              Host / Unix Socket of objects DB(jsonl), default[127.0.0.1]: default
              Port of objects DB(jsonl), default[9001]: default
              Input another, please.
              Port of objects DB(jsonl), default[9001]: 9001
              Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [jsonl]: j
              Host / Unix Socket of states DB (jsonl), default[default]: default
              Port of states DB (jsonl), default[9000]: 9000
              Host name of this machine [debian11]: debian11
              updating conf/iobroker.json
              andreas@debian11:/opt/iobroker$ npm i iobroker.js-controller@3.2.16 --omit=dev
              npm ERR! code 101
              npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
              npm ERR! command failed
              npm ERR! command sh -c -- node iobroker.js setup first
              npm ERR! Installation broken or unknown states type: jsonl configured.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2023-01-09T19_57_43_092Z-debug-0.log
              andreas@debian11:/opt/iobroker$
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @weimaraner last edited by

                @weimaraner

                Vermutlich war da nicht jsonl/jsonl das Datenbankformat.
                Versuch mal file/file. Das ist die Voreinstellung gewesen.

                W 1 Reply Last reply Reply Quote 0
                • W
                  weimaraner @Thomas Braun last edited by

                  @thomas-braun
                  Wird nicht besser... 😧

                  andreas@debian11:/opt/iobroker$ iobroker setup custom
                  Current configuration:
                  - Objects database:
                    - Type: jsonl
                    - Host/Unix Socket: default
                    - Port: 9001
                  - States database:
                    - Type: jsonl
                    - Host/Unix Socket: default
                    - Port: 9000
                  - Data Directory: ../../iobroker-data/
                  - Host name: debian11
                  
                  Type of objects DB [(j)sonl, (f)ile, (r)edis, ...], default [jsonl]: f
                  Host / Unix Socket of objects DB(file), default[127.0.0.1]: 127.0.0.1
                  Port of objects DB(file), default[9001]: 9001
                  Type of states DB [(j)sonl, (f)file, (r)edis, ...], default [file]: f
                  Host / Unix Socket of states DB (file), default[127.0.0.1]: 127.0.0.1
                  Port of states DB (file), default[9000]: 9000
                  Data directory (file), default[../../iobroker-data/]: ../../iobroker-data
                  Host name of this machine [debian11]: debian11
                  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 "jsonl/jsonl" to "file/file" [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 "jsonl"...
                  No connection to databases possible ...
                  andreas@debian11:/opt/iobroker$ npm i iobroker.js-controller@3.2.16 --omit=dev
                  [sudo] Passwort für andreas:
                  npm ERR! code 101
                  npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                  npm ERR! command failed
                  npm ERR! command sh -c -- node iobroker.js setup first
                  npm ERR! Installation broken or unknown states type: jsonl configured.
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2023-01-09T20_12_50_974Z-debug-0.log
                  andreas@debian11:/opt/iobroker$
                  
                  

                  Ich habe ja die alte hdd noch. Soll ich dort nochmal was nachschauen oder ändern? Eigentlich wollte ich mit der neuen hdd den Weg des geringsten Aufwandes gehen und alles frisch aufsetzen. Naja, falsch gedacht...

                  Ich kann erst morgen nachmittag weitermachen. Muß morgen früh raus.

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

                    @weimaraner sagte in backup auf Grund zu alten js-controllers nicht möglich:

                    Ich habe ja die alte hdd noch. Soll ich dort nochmal was nachschauen oder ändern?

                    Dann bring die dortige Installation auf Stand. Inkl. Umstellung auf jsonl/jsonl.
                    Und dann ziehst du damit um. Hättest du direkt so machen sollen.

                    W 1 Reply Last reply Reply Quote 0
                    • W
                      weimaraner @Thomas Braun last edited by

                      @thomas-braun
                      Womit fang ich da an?
                      Node12 installiert
                      JS-Controller (weiß ich gerade nicht)
                      In welcher Reihenfolge?
                      Sorry, für diese blöden Fragen.

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

                        @weimaraner sagte in backup auf Grund zu alten js-controllers nicht möglich:

                        Womit fang ich da an?

                        Unten anfangen.
                        Zuerst OS, dann nodejs auf V16 bringen, iobroker updaten/upgraden, Backup ziehen, mit diesem Backup umziehen.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        941
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        2
                        14
                        655
                        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