NEWS
Nacch update der node js probleme mit iobroker fix
-
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
curl -sL https://iobroker.net/fix.sh | bash -
hab ich gemacht ....
danyel@debian-iobroker:~$ curl -sL https://iobroker.net/fix.sh | bash - danyel@debian-iobroker:~$ sudo curl -sL https://iobroker.net/fix.sh | bash - danyel@debian-iobroker:~$ -
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
curl -sL https://iobroker.net/fix.sh | bash -
hab ich gemacht ....
danyel@debian-iobroker:~$ curl -sL https://iobroker.net/fix.sh | bash - danyel@debian-iobroker:~$ sudo curl -sL https://iobroker.net/fix.sh | bash - danyel@debian-iobroker:~$@webranger
Hab ich was von sudo geschrieben?Wird mir echt zu anstrengend mit dir.
-
@webranger
Hab ich was von sudo geschrieben?Wird mir echt zu anstrengend mit dir.
-
Du sollst nicht 'irgendwas, irgendwie herumprobieren'.
Schon gar nicht als root (per sudo). Das führt nämlich zu genausolchen verfummelten Installationen wie hier offenbar. -
Du sollst nicht 'irgendwas, irgendwie herumprobieren'.
Schon gar nicht als root (per sudo). Das führt nämlich zu genausolchen verfummelten Installationen wie hier offenbar.@thomas-braun ok sorry
-
@thomas-braun ok sorry
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller -
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
sudo -H -u iobroker npm install iobroker.js-controller
danyel@debian-iobroker:~$ cd /opt/iobroker danyel@debian-iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.16 > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object _design/custom updated object _design/system updated The following notifications happened during sync: - Ignoring Directory "devices.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "fitbit-api.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "freshenergy.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "nina.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pushover.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "radar.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "unifi" because officially not created as meta object. Please remove directory! - Ignoring Directory "unifi.admin" because officially not created as meta object. Please remove directory! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/@abandonware/noble/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"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.pushover/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.pushover/node_modules/@iobroker/adapter-core/package.json' npm WARN react-beautiful-dnd@8.0.7 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. + iobroker.js-controller@3.3.22 added 12 packages from 14 contributors, removed 10 packages, updated 23 packages and moved 4 packages in 130.023s 75 packages are looking for funding run `npm fund` for details danyel@debian-iobroker:/opt/iobroker$ -
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
sudo -H -u iobroker npm install iobroker.js-controller
danyel@debian-iobroker:~$ cd /opt/iobroker danyel@debian-iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.16 > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object _design/custom updated object _design/system updated The following notifications happened during sync: - Ignoring Directory "devices.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "fitbit-api.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "freshenergy.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "nina.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pushover.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "radar.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "unifi" because officially not created as meta object. Please remove directory! - Ignoring Directory "unifi.admin" because officially not created as meta object. Please remove directory! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/@abandonware/noble/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"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.pushover/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.pushover/node_modules/@iobroker/adapter-core/package.json' npm WARN react-beautiful-dnd@8.0.7 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. + iobroker.js-controller@3.3.22 added 12 packages from 14 contributors, removed 10 packages, updated 23 packages and moved 4 packages in 130.023s 75 packages are looking for funding run `npm fund` for details danyel@debian-iobroker:/opt/iobroker$ -
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
sudo -H -u iobroker npm install iobroker.js-controller
danyel@debian-iobroker:~$ cd /opt/iobroker danyel@debian-iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.16 > unix-dgram@2.0.4 install /opt/iobroker/node_modules/unix-dgram > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o SOLINK_MODULE(target) Release/obj.target/unix_dgram.node COPY Release/unix_dgram.node make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first object _design/custom updated object _design/system updated The following notifications happened during sync: - Ignoring Directory "devices.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "fitbit-api.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "freshenergy.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "nina.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "pushover.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "radar.admin" because officially not created as meta object. Please remove directory! - Ignoring Directory "unifi" because officially not created as meta object. Please remove directory! - Ignoring Directory "unifi.admin" because officially not created as meta object. Please remove directory! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/@abandonware/noble/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"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.pushover/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.pushover/node_modules/@iobroker/adapter-core/package.json' npm WARN react-beautiful-dnd@8.0.7 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. + iobroker.js-controller@3.3.22 added 12 packages from 14 contributors, removed 10 packages, updated 23 packages and moved 4 packages in 130.023s 75 packages are looking for funding run `npm fund` for details danyel@debian-iobroker:/opt/iobroker$which iob which iobroker ls -la /usr/bin/iob ls -la /usr/bin/iobroker -
which iob which iobroker ls -la /usr/bin/iob ls -la /usr/bin/iobroker@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
ls -la /usr/bin/iobroker
Das hat jetzt gedauert
danyel@debian-iobroker:/opt/iobroker$ which iob /usr/bin/iob danyel@debian-iobroker:/opt/iobroker$ which iobroker /usr/bin/iobroker danyel@debian-iobroker:/opt/iobroker$ ls -la /usr/bin/iob lrwxrwxrwx 1 root root 22 Apr 23 2020 /usr/bin/iob -> /opt/iobroker/iobroker danyel@debian-iobroker:/opt/iobroker$ ls -la /usr/bin/iobroker lrwxrwxrwx 1 root root 22 Apr 23 2020 /usr/bin/iobroker -> /opt/iobroker/iobroker danyel@debian-iobroker:/opt/iobroker$ -
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
ls -la /usr/bin/iobroker
Das hat jetzt gedauert
danyel@debian-iobroker:/opt/iobroker$ which iob /usr/bin/iob danyel@debian-iobroker:/opt/iobroker$ which iobroker /usr/bin/iobroker danyel@debian-iobroker:/opt/iobroker$ ls -la /usr/bin/iob lrwxrwxrwx 1 root root 22 Apr 23 2020 /usr/bin/iob -> /opt/iobroker/iobroker danyel@debian-iobroker:/opt/iobroker$ ls -la /usr/bin/iobroker lrwxrwxrwx 1 root root 22 Apr 23 2020 /usr/bin/iobroker -> /opt/iobroker/iobroker danyel@debian-iobroker:/opt/iobroker$getfacl /opt/iobroker/iobroker -
getfacl /opt/iobroker/iobroker@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
getfacl /opt/iobroker/iobroker
danyel@debian-iobroker:/opt/iobroker$ getfacl /opt/iobroker/iobroker
getfacl: Entferne führende '/' von absoluten Pfadnamenfile: opt/iobroker/iobroker
owner: iobroker
group: iobroker
user::rwx
group::rwx
group:iobroker:rwx
mask::rwx
other::rwxdanyel@debian-iobroker:/opt/iobroker$
-
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
getfacl /opt/iobroker/iobroker
danyel@debian-iobroker:/opt/iobroker$ getfacl /opt/iobroker/iobroker
getfacl: Entferne führende '/' von absoluten Pfadnamenfile: opt/iobroker/iobroker
owner: iobroker
group: iobroker
user::rwx
group::rwx
group:iobroker:rwx
mask::rwx
other::rwxdanyel@debian-iobroker:/opt/iobroker$
Das sieht bei mir schon mal anders aus:
pi@chet:/opt/iobroker $ getfacl /opt/iobroker/iobroker getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/iobroker # owner: iobroker # group: iobroker user::rwx group::r-x group:iobroker:rwx #effective:r-x mask::r-x other::r-xWas liefert
groups -
Das sieht bei mir schon mal anders aus:
pi@chet:/opt/iobroker $ getfacl /opt/iobroker/iobroker getfacl: Removing leading '/' from absolute path names # file: opt/iobroker/iobroker # owner: iobroker # group: iobroker user::rwx group::r-x group:iobroker:rwx #effective:r-x mask::r-x other::r-xWas liefert
groups@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
groups
danyel cdrom floppy sudo audio dip video plugdev netdev iobroker
-
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
groups
danyel cdrom floppy sudo audio dip video plugdev netdev iobroker
Keine Ahnung, fällt mir nix zu ein.
iob fixist das einzige Kommando, das sich so verhält?
-
Keine Ahnung, fällt mir nix zu ein.
iob fixist das einzige Kommando, das sich so verhält?
@thomas-braun sagte in Nacch update der node js probleme mit iobroker fix:
iob fix
keine Ahnung, vermute
-
Keine Ahnung, fällt mir nix zu ein.
iob fixist das einzige Kommando, das sich so verhält?
Danke für deine Hilfe.
Werde jetzt Backup einspielen und dann die Tage mal über eine neuinstallation nachdenken.
Evtl nach 5 Jahren oder so garnicht so schlecht.
-
Danke für deine Hilfe.
Werde jetzt Backup einspielen und dann die Tage mal über eine neuinstallation nachdenken.
Evtl nach 5 Jahren oder so garnicht so schlecht.
sudo apt update