<?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[Wichtige Hinweise bei neueren npm-Versionen und sudo]]></title><description><![CDATA[<p dir="auto">Es kursieren überall alte Anleitungen zur Installation und Update von Adaptern, die mit neueren npm-Versionen zu Problem führen können. Speziell bei Kombination von <code>sudo</code> mit npm-Kommandos tritt dabei folgender Fehler (oder Varianten davon) auf:</p>
<pre><code>Error: EACCES: permission denied, scandir '/root/.npm/_logs'
</code></pre>
<p dir="auto">Daher bitte bei manuellen Installationen folgende Regeln beachten:</p>
<p dir="auto">1. Wann immer es zu vermeiden geht, <strong>kein</strong> <code>sudo</code> vor <code>npm</code>-Befehle setzen.</p>
<p dir="auto">2. Wenn es doch unbedingt nötig ist, <strong>unbedingt</strong> die Option <code>-H</code> angeben. <code>--unsafe-perm</code> vermeidet außerdem Probleme bei Installationsskripten. Also so</p>
<pre><code>sudo -H npm [Rest des Befehls] --unsafe-perm
</code></pre>
<p dir="auto">3. Ist man als root angemeldet (z.B. weil es keinen nicht-root-User gibt), empfiehlt sich bei der Adapter-Installation die Option <code>--unsafe-perm</code> anzugeben. Also</p>
<pre><code>npm install [Adaptername] --unsafe-perm
</code></pre>
<p dir="auto">4. Wurde zu früherem Zeitpunkt Regel 1 oder 2 missachtet, dann kann der ioBroker-Fixer Abhilfe schaffen:</p>
<pre><code>iobroker fix
</code></pre>
<p dir="auto">5. Für die <code>iobroker</code>-Befehle ist übrigens auch <strong>kein</strong> <code>sudo</code> nötig.</p>
]]></description><link>https://forum.iobroker.net/topic/17109/wichtige-hinweise-bei-neueren-npm-versionen-und-sudo</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 07:00:08 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/17109.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 Dec 2018 14:40:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 18 Mar 2021 11:42:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hanss" aria-label="Profile: hanss">@<bdi>hanss</bdi></a><br />
wenn man davon ausgeht, dass Deine Node Installation derzeit sauber ist, dann ist der allereinfachste Weg, in die Node Soureclist zu gehen und dort  einfach aus 10 eine 12  zu machen und danach ein "normales" System Update. Da so gleich die neuere Node 12 installiert wird.</p>
]]></description><link>https://forum.iobroker.net/post/600581</link><guid isPermaLink="true">https://forum.iobroker.net/post/600581</guid><dc:creator><![CDATA[Jan1]]></dc:creator><pubDate>Thu, 18 Mar 2021 11:42:25 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 18 Mar 2021 11:21:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hanss" aria-label="Profile: hanss">@<bdi>hanss</bdi></a> sagte in <a href="/post/600569">Wichtige Hinweise bei neueren npm-Versionen und sudo</a>:</p>
<blockquote>
<p dir="auto">st es wirklich zu empfehlen, die v12.21.0 zu installieren<br />
in kürze sowieso die 14!</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hanss" aria-label="Profile: hanss">@<bdi>hanss</bdi></a> sagte in <a href="/post/600569">Wichtige Hinweise bei neueren npm-Versionen und sudo</a>:</p>
<blockquote>
<p dir="auto">wenn ja, dann wie?</p>
</blockquote>
<p dir="auto"><a href="https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/3">https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian/3</a></p>
]]></description><link>https://forum.iobroker.net/post/600572</link><guid isPermaLink="true">https://forum.iobroker.net/post/600572</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Thu, 18 Mar 2021 11:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 18 Mar 2021 11:19:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: alcalzone">@<bdi>alcalzone</bdi></a><br />
Hallo,<br />
ich habe einen Raspberry 4  mit  Raspbian GNU/Linux 10 (buster) mit js-controller 3.1.6</p>
<p dir="auto">im Info steht:<br />
Node.js:    v10.23.2 (Es gibt eine neuere Version: v10.24.0 - Empfohlene Version v12.21.0)</p>
<p dir="auto">ist es wirklich zu empfehlen, die v12.21.0 zu installieren und wenn ja, dann wie?<br />
Danke</p>
]]></description><link>https://forum.iobroker.net/post/600569</link><guid isPermaLink="true">https://forum.iobroker.net/post/600569</guid><dc:creator><![CDATA[hanss]]></dc:creator><pubDate>Thu, 18 Mar 2021 11:19:48 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Sun, 13 Jan 2019 11:52:27 GMT]]></title><description><![CDATA[<p dir="auto">Du musst die install befehle auch unter /opt/iobroker ausführen, nicht in home verzeichnis</p>
<p dir="auto">Gesendet von unterwegs</p>
]]></description><link>https://forum.iobroker.net/post/211816</link><guid isPermaLink="true">https://forum.iobroker.net/post/211816</guid><dc:creator><![CDATA[AlCalzone]]></dc:creator><pubDate>Sun, 13 Jan 2019 11:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Sun, 13 Jan 2019 07:00:19 GMT]]></title><description><![CDATA[<p dir="auto">Moin,</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kueppert" aria-label="Profile: Kueppert">@<bdi>Kueppert</bdi></a> Du hast natürlich recht, habe das Kommando aus einem anderen Thread kopiert und genutzt, in der Hoffnung es würde funktionieren.</p>
<p dir="auto">mit</p>
<pre><code>sudo -H npm i iobroker.zwave -unsafe -perm
</code></pre>
<p dir="auto">komme ich schon einen Schritt weiter, aber die Installation wirft weiter Fehler.</p>
<p dir="auto">Ich nutze das Image vom 4.1.19 auf einem Raspberry Pi 2 Model B Rev 1.1</p>
<p dir="auto">Hier die Ausgabe während der Installation</p>
<blockquote>
<p dir="auto">! sudo -H npm i iobroker.zwave -unsafe -perm<br />
! &gt; iobroker.zwave@1.3.1 preinstall /home/pi/node_modules/iobroker.zwave<br />
! &gt; node lib/preinstall.js<br />
! –-&gt; find /tmp -name 'CentralScene.h'<br />
! ---&gt; find /usr/include/ -name 'CentralScene.h'<br />
! ---&gt; find /usr/local/include/ -name 'CentralScene.h'<br />
! CentralScene.h found in /usr/local/include/openzwave/command_classes/CentralScene.h<br />
! ---&gt; find /usr/local/include/ -name 'CentralScene.h'|grep 'createSupportedKeyAttributesValues'<br />
! ---&gt; Error: Command failed: find /usr/local/include/ -name 'CentralScene.h'|grep 'createSupportedKeyAttributesValues'<br />
! ---&gt; apt-get install libudev-dev -y<br />
! ---&gt; curl -L -O <a href="https://github.com/OpenZWave/open-zwave/archive/master.zip" rel="nofollow ugc">https://github.com/OpenZWave/open-zwave ... master.zip</a><br />
! % Total % Received % Xferd Average Speed Time Time Time Current<br />
! Dload Upload Total Spent Left Speed<br />
! 100 125 0 125 0 0 189 0 --:--:-- --:--:-- --:--:-- 189<br />
! 100 1878k 0 1878k 0 0 855k 0 --:--:-- 0:00:02 --:--:-- 1384k<br />
! ---&gt; rm -rf open-zwave-master<br />
! ---&gt; unzip master.zip &amp;&amp; rm master.zip<br />
! ---&gt; cd open-zwave-master &amp;&amp; curl -O -L <a href="https://github.com/OpenZWave/open-zwave/pull/1125.patch" rel="nofollow ugc">https://github.com/OpenZWave/open-zwave/pull/1125.patch</a> &amp;&amp; patch -p1 &lt; 1125.patch<br />
! % Total % Received % Xferd Average Speed Time Time Time Current<br />
! Dload Upload Total Spent Left Speed<br />
! 100 147 0 147 0 0 220 0 --:--:-- --:--:-- --:--:-- 220<br />
! 100 16081 0 16081 0 0 10628 0 --:--:-- 0:00:01 --:--:-- 26801<br />
! ---&gt; cd open-zwave-master &amp;&amp; make &amp;&amp; make install<br />
! In file included from /usr/include/c++/6/map:60:0,<br />
! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/CommandClasses.h:32,<br />
! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/ManufacturerSpecific.cpp:28:<br />
! /usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::iterator std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::_M_emplace_hint_unique(std::_Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::const_iterator, _Args&amp;&amp; ...) [with _Args = {const std::piecewise_construct_t&amp;, std::tuple&lt;long long/int&amp;&amp;=""&gt;, std::tuple&lt;&gt;}; _Key = long long int; _Val = std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;; _KeyOfValue = std::_Select1st &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;; _Compare = std::less&lt;long long/int=""&gt;; _Alloc = std::allocator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;]’:<br />
! /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree&lt;long long/int,/std::pair&lt;const/openzwave::manufacturerspecific::product*=""&gt;, std::_Select1st &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;, std::less&lt;long long/int=""&gt;, std::allocator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt; &gt;::const_iterator {aka std::_Rb_tree_const_iterator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;}’ will change in GCC 7.1<br />
! _Rb_tree&lt;_Key, _Val, _KeyOfValue, _Compare, _Alloc&gt;::<br />
! ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
! In file included from /usr/include/c++/6/map:61:0,<br />
! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/CommandClasses.h:32,<br />
! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/ManufacturerSpecific.cpp:28:<br />
! /usr/include/c++/6/bits/stl_map.h: In static member function ‘static bool OpenZWave::ManufacturerSpecific::LoadProductXML()’:<br />
! /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree&lt;long long/int,/std::pair&lt;const/openzwave::manufacturerspecific::product*=""&gt;, std::_Select1st &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;, std::less&lt;long long/int=""&gt;, std::allocator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt; &gt;::const_iterator {aka std::_Rb_tree_const_iterator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;}’ will change in GCC 7.1<br />
! __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,<br />
! ^~~<br />
! /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree&lt;long long/int,/std::pair&lt;const/openzwave::manufacturerspecific::product*=""&gt;, std::_Select1st &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;, std::less&lt;long long/int=""&gt;, std::allocator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt; &gt;::const_iterator {aka std::_Rb_tree_const_iterator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;}’ will change in GCC 7.1<br />
! __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,<br />
! ^~~<br />
! /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree&lt;long long/int,/std::pair&lt;const/openzwave::manufacturerspecific::product*=""&gt;, std::_Select1st &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;, std::less&lt;long long/int=""&gt;, std::allocator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt; &gt;::const_iterator {aka std::_Rb_tree_const_iterator &lt;std::pair&lt;const long/int,/openzwave::manufacturerspecific::product*=""&gt;&gt;}’ will change in GCC 7.1<br />
! __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,<br />
! ^~~<br />
! Makefile:224: Documentation not being built<br />
! npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'<br />
! npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'<br />
! npm WARN pi No description<br />
! npm WARN pi No repository field.<br />
! npm WARN pi No README data<br />
! npm WARN pi No license field.<br />
! + iobroker.zwave@1.3.1<br />
! updated 1 package and audited 6 packages in 810.501s<br />
! found 0 vulnerabilities&lt;/std::pair&lt;const&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/long&gt;&lt;/std::pair&lt;const&gt;&lt;/const&gt;&lt;/long&gt;</p>
</blockquote>
<p dir="auto">Was mich etwas stutzig macht ist, dass die Installation nach /home/pi erfolgt. iobroker läuft mit dem User iobroker</p>
<pre><code>ps aux | grep -i iobroker
avahi      282  0.0  0.3   6532  3176 ?        Ss   07:26   0:00 avahi-daemon: running [ioBroker-RasPi.local]
iobroker   414  4.2  7.5 153564 71628 ?        Ssl  07:27   1:13 iobroker.js-controller
iobroker   483  1.2  4.4 138768 42332 ?        Sl   07:27   0:22 io.admin.0
iobroker   489  0.2  3.1 117532 30200 ?        Sl   07:27   0:04 io.discovery.0
iobroker   503  2.5  5.7 140956 54672 ?        Sl   07:27   0:43 io.tr-064.0
iobroker   509  6.8  3.9 122540 37520 ?        Sl   07:27   1:57 io.hue.0
iobroker   524  0.7  3.5 118624 33332 ?        Sl   07:27   0:13 io.ping.0
iobroker   541  0.4  3.5 129012 33288 ?        Sl   07:27   0:06 io.web.0
iobroker   555  0.2  3.2 117192 30644 ?        Sl   07:27   0:04 io.history.0
iobroker   575  1.6  8.6 164592 82304 ?        Sl   07:27   0:27 io.javascript.0
iobroker   585  0.5  3.8 132476 36996 ?        Sl   07:27   0:09 io.fritzdect.0
iobroker   591  1.5  8.6 164080 81836 ?        Sl   07:27   0:26 io.javascript.1
root      1417  0.0  0.0   4776   568 pts/0    S+   07:56   0:00 grep -i iobroker

