<?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[[gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen]]></title><description><![CDATA[<p dir="auto">Hallo Forum!</p>
<p dir="auto">Ich habe hier schon kreuz und quer gelesen um mein Problem selbst zu lösen, leider schaffe ich es nicht und bitte euch wieder um Hilfe.</p>
<p dir="auto">Mein IOBroker läuft auf einem Raspberry Pi 4 (bullseye) völlig problemlos.<br />
Node.js  v16.17.0<br />
NPM  8.15.0<br />
Bei meinem letzem Update vom Javascript Adapter wird darauf hingewiesen, dass ich das Spiegelverzeichnis wechseln muss:</p>
<pre><code>Directory /opt/iobroker/backups/javascripte is not allowed to mirror files!
The Mirror directory is not allowed to be a central ioBroker directory!
</code></pre>
<p dir="auto">Bei meinem Versuch via WinSCP unter /home/iobroker ein neues backups/javascripte zu erstellen, scheitere ich an den Schreiberechten.<br />
Ich darf kein Unterverzeichnis erstellen. Eingeloggt bin ich mit dem "pi" User.<br />
In der Javainstanz habe ich den neuen Pfad eingetragen und die Meldung wird angezeigt:</p>
<pre><code>Cannot create directory /home/iobroker/backups/javascripte: Error: ENOENT: no such file or directory, mkdir '/home/iobroker/backups/javascripte'
</code></pre>
<p dir="auto">Auch über Putty habe ich das Verzeichnis zu erstellen versucht. Auch da bin ich nicht, wegen fehlender Rechte, weitergekommen.<br />
Mit "sudo" bin ich sehr vorsichtig, hat aber trotzdem nicht funktioniert.</p>
<p dir="auto">Ich bin hier überhaupt nicht sattelfest und möchte keinen Blödsinn verzapfen. Könnt ihr mir bitte weiterhelfen um das Spiegelverzeichnis korrekt einzurichten?</p>
<p dir="auto">Vielen Dank im voraus<br />
Tom</p>
]]></description><link>https://forum.iobroker.net/topic/58141/gelöst-keine-rechte-um-das-spiegelverzeichnis-zu-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 16:43:02 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/58141.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Sep 2022 08:11:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 10:58:04 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 dir!</p>
]]></description><link>https://forum.iobroker.net/post/860709</link><guid isPermaLink="true">https://forum.iobroker.net/post/860709</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 10:58:04 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 10:47:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tom_33" aria-label="Profile: tom_33">@<bdi>tom_33</bdi></a></p>
<blockquote>
<p dir="auto">Warum können die Verzeichnisse nicht unter "einmal" erstellt werden?</p>
</blockquote>
<p dir="auto">Weil der Befehl lautet: Lege das Verzeichnis javascripte im Verzeichnis /home/iobroker/backups an.<br />
Und das gibt es da noch nicht, wo soll es also hingeschrieben werden?</p>
<p dir="auto">Rekursiv / in einem Schritt hätte es so funktioniert:</p>
<pre><code>sudo -H -u pi mkdir -p /home/iobroker/backups/javascripte
</code></pre>
<p dir="auto">Ich hatte die Option -p aber gerade nicht parat.</p>
]]></description><link>https://forum.iobroker.net/post/860700</link><guid isPermaLink="true">https://forum.iobroker.net/post/860700</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 20 Sep 2022 10:47:52 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 10:07:08 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> sagte in <a href="/post/860676">Keine Rechte um das Spiegelverzeichnis zu erstellen</a>:</p>
<p dir="auto">Perfekt!<br />
Step by step hats funktioniert. Ich habe die Instanz neu gestartet und keinerlei Fehlermeldungen mehr bekommen.<br />
Meine Scripte sind auch schon im neuem Spiegelverzeichnis enthalten. Wenn möglich, kann/darf ich das Verzeichnis backups/javascripte unter <strong>/opt/iobroker</strong> löschen?</p>
<p dir="auto">Herzlichen Dank für die schnelle Hilfe!</p>
<p dir="auto">Wegen der Neugier: Warum können die Verzeichnisse nicht unter "einmal" erstellt werden?</p>
<pre><code>mkdir /home/iobroker/backups/javascripte 
</code></pre>
]]></description><link>https://forum.iobroker.net/post/860682</link><guid isPermaLink="true">https://forum.iobroker.net/post/860682</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 10:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 09:48:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tom_33" aria-label="Profile: tom_33">@<bdi>tom_33</bdi></a></p>
<pre><code>cd /home/iobroker
sudo -H -u iobroker mkdir backups
cd backups
sudo -H -u iobroker mkdir javascripte
</code></pre>
]]></description><link>https://forum.iobroker.net/post/860676</link><guid isPermaLink="true">https://forum.iobroker.net/post/860676</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 20 Sep 2022 09:48:41 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 09:11:31 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> sagte in <a href="/post/860662">Keine Rechte um das Spiegelverzeichnis zu erstellen</a>:</p>
<blockquote>
<p dir="auto">ls -lA /home</p>
</blockquote>
<p dir="auto">ok!</p>
<pre><code>
total 8
drwxr-xr-x 5 iobroker iobroker 4096 Dec  9  2021 iobroker
drwxr-xr-x 7 pi       pi       4096 Aug 24 08:49 pi

