<?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[Update JS-Controller: Scripte weg, Backup funkt. nicht]]></title><description><![CDATA[<p dir="auto">Hallo alle<br />
Ich hatte mit schon gefreut. JS-Controller auf die neueste Version upgedatet. Nodejs auf Version 16, alle Adapter aktualisiert und alle sind grün.<br />
Sah also erstmal gut aus.</p>
<pre><code>iobroker fix
</code></pre>
<p dir="auto">hab ich auch schon laufen lassen.</p>
<ul>
<li>
<p dir="auto">Wenn ich aber nun in meine Scripte gehe sind alle weg. Das hatte ich schon mal beim letzten JS-Controller update. Damals hab ich die manuell alle wieder angelegt.<br />
Mich würde nun interessieren ob man rausfinden kann warum das jedesmal passiert. Ich will die eigentlich nicht schon wieder manuell erzeugen.<br />
Vielleicht kann da jemand mit mir troubleshooten.</p>
</li>
<li>
<p dir="auto">Nächster Punkt: Das Backup der Scripte geht nicht (auch das war damals so). Und zwar bekomme ich den Fehler:</p>
</li>
</ul>
<pre><code>Started restore ...
[DEBUG] [javascripts] - Start Javascript Restore ...
[DEBUG] [javascripts] - Try deleting the old javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
[DEBUG] [javascripts] - old javascript_tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
[DEBUG] [javascripts] - Created javascript_tmp directory
[DEBUG] [javascripts] - decompress started ...
[ERROR] [javascripts] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/tmpScripts/'
[ERROR] [javascripts] - Javascript Restore not completed
[EXIT] 0
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1666653254051-34518cd0-af8d-461e-9241-ae28cb0405b9-image.png" alt="34518cd0-af8d-461e-9241-ae28cb0405b9-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Ich verstehe das so dass  Backitup versucht nach /opt/iobroker/backups/tmpScripts zu entpacken (nach er das directory selbst angelegt hat) und keine Rechte bekommt.<br />
Was ich nicht verstehe: Wenn das Programm in der Lage ist das alte tmpScripts zu löschen und danach ein Neues anzulegen: Warum hat er dann auf einmal keine Rechte in seinem selbst anlegeten Verzeichnis etwas zu entpacken?<br />
Dabei ist es übrigens egal ob ich hier<br />
"NAS" oder "lokal" einstelle:<br />
<img src="/assets/uploads/files/1666653460945-c9fe5ecd-6dce-45d1-b20e-8774d0699068-image.png" alt="c9fe5ecd-6dce-45d1-b20e-8774d0699068-image.png" class=" img-fluid img-markdown" /><br />
Ich hab mal mit Winscp nachgeschaut:<br />
<img src="/assets/uploads/files/1666653682600-d99c61b9-add1-4015-842d-5d56a33045fe-image.png" alt="d99c61b9-add1-4015-842d-5d56a33045fe-image.png" class=" img-fluid img-markdown" /><br />
Was mir auffällt ist, dass backup dem User "root" gehört. Sollte das  nicht durch "iobroker fix" gefixt werden? Müsste backup und alles was drin ist nicht dem User "iobroker" gehören?<br />
Ich habe deshalb mal den User und die Gruppe auf "iobroker" geändert aber die Fehlermeldung bleibt.<br />
Und was machen die *.tar files überhaupt hier? Denn ich mache eigentlich die Backups auf das NAS:</p>
<p dir="auto"><img src="/assets/uploads/files/1666653820217-1cd571da-c52a-42a7-ac51-286ca03addd1-image.png" alt="1cd571da-c52a-42a7-ac51-286ca03addd1-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Ist hier ev. was falsch eingestellt?<br />
Das Backup-Verzeichnis /Medien/server-extern/rock64/backit_up auf dem NAS (Synology) hab ich (damit ich vom Raspi leichter an die Dateien komme) gemountet unter /mnt/nas/backit_up.<br />
Aber das sollte doch auch kein Problem sein, oder?</p>
<p dir="auto">Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/topic/59318/update-js-controller-scripte-weg-backup-funkt-nicht</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 15:11:08 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/59318.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Oct 2022 23:30:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Wed, 04 Jan 2023 02:07:32 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> Super. Danke!</p>
]]></description><link>https://forum.iobroker.net/post/921660</link><guid isPermaLink="true">https://forum.iobroker.net/post/921660</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Wed, 04 Jan 2023 02:07:32 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Wed, 04 Jan 2023 00:10:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a> sagte in <a href="/post/879922">Update JS-Controller: Scripte weg, Backup funkt. nicht</a>:</p>
<blockquote>
<p dir="auto">Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/tmpScripts/'</p>
</blockquote>
<p dir="auto">Sollte mit Backitup 2.5.10 nicht mehr vorkommen.</p>
]]></description><link>https://forum.iobroker.net/post/921645</link><guid isPermaLink="true">https://forum.iobroker.net/post/921645</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Wed, 04 Jan 2023 00:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 19:30:57 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 habe es jetzt mal so eingestellt:<br />
<img src="/assets/uploads/files/1666726255365-00b9c20c-6f6a-4cb9-80a4-9c81c0a1c95a-image.png" alt="00b9c20c-6f6a-4cb9-80a4-9c81c0a1c95a-image.png" class=" img-fluid img-markdown" /><br />
Wenn ich einen Restore mache kommt wieder folgender Fehler:</p>
<pre><code>Started restore ...
[DEBUG] [javascripts] - Start Javascript Restore ...
[DEBUG] [javascripts] - Try deleting the old javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
[DEBUG] [javascripts] - old javascript_tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
[DEBUG] [javascripts] - Created javascript_tmp directory
[DEBUG] [javascripts] - decompress started ...
[ERROR] [javascripts] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/tmpScripts/'
[ERROR] [javascripts] - Javascript Restore not completed
[EXIT] 0
</code></pre>
<p dir="auto">Backup geht aber ohne Fehler.<br />
Ich hab auf der Syno mal das Protokoll abgegriffen:</p>
<pre><code>Protokoll,Uhrzeit,IP-Adresse,Benutzer,Ereignis,Datei/Ordner,DateigrÃ¶ÃŸe,Dateiname,
SMB,2022/10/25 21:22:23,192.168.111.176,iobroker,create,Ordner,NA,/Medien/server-extern/rock64/backit_up/iobroker/tmpScripts
SMB,2022/10/25 21:22:23,192.168.111.176,iobroker,delete,Ordner,NA,/Medien/server-extern/rock64/backit_up/iobroker/tmpScripts
SMB,2022/10/25 21:19:34,192.168.111.176,iobroker,delete,Ordner,NA,/Medien/server-extern/rock64/backit_up/iobroker/tmpScripts
SMB,2022/10/25 21:15:31,192.168.111.176,iobroker,delete,Ordner,NA,/Medien/server-extern/rock64/backit_up/iobroker/tmpScripts
SMB,2022/10/25 21:11:56,192.168.111.68,ralf,delete,Datei,20.00 KB,"/Daten/hobby/3D-Drucken/Werkzeug, Vorrichtungen/rz3100E918boxo"
...
</code></pre>
<p dir="auto">Viel erkennen tut mal leider nicht.<br />
Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879922</link><guid isPermaLink="true">https://forum.iobroker.net/post/879922</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 19:30:57 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 19:17:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a></p>
<p dir="auto">Ich kenne die synology nicht. Aber smb1 wird unter keinen Umständen mehr empfohlen. Wenn nicht 3 geht, dann maximal2. Und mach das oprtunistic locking aus, wenn es nicht benötigt wird.</p>
]]></description><link>https://forum.iobroker.net/post/879919</link><guid isPermaLink="true">https://forum.iobroker.net/post/879919</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 19:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 19:14:36 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><br />
Ich hab mal nachgesehen. Da war noch SMB2 eingestellt. Ist es so richtig?<br />
<img src="/assets/uploads/files/1666725228241-fb010513-9a5d-410a-a748-340211812379-image.png" alt="fb010513-9a5d-410a-a748-340211812379-image.png" class=" img-fluid img-markdown" /><br />
Was soll ich als Mindest SMB Protokoll einschalten? SMB2 oder SMB1?</p>
<p dir="auto">Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879918</link><guid isPermaLink="true">https://forum.iobroker.net/post/879918</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 19:14:36 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 19:08:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a> sagte in <a href="/post/879818">Update JS-Controller: Scripte weg, Backup funkt. nicht</a>:</p>
<blockquote>
<p dir="auto">Jetzt ist nichts mehr vom Synology gemounted oder?</p>
</blockquote>
<p dir="auto">Nein.</p>
<p dir="auto">Spricht die synology nicht smb 3.1.1?</p>
]]></description><link>https://forum.iobroker.net/post/879916</link><guid isPermaLink="true">https://forum.iobroker.net/post/879916</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 19:08:06 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 19:05: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></p>
<blockquote>
<p dir="auto">NFS? CIFS? Was soll es denn nun sein?</p>
</blockquote>
<p dir="auto">Ja, sag's mir. Keine Ahnung.<br />
Ob NFS, CIFS oder rote Beete: Ist mir eigentlich egal: Hauptsache es funktioniert.<br />
Im Backitup ist CIFS eingestellt. NFS hab ich auch ausprobiert (siehe oben) aber damit hat es nicht funktioniert. Siehe auch oben. Mit CIFS geht wenigstens der Backup jetzt.<br />
NFS war ja nur in der fstab eingestellt ,die ich ja jetzt auf Anweisung auskommentiert habe.<br />
So sieht grad die Einstellung im BackitUp Adapter aus:<br />
<img src="/assets/uploads/files/1666724654489-9d6f4f22-277b-44d9-9b9e-a8c7bcb7f96d-image.png" alt="9d6f4f22-277b-44d9-9b9e-a8c7bcb7f96d-image.png" class=" img-fluid img-markdown" /><br />
Wenn da was falsch ist stelle ich es gerne um.</p>
<p dir="auto">Fehler beim Restore</p>
<pre><code>Started restore ...
[DEBUG] [javascripts] - Start Javascript Restore ...
[DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
[DEBUG] [javascripts] - decompress started ...
[ERROR] [javascripts] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/tmpScripts/'
[ERROR] [javascripts] - Javascript Restore not completed
[EXIT] 0

</code></pre>
<p dir="auto">Ich hab nochmal "mount" ausgeführt:</p>
<pre><code>
pi@rock64:/mnt/nas$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1960728k,nr_inodes=490182,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=406912k,mode=755)
/dev/mmcblk0p1 on / type ext4 (rw,noatime,errors=remount-ro,commit=600)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=42,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/zram2 on /tmp type ext4 (rw,nosuid,relatime,discard)
/dev/mmcblk0p1 on /var/log.hdd type ext4 (rw,noatime,errors=remount-ro,commit=600)
/dev/zram1 on /var/log type ext4 (rw,relatime,discard)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=406908k,mode=700)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=406908k,mode=700,uid=1000,gid=1000)

