Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Aktuelle iobroker Version und altes Backup

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Aktuelle iobroker Version und altes Backup

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
4 Beiträge 2 Kommentatoren 374 Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • P Offline
    P Offline
    Psens
    schrieb am zuletzt editiert von
    #1

    Hallo,

    mein Cheffe hat einen iobroker auf einem Raspberry für die Steuerung seiner Bewässerung des Gartens laufen, jetzt hat sich die SD Karte verabschiedet und ich habe nur ein Backup von damals 2020 als ich ihm die Kiste eingerichtet habe.

    Backup erstellt bei gestopptem iobroker mittels:

    iobroker backup
    

    Ich habe den Raspi jetzt frisch aufgesetzt und die Aktuelle Version des iobrokers installiert.

    Beim versuch das Backup zurück zu spielen mit iobroker restore bekam ich nachfolgende Meldung:

    iobroker controller daemon is not running
    host.debian OK.
    The current version of js-controller differs from the version in the backup.
    The js-controller version of the backup can not be restored automatically.
    To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@3.1.4 --omit=dev" inside your ioBroker directory
    If you really want to restore the backup with the current installed js-controller, execute the restore command with the --force flag
    

    wie beschrieben habe ich dann

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

    ausgeführt, dies endete aber in nachfolgender Meldung

    npm ERR! code 1
    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! /opt/iobroker/node_modules/iobroker.js-controller/lib/objects.js:22
    npm ERR!     throw new Error(`Unknown objects type: ${config.objects.type}`);
    npm ERR!     ^
    npm ERR!
    npm ERR! Error: Unknown objects type: jsonl
    npm ERR!     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects.js:22:11)
    npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1364:14)
    npm ERR!     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    npm ERR!     at Module.load (node:internal/modules/cjs/loader:1203:32)
    npm ERR!     at Module._load (node:internal/modules/cjs/loader:1019:12)
    npm ERR!     at Module.require (node:internal/modules/cjs/loader:1231:19)
    npm ERR!     at require (node:internal/modules/helpers:177:18)
    npm ERR!     at dbConnect (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2439:15)
    npm ERR!     at setupObjects (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:210:9)
    npm ERR!     at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:843:13)
    npm ERR!
    npm ERR! Node.js v18.20.2
    
    npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-18T09_47_50_449Z-debug-0.log
    

    kann mir hier jemand weiterhelfen?

    Schon vorab vielen Dank für die Unterstützung.

    1 Antwort Letzte Antwort
    0
    • Marc BergM Offline
      Marc BergM Offline
      Marc Berg
      Most Active
      schrieb am zuletzt editiert von Marc Berg
      #2

      @psens sagte in Aktuelle iobroker Version und altes Backup:

      kann mir hier jemand weiterhelfen?

      "JSONL" als Datenbank-Format gab es erst seit Controller 3.2. Die 3.1 kann damit nichts anfangen. Du solltest also vor dem Versions-Downgrade die Datenbank erst auf "file" umstellen. Das geht mit

      iob setup custom
      

      NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

      Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

      Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

      P 1 Antwort Letzte Antwort
      0
      • Marc BergM Marc Berg

        @psens sagte in Aktuelle iobroker Version und altes Backup:

        kann mir hier jemand weiterhelfen?

        "JSONL" als Datenbank-Format gab es erst seit Controller 3.2. Die 3.1 kann damit nichts anfangen. Du solltest also vor dem Versions-Downgrade die Datenbank erst auf "file" umstellen. Das geht mit

        iob setup custom
        
        P Offline
        P Offline
        Psens
        schrieb am zuletzt editiert von
        #3

        @marc-berg Danke für die Hilfe, die Installation de Adapters wie auch der import haben geklappt. Wenn ich das richtig sehe muss ich ja anschließend den Adapter wieder updaten auf die aktuelle version.

        jedoch bekomme ich beim ausführen von iob upgrade self nachfolgenden Fehler.

        Update js-controller from @3.1.4 to @5.0.19
        NPM version: 10.5.0
        npm install iobroker.js-controller@5.0.19 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
         Objects 127.0.0.1:46914 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
         States 127.0.0.1:49734 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
         Objects 127.0.0.1:46914 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
         States 127.0.0.1:49734 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
         Objects 127.0.0.1:46914 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
         Objects 127.0.0.1:46914 Error from InMemDB: Error: scan NOT SUPPORTED
        npm ERR! code 1
        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! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
        npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
        npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
        npm ERR!         throw e;
        npm ERR!         ^
        npm ERR!
        npm ERR! ReplyError: Error scan NOT SUPPORTED
        npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
        npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
        npm ERR! Emitted 'error' event on ScanStream instance at:
        npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
        npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
        npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
        npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
        npm ERR!   command: {
        npm ERR!     name: 'scan',
        npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
        npm ERR!   }
        npm ERR! }
        npm ERR!
        npm ERR! Node.js v18.20.2
        
        npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-18T15_11_40_808Z-debug-0.log
        Starting node restart.js
        
        Marc BergM 1 Antwort Letzte Antwort
        0
        • P Psens

          @marc-berg Danke für die Hilfe, die Installation de Adapters wie auch der import haben geklappt. Wenn ich das richtig sehe muss ich ja anschließend den Adapter wieder updaten auf die aktuelle version.

          jedoch bekomme ich beim ausführen von iob upgrade self nachfolgenden Fehler.

          Update js-controller from @3.1.4 to @5.0.19
          NPM version: 10.5.0
          npm install iobroker.js-controller@5.0.19 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
           Objects 127.0.0.1:46914 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
           States 127.0.0.1:49734 Error from InMemDB: Error: CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
           Objects 127.0.0.1:46914 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
           States 127.0.0.1:49734 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
           Objects 127.0.0.1:46914 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
           Objects 127.0.0.1:46914 Error from InMemDB: Error: scan NOT SUPPORTED
          npm ERR! code 1
          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! Unable to increase LUA script timeout: Error CONFIG-UNSUPPORTED for ["SET","lua-time-limit","10000"]
          npm ERR!  Unable to enable Expiry Keyspace events from Redis Server: Error CONFIG-UNSUPPORTED for ["SET","notify-keyspace-events","Exe"]
          npm ERR! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
          npm ERR!         throw e;
          npm ERR!         ^
          npm ERR!
          npm ERR! ReplyError: Error scan NOT SUPPORTED
          npm ERR!     at parseError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:179:12)
          npm ERR!     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:302:14)
          npm ERR! Emitted 'error' event on ScanStream instance at:
          npm ERR!     at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
          npm ERR!     at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
          npm ERR!     at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
          npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
          npm ERR!   command: {
          npm ERR!     name: 'scan',
          npm ERR!     args: [ '0', 'MATCH', 'cfg.o.system.host.*', 'COUNT', '250' ]
          npm ERR!   }
          npm ERR! }
          npm ERR!
          npm ERR! Node.js v18.20.2
          
          npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-04-18T15_11_40_808Z-debug-0.log
          Starting node restart.js
          
          Marc BergM Offline
          Marc BergM Offline
          Marc Berg
          Most Active
          schrieb am zuletzt editiert von Marc Berg
          #4

          @psens sagte in Aktuelle iobroker Version und altes Backup:

          Update js-controller from @3.1.4 to @5.0.19

          Ich weiß nicht, ob so ein großer Sprung möglich ist. Wahrscheinlich musst du Zwischenschritte einlegen. Dazu können aber andere sicher mehr sagen.

          EDIT: Ich würde versuchen, erst auf die letzte 3er Version zu gehen, dann auf die letzte 4er, usw.

          NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+EMQX+Grafana

          Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

          Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

          1 Antwort Letzte Antwort
          1
          Antworten
          • In einem neuen Thema antworten
          Anmelden zum Antworten
          • Älteste zuerst
          • Neuste zuerst
          • Meiste Stimmen


          Support us

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

          561

          Online

          32.7k

          Benutzer

          82.4k

          Themen

          1.3m

          Beiträge
          Community
          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
          ioBroker Community 2014-2025
          logo
          • Anmelden

          • Du hast noch kein Konto? Registrieren

          • Anmelden oder registrieren, um zu suchen
          • Erster Beitrag
            Letzter Beitrag
          0
          • Home
          • Aktuell
          • Tags
          • Ungelesen 0
          • Kategorien
          • Unreplied
          • Beliebt
          • GitHub
          • Docu
          • Hilfe