</code></pre>
<p dir="auto">Bin noch relativ frisch dabei ( wie man am Aufruf mit -usafe sehen kann :-) ) Freue mich daher über jede Hilfe, wie ich den Zwave-Adapter zum Fliegen bringen kann.</p>
<p dir="auto">Grüße Detlev.</p>
]]></description><link>https://forum.iobroker.net/post/211600</link><guid isPermaLink="true">https://forum.iobroker.net/post/211600</guid><dc:creator><![CDATA[boni127]]></dc:creator><pubDate>Sun, 13 Jan 2019 07:00:19 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Sat, 12 Jan 2019 14:55:25 GMT]]></title><description><![CDATA[<p dir="auto">Hallo zusammen,</p>
<p dir="auto">was soll ich sagen: <strong><strong>funktioniert jetzt ??!!!!</strong></strong></p>
<p dir="auto">Was habe ich eben einfach mal gemacht: <strong><strong>erst auf der console (putty) iobroker stop dann einen reboot von ioBroker via commando auf der Konsole "reboot"</strong></strong></p>
<p dir="auto">Bei allen meinen hier im Thread vorangegangenen doings habe ich danach nie einen reboot gemacht. Ggf. lag es daran, dass ich weiterhin die npm-Fehler hatte?!</p>
<p dir="auto">Vielen Dank an AlCalzone für die geposteten Befehle.</p>
<p dir="auto">@Calzone: Muss man nach den von dir genannten Befehlen immer einen reboot machen? Wenn nein, war vermutlich bei mit das Freischalten des root die Lösung des Problems…</p>
]]></description><link>https://forum.iobroker.net/post/211267</link><guid isPermaLink="true">https://forum.iobroker.net/post/211267</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Sat, 12 Jan 2019 14:55:25 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Sat, 12 Jan 2019 08:51:09 GMT]]></title><description><![CDATA[<p dir="auto">Ich denke, wenn keinem mehr etwas einfällt, werde ich es erst Mal mit meinem Backup versuchen. Ist noch nicht lang her (Snspshot).</p>
<p dir="auto">Vielleicht noch interessant: hab auch den js Adapter auf 4.0.7 angehoben. Kam von der letzten 3er Version. Hab aber gelesen, dass eigentlich nur die Optik geändert wurde.</p>
<p dir="auto">Danke aber schon Mal für die Unterstützung und viele Grüße, Thorsten</p>
<p dir="auto">Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk</p>
]]></description><link>https://forum.iobroker.net/post/210983</link><guid isPermaLink="true">https://forum.iobroker.net/post/210983</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Sat, 12 Jan 2019 08:51:09 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Fri, 11 Jan 2019 17:17:22 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/boni127" aria-label="Profile: boni127">@<bdi>boni127</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Moin ,</p>
<p dir="auto">leider doch nicht gelöst.</p>
<p dir="auto">ich habe die gleichen Probleme:</p>
<p dir="auto">Über die Konsole bekomme ich:</p>
<pre><code>npm i iobroker.zwave —usafe-perm
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-01-11T16_25_56_781Z-debug.log

</code></pre>
<p dir="auto">auch mit su</p>
<pre><code>sudo -H less /root/.npm/_logs/2019-01-11T16_26_20_359Z-debug.log
pi@ioBroker-RasPi:~ $ npm i iobroker.zwave —usafe-perm
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-01-11T16_31_55_164Z-debug.log

