Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. backup auf Grund zu alten js-controllers nicht möglich

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

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

Scheduled Pinned Locked Moved ioBroker Allgemein
14 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Thomas BraunT Thomas Braun

    @weimaraner

    Bitte IMMER vollständige Ein- wie Ausgaben zeigen.

    W Offline
    W Offline
    weimaraner
    wrote on last edited by
    #5

    @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 BraunT 1 Reply Last reply
    0
    • W weimaraner

      @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 BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by
      #6

      @weimaraner

      iobroker setup custom
      

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

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      W 1 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @weimaraner

        iobroker setup custom
        

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

        W Offline
        W Offline
        weimaraner
        wrote on last edited by weimaraner
        #7

        @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 BraunT 1 Reply Last reply
        0
        • W 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 BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #8

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

          npm i iobroker.js-controller@3.2.16 --omit=dev
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          W 1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

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

            npm i iobroker.js-controller@3.2.16 --omit=dev
            
            W Offline
            W Offline
            weimaraner
            wrote on last edited by
            #9

            @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 BraunT 1 Reply Last reply
            0
            • W weimaraner

              @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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #10

              @weimaraner

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

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              W 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @weimaraner

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

                W Offline
                W Offline
                weimaraner
                wrote on last edited by
                #11

                @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 BraunT 1 Reply Last reply
                0
                • W weimaraner

                  @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 BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #12

                  @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.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  W 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @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 Offline
                    W Offline
                    weimaraner
                    wrote on last edited by
                    #13

                    @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 BraunT 1 Reply Last reply
                    0
                    • W weimaraner

                      @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 BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #14

                      @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.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      Support us

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

                      630

                      Online

                      32.4k

                      Users

                      81.4k

                      Topics

                      1.3m

                      Posts
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      ioBroker Community 2014-2025
                      logo
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Recent
                      • Tags
                      • Unread 0
                      • Categories
                      • Unreplied
                      • Popular
                      • GitHub
                      • Docu
                      • Hilfe