@apollon77 said in js-controller 2 jetzt für alle im Stable:
@lost-in-translation du hat scheinbar kein git installiert und ein Adapter von dir (oniv) braucht das scheinbar. Das hat mit dem Controller direkt nichts zu tun. Das ist ein PM was immer beim installieren oder aktualisieren von Paketen den gesamten Abhängigkeitsbaum prüfen will. Und an der Stelle schlägt das in diesem einen Adapter fehlt am besten git installieren (apt install git)
Ich hab jetzt mal den onvif adapter deinstalliert.
Und jetzt hat die Sequenz funktioniert. ioBroker ist jetzt updated.
pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker upgrade self
Update js-controller from @1.5.14 to @2.1.1
NPM version: 6.4.1
npm install iobroker.js-controller@2.1.1 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
argv);
^
In file included from ../src/unix_dgram.cc:5:0:
../../nan/nan.h:1024:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
../src/unix_dgram.cc:129:28: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
0, NULL);
^
In file included from ../src/unix_dgram.cc:5:0:
../../nan/nan.h:1024:46: note: declared here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^~~~~~~~~~~~
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 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: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.4 (node_modules/osx-temperature-sensor):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
Host "ioBroker-RasPi" (linux) updated
Execute: chmod -R 777 /opt/iobroker
chmod: Beim Setzen der Zugriffsrechte für '/opt/iobroker/backups': Die Operation ist nicht erlaubt
Chmod finished. Restart controller
Starting node restart.js
pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker start
Ich hoffe mal, die ganzen Warnungen kann ich ignorieren ![:-) 🙂](https://forum.iobroker.net/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=q7pfscttoag)
ciao
frank