NEWS
UNSOLVED Error Installation KNX Adapter Ver. 10.0.39
-
Der Fix war erfolgreich, hat aber leider nichts gebracht. Hast du noch eine Idee?
-
-
Beim Installationsversuch über die Konsole mit folgendem Befehl
sudo npm i iobroker.knx
kommt dies hier
iobroker@IoBrokerThinClient:~$ sudo npm i iobroker.knx [sudo] Passwort für iobroker: npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/packa ge.json' npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/package. json' npm WARN iobroker No description npm WARN iobroker No repository field. npm WARN iobroker No README data npm WARN iobroker No license field. + iobroker.knx@1.0.42 updated 1 package and audited 53 packages in 3.075s 3 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
-
@tobiii1810
Mit npm machst du da nix. Insbesondere nicht in Verbindung mit sudo!
Zumal das im falschen Verzeichnis ausgeführt wurde. -
iobroker@IoBrokerThinClient:~$ iobroker add knx host.IoBrokerThinClient install adapter knx npm install --loglevel error --production (System call) in "/node_modules/iobroker.knx" npm ERR! code EACCES npm ERR! syscall access npm ERR! path /node_modules/iobroker.knx npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/node_modules/iobroker.knx' npm ERR! [Error: EACCES: permission denied, access '/node_modules/iobroker.knx'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/node_modules/iobroker.knx' npm ERR! } 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. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-11-02T19_48_30_277Z-debug.log Cannot install iobroker.knx: 243
-
-
Hat leider nichts gebracht
iobroker@IoBrokerThinClient:~$ cd /opt/iobroker iobroker@IoBrokerThinClient:/opt/iobroker$ iobroker add knx host.IoBrokerThinClient install adapter knx npm install --loglevel error --production (System call) in "/node_modules/iobroker.knx" npm ERR! code EACCES npm ERR! syscall access npm ERR! path /node_modules/iobroker.knx npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/node_modules/iobroker.knx' npm ERR! [Error: EACCES: permission denied, access '/node_modules/iobroker.knx'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/node_modules/iobroker.knx' npm ERR! } 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. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-11-02T19_52_36_875Z-debug.log Cannot install iobroker.knx: 243
-
iobroker fix
-
Hat @Thomas-Braun oben schon geschrieben und wurde auch schon ausgeführt.
-
ich würde die Kiste mal neu durchstarten lassen .....!?
-
sudo reboot
Und ich würde mir auch einen vernünftigen USER anlegen. Da mit dem iobroker rumzumachen ist nicht gerade günstig.
-
Auch ein reboot bringt keinen Erfolg. Sollte ich iobroker komplett neu aufsetzten?
-
-
@Thomas-Braun said in Error Installation KNX Adapter Ver. 10.0.39:
iobroker add knx --prefix "/opt/iobroker"
Gleiches Fehlerbild.
-
@tobiii1810 Bitte Ausgaben posten.
-
iobroker@IoBrokerThinClient:/$ iobroker add knx --prefix "/opt/iobroker" host.IoBrokerThinClient install adapter knx npm install --loglevel error --production (System call) in "/node_modules/iobroker.knx" npm ERR! code EACCES npm ERR! syscall access npm ERR! path /node_modules/iobroker.knx npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/node_modules/iobroker.knx' npm ERR! [Error: EACCES: permission denied, access '/node_modules/iobroker.knx'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/node_modules/iobroker.knx' npm ERR! } 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. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-11-02T20_09_43_507Z-debug.log Cannot install iobroker.knx: 243
-
ich vermute mal der Ordner ist/war schon da ... aber falsche Rechte gesetzt .
/node_modules/iobroker.knx
und der Fix greift nicht ...
-
@Glasfaser Nee, da greift der Prefix /opt/iobroker nicht und die Installation soll in / erfolgen. Und das darf der iobroker natürlich nicht. Ich weiß aber nicht wo das einzustellen ist.
Das Environment für einen Standarduser weicht ja auch vom Systemuser iobroker ab:
pi:x:1000:1000:,,,:/home/pi:/bin/bash iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin
Ich bin aber nicht sicher, ob das damit zu tun haben könnte.
In einem 'sauberen' System läuft die Installation ja auch in das richtige Directory rein:
iobroker add knx NPM version: 6.14.8 npm install iobroker.knx@1.0.42 --loglevel error --prefix "/opt/iobroker" (System call)
-
Er hat :
iobroker@IoBrokerThinClient:/$
müsste das nicht so sein !?
iobroker@IoBrokerThinClient:~#
am Ende
~#
-
@Glasfaser Nee, das ist schon richtig.
# für root $ für U$ER
Trotzdem ist iobroker kein 'normaler' User.