</code></pre>
<p dir="auto">Freue mich über jeden hilfreichen Hinweis</p>
<p dir="auto">Detlev. `</p>
</blockquote>
<p dir="auto">Hi Detlev,</p>
<p dir="auto">wie kommst denn auf das commando````<br />
—usafe -perm</p>
<pre><code class="language-??"></code></pre>
]]></description><link>https://forum.iobroker.net/post/210848</link><guid isPermaLink="true">https://forum.iobroker.net/post/210848</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Fri, 11 Jan 2019 17:17:22 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Fri, 11 Jan 2019 18:52:16 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: AlCalzone">@<bdi>AlCalzone</bdi></a>:</s></p>
<blockquote>
<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/kueppert" aria-label="Profile: Kueppert">@<bdi>Kueppert</bdi></a>:</s></p>
<blockquote>
<p dir="auto">aber denke, wenn ich mein Problem mit npm gelöst bekomme, dass das anderen helfen könnte… `<br />
Definitiv - ich stochere bei dir allerdings noch etwas im Dunkeln. Hilft es möglicherweise, wenn du als root die folgenden Befehle ausführst?</p>
</blockquote>
<pre><code>chown -R root:root /root
chown -R thorsten:thorsten /home/thorsten
```` `  
</code></pre>
</blockquote>
<p dir="auto">Hallo AlCalzone,</p>
<p dir="auto">habe beide Befehle als root via Putty eigegeben und danach direkt mal nen Update vom PAW ausprobiert. Leider kein Erfolg:</p>
<blockquote>
<p dir="auto">! $ ./iobroker upgrade paw<br />
! Update paw from @0.2.6 to @0.2.7<br />
! NPM version: 6.5.0<br />
! npm install iobroker.paw@0.2.7 –production --save --prefix "/opt/iobroker" (System call)<br />
! npm<br />
! ERR! path /root/.npm/_logsnpm ERR! code EACCES<br />
! npm ERR! errno -13<br />
! npm ERR! syscall scandir<br />
! npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'<br />
! npm ERR! at Error (native)<br />
! npm ERR! { Error: EACCES: permission denied, scandir '/root/.npm/_logs'<br />
! npm ERR! at Error (native)<br />
! npm ERR! stack: 'Error: EACCES: permission denied, scandir '/root/.npm/_logs'\n at Error (native)',<br />
! npm ERR! errno: -13,<br />
! npm ERR! code: 'EACCES',<br />
! npm ERR! syscall: 'scandir',<br />
! npm ERR! path: '/root/.npm/_logs' }<br />
! npm ERR!<br />
! npm ERR! The operation was rejected by your operating system.<br />
! npm ERR! It is likely you do not have the permissions to access this file as the current user<br />
! npm ERR!<br />
! npm ERR! If you believe this might be a permissions issue, please double-check the<br />
! npm ERR! permissions of the file and its containing directories, or try running<br />
! npm ERR! the command again as root/Administrator (though this is not recommended).<br />
! glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs' at Error (native)<br />
! stack: 'Error: EACCES: permission denied, scandir '/root/.npm/_logs'\n at Error (native)',<br />
! errno: -13,<br />
! code: 'EACCES',<br />
! syscall: 'scandir',<br />
! path: '/root/.npm/_logs' }<br />
! npm ERR! path /root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74fnpm ERR! code EACCES<br />
! npm ERR! errno -13<br />
! npm ERR! syscall open<br />
! npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'npm ERR! at Error (native)<br />
! npm ERR! { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'<br />
! npm ERR! at Error (native)<br />
! npm ERR! cause:<br />
! npm ERR! { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'<br />
! npm ERR! at Error (native)<br />
! npm ERR! errno: -13,<br />
! npm ERR! code: 'EACCES',<br />
! npm ERR! syscall: 'open',<br />
! npm ERR! path: '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' },<br />
! npm ERR! isOperational: true,<br />
! npm ERR! stack: 'Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'\n at Error (native)',<br />
! npm ERR! errno: -13,<br />
! npm ERR! code: 'EACCES',<br />
! npm ERR! syscall: 'open',<br />
! npm ERR! path: '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' }<br />
! npm ERR!<br />
! npm ERR! The operation was rejected by your operating system.<br />
! npm ERR! It is likely you do not have the permissions to access this file as the current user<br />
! npm ERR!<br />
! npm ERR! If you believe this might be a permissions issue, please double-check the<br />
! npm ERR! permissions of the file and its containing directories, or try running<br />
! npm ERR! the command again as root/Administrator (though this is not recommended).<br />
! npm<br />
! WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.<br />
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):npm<br />
! WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 (node_modules/@abandonware/bluetooth-hci-socket):<br />
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall: <code>npm install node-pre-gyp</code><br />
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 243<br />
! npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.paw"<br />
! npm notice created a lockfile as package-lock.json. You should commit this file.<br />
! got /opt/iobroker/node_modules/iobroker.paw/admin<br />
! upload [17] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/words.js words.js application/javascript<br />
! Update "system.adapter.paw.0"<br />
! upload [16] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/paw.png paw.png image/png<br />
! upload [15] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/index_m.html index_m.html text/html<br />
! upload [14] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/index.html index.html text/html<br />
! upload [13] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/img/card_logo4.jpg img/card_logo4.jpg image/jpeg<br />
! upload [12] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/img/card_logo3.jpg img/card_logo3.jpg image/jpeg<br />
! upload [11] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/img/card_logo2.jpg img/card_logo2.jpg image/jpeg<br />
! upload [10] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/img/card_logo1.jpg img/card_logo1.jpg image/jpeg<br />
! upload [9] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/img/Screenshot_2.jpg img/Screenshot_2.jpg image/jpeg<br />
! upload [8] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/img/Screenshot_1.jpg img/Screenshot_1.jpg image/jpeg<br />
! upload [7] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/ru/translations.json i18n/ru/translations.json application/json<br />
! upload [6] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/pt/translations.json i18n/pt/translations.json application/json<br />
! upload [5] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/nl/translations.json i18n/nl/translations.json application/json<br />
! upload [4] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/it/translations.json i18n/it/translations.json application/json<br />
! upload [3] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/fr/translations.json i18n/fr/translations.json application/json<br />
! upload [2] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/es/translations.json i18n/es/translations.json application/json<br />
! upload [1] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/en/translations.json i18n/en/translations.json application/json<br />
! upload [0] paw.admin /opt/iobroker/node_modules/iobroker.paw/admin/i18n/de/translations.json i18n/de/translations.json application/json<br />
! Adapter "paw" updated<br />
! process exited with code 0</p>
</blockquote>
<p dir="auto">Hatte gestern auch versucht, nen anderen Adapter (zigbee von artek) via Katze und eigener URL upzudaten. Das klappt garnicht mehr :( Könnte das nochmal machen und die Fehlermeldung hier einstellen wenn gewünscht.</p>
<p dir="auto">Wenn ich als <strong><strong>root</strong></strong> via putty den MC öffne, komme ich auch in den Ordner root/.npm rein…sehr komisch.</p>
<p dir="auto">Versuche ich genau das gleiche als User <strong><strong>thorsten</strong></strong>, habe ich keinen Zugriff auf root/.npm</p>
<p dir="auto"><strong><strong>HINWEIS:</strong></strong></p>
<p dir="auto">So, habe nun in der sshd_config auch den root-User als Anmeldung zugelassen und danach nochmal das Update vom zigbee-Adapter via Katze ausprobiert. Diesmal war die Fehlermeldung sehr viel kürzer:</p>
<blockquote>
<p dir="auto">! $ ./iobroker url "<a href="https://github.com/arteck/ioBroker.zigbee" rel="nofollow ugc">https://github.com/arteck/ioBroker.zigbee</a>" –debug<br />
! install <a href="https://github.com/arteck/ioBroker.zigbee/tarball/master" rel="nofollow ugc">https://github.com/arteck/ioBroker.zigb ... all/master</a><br />
! npm install <a href="https://github.com/arteck/ioBroker.zigbee/tarball/master" rel="nofollow ugc">https://github.com/arteck/ioBroker.zigb ... all/master</a> --production --save --prefix "/opt/iobroker" (System call)<br />
! npm ERR! code 128<br />
! npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master <a href="https://github.com/Koenkk/zcl-id.git" rel="nofollow ugc">https://github.com/Koenkk/zcl-id.git</a> /root/.npm/_cacache/tmp/git-clone-89ea96f0npm ERR! fatal: Konnte führende Verzeichnisse von '/root/.npm/_cacache/tmp/git-clone-89ea96f0' nicht erstellen.: Keine Berechtigung<br />
! npm ERR!<br />
! npm ERR!<br />
! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2019-01-11T18_47_28_394Z-debug.log<br />
! process exited with code 0</p>
</blockquote>
<p dir="auto">Hat also aber auch nix geholfen :( jetzt hab ich keine Idee mehr - außer npm (heisst das java etc???) neu zu installieren…</p>
<p dir="auto">Gehe ich direkt via putty (Anmeldung DIREKT als User root, was nun klappt, in den MC, kann ich problemlos auf das Verzeichnis zugreifen...gibts doch nicht...).</p>
<p dir="auto">Könnte noch über die Konsole den zigbee-Adapter updaten, aber das probiere ich erst nach Anweisung ;)</p>
]]></description><link>https://forum.iobroker.net/post/210842</link><guid isPermaLink="true">https://forum.iobroker.net/post/210842</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Fri, 11 Jan 2019 18:52:16 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Fri, 11 Jan 2019 16:34:42 GMT]]></title><description><![CDATA[<p dir="auto">Moin ,</p>
<p dir="auto">leider doch nicht gelöst.</p>
<p dir="auto">ich habe die gleichen Probleme:</p>
<p dir="auto">Über die Konsole bekomme ich:</p>
<pre><code>npm i iobroker.zwave —usafe-perm
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-01-11T16_25_56_781Z-debug.log

</code></pre>
<p dir="auto">auch mit su</p>
<pre><code>sudo -H less /root/.npm/_logs/2019-01-11T16_26_20_359Z-debug.log
pi@ioBroker-RasPi:~ $ npm i iobroker.zwave —usafe-perm
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-01-11T16_31_55_164Z-debug.log

</code></pre>
<p dir="auto">Das Logfile schreibt:</p>
<pre><code>0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli   '/usr/bin/npm',
1 verbose cli   'i',
1 verbose cli   'iobroker.zwave',
1 verbose cli   '—usafe-perm' ]
2 info using npm@6.4.1
3 info using node@v8.15.0
4 verbose npm-session b54ceb41fee903c9
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData error for iobroker.zwave@latest install iobroker.zwave —usafe-perm is not a legal HTTP header value
8 timing stage:rollbackFailedOptional Completed in 18ms
9 timing stage:runTopLevelLifecycles Completed in 1717ms
10 verbose stack Error: Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.
10 verbose stack     at invalidTagName (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:87:15)
10 verbose stack     at fromRegistry (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:290:13)
10 verbose stack     at resolve (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:77:12)
10 verbose stack     at npa (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:48:10)
10 verbose stack     at /usr/lib/node_modules/npm/lib/install/deps.js:209:14
10 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
10 verbose stack     at Array.forEach (&lt;anonymous&gt;)
10 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
10 verbose stack     at Array.forEach (&lt;anonymous&gt;)
10 verbose stack     at asyncMap (/usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
10 verbose stack     at exports.getAllMetadata (/usr/lib/node_modules/npm/lib/install/deps.js:206:3)
10 verbose stack     at Installer.loadArgMetadata (/usr/lib/node_modules/npm/lib/install.js:360:3)
10 verbose stack     at /usr/lib/node_modules/npm/lib/install.js:695:16
10 verbose stack     at BB.join.then (/usr/lib/node_modules/npm/lib/install/read-shrinkwrap.js:34:16)
10 verbose stack     at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
10 verbose stack     at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
11 verbose cwd /home/pi
12 verbose Linux 4.14.79-v7+
13 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "iobroker.zwave" "—usafe-perm"
14 verbose node v8.15.0
15 verbose npm  v6.4.1
16 error code EINVALIDTAGNAME
17 error Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.
18 verbose exit [ 1, true ]&lt;/anonymous&gt;&lt;/anonymous&gt; 
</code></pre>
<p dir="auto">Freue mich über jeden hilfreichen Hinweis</p>
<p dir="auto">Detlev.</p>
]]></description><link>https://forum.iobroker.net/post/210831</link><guid isPermaLink="true">https://forum.iobroker.net/post/210831</guid><dc:creator><![CDATA[boni127]]></dc:creator><pubDate>Fri, 11 Jan 2019 16:34:42 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Fri, 11 Jan 2019 07:40:50 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/kueppert" aria-label="Profile: Kueppert">@<bdi>Kueppert</bdi></a>:</s></p>
<blockquote>
<p dir="auto">aber denke, wenn ich mein Problem mit npm gelöst bekomme, dass das anderen helfen könnte… `<br />
Definitiv - ich stochere bei dir allerdings noch etwas im Dunkeln. Hilft es möglicherweise, wenn du als root die folgenden Befehle ausführst?</p>
</blockquote>
<pre><code>chown -R root:root /root
chown -R thorsten:thorsten /home/thorsten
</code></pre>
]]></description><link>https://forum.iobroker.net/post/210636</link><guid isPermaLink="true">https://forum.iobroker.net/post/210636</guid><dc:creator><![CDATA[AlCalzone]]></dc:creator><pubDate>Fri, 11 Jan 2019 07:40:50 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Fri, 11 Jan 2019 07:21:06 GMT]]></title><description><![CDATA[<p dir="auto">Jetzt fehlt mir nur noch Hilfe :) war schon versucht mein Backup einzuspielen, aber denke, wenn ich mein Problem mit npm gelöst bekomme, dass das anderen helfen könnte…</p>
<p dir="auto">Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk</p>
]]></description><link>https://forum.iobroker.net/post/210634</link><guid isPermaLink="true">https://forum.iobroker.net/post/210634</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Fri, 11 Jan 2019 07:21:06 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 17:33:02 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: AlCalzone">@<bdi>AlCalzone</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Wir kommen der Sache näher!</p>
<pre><code>sudo chown -R iobroker:iobroker /home/iobroker
```` `  
</code></pre>
</blockquote>
<p dir="auto">falsch - wir haben es geschafft!</p>
<pre><code>$ ./iobroker add smartmeter  --host ioBroker-Strom
NPM version: 6.4.1
npm install iobroker.smartmeter --production --save --prefix "/opt/iobroker" (System call)
host.ioBroker-Strom install adapter smartmeter
got /opt/iobroker/node_modules/iobroker.smartmeter/admin
upload [5] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/words.js words.js application/javascript
upload [4] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/tooltip.css tooltip.css text/css
upload [3] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/smartmeter.png smartmeter.png image/png
upload [2] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/smartmeter.jpg smartmeter.jpg image/jpeg
upload [1] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/questionmark.png questionmark.png image/png
upload [0] smartmeter.admin /opt/iobroker/node_modules/iobroker.smartmeter/admin/index.html index.html text/html
host.ioBroker-Strom object system.adapter.smartmeter created
host.ioBroker-Strom create instance smartmeter
host.ioBroker-Strom object system.adapter.smartmeter.0.outputCount created
host.ioBroker-Strom object system.adapter.smartmeter.0.inputCount created
host.ioBroker-Strom object system.adapter.smartmeter.0.uptime created
host.ioBroker-Strom object system.adapter.smartmeter.0.memRss created
host.ioBroker-Strom object system.adapter.smartmeter.0.memHeapTotal created
host.ioBroker-Strom object system.adapter.smartmeter.0.memHeapUsed created
host.ioBroker-Strom object system.adapter.smartmeter.0.connected created
host.ioBroker-Strom object system.adapter.smartmeter.0.alive created
host.ioBroker-Strom object system.adapter.smartmeter.0 created
process exited with code 0
</code></pre>
<p dir="auto">Vielen,vielen Dank! Die Hilfestellungen haben mir geholfen, das System besser zu verstehen.</p>
]]></description><link>https://forum.iobroker.net/post/210451</link><guid isPermaLink="true">https://forum.iobroker.net/post/210451</guid><dc:creator><![CDATA[Kaldi]]></dc:creator><pubDate>Thu, 10 Jan 2019 17:33:02 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 16:57:17 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: AlCalzone">@<bdi>AlCalzone</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Laut deiner Ausgabe läuft ioBroker auch als root. Wie es dann zu dem Zugriffsproblem kommt ist mir schleierhaft.</p>
<p dir="auto">Schau mal was folgende Befehle ausgeben:</p>
<pre><code>ls -la /opt/iobroker
</code></pre>
<p dir="auto">und</p>
<pre><code>ls -la /root/.npm
```` `  
</code></pre>
</blockquote>
<p dir="auto">Hi AlCalzone,</p>
<p dir="auto">habe dir jetzt den kompletten Verlauf meiner Anmeldung und der beiden Befehle angehangen.</p>
<p dir="auto"><strong><strong>Wenn ich mich anmelde, dann als User thorsten und PW, dann sudo su und nochmal mein PW, damit ich als root weiterarbeiten kann</strong></strong></p>
<p dir="auto">Ich denke, das ist wichtig an der Stelle?! Die direkte Anmeldung als root ist nicht möglich (hab ich am Anfang in der Konfig nicht hinterlegt, sollte wohl unsicher sein?)</p>
<p dir="auto">führe ich ohne den Wechsel auf den root-User den Befehl````<br />
ps | aux grep js-controller</p>
<pre><code class="language-aus,">
&gt;! thorsten 3940 0.0 0.0 12784 1020 pts/0 S+ 17:53 0:00 grep js-controller
&gt;! root 14667 4.3 8.4 1345676 173188 ? Ssl Jan08 120:57 iobroker.js-controller
&gt;! thorsten@iobrokerNUC:~$ 

