<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[SOLVED] Restore bei Konfiguration mit redis?]]></title><description><![CDATA[<p dir="auto">Moin,</p>
<p dir="auto">mein IOBroker ist dank der Bauarbeiten für Glasfaser irreparabel gecrasht und ich versuche, dieses neu aufzusetzen.</p>
<p dir="auto">Eine neue VM ist installiert, node installiert, und mit</p>
<pre><code>curl -sLf https://iobroker.net/install.sh | bash -
</code></pre>
<p dir="auto">installiert sich auch IOBroker und begrüßt mich mit dem Setup-Assistenten.</p>
<p dir="auto">Nach Anleitung habe ich die Backups auf die neue VM kopiert, und mit</p>
<pre><code>cd /opt/iobroker
/etc/init.d/iobroker.sh stop
iobroker restore 0
</code></pre>
<p dir="auto">eingespielt. Danach startet IOBroker nicht mehr - ich vermute, es liegt an <strong>Redis</strong>. Dieses ist selbst installiert und läuft:</p>
<pre><code>root@iobroker-202109:/opt/iobroker/log# redis-cli
127.0.0.1:6379&gt; ping
PONG
</code></pre>
<p dir="auto">jedoch meldet IOBroker in den Logfiles Fehler:</p>
<pre><code>2021-09-07 06:29:36.774  - info: host.iobroker-202109 ip addresses: 192.168.3.31
2021-09-07 06:29:36.801  - error: host.iobroker-202109 Cannot read system.config: null (OK when migrating or restoring)
2021-09-07 06:29:36.821  - info: host.iobroker-202109 connected to Objects and States
2021-09-07 06:29:36.827  - info: host.iobroker-202109 added notifications configuration of host
2021-09-07 06:29:36.831  - error: host.iobroker-202109 Cannot find view "system" for search "instance"
2021-09-07 06:29:36.831  - error: host.iobroker-202109 Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system
"
2021-09-07 06:29:36.836  - info: host.iobroker-202109 Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2021-09-07 06:29:36.839  - error: host.iobroker-202109 Cannot find view "system" for search "state"
2021-09-07 06:29:36.839  - error: host.iobroker-202109 Cannot find view "system" for search "instance"
2021-09-07 06:29:36.840  - error: host.iobroker-202109 Could not collect system.host.iobroker-202109 states to check for obsolete states: Error: Cannot find view "system"
2021-09-07 06:29:36.840  - error: host.iobroker-202109 _design/system missing - call node iobroker.js setup
2021-09-07 06:29:36.840  - info: host.iobroker-202109 no instances found
2021-09-07 06:29:36.842  - error: host.iobroker-202109 uncaught exception: doc.rows is not iterable
2021-09-07 06:29:36.842  - error: host.iobroker-202109 TypeError: doc.rows is not iterable
    at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2787:27)
    at async getInstances (/opt/iobroker/node_modules/iobroker.js-controller/main.js:2706:23)
2021-09-07 06:29:36.844  - info: host.iobroker-202109 iobroker _restart
2021-09-07 06:29:36.849  - error: host.iobroker-202109 Cannot write host object:DB closed
2021-09-07 06:29:36.851  - info: host.iobroker-202109 terminated
2021-09-07 06:29:36.906  - info: host.iobroker-202109 Created UUID: ea11ab72-166a-dca3-4464-3a663ce4a8a3
2021-09-07 06:29:37.006  - info: host.iobroker-202109 iobroker Starting node restart.js
2021-09-07 06:29:37.200  - info: host.iobroker-202109 received SIGTERM
2021-09-07 06:29:37.201  - info: host.iobroker-202109 terminated
2021-09-07 06:29:43.451  - info: host.iobroker-202109 iobroker.js-controller version 3.3.15 js-controller starting
2021-09-07 06:29:43.453  - info: host.iobroker-202109 Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker
2021-09-07 06:29:43.453  - info: host.iobroker-202109 hostname: iobroker-202109, node: v14.17.6
2021-09-07 06:29:43.453  - info: host.iobroker-202109 ip addresses: 192.168.3.31
2021-09-07 06:29:43.477  - error: host.iobroker-202109 Cannot read system.config: null (OK when migrating or restoring)
2021-09-07 06:29:43.499  - info: host.iobroker-202109 connected to Objects and States
2021-09-07 06:29:43.505  - info: host.iobroker-202109 added notifications configuration of host
2021-09-07 06:29:43.509  - error: host.iobroker-202109 Cannot find view "system" for search "instance"
2021-09-07 06:29:43.509  - error: host.iobroker-202109 Could not add notifications config of this host: Could not get notifications setup from instances: Cannot find view "system
"
2021-09-07 06:29:43.514  - info: host.iobroker-202109 Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2021-09-07 06:29:43.516  - error: host.iobroker-202109 Cannot find view "system" for search "state"
2021-09-07 06:29:43.516  - error: host.iobroker-202109 Cannot find view "system" for search "instance"
2021-09-07 06:29:43.517  - error: host.iobroker-202109 Could not collect system.host.iobroker-202109 states to check for obsolete states: Error: Cannot find view "system"
2021-09-07 06:29:43.517  - error: host.iobroker-202109 _design/system missing - call node iobroker.js setup
2021-09-07 06:29:43.517  - info: host.iobroker-202109 no instances found
2021-09-07 06:29:43.519  - error: host.iobroker-202109 uncaught exception: doc.rows is not iterable
2021-09-07 06:29:43.519  - error: host.iobroker-202109 TypeError: doc.rows is not iterable
    at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2787:27)
    at async getInstances (/opt/iobroker/node_modules/iobroker.js-controller/main.js:2706:23)
