<?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[iobroker startet nicht mehr: Cannot read system.config: null]]></title><description><![CDATA[<p dir="auto">hi,<br />
mein iobroker startet nicht mehr.<br />
Der Fehler scheint vorgestern aufgetreten zu sein, ist aber jetzt erst aufgefallen (nach einem Server restart):</p>
<pre><code>------------------------------------------------------------
---------------     2021-08-21 13:16:33      ---------------
------------------------------------------------------------
 
------------------------------------------------------------
-----       Welcome to your ioBroker-container!        -----
-----          Startupscript is now running.           -----
-----                Please be patient!                -----
------------------------------------------------------------
 
------------------------------------------------------------
-----              Debugging information               -----
-----                                                  -----
-----                      System                      -----
-----               arch:      x86_64                  -----
-----                                                  -----
-----                     Versions                     -----
-----               image:     v5.1.0                  -----
-----               node:      v12.22.5                -----
-----               npm:       6.14.14                 -----
-----                                                  -----
-----                       ENV                        -----
-----               SETGID:    1000                    -----
-----               SETUID:    1000                    -----
------------------------------------------------------------
 
------------------------------------------------------------
-----         Step 1 of 5: Preparing container         -----
------------------------------------------------------------
 
Nothing to do here.
 
------------------------------------------------------------
-----   Step 2 of 5: Detecting ioBroker installation   -----
------------------------------------------------------------
 
Existing installation of ioBroker detected in /opt/iobroker.
 
------------------------------------------------------------
-----   Step 3 of 5: Checking ioBroker installation    -----
------------------------------------------------------------
 
(Re)Setting folder permissions (This might take a while! Please be patient!)...
Done.
 
Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
Done.
 
The object system.adapter.admin.0 was not found!

/opt/scripts/iobroker_startup.sh: Zeile 197: [: !=: Einstelliger (unärer) Operator erwartet.
------------------------------------------------------------
-----      Step 4 of 5: Applying special settings      -----
------------------------------------------------------------
 
Some adapters have special requirements/ settings which can be activated by the use of environment variables.
For more information take a look at readme.md on Github!
 
------------------------------------------------------------
-----          Step 5 of 5: ioBroker startup           -----
------------------------------------------------------------
 
Starting ioBroker...
 
doc.rows is not iterable
TypeError: doc.rows is not iterable
    at Object.getInstancesOrderedByStartPrio (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:2787:27)
object system.meta.uuid cannot be updated: Error: DB closed
object system.user.admin created

</code></pre>
<p dir="auto">fehler ist wohl<br />
/opt/scripts/iobroker_startup.sh: Zeile 197: [: !=: Einstelliger (unärer) Operator erwartet.</p>
<p dir="auto">der adapter ist aber installiert:</p>
<pre><code>root@fff6124a6970:/opt/iobroker# iobroker install admin
 Cannot read system.config: null (OK when migrating or restoring)
adapter "admin" already installed. Use "upgrade" to upgrade to a newer version.
</code></pre>
<p dir="auto">upgrade klappt aber nicht:</p>
<pre><code>root@fff6124a6970:/opt/iobroker# iobroker upgrade
 Cannot read system.config: null (OK when migrating or restoring)
No repositories defined.
/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:983
                        for (const name of Object.keys(links)) {
                                                  ^

TypeError: Cannot convert undefined or null to object
    at Function.keys (&lt;anonymous&gt;)
    at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:983:51
    at Immediate.&lt;anonymous&gt; (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2629:37)
    at processImmediate (internal/timers.js:463:21)
</code></pre>
<p dir="auto">hat einer eine idee, wie ich das fixen kann?</p>
<p dir="auto">gruß,<br />
andre</p>
]]></description><link>https://forum.iobroker.net/topic/47208/iobroker-startet-nicht-mehr-cannot-read-system-config-null</link><generator>RSS for Node</generator><lastBuildDate>Wed, 27 May 2026 07:42:08 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/47208.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 21 Aug 2021 11:20:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 17:20:47 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> gibt es falsch oder richtig? eher empfehlenswert oder riskant finde ich. rein technisch muss es als root erstmal funktionieren - wenn die prozesse im container zugriff auf die dateien und ordner haben, sollte es klappen. und das war ja seit Anbeginn meiner iobroker-Installation über docker der fall. daher sehe ich das nicht als den Fehler an. Oder wo liegt mein Denkfehler?</p>
]]></description><link>https://forum.iobroker.net/post/667791</link><guid isPermaLink="true">https://forum.iobroker.net/post/667791</guid><dc:creator><![CDATA[astrakid]]></dc:creator><pubDate>Sat, 21 Aug 2021 17:20:47 GMT</pubDate></item><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 12:32:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrakid" aria-label="Profile: astrakid">@<bdi>astrakid</bdi></a> sagte in <a href="/post/667627">iobroker startet nicht mehr: Cannot read system.config: null</a>:</p>
<blockquote>
<p dir="auto">container laufen wie gesagt alle im root-context</p>
</blockquote>
<p dir="auto">Das ist halt 'falsch'.</p>
]]></description><link>https://forum.iobroker.net/post/667629</link><guid isPermaLink="true">https://forum.iobroker.net/post/667629</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 21 Aug 2021 12:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 12:27:14 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> haben sie, nutze ich aber nicht. container laufen wie gesagt alle im root-context und legen die daten mittels bind-mount ab.<br />
dass das arbeiten und laufen der prozesse unter root aus sicherheitsgründen nicht optimal ist ist klar, aber bei mir in dieser konstellation unbedeutsam.</p>
]]></description><link>https://forum.iobroker.net/post/667627</link><guid isPermaLink="true">https://forum.iobroker.net/post/667627</guid><dc:creator><![CDATA[astrakid]]></dc:creator><pubDate>Sat, 21 Aug 2021 12:27:14 GMT</pubDate></item><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 12:23:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrakid" aria-label="Profile: astrakid">@<bdi>astrakid</bdi></a> sagte in <a href="/post/667623">iobroker startet nicht mehr: Cannot read system.config: null</a>:</p>
<blockquote>
<p dir="auto">user und group 0</p>
</blockquote>
<p dir="auto">Das ist die uid und gid vom root.<br />
Höchstwahrscheinlich falsch.</p>
<p dir="auto">Die Container sollten auch eine user-Verwaltung haben.</p>
]]></description><link>https://forum.iobroker.net/post/667624</link><guid isPermaLink="true">https://forum.iobroker.net/post/667624</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 21 Aug 2021 12:23:21 GMT</pubDate></item><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 12:20:30 GMT]]></title><description><![CDATA[<p dir="auto">mit nem backup und den berechtigungen korrigeirt (user und group 0) und dem backup klappt es wieder... danke!<br />
wie konnte es dazu kommen?</p>
]]></description><link>https://forum.iobroker.net/post/667623</link><guid isPermaLink="true">https://forum.iobroker.net/post/667623</guid><dc:creator><![CDATA[astrakid]]></dc:creator><pubDate>Sat, 21 Aug 2021 12:20:30 GMT</pubDate></item><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 12:17:05 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> danke. ich glaube, ich habe ein berechtigungsproblem auf fileebene.<br />
iobroker läuft bei mir innerhalb eines docker-containers (buanet).<br />
docker läuft bei mir unter dem user root, sämtliche container unter persistenten daten gehören root (außer influxdb, aber das ist eine andere sache).<br />
iobroker scheint aber direkt nach dem start die berechtigungen zu ändern, innerhalb des containers auf "iobroker", im host-dateisystem ist das dann aber der user "andre" (id 1000). ich glaube, da liegt der hund begraben...</p>
]]></description><link>https://forum.iobroker.net/post/667621</link><guid isPermaLink="true">https://forum.iobroker.net/post/667621</guid><dc:creator><![CDATA[astrakid]]></dc:creator><pubDate>Sat, 21 Aug 2021 12:17:05 GMT</pubDate></item><item><title><![CDATA[Reply to iobroker startet nicht mehr: Cannot read system.config: null on Sat, 21 Aug 2021 11:25:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/astrakid" aria-label="Profile: astrakid">@<bdi>astrakid</bdi></a></p>
<p dir="auto">Vielleicht danach:</p>
<p dir="auto"><a href="https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1629541630785">https://forum.iobroker.net/topic/43325/mini-howto-cannot-find-view-system-for-search-host?_=1629541630785</a></p>
]]></description><link>https://forum.iobroker.net/post/667594</link><guid isPermaLink="true">https://forum.iobroker.net/post/667594</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Sat, 21 Aug 2021 11:25:39 GMT</pubDate></item></channel></rss>