Und hier die Ausgabe putty für deine angefragten beiden Befehle:

&gt;! login as: thorsten
&gt;! thorsten@192.168.178.69's password:
&gt;! Linux iobrokerNUC 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64
&gt;! The programs included with the Debian GNU/Linux system are free software;
&gt;! the exact distribution terms for each program are described in the
&gt;! individual files in /usr/share/doc/*/copyright.
&gt;! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
&gt;! permitted by applicable law.
&gt;! Last login: Wed Jan 9 16:57:26 2019 from 192.168.178.20
&gt;! thorsten@iobrokerNUC:~$ sudo su
&gt;! [sudo] Passwort für thorsten:
&gt;! root@iobrokerNUC:/home/thorsten# ls -la /opt/iobroker
&gt;! insgesamt 352
&gt;! drwxrwxrwx 7 root root 4096 Jan 9 17:18 .
&gt;! drwxr-xr-x 3 root root 4096 Sep 1 01:30 ..
&gt;! drwxrwxrwx 2 1024 users 0 Jan 10 03:05 backups
&gt;! drwxrwxrwx 2 root root 4096 Jul 3 2018 cache
&gt;! -rwxrwxrwx 1 root root 297 Jun 2 2018 install.sh
&gt;! -rwxrwxrwx 1 root root 67 Jun 2 2018 iobroker
&gt;! drwxrwxrwx 7 root root 4096 Aug 19 11:43 iobroker-data
&gt;! -rwxrwxrwx 1 root root 92 Jun 2 2018 killall.sh
&gt;! drwxrwxrwx 2 root root 4096 Jan 10 01:03 log
&gt;! drwxrwxrwx 872 root root 36864 Jan 9 17:18 node_modules
&gt;! -rwxrwxrwx 1 root root 19 Jun 2 2018 .npmrc
&gt;! -rwxrwxrwx 1 root root 2130 Jan 9 17:18 package.json
&gt;! -rwxrwxrwx 1 root root 273967 Jun 2 2018 package-lock.json
&gt;! -rwxrwxrwx 1 root root 709 Jun 2 2018 reinstall.sh
&gt;! root@iobrokerNUC:/home/thorsten# ls -la /root/.npm
&gt;! insgesamt 1240
&gt;! drwxr-xr-x 305 root thorsten 12288 Jul 28 20:27 .
&gt;! drwx–---- 9 root root 4096 Dez 25 13:26 ..
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 accepts
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 acme
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 acme-v2
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 after
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ajv
&gt;! -rw-r--r-- 1 root root 174 Jan 9 17:19 anonymous-cli-metrics.json
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ansi-regex
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 any-promise
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 arraybuffer.slice
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 array-flatten
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 asn1
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 asn1js
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 assert-plus
&gt;! drwxr-xr-x 5 root thorsten 4096 Jun 2 2018 async
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 asynckit
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 aws4
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 aws-sign2
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 backo2
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 balanced-match
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 base64-arraybuffer
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 base64id
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 bcrypt-pbkdf
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 better-assert
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 bindings
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 blob
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 bluebird
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 body-parser
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 brace-expansion
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 buffer-v6-polyfill
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 builtin-modules
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 busboy
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 bytes
&gt;! drwxr-xr-x 5 root thorsten 4096 Jan 8 20:02 _cacache
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 callsite
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 camelcase
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 caseless
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 certpem
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 chownr
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 cliui
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 co
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 code-point-at
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 colors
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 combined-stream
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 commander
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 component-bind
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 component-emitter
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 component-inherit
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 concat-map
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 connect-flash
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 content-disposition
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 content-type
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 cookie
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 cookie-parser
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 cookie-signature
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 core-js
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 core-util-is
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 crc
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 cron-parser
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 cycle
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 daemonize2
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 dashdash
&gt;! drwxr-xr-x 6 root thorsten 4096 Jun 2 2018 debug
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 decamelize
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 deep-equal
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 define-properties
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 delayed-stream
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 depd
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 destroy
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 dgram
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 dicer
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 dns-packet
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 double-ended-queue
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ecc-jsbn
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ee-first
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 encodeurl
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 engine.io
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 engine.io-client
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 engine.io-parser
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 error-ex
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 es6-promise
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 escape-html
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 etag
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 express
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 express-fileupload
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 express-session
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 extend
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 extsprintf
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 eyes
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fast-deep-equal
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fast-json-stable-stringify
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 finalhandler
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 find-up
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 foreach
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 forever-agent
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 form-data
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 forwarded
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fresh
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fs-extra
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fs-minipass
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fs.realpath
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 fs-symlink
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 function-bind
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 get-caller-file
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 getpass
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 glob
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 glossy
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 graceful-fs
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 greenlock
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 har-schema
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 har-validator
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 has-binary
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 has-cors
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 has-symbols
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 hosted-git-info
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 http-errors
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 http-signature
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 i
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 iconv-lite
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 immediate
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 indexof
&gt;! drwxr-xr-x 3 root root 4096 Jun 2 2018 index-v5
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 inflight
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 inherits
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 invert-kv
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 iobroker
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 iobroker.admin
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 iobroker.discovery
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 iobroker.js-controller
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ip
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ipaddr.js
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 isarray
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is-arrayish
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is-builtin-module
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is-fullwidth-code-point
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is-nan
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 isstream
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is-typedarray
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 is-utf8
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 jsbn
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 json3
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 jsonfile
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 json-schema
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 json-schema-traverse
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 json-stringify-safe
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 jsprim
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 jszip
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 lcid
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 le-acme-core
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 le-challenge-fs
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 le-sni-auto
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 le-store-certbot
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 lie
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 load-json-file
&gt;! drwxr-xr-x 2 thorsten thorsten 4096 Jan 9 17:19 _locks
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 lodash
&gt;! drwxrwxrwx 2 root root 4096 Jan 8 20:01 _logs
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 long-timeout
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mdns-discovery
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 media-typer
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 merge-descriptors
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 methods
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mime
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mime-db
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mime-types
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 minimatch
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 minimist
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 minipass
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 minizlib
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mkdirp
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mkdirp-then
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 moment
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 moment-timezone
&gt;! drwxr-xr-x 5 root thorsten 4096 Jun 2 2018 ms
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mute-stream
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 mz
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 nan
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 ncp
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 negotiator
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 netmask
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 node.extend
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 node-forge
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 node-schedule
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 node-ssdp
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 normalize-package-data
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 npm
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 number-is-nan
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 oauth-sign
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 object-assign
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 object.assign
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 object-component
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 object-keys
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 once
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 on-finished
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 on-headers
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 options
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 os-locale
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pako
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 parsejson
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 parse-json
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 parseqs
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 parseuri
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 parseurl
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 passport
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 passport-local
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 passport.socketio
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 passport-strategy
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 path-exists
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 path-is-absolute
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 path-to-regexp
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 path-type
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pause
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 performance-now
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pify
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pinkie
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pinkie-promise
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 pkginfo
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pkijs
&gt;! drwxrwxrwx 2 root root 4096 Jul 28 20:27 _prebuilds
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 process-nextick-args
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 prompt
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 proxy-addr
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 punycode
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 pyconf
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 qs
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 random-bytes
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 range-parser
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 raw-body
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 read
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 readable-stream
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 read-pkg
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 read-pkg-up
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 redis
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 redis-commands
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 redis-parser
&gt;! drwxr-xr-x 299 root thorsten 12288 Jun 2 2018 registry.npmjs.org
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 request
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 require-directory
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 require-main-filename
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 revalidator
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 rimraf
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 rsa-compat
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 safe-buffer
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 safer-buffer
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 safe-replace
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 semver
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 send
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 serialport
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 serve-static
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 set-blocking
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 setprototypeof
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 socket.io
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 socket.io-adapter
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 socket.io-client
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 socket.io-parser
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 sorted-array-functions
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 spdx-correct
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 spdx-exceptions
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 spdx-expression-parse
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 spdx-license-ids
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 sshpk
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 stack-trace
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 statuses
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 streamifier
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 streamsearch
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 string_decoder
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 string-width
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 strip-ansi
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 strip-bom
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 tar
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 thenify
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 thenify-all
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 to-array
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 tough-cookie
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 tunnel-agent
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 tweetnacl
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 type-is
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 uid-safe
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ultron
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 unix-dgram
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 unpipe
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ursa
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 util-deprecate
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 utile
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 utils-merge
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 uuid
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 validate-npm-package-license
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 vary
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 verror
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 which-module
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 winston
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 winston-daily-rotate-file
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 winston-syslog
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 wrap-ansi
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 wrappy
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 ws
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 wtf-8
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 xmlhttprequest-ssl
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 xtend
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 y18n
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 yallist
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 yargs
&gt;! drwxr-xr-x 4 root thorsten 4096 Jun 2 2018 yargs-parser
&gt;! drwxr-xr-x 3 root thorsten 4096 Jun 2 2018 yeast
&gt;! root@iobrokerNUC:/home/thorsten#</code></pre>
]]></description><link>https://forum.iobroker.net/post/210438</link><guid isPermaLink="true">https://forum.iobroker.net/post/210438</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Thu, 10 Jan 2019 16:57:17 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 16:54:49 GMT]]></title><description><![CDATA[<p dir="auto">Wir kommen der Sache näher!</p>
<pre><code>sudo chown -R iobroker:iobroker /home/iobroker
</code></pre>
]]></description><link>https://forum.iobroker.net/post/210436</link><guid isPermaLink="true">https://forum.iobroker.net/post/210436</guid><dc:creator><![CDATA[AlCalzone]]></dc:creator><pubDate>Thu, 10 Jan 2019 16:54:49 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 14:39:45 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: AlCalzone">@<bdi>AlCalzone</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Edit: Anscheinend greift npm auch auf ~/.config zu. Probiere bitte mal folgendes (ohne sudo als root):</p>
<pre><code>sudo chown -R iobroker:iobroker /home/iobroker/.config
</code></pre>
<p dir="auto">Geht danach die Installation ohne Fehler? `</p>
</blockquote>
<p dir="auto">leider nein. Habe auf Master und Slave die Berechtigungen für iobroker gesetzt, beide neu gebootet, gleiches Szenario. Beim Installieren eines Adapters kommt der Fehler wieder. Kurioserweise wird versucht, den Adapter auf beiden Hosts zu installieren, sowohl Master, als auch slave. Ist aber nur beim Smartmeter - den hatte ich vor den Fehlermeldungen auch auf beiden installiert und wieder deinstalliert.</p>
<pre><code>$ ./iobroker add smartmeter  --host ioBroker-Strom
NPM version: 6.4.1
npm install iobroker.smartmeter --production --save --prefix "/opt/iobroker" (System call)
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker/.npm'
npm
 ERR! cb() never called!
npm ERR!
 This is an error with npm itself. Please report this error at:npm ERR!     &lt;https: npm.community=""&gt;

host.ioBroker-Master install adapter smartmeter
NPM version: 6.4.1
npm install iobroker.smartmeter --production --save --prefix "/opt/iobroker" (System call)
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker/.npm'
npm
 ERR! cb() never called!
npm ERR!
 This is an error with npm itself. Please report this error at:npm ERR!     &lt;https: npm.community=""&gt;

host.ioBroker-Master install adapter smartmeter
NPM version: 6.4.1
npm install iobroker.smartmeter --production --save --prefix "/opt/iobroker" (System call)
Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker/.npm'
npm
 ERR! cb() never called!
npm ERR!
 This is an error with npm itself. Please report this error at:npm ERR!     &lt;https: npm.community=""&gt;

host.ioBroker-Master install adapter smartmeter
ERROR: host.ioBroker-Master Cannot install smartmeter
ERROR: process exited with code 13&lt;/https:&gt;&lt;/https:&gt;&lt;/https:&gt;
</code></pre>
]]></description><link>https://forum.iobroker.net/post/210382</link><guid isPermaLink="true">https://forum.iobroker.net/post/210382</guid><dc:creator><![CDATA[Kaldi]]></dc:creator><pubDate>Thu, 10 Jan 2019 14:39:45 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 13:57:52 GMT]]></title><description><![CDATA[<p dir="auto">Wenn npm als iobroker-User ausgeführt wird, sollten da eigentlich der Cache und so erstellt werden. Bei dir liegt er aktuell unter /root/.npm, was auch vollkommen normal ist, wenn als root installiert wird. iobroker wird jedenfalls unter dem korrekten User ausgeführt - jetzt bin ich etwas ratlos, warum dennoch versucht wird, auf /root/.npm zuzugreifen.</p>
<p dir="auto">Edit: Anscheinend greift npm auch auf ~/.config zu. Probiere bitte mal folgendes (ohne sudo als root):</p>
<pre><code>sudo chown -R iobroker:iobroker /home/iobroker/.config
</code></pre>
<p dir="auto">Geht danach die Installation ohne Fehler?</p>
]]></description><link>https://forum.iobroker.net/post/210370</link><guid isPermaLink="true">https://forum.iobroker.net/post/210370</guid><dc:creator><![CDATA[AlCalzone]]></dc:creator><pubDate>Thu, 10 Jan 2019 13:57:52 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 12:03:36 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/georgius" aria-label="Profile: Georgius">@<bdi>Georgius</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Und das Verzeichnis/File existiert wirklich? `</p>
</blockquote>
<p dir="auto">hmmm… so wie es aussieht, nicht (weder auf dem Master, noch auf dem Slave). Was steht denn da drin, bzw. was gehört da rein (.npm)</p>
<pre><code>root@ioBroker-Master:/home/iobroker# ls -la
total 36
drwxr-xr-x  5 1023 1023 4096 Jan  8 14:26 .
drwxr-xr-x. 4 1023 1023 4096 Jan  8 14:26 ..
-rw-r--r--  1 1023 1023  220 Apr  4  2018 .bash_logout
-rw-r--r--  1 1023 1023 3771 Apr  4  2018 .bashrc
drwxr-xr-x  5 1023 1023 4096 Dez 28 07:41 .config
drwxrwxr-x  2 1023 1023 4096 Dez 28 07:41 Desktop
drwxr-xr-x  3 1023 1023 4096 Dez 28 07:41 .local
-rw-r--r--  1 1023 1023  807 Apr  4  2018 .profile
-rw-r--r--  1 1023 1023   20 Dez 28 07:39 .xscreensaver

</code></pre>
]]></description><link>https://forum.iobroker.net/post/210339</link><guid isPermaLink="true">https://forum.iobroker.net/post/210339</guid><dc:creator><![CDATA[Kaldi]]></dc:creator><pubDate>Thu, 10 Jan 2019 12:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 11:54:49 GMT]]></title><description><![CDATA[<p dir="auto">Und das Verzeichnis/File existiert wirklich?</p>
]]></description><link>https://forum.iobroker.net/post/210333</link><guid isPermaLink="true">https://forum.iobroker.net/post/210333</guid><dc:creator><![CDATA[Georgius]]></dc:creator><pubDate>Thu, 10 Jan 2019 11:54:49 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 11:40:09 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: AlCalzone">@<bdi>AlCalzone</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Keine Ahnung - ich wollte mir mal einen Überblick verschaffen. Nach deiner Ausgabe gibt es den User iobroker - wird ioBroker auch als dieser User ausgeführt?</p>
<pre><code>ps aux | grep js-controller
```` `  
</code></pre>
</blockquote>
<p dir="auto">Vielen Dank für die schnelle Rückmeldung. Hier meine Ausgaben:</p>
<pre><code>root@ioBroker-Master:/# ps aux | grep js-controller
iobroker 10352 10.9 18.6 1473764 351696 ?      Ssl  09:37  19:18 iobroker.js-controller
root     11971  0.0  0.0   4704   588 pts/0    S+   12:33   0:00 grep --color=auto js-controller

</code></pre>
<p dir="auto">Rechtevergabe mit sudo bringt Fehlermeldung:</p>
<pre><code>root@ioBroker-Master:/# sudo chown -R iobroker:iobroker /home/iobroker/.npm
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: /usr/lib/sudo/sudoers.so must be owned by uid 0
sudo: fatal error, unable to load plugins

</code></pre>
<p dir="auto">ohne sudo:</p>
<pre><code>root@ioBroker-Master:/# chown -R iobroker:iobroker /home/iobroker/.npm
chown: cannot access '/home/iobroker/.npm': No such file or directory

</code></pre>
<p dir="auto">An der Stelle mal ein Dankeschön für die viele Arbeit und Energie die ihr hier in das Projekt steckt!</p>
]]></description><link>https://forum.iobroker.net/post/210328</link><guid isPermaLink="true">https://forum.iobroker.net/post/210328</guid><dc:creator><![CDATA[Kaldi]]></dc:creator><pubDate>Thu, 10 Jan 2019 11:40:09 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 11:12:05 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/kaldi" aria-label="Profile: Kaldi">@<bdi>Kaldi</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Unabhängig, was der Fragesteller hierauf antwortet, was sollte denn dort rauskommen? `<br />
Keine Ahnung - ich wollte mir mal einen Überblick verschaffen. Nach deiner Ausgabe gibt es den User iobroker - wird ioBroker auch als dieser User ausgeführt?</p>
</blockquote>
<pre><code>ps aux | grep js-controller
</code></pre>
<p dir="auto">Hilft das möglicherweise?</p>
<pre><code>sudo chown -R iobroker:iobroker /home/iobroker/.npm
</code></pre>
]]></description><link>https://forum.iobroker.net/post/210318</link><guid isPermaLink="true">https://forum.iobroker.net/post/210318</guid><dc:creator><![CDATA[AlCalzone]]></dc:creator><pubDate>Thu, 10 Jan 2019 11:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 10:32:48 GMT]]></title><description><![CDATA[<p dir="auto"><s><a class="plugin-mentions-user plugin-mentions-a" href="/user/alcalzone" aria-label="Profile: AlCalzone">@<bdi>AlCalzone</bdi></a>:</s></p>
<blockquote>
<p dir="auto">Laut deiner Ausgabe läuft ioBroker auch als root. Wie es dann zu dem Zugriffsproblem kommt ist mir schleierhaft.</p>
<p dir="auto">Schau mal was folgende Befehle ausgeben:</p>
<pre><code>ls -la /opt/iobroker
</code></pre>
<p dir="auto">und</p>
<pre><code>ls -la /root/.npm
```` `  
</code></pre>
</blockquote>
<p dir="auto">Unabhängig, was der Fragesteller hierauf antwortet, was sollte denn dort rauskommen? Habe nämlich ähnliches Problem. Als root mit der neuen Methode installiert, ist auch gelaufen, bis ich einen Adapter (Smartmeter) auf dem Slave über den Master deinstalliert habe. Im Folgenden meine Ausgaben (sehen auf Master und Slave gleich aus):</p>
<pre><code>root@ioBroker-Master:/# ls -la /opt/iobroker
total 252
drwxr-xr-x    8 iobroker iobroker   4096 Jan  9 23:12 .
drwxr-xr-x.   4     1023     1023   4096 Jan  9 17:30 ..
drwxr-xr-x    2 iobroker root       4096 Jan  9 17:57 backups
drwxr-xr-x    5 iobroker iobroker   4096 Jan  9 17:30 install
-rw-r--r--    1 iobroker iobroker     77 Jan  9 17:30 INSTALLER_INFO.txt
-rwxr-xr-x    1 iobroker iobroker     67 Jan  9 17:35 iob
-rwxr-xr-x    1 iobroker iobroker     67 Jan  9 17:35 iobroker
drwxr-xr-x    4 iobroker iobroker   4096 Jan  9 17:35 iobroker-data
-rw-r--r--    1 iobroker iobroker     92 Jan  9 17:32 killall.sh
drwxr-xr-x    2 iobroker iobroker   4096 Jan  9 17:30 lib
-rw-r--r--    1 iobroker iobroker   1137 Jan  9 17:30 LICENSE
drwxr-xr-x    2 iobroker iobroker   4096 Jan 10 07:40 log
drwxr-xr-x  383 iobroker iobroker  20480 Jan  9 23:42 node_modules
-rw-r--r--    1 iobroker iobroker     19 Jan  9 17:31 .npmrc
-rw-r--r--    1 iobroker iobroker    602 Jan  9 23:12 package.json
-rw-r--r--    1 iobroker iobroker 164520 Jan  9 17:35 package-lock.json
-rw-r--r--    1 iobroker iobroker   6101 Jan  9 17:30 README.md
-rw-r--r--    1 iobroker iobroker    709 Jan  9 17:32 reinstall.sh

</code></pre>
<pre><code>root@ioBroker-Master:/# ls -la /root/.npm
total 28
drwxr-xr-x  6 root 1023 4096 Jan  9 23:40 .
drwx------. 8 1023 1023 4096 Jan  9 12:07 ..
-rw-r--r--  1 root 1023  172 Jan  9 23:42 anonymous-cli-metrics.json
drwxr-xr-x  5 root 1023 4096 Jan  8 14:21 _cacache
drwxr-xr-x  3 root 1023 4096 Jan  8 14:21 index-v5
drwxr-xr-x  2 root root 4096 Jan  9 23:42 _locks
drwxr-xr-x  2 root root 4096 Jan 10 00:05 _logs

</code></pre>
<p dir="auto">PS: Master &amp; Slave sind identische Installationen und Multihost wurde nach der neuen Methode eingerichtet</p>
<p dir="auto">Vielen Dank.</p>
]]></description><link>https://forum.iobroker.net/post/210307</link><guid isPermaLink="true">https://forum.iobroker.net/post/210307</guid><dc:creator><![CDATA[Kaldi]]></dc:creator><pubDate>Thu, 10 Jan 2019 10:32:48 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Thu, 10 Jan 2019 07:04:00 GMT]]></title><description><![CDATA[<p dir="auto">Laut deiner Ausgabe läuft ioBroker auch als root. Wie es dann zu dem Zugriffsproblem kommt ist mir schleierhaft.</p>
<p dir="auto">Schau mal was folgende Befehle ausgeben:</p>
<pre><code>ls -la /opt/iobroker
</code></pre>
<p dir="auto">und</p>
<pre><code>ls -la /root/.npm
</code></pre>
]]></description><link>https://forum.iobroker.net/post/210251</link><guid isPermaLink="true">https://forum.iobroker.net/post/210251</guid><dc:creator><![CDATA[AlCalzone]]></dc:creator><pubDate>Thu, 10 Jan 2019 07:04:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wichtige Hinweise bei neueren npm-Versionen und sudo on Wed, 09 Jan 2019 16:36:55 GMT]]></title><description><![CDATA[<p dir="auto">Ach herje,</p>
<p dir="auto">jetzt hat es mich doch tatsächlich auch erwischt. Habe diese Fehlermeldungen````<br />
Error: EACCES: permission denied, scandir '/root/.npm/_logs'</p>
<pre><code class="language-bei">
Ich nutze mein ioBroker-System auf meinem Nuc jetzt schon...puh...über ein Jahr, also nach alter Methode installiert. Ich bin immer als root unterwegs. Diese o. g. Fehlermeldung habe ich noch nicht "so lang"...bedeutet vielleicht paar Wochen (kann es leider nicht genau sagen).

Auf meinem NUC unter Proxmox läuft in einer VM Debian, dort hab ich dann damals fein ioBroker installiert.

Auf einem PI3 (ist im Multihost der Slave) läuft nur der ZWave-Adapter. Das Multihost-System läuft seit ich auf dem NUC unterwegs bin auch artig mit. Da hab ich nichts dran rumgebastelt.

Paar Eckdaten vom HOST (NUC):

js-controller: 1.4.2 (gemäß HOST-Reiter in der ioBroker-Admin-Oberfläche)
</code></pre>
<p dir="auto">root@iobrokerNUC:/opt/iobroker# npm -v<br />
6.5.0<br />
root@iobrokerNUC:/opt/iobroker# nodejs -v<br />
v6.14.2<br />
root@iobrokerNUC:/opt/iobroker# node -v<br />
v6.14.2</p>
<pre><code>
was habe ich schon gemacht (auffm HOST):

Update erfolgreich von npm 6.1.0 auf 6.5.0, hat aber nix geändert

was hab ich schon eingetippert (auch auf dem HOST):
</code></pre>
<p dir="auto">sudo chown -R $(whoami) ~/.npm</p>
<pre><code></code></pre>
<p dir="auto">root@iobrokerNUC:/home/thorsten# ps aux | grep js-controller<br />
root      7615  0.0  0.0  12784   964 pts/0    S+   17:10   0:00 grep js-controller<br />
root     14667  4.5  7.5 1330924 155520 ?      Ssl  Jan08  57:40 iobroker.js-controller</p>
<pre><code>
gerade das log vom Update HM-RPC über die ioBroker-Admin-Oberfläche:

&gt;! ````
$ ./iobroker upgrade hm-rpc
Update hm-rpc from @1.8.2 to @1.9.0
NPM version: 6.5.0
npm install iobroker.hm-rpc@1.9.0 --production --save --prefix "/opt/iobroker" (System call)
npm
 ERR! path /root/.npm/_logsnpm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall scandir
npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
npm ERR!     at Error (native)
npm ERR!   stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'\n    at Error (native)',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'scandir',
npm ERR!   path: '/root/.npm/_logs' }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
    at Error (native)
  stack: 'Error: EACCES: permission denied, scandir \'/root/.npm/_logs\'\n    at Error (native)',
  errno: -13,
  code: 'EACCES',
  syscall: 'scandir',
  path: '/root/.npm/_logs' }
&gt;! npm ERR! path /root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74fnpm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
npm ERR!     at Error (native)
npm ERR!   cause: 
npm ERR!    { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f'
npm ERR!        at Error (native)
npm ERR!      errno: -13,
npm ERR!      code: 'EACCES',
npm ERR!      syscall: 'open',
npm ERR!      path: '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' },
npm ERR!   isOperational: true,
npm ERR!   stack: 'Error: EACCES: permission denied, open \'/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f\'\n    at Error (native)',
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'open',
npm ERR!   path: '/root/.npm/_cacache/index-v5/f6/d3/856f4e146dc3e8cb995652c4d6a1e16806d6bca7e87878fd9046e55ea74f' }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
&gt;! npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@0.1.4 (node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
&gt;! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 (node_modules/@abandonware/bluetooth-hci-socket):npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @abandonware/bluetooth-hci-socket@0.5.3-1 preinstall: `npm install node-pre-gyp`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 243
&gt;! npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.hm-rpc"
npm 
WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm notice created a lockfile as package-lock.json. You should commit this file.
got /opt/iobroker/node_modules/iobroker.hm-rpc/admin
Update "system.adapter.hm-rpc.0"
Update "system.adapter.hm-rpc.1"
upload [200] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/index_m.html index_m.html text/html
upload [150] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/75_hm-pb-2-wm55_thumb.png icons/75_hm-pb-2-wm55_thumb.png image/png
upload [100] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/27_hmw-lc-bl1-dr_thumb.png icons/27_hmw-lc-bl1-dr_thumb.png image/png
upload [90] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/188_hmip-etrv-c_thumb.png icons/188_hmip-etrv-c_thumb.png image/png
upload [80] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/179_hmip-swdm-b2_thumb.png icons/179_hmip-swdm-b2_thumb.png image/png
upload [70] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/169_hmip-swo-pr_thumb.png icons/169_hmip-swo-pr_thumb.png image/png
upload [60] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/150_hm-lc-dw-wm_thumb.png icons/150_hm-lc-dw-wm_thumb.png image/png
upload [50] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/140_alpha-ip-rgb_thumb.png icons/140_alpha-ip-rgb_thumb.png image/png
upload [40] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/132_hmip-smo_thumb.png icons/132_hmip-smo_thumb.png image/png
upload [30] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/121_hmip-wth_thumb.png icons/121_hmip-wth_thumb.png image/png
upload [20] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm_thumb.png icons/113_hmip-psm_thumb.png image/png
upload [19] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-uk_thumb.png icons/113_hmip-psm-uk_thumb.png image/png
upload [18] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-pe_thumb.png icons/113_hmip-psm-pe_thumb.png image/png
upload [17] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-it_thumb.png icons/113_hmip-psm-it_thumb.png image/png
upload [16] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/113_hmip-psm-ch_thumb.png icons/113_hmip-psm-ch_thumb.png image/png
upload [15] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/112_hmip-wrc2_thumb.png icons/112_hmip-wrc2_thumb.png image/png
upload [14] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/111_hm-lc-rgbw-wm_thumb.png icons/111_hm-lc-rgbw-wm_thumb.png image/png
upload [13] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/110_hm-es-pmsw1-dr_thump.png icons/110_hm-es-pmsw1-dr_thump.png image/png
upload [12] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/109_hm-lc-sw1-pl-ct_thump.png icons/109_hm-lc-sw1-pl-ct_thump.png image/png
upload [11] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/108_hm-rc-dis-h-x-eu_thump.png icons/108_hm-rc-dis-h-x-eu_thump.png image/png
upload [10] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R5_thumb.png icons/107_hm-es-pmsw1-pl-R5_thumb.png image/png
upload [9] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R4_thumb.png icons/107_hm-es-pmsw1-pl-R4_thumb.png image/png
upload [8] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R3_thumb.png icons/107_hm-es-pmsw1-pl-R3_thumb.png image/png
upload [7] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/107_hm-es-pmsw1-pl-R2_thumb.png icons/107_hm-es-pmsw1-pl-R2_thumb.png image/png
upload [6] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/105_hm-sec-sd-2-team_thumb.png icons/105_hm-sec-sd-2-team_thumb.png image/png
upload [5] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/104_hm-sec-sd-2_thumb.png icons/104_hm-sec-sd-2_thumb.png image/png
upload [4] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/103_hm-sen-mdir-wm55_thumb.png icons/103_hm-sen-mdir-wm55_thumb.png image/png
upload [3] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/102_hm-es-tx-wm_thumb.png icons/102_hm-es-tx-wm_thumb.png image/png
upload [2] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/101_hm-sen-db-pcb_thumb.png icons/101_hm-sen-db-pcb_thumb.png image/png
upload [1] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/icons/100_hm-rc-8_thumb.png icons/100_hm-rc-8_thumb.png image/png
upload [0] hm-rpc.admin /opt/iobroker/node_modules/iobroker.hm-rpc/admin/homematic.png homematic.png image/png
Adapter "hm-rpc" updated
process exited with code 0
</code></pre>
<p dir="auto">Da das mein Produktiv-System ist und ich kein Backup einspielen möchte wegen dem NPM-Problemchen, wende ich mich hier mal an die Profis. Hab schon mal dran gedacht, dem Ordner root die permisison -777 zu geben, es aber eben doch verworfen.</p>
<p dir="auto">Den Befehl npm cache clear funktioniert (ohne force) seit v5 nicht mehr hab ich schon erfahren. Will aber auch kein -foce ausprobieren oder manuell über putty den cache-Ordner löschen, ohne zu wissen, ob das Sinn macht :)</p>
<p dir="auto">Vielleicht hat hier jemand eine Idee? Danke euch schon mal - und wenn jmd. noch Input von mir benötigt (ich hoffe, ich hab alle benötigten Daten hier gepostet) liefere ich natürlich nach…</p>
<p dir="auto">Danke euch und Grüße, Thorsten</p>
]]></description><link>https://forum.iobroker.net/post/210026</link><guid isPermaLink="true">https://forum.iobroker.net/post/210026</guid><dc:creator><![CDATA[Kueppert]]></dc:creator><pubDate>Wed, 09 Jan 2019 16:36:55 GMT</pubDate></item></channel></rss>