NEWS
Error Installation KNX Adapter Ver. 10.0.39
-
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.
-
@Thomas-Braun said in Error Installation KNX Adapter Ver. 10.0.39:
iobroker add knx --prefix "/opt/iobroker"
Gleiches Fehlerbild.
@tobiii1810 Bitte Ausgaben posten.
-
@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.knxund der Fix greift nicht ...
-
ich vermute mal der Ordner ist/war schon da ... aber falsche Rechte gesetzt .
/node_modules/iobroker.knxund 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/nologinIch 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) -
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: 243Er hat :
iobroker@IoBrokerThinClient:/$müsste das nicht so sein !?
iobroker@IoBrokerThinClient:~#am Ende
~# -
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$ERTrotzdem ist iobroker kein 'normaler' User.
-
@Glasfaser Nee, das ist schon richtig.
# für root $ für U$ERTrotzdem ist iobroker kein 'normaler' User.
Oh ...
stimmt ich muß immer umdenken , da es bei der Synology (Docker) anders ist ( root) :) -
@Glasfaser Nee, das ist schon richtig.
# für root $ für U$ERTrotzdem ist iobroker kein 'normaler' User.
Bei der Debian Installation habe ich einen User mit dem Namen "iobroker" angelegt. Vielleicht verwirrt der Name nur ein wenig...
-
Bei der Debian Installation habe ich einen User mit dem Namen "iobroker" angelegt. Vielleicht verwirrt der Name nur ein wenig...
@tobiii1810 Ääääääh...
GAAAAAAAAAANZ doofe Idee!
Der iobroker ist für andere Dinge vorgesehen. -
@tobiii1810 Ääääääh...
GAAAAAAAAAANZ doofe Idee!
Der iobroker ist für andere Dinge vorgesehen.Kann ich den Usernamen nachträglich ändern?
-
Bei der Debian Installation habe ich einen User mit dem Namen "iobroker" angelegt. Vielleicht verwirrt der Name nur ein wenig...
cat /etc/passwd | grep iobroker -
cat /etc/passwd | grep iobrokeriobroker@IoBrokerThinClient:/$ cat /etc/passwd | grep iobroker iobroker:x:1000:1000:Iobroker,,,:/home/iobroker:/bin/bash -
iobroker@IoBrokerThinClient:/$ cat /etc/passwd | grep iobroker iobroker:x:1000:1000:Iobroker,,,:/home/iobroker:/bin/bash@tobiii1810
Ja, das ist für die UID 1000 das richtige Setup, aber der falsche Name...Der User iobroker läuft eigentlich so:
iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin -
@tobiii1810
Ja, das ist für die UID 1000 das richtige Setup, aber der falsche Name...Der User iobroker läuft eigentlich so:
iobroker:x:1001:1001::/home/iobroker:/usr/sbin/nologin -
iobroker@IoBrokerThinClient:/$ cat /etc/passwd | grep iobroker iobroker:x:1000:1000:Iobroker,,,:/home/iobroker:/bin/bash -
Kann den Usernamen wahrscheinlich nicht ändern da ich mit ihm angemeldet bin oder?
iobroker@IoBrokerThinClient:/$ sudo usermod -l tobi iobroker [sudo] Passwort für iobroker: usermod: user iobroker is currently used by process 776 -
Kann den Usernamen wahrscheinlich nicht ändern da ich mit ihm angemeldet bin oder?
iobroker@IoBrokerThinClient:/$ sudo usermod -l tobi iobroker [sudo] Passwort für iobroker: usermod: user iobroker is currently used by process 776@tobiii1810
Hatte ich mir fast gedacht.
Dann halt so:sudo adduser tobisorgfältig ausfüllen.
Dannsudo usermod -a -G sudo tobiDann als tobi anmelden.
Danachsudo deluser iobrokerUnd dann den
iobroker fix -
@tobiii1810
Hatte ich mir fast gedacht.
Dann halt so:sudo adduser tobisorgfältig ausfüllen.
Dannsudo usermod -a -G sudo tobiDann als tobi anmelden.
Danachsudo deluser iobrokerUnd dann den
iobroker fixtobi@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_56_23_245Z-debug.log Cannot install iobroker.knx: 243