</code></pre>
<p dir="auto">Jetzt ist nichts mehr vom Synology gemounted oder?<br />
Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879818</link><guid isPermaLink="true">https://forum.iobroker.net/post/879818</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 19:05:04 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 15:45:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a></p>
<p dir="auto">Irgendwie geht das hier kreuz und quer...<br />
NFS? CIFS? Was soll es denn nun sein?</p>
]]></description><link>https://forum.iobroker.net/post/879794</link><guid isPermaLink="true">https://forum.iobroker.net/post/879794</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 15:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 15:36:44 GMT]]></title><description><![CDATA[<p dir="auto">Nee..<br />
Restore geht immer noch nicht</p>
<pre><code>Started restore ...
[DEBUG] [javascripts] - Start Javascript Restore ...
[DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
[DEBUG] [javascripts] - decompress started ...
[ERROR] [javascripts] - Error: EPERM: operation not permitted, utime '/opt/iobroker/backups/tmpScripts/'
[ERROR] [javascripts] - Javascript Restore not completed
[EXIT] 0
</code></pre>
<p dir="auto">Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879791</link><guid isPermaLink="true">https://forum.iobroker.net/post/879791</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 15:36:44 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 15:35:50 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><br />
Ok. Ich hab mal den user iobroker auf der Synolgy angelegt.<br />
Jetzt hat das Backup geklappt:</p>
<pre><code>Started iobroker ...
[DEBUG] [mount] - noserverino option: false
[DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups"
[DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
[DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups"
[DEBUG] [mount] - mount successfully completed
[DEBUG] [mount] - done
[DEBUG] [iobroker] - host.rock64 9429 states saved

[DEBUG] [iobroker] - host.rock64 16884 objects saved

[DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_10_25-17_31_08_backupiobroker.tar.gz

[DEBUG] [iobroker] - done
[DEBUG] [javascripts] - Try deleting the old javascript_tmp directory: "/opt/iobroker/backups/tmpScripts"
[DEBUG] [javascripts] - old javascript_tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
[DEBUG] [javascripts] - Created javascript_tmp directory
[DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts"
[DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted
[DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_10_25-17_31_57_backupiobroker.tar.gz
[DEBUG] [javascripts] - done
[DEBUG] [cifs] - used copy path: /Medien/server-extern/rock64/backit_up/iobroker
[DEBUG] [cifs] - done
[DEBUG] [clean] - done
[DEBUG] [historyHTML] - new history html values created
[DEBUG] [historyHTML] - done
[DEBUG] [historyJSON] - new history json values created
[DEBUG] [historyJSON] - done
[DEBUG] [umount] - mount activ, umount is started ...
[DEBUG] [umount] - umount successfully completed
[DEBUG] [umount] - done
[EXIT] 0
</code></pre>
<p dir="auto">Jetzt muss ich nur noch versuchen ein Backup mit Scripten zurückzuspielen, denn das jetzige Tar file mit den Scripten ist 1kB gross. Da wird nicht viel drin sein.</p>
<p dir="auto">Ich frage mich immer noch warum die Scripte nach dem JS-Controller Update weg waren...<br />
Ich melde mich und sage ob ich den Restore hinbekommen habe.</p>
<p dir="auto">Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879789</link><guid isPermaLink="true">https://forum.iobroker.net/post/879789</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 15:35:50 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:35:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a></p>
<p dir="auto">Auf dem NFS-Server muss der iobroker entsprechende Rechte haben, also als user eingerichtet sein.</p>
]]></description><link>https://forum.iobroker.net/post/879693</link><guid isPermaLink="true">https://forum.iobroker.net/post/879693</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:35:11 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:33:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a><br />
Nee, jetzt kommt</p>
<pre><code>Started iobroker ...
[DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.111.180:/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups"
[ERROR] [mount] - [undefined mount.nfs: access denied by server while mounting 192.168.111.180:/Medien/server-extern/rock64/backit_up/iobroker

[ERROR] [mount] - Error: Command failed: sudo mount 192.168.111.180:/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups
mount.nfs: access denied by server while mounting 192.168.111.180:/Medien/server-extern/rock64/backit_up/iobroker

</code></pre>
]]></description><link>https://forum.iobroker.net/post/879692</link><guid isPermaLink="true">https://forum.iobroker.net/post/879692</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:33:49 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:32:33 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><br />
Genau. In der fstab stand "192.168.111.180:/volume1/Medien/server-extern/rock64 /mnt/nas nfs defaults,rw,users,x-systemd.automount,x-systemd.requires=network-online.target  0 0 "</p>
<p dir="auto">D.h. der Backitup hat das falsch gemounted? Ich schau mal ob man da was einstellen kann...<br />
Ah hier<br />
<img src="/assets/uploads/files/1666701134960-3cd95063-a95a-49df-a72c-06f346888839-image.png" alt="3cd95063-a95a-49df-a72c-06f346888839-image.png" class=" img-fluid img-markdown" /><br />
Soll ich das mal auf NFS umstellen?<br />
Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879689</link><guid isPermaLink="true">https://forum.iobroker.net/post/879689</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:32:33 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:22:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a> sagte in <a href="/post/879674">Update JS-Controller: Scripte weg, Backup funkt. nicht</a>:</p>
<pre><code>//192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker on /opt/iobroker/backups
</code></pre>
<p dir="auto">Das ist noch gemountet.<br />
Deswegen auch:</p>
<pre><code>[DEBUG] [mount] - mount activ... umount is started before mount!!
</code></pre>
<p dir="auto">Aber warum jetzt per smb/cifs? Hattest du nicht eben per nfs gemountet?</p>
]]></description><link>https://forum.iobroker.net/post/879678</link><guid isPermaLink="true">https://forum.iobroker.net/post/879678</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:19:52 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> Boah!<br />
Der sagt total viel</p>
<pre><code>pi@rock64:/mnt/nas$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1960728k,nr_inodes=490182,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=406912k,mode=755)
/dev/mmcblk0p1 on / type ext4 (rw,noatime,errors=remount-ro,commit=600)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=42,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
/dev/zram2 on /tmp type ext4 (rw,nosuid,relatime,discard)
/dev/mmcblk0p1 on /var/log.hdd type ext4 (rw,noatime,errors=remount-ro,commit=600)
/dev/zram1 on /var/log type ext4 (rw,relatime,discard)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=406908k,mode=700)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=406908k,mode=700,uid=1000,gid=1000)
//192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker on /opt/iobroker/backups type cifs (rw,relatime,vers=2.1,                                          cache=strict,username=backup,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.111.180,file_mode=0777,dir_mode=0777,soft,noun                                          ix,serverino,mapposix,rsize=1048576,wsize=1048576,bsize=1048576,echo_interval=60,actimeo=1)
pi@rock64:/mnt/nas$

</code></pre>
<p dir="auto">Ich hab auch mal versucht ein Backup zu machen. Auch hier kommt jetzt ein Fehler:</p>
<pre><code>Started iobroker ...
[DEBUG] [mount] - mount activ... umount is started before mount!!
[DEBUG] [mount] - device is busy... wait 2 Minutes!!
[DEBUG] [mount] - noserverino option: false
[DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups"
[DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
[DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups"
[ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

[ERROR] [mount] - Error: Command failed: sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.111.180/Medien/server-extern/rock64/backit_up/iobroker /opt/iobroker/backups
mount error(16): Device or resource busy
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
</code></pre>
<p dir="auto">Jetzt ist es wohl total verschraubt..<br />
Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879674</link><guid isPermaLink="true">https://forum.iobroker.net/post/879674</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:19:52 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:12:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a></p>
<pre><code>mount
</code></pre>
<p dir="auto">sagt?</p>
]]></description><link>https://forum.iobroker.net/post/879666</link><guid isPermaLink="true">https://forum.iobroker.net/post/879666</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 12:05:16 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/879626">Update JS-Controller: Scripte weg, Backup funkt. nicht</a>:</p>
<blockquote>
<p dir="auto">sudo umount /mnt/nas</p>
</blockquote>
<p dir="auto">Ok. Ich habe den unmount gemacht. Habe auch eine Bestätigung bekommen, dass das Verzeichnis nicht mehr gemountet ist, aber als ich auf der Synology eine Datei auf dem Verzeichnis angelegt habe war sie auf dem Rock64 trotzdem sichtbar. Scheint also nicht funktioniert zu haben. Dann hab ich den Eintrag in der fstab auskommentiert und neu gestartet.<br />
Danach war der Mountpoint weg:<br />
Guckst Du:</p>
<pre><code>pi@rock64:/mnt/nas$ ls /mnt/nas
musik
</code></pre>
<p dir="auto">Der backit_up folder ist weg.<br />
Dann habe ich in /opt/iobroker/backup alles rausgeschmissen was drin war.<br />
Danach bin in in den Backitup-Adapter und wollte die Scripte wiederherstellen. Da war aber kein tar file mehr gelistet.<br />
Auf dem NAS in /Medien/server-extern/rock64/backit_up/iobroker war auch nichts mehr zu finden.<br />
D.h. aber doch dass das Verzeichnis irgendwie doch noch gemountet war als ich die Dateien auf /opt/iobroker/backup gelöscht habe.</p>
<p dir="auto">Ergo habe ich die tarfiles die ich vorher noch gerettet hatte wieder auf der Synolgy nach .../backit_up/iobroker kopiert und über das Backitup-Addon versucht diese zu restoren. -&gt; gleicher Fehler.</p>
<p dir="auto">Ich hatte auch kurz im WinSCP unter /opt/iobroker/backup den Inhalt von der Synology also dem .../backit_up/iobroker Ordner gesehen. Nach dem Rstore Versuch war /opt/iobroker/backup  wieder leer.<br />
Also so wie es sein soll, oder?<br />
Dann sollte doch alles erstmal richtig konfiguriert sein.<br />
Aber der Fehler kommt leider trotzdem noch.<br />
Hier nochmal der aktuelle Zustand<br />
<img src="/assets/uploads/files/1666699381174-ec319f13-8dba-4204-9e25-afc38eaf3ee7-image.png" alt="ec319f13-8dba-4204-9e25-afc38eaf3ee7-image.png" class=" img-fluid img-markdown" /><br />
Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879650</link><guid isPermaLink="true">https://forum.iobroker.net/post/879650</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 12:05:16 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 11:15:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a> sagte in <a href="/post/879622">Update JS-Controller: Scripte weg, Backup funkt. nicht</a>:</p>
<blockquote>
<p dir="auto">Wie genau unmounten?<br />
Mit</p>
</blockquote>
<pre><code>sudo umount /mnt/nas
</code></pre>
<blockquote>
<p dir="auto">Oder einfach aus der fstab raus und neu starten?</p>
</blockquote>
<p dir="auto">Setz in die enstprechende Zeile als erstes Zeichen ein</p>
<pre><code>#
</code></pre>
<p dir="auto">als Kommentar, dann musst du die Zeile nicht löschen.</p>
<blockquote>
<p dir="auto">Was hat der mount mit dem Backitup zu tun?</p>
</blockquote>
<p dir="auto">Du willst doch deine Backups dorthin geschrieben haben, oder nicht?</p>
<blockquote>
<p dir="auto">Wir haben ja gesehen, dass auch lokal im backup Verzeichnis vom iobroker tar Dateien liegen (screenshot oben) und die sich auch nicht restoren lassen.</p>
</blockquote>
<p dir="auto">Das Verzeichnis <code>/opt/iobroker/backups</code> MUSS leer sein, wenn es als sog. mountpunkt fungiert.<br />
Also die jetzigen Dateien da raus/löschen und dann hängt der Backitup-Adapter die Freigabe des NAS genau dort ein und schreibt ganz stumpf, ohne wissen zu müssen ob das ein lokales oder ein entferntes Dateisystem ist, ein Backup dorthin. Am Ende wird das Verzeichnis wieder umounted und <code>/opt/iobroker/backups</code> ist leer, dafür liegen die Dateien auf dem NAS.</p>
]]></description><link>https://forum.iobroker.net/post/879626</link><guid isPermaLink="true">https://forum.iobroker.net/post/879626</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 11:15:53 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 11:00:41 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> Wie genau unmounten?<br />
Will nix falsch machen. Oder einfach aus der fstab raus und neu starten?<br />
Blöde Frage:<br />
Was hat der mount mit dem Backitup zu tun?<br />
Wir haben ja gesehen, dass auch lokal im backup Verzeichnis vom iobroker tar Dateien liegen (screenshot oben) und die sich auch nicht restoren lassen.<br />
Ich will's verstehen.</p>
<p dir="auto">Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879622</link><guid isPermaLink="true">https://forum.iobroker.net/post/879622</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 11:00:41 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 10:03:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a></p>
<p dir="auto">Das sollte ja POSIX-Rechte kennen.<br />
Nimm das mal aus der fstab raus und umounte es, dann ein Backup über Backitup (verwendest du doch, oder?) machen.</p>
]]></description><link>https://forum.iobroker.net/post/879596</link><guid isPermaLink="true">https://forum.iobroker.net/post/879596</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 10:03:49 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 09:09:16 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> Du meints das Dateisystem auf dem NAS?<br />
Das ist ein btrfs<br />
Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879567</link><guid isPermaLink="true">https://forum.iobroker.net/post/879567</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 09:09:16 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 06:43:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a></p>
<p dir="auto">Bleibt die Frage nach dem Dateisystem.</p>
]]></description><link>https://forum.iobroker.net/post/879521</link><guid isPermaLink="true">https://forum.iobroker.net/post/879521</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 06:43:36 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 06:33:54 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> So hab ich gemountetd</p>
<pre><code>UUID=0a7686cf-398a-47eb-94a3-edb01fafb523 / ext4 defaults,noatime,commit=600,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,nosuid 0 0 
192.168.111.180:/volume1/Medien/server-extern/rock64 /mnt/nas nfs defaults,rw,users,x-systemd.automount,x-systemd.requires=network-online.target  0 0 
</code></pre>
<p dir="auto">Die Version ist:v2.4.12</p>
<p dir="auto">Gruss Ralf</p>
]]></description><link>https://forum.iobroker.net/post/879519</link><guid isPermaLink="true">https://forum.iobroker.net/post/879519</guid><dc:creator><![CDATA[derrapf]]></dc:creator><pubDate>Tue, 25 Oct 2022 06:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to Update JS-Controller: Scripte weg, Backup funkt. nicht on Tue, 25 Oct 2022 05:12:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/derrapf" aria-label="Profile: derrapf">@<bdi>derrapf</bdi></a> sagte in <a href="/post/879489">Update JS-Controller: Scripte weg, Backup funkt. nicht</a>:</p>
<blockquote>
<p dir="auto">hab ich (damit ich vom Raspi leichter an die Dateien komme) gemountet unter /mnt/nas/backit_up.</p>
</blockquote>
<p dir="auto">Wie genau gemountet? Der Backitup-Adapter mountet selber (je nach Einstellung).<br />
Dateisystem der Freigabe? Wenn FAT, dann gilt:</p>
<p dir="auto"><a href="https://unix.stackexchange.com/questions/157523/fat-mountoption-allow-utime-explained" rel="nofollow ugc">https://unix.stackexchange.com/questions/157523/fat-mountoption-allow-utime-explained</a></p>
]]></description><link>https://forum.iobroker.net/post/879501</link><guid isPermaLink="true">https://forum.iobroker.net/post/879501</guid><dc:creator><![CDATA[Thomas Braun]]></dc:creator><pubDate>Tue, 25 Oct 2022 05:12:12 GMT</pubDate></item></channel></rss>