</code></pre>
]]></description><link>https://forum.iobroker.net/post/860667</link><guid isPermaLink="true">https://forum.iobroker.net/post/860667</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 09:11:31 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 09:09:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tom_33" aria-label="Profile: tom_33">@<bdi>tom_33</bdi></a><br />
Nein, du willst als User 'iobroker' agieren.</p>
<pre><code>ls -lA /home 
</code></pre>
]]></description><link>https://forum.iobroker.net/post/860662</link><guid isPermaLink="true">https://forum.iobroker.net/post/860662</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 20 Sep 2022 09:09:50 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 09:09:04 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> Ich bin ja unter User "pi" eingeloggt und habe den Befehl auf</p>
<pre><code>pi@raspberrypi:~ $ sudo -H -u pi mkdir /home/iobroker/backups/javascripte
</code></pre>
<p dir="auto">geändert. Leider mit dem selben Misserfolg.</p>
]]></description><link>https://forum.iobroker.net/post/860660</link><guid isPermaLink="true">https://forum.iobroker.net/post/860660</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 09:09:04 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 09:01:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a> Leider kann ich gar kein Verzeichnis unter <strong>home</strong> erstellen. Wenn ich ein Update/Upgrade mache, dann führe ich zum Schluss noch ein <strong>io fix</strong> aus. Da werden doch alle Berechtigungen sauber vegeben!?</p>
]]></description><link>https://forum.iobroker.net/post/860655</link><guid isPermaLink="true">https://forum.iobroker.net/post/860655</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 09:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:52:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tom_33" aria-label="Profile: tom_33">@<bdi>tom_33</bdi></a><br />
ich habe dies:<br />
/home/iobroker/Scripte</p>
<p dir="auto">Funktioniert.</p>
]]></description><link>https://forum.iobroker.net/post/860651</link><guid isPermaLink="true">https://forum.iobroker.net/post/860651</guid><dc:creator><![CDATA[bahnuhr]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:52:29 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:47:55 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> Dann sollte ich das wohl mal ändern :-) bei mir steht noch als Spiegelverzeichnis /opt/iobroker/... (Adapter v6.0.3) läuft ohne zu meckern</p>
]]></description><link>https://forum.iobroker.net/post/860650</link><guid isPermaLink="true">https://forum.iobroker.net/post/860650</guid><dc:creator><![CDATA[amg_666]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:47:55 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:43:04 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 für die schnelle Antwort.<br />
Mein System ist aber recht hartnäckig.</p>
<pre><code>pi@raspberrypi:~ $ sudo -H -u iobroker mkdir /home/iobroker/backups/javascripte
mkdir: cannot create directory ‘/home/iobroker/backups/javascripte’: No such file or directory
pi@raspberrypi:~ $

</code></pre>
]]></description><link>https://forum.iobroker.net/post/860648</link><guid isPermaLink="true">https://forum.iobroker.net/post/860648</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:43:04 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:44:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amg_666" aria-label="Profile: amg_666">@<bdi>amg_666</bdi></a> Soweit ich das verstehe, dürfen die backups nicht mehr unter <strong>opt</strong>  abgelegt werden. Es wird ab Version 5.? ein Verzeichnis ausserhalb von <strong>opt</strong> benötigt. Muss nicht <strong>home</strong> sein, wird aber empfohlen.</p>
]]></description><link>https://forum.iobroker.net/post/860647</link><guid isPermaLink="true">https://forum.iobroker.net/post/860647</guid><dc:creator><![CDATA[tom_33]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:44:37 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:39:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amg_666" aria-label="Profile: amg_666">@<bdi>amg_666</bdi></a> sagte in <a href="/post/860643">Keine Rechte um das Spiegelverzeichnis zu erstellen</a>:</p>
<blockquote>
<p dir="auto">Wieso heisst das denn /home/iobroker/...? Bei mir ist iobroker in /opt/iobroker/...</p>
</blockquote>
<p dir="auto">Weil das Spiegelverzeichnis eben nicht in /opt/iobroker sein soll muss es woanders hin, wo der user 'iobroker' schreiben darf. Sein /home bietet sich da an.</p>
]]></description><link>https://forum.iobroker.net/post/860646</link><guid isPermaLink="true">https://forum.iobroker.net/post/860646</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:38:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/amg_666" aria-label="Profile: amg_666">@<bdi>amg_666</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/tom_33" aria-label="Profile: tom_33">@<bdi>tom_33</bdi></a></p>
<pre><code>sudo -H -u iobroker mkdir /home/iobroker/backups/javascripte
</code></pre>
]]></description><link>https://forum.iobroker.net/post/860645</link><guid isPermaLink="true">https://forum.iobroker.net/post/860645</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to [gelöst] Keine Rechte um das Spiegelverzeichnis zu erstellen on Tue, 20 Sep 2022 08:33:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tom_33" aria-label="Profile: tom_33">@<bdi>tom_33</bdi></a> sagte in <a href="/post/860634">Keine Rechte um das Spiegelverzeichnis zu erstellen</a>:</p>
<p dir="auto">Wieso heisst das denn <strong>/home</strong>/iobroker/...? Bei mir ist iobroker in /opt/iobroker/...</p>
]]></description><link>https://forum.iobroker.net/post/860643</link><guid isPermaLink="true">https://forum.iobroker.net/post/860643</guid><dc:creator><![CDATA[amg_666]]></dc:creator><pubDate>Tue, 20 Sep 2022 08:33:29 GMT</pubDate></item></channel></rss>