2021-09-07 06:29:43.522  - info: host.iobroker-202109 iobroker _restart
2021-09-07 06:29:43.528  - error: host.iobroker-202109 Cannot write host object:DB closed
</code></pre>
<p dir="auto">Danach ist IOBroker über den Standartport und Adresse nicht erreichbar und im "ps" sieht man häufige Neustartversuche.</p>
<p dir="auto">Jemand eine Idee, wie ich mein Backup und meine Skripte wieder herstellen kann?</p>
<p dir="auto">Danke, -MN</p>
]]></description><link>https://forum.iobroker.net/topic/47605/solved-restore-bei-konfiguration-mit-redis</link><generator>RSS for Node</generator><lastBuildDate>Wed, 27 May 2026 16:03:19 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/47605.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Sep 2021 05:00:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 14:12:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a> sagte in <a href="/post/674716">Restore bei Konfiguration mit redis?</a>:</p>
<blockquote>
<p dir="auto">Aber Distributions-Wars und OS-Wars sind irgendwie so 90er.</p>
</blockquote>
<p dir="auto">Das sollte gar keiner sein/werden.<br />
Debian-'Standard' nur insofern, wie Dinge in der für so viele Distributionen zugrunde liegenden Distribution halt 'standardmäßig' gehandhabt werden.</p>
<p dir="auto">apt/dpkg ist halt der Debian-Standard fürs Pakethandling. Kann man auch auf RPM oder sowas umbasteln, ist dann nicht mehr 'Debian-Standard'.</p>
<p dir="auto">Das init-System ist halt einer der grundlegenden Unterschiede zwischen Debian und Devuan. Ganz ohne Wertung.</p>
]]></description><link>https://forum.iobroker.net/post/674719</link><guid isPermaLink="true">https://forum.iobroker.net/post/674719</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 07 Sep 2021 14:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 14:05:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomas-braun" aria-label="Profile: thomas-braun">@<bdi>thomas-braun</bdi></a> said in <a href="/post/674702">Restore bei Konfiguration mit redis?</a>:</p>
<blockquote>
<p dir="auto">Das Devuan an der Stelle vom Debian-Standard abweicht brauch ich nicht anmerken, denke ich.<br />
Ebenso den Hinweis auf dauerhaftes rumgehampel als root.</p>
</blockquote>
<p dir="auto">Ist Debian ein Standard? Denke nicht, es ist "nur" eine sehr gute Distribution.<br />
Devuan eine davon abhängende Variante mit Änderungen und anderer Philosophie.</p>
<p dir="auto">Aber Distributions-Wars und OS-Wars sind irgendwie so 90er. Jedem das, was er/sie gerne mag - einfach in Frieden miteinander erfreuen, dass Linux so toll und so stark geworden ist...</p>
<p dir="auto">Danke an alle Unterstützer und die Kommentare.</p>
<p dir="auto">Ciao, -MN</p>
]]></description><link>https://forum.iobroker.net/post/674716</link><guid isPermaLink="true">https://forum.iobroker.net/post/674716</guid><dc:creator><![CDATA[Morgennebel]]></dc:creator><pubDate>Tue, 07 Sep 2021 14:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 13:13:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a> sagte in <a href="/post/674698">Restore bei Konfiguration mit redis?</a>:</p>
<blockquote>
<p dir="auto">Der redis-server startet nicht beim Aufruf des init-Skriptes.</p>
</blockquote>
<p dir="auto">Das Devuan an der Stelle vom Debian-Standard abweicht brauch ich nicht anmerken, denke ich.<br />
Ebenso den Hinweis auf dauerhaftes rumgehampel als root.</p>
<blockquote>
<p dir="auto">Wäre es nicht sinnvoll/ratsam, dass Backup/Restore Modul um Redis zu ergänzen?</p>
</blockquote>
<p dir="auto">Ja, deswegen ist es in aktuellen Versionen von backitup auch dabei.</p>
]]></description><link>https://forum.iobroker.net/post/674702</link><guid isPermaLink="true">https://forum.iobroker.net/post/674702</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 07 Sep 2021 13:13:11 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 12:22:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arteck" aria-label="Profile: arteck">@<bdi>arteck</bdi></a><br />
Der redis-server startet nicht beim Aufruf des init-Skriptes.</p>
<p dir="auto">In /var/log/redis/redis-server.log erscheinen Hinweise auf fehlerhafte Signaturen bzw. fehlerhafte Daten am Anfang. Nach meinem Google-Fu ist damit die Redis-Datei hinüber.</p>
<p dir="auto">USV ist bestellt...</p>
<p dir="auto">Danke, -MN</p>
]]></description><link>https://forum.iobroker.net/post/674698</link><guid isPermaLink="true">https://forum.iobroker.net/post/674698</guid><dc:creator><![CDATA[Morgennebel]]></dc:creator><pubDate>Tue, 07 Sep 2021 12:22:20 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 10:51:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a> sagte in <a href="/post/674674">Restore bei Konfiguration mit redis?</a>:</p>
<blockquote>
<p dir="auto">dump.rdb kopiert, ist jedoch defekt.</p>
</blockquote>
<p dir="auto">wie kommst du dadrauf das es defect ist ??</p>
<p dir="auto">und ja es ist interrgriert.. ich weiss aber nicht ab welcher version..</p>
]]></description><link>https://forum.iobroker.net/post/674678</link><guid isPermaLink="true">https://forum.iobroker.net/post/674678</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Tue, 07 Sep 2021 10:51:25 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 10:41:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arteck" aria-label="Profile: arteck">@<bdi>arteck</bdi></a> said in <a href="/post/674665">Restore bei Konfiguration mit redis?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a><br />
ansonsten fängst du von vorne an..</p>
</blockquote>
<p dir="auto"><a href="https://www.digitalocean.com/community/tutorials/how-to-back-up-and-restore-your-redis-data-on-ubuntu-14-04#:~:text=%20Step%205%20%E2%80%94%20Restoring%20Redis%20Database%20from,to%20a%20new%20Redis%20server,%20make...%20More%20" rel="nofollow ugc">https://www.digitalocean.com/community/tutorials/how-to-back-up-and-restore-your-redis-data-on-ubuntu-14-04#:~:text= Step 5 — Restoring Redis Database from,to a new Redis server, make... More </a></p>
<p dir="auto">dump.rdb kopiert, ist jedoch defekt.</p>
<p dir="auto">Wäre es nicht sinnvoll/ratsam, dass Backup/Restore Modul um Redis zu ergänzen?</p>
<p dir="auto">Danke, -MN</p>
]]></description><link>https://forum.iobroker.net/post/674674</link><guid isPermaLink="true">https://forum.iobroker.net/post/674674</guid><dc:creator><![CDATA[Morgennebel]]></dc:creator><pubDate>Tue, 07 Sep 2021 10:41:07 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 10:29:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a> jep jetzt hast du ein Problem.. zumindest wenn du keine Sicherungsdatei hast von der redis dump</p>
<p dir="auto">ich weiss ja nicht was du gesichert hast.. die history datei bring dir garnichts da hier nur eine Protokollierung  der Datenpunkte für z.b Graphen geschrieben wird... du brauchst schon die redis sicherung</p>
<p dir="auto">ansonsten fängst du von vorne an..</p>
]]></description><link>https://forum.iobroker.net/post/674665</link><guid isPermaLink="true">https://forum.iobroker.net/post/674665</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Tue, 07 Sep 2021 10:29:25 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 09:42:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arteck" aria-label="Profile: arteck">@<bdi>arteck</bdi></a> said in <a href="/post/674633">Restore bei Konfiguration mit redis?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a><br />
hst du redis auch zurück gespielt aus dem backup ??</p>
</blockquote>
<p dir="auto">Äääh. Nein?</p>
<p dir="auto">Ich war (bis jetzt) davon ausgegangen, dass dies vom Backup/Restore gemacht wird.</p>
<p dir="auto">Im Backup-Verzeichnis finde ich noch eine historyDB*tar.gz, die ist allerdings Monate alt.</p>
<p dir="auto">Habe ich ein Problem?</p>
<p dir="auto">Danke, -MN</p>
]]></description><link>https://forum.iobroker.net/post/674643</link><guid isPermaLink="true">https://forum.iobroker.net/post/674643</guid><dc:creator><![CDATA[Morgennebel]]></dc:creator><pubDate>Tue, 07 Sep 2021 09:42:23 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 09:20:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a> und dein redis läuft auf der gleichen Maschiene ? -&gt; jo seh ich</p>
<p dir="auto">hst du redis auch zurück gespielt aus dem backup ??</p>
]]></description><link>https://forum.iobroker.net/post/674633</link><guid isPermaLink="true">https://forum.iobroker.net/post/674633</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Tue, 07 Sep 2021 09:20:31 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 07:42:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/arteck" aria-label="Profile: arteck">@<bdi>arteck</bdi></a></p>
<p dir="auto">Danke, das hatte ich vergessen, in meine Frage mit aufzunehmen:</p>
<pre><code>root@iobroker-202109:/opt/iobroker# iobroker setup custom
Current configuration:
- Objects database:
  - Type: redis
  - Host/Unix Socket: 127.0.0.1
  - Port: 6379
- States database:
  - Type: redis
  - Host/Unix Socket: 127.0.0.1
  - Port: 6379
</code></pre>
<p dir="auto">redis läuft (das war in der Frage enthalten).</p>
<p dir="auto">Danke, -MN</p>
]]></description><link>https://forum.iobroker.net/post/674595</link><guid isPermaLink="true">https://forum.iobroker.net/post/674595</guid><dc:creator><![CDATA[Morgennebel]]></dc:creator><pubDate>Tue, 07 Sep 2021 07:42:50 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Restore bei Konfiguration mit redis? on Tue, 07 Sep 2021 05:33:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/morgennebel" aria-label="Profile: morgennebel">@<bdi>morgennebel</bdi></a> zeigmal</p>
<pre><code>iobroker setup custom
</code></pre>
]]></description><link>https://forum.iobroker.net/post/674559</link><guid isPermaLink="true">https://forum.iobroker.net/post/674559</guid><dc:creator><![CDATA[arteck]]></dc:creator><pubDate>Tue, 07 Sep 2021 05:33:58 GMT</pubDate></item></channel></rss>