NEWS
Admin Seite funktioniert nach Admin update nicht mehr
- 
					
					
					
					
 @Hermanito33 
 Wie schafft ihr das eigentlich immer eine Installation so zu vermurksen?
 Wo steht die Anleitung so im Netz?sudo rm /usr/local/bin/node sudo rm /usr/local/bin/npm curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt upgrade sudo apt install nodejs --reinstall
- 
					
					
					
					
 @Thomas-Braun ``` 
 So... Weiß auch nicht wie ich das hinbekommen habe....pi@ioBroker-Pi:/opt/iobroker $ sudo rm /usr/local/bin/node pi@ioBroker-Pi:/opt/iobroker $ sudo rm /usr/local/bin/npm pi@ioBroker-Pi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update OK:1 http://archive.raspberrypi.org/debian stretch InRelease OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:3 https://deb.nodesource.com/node_10.x stretch InRelease Paketlisten werden gelesen... Fertig ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update OK:1 http://archive.raspberrypi.org/debian stretch InRelease OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Holen:3 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B] Holen:4 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B] Es wurden 5.360 B in 1 s geholt (3.784 B/s). Paketlisten werden gelesen... Fertig ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn pi@ioBroker-Pi:/opt/iobroker $ sudo apt upgrade Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig Die folgenden Pakete werden aktualisiert (Upgrade): nodejs 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 15,9 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 5.960 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j Holen:1 https://deb.nodesource.com/node_12.x stretch/main armhf nodejs armhf 12.16.3-1nodesource1 [15,9 MB] Es wurden 15,9 MB in 4 s geholt (3.855 kB/s). Lese Changelogs... Fertig (Lese Datenbank ... 41744 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_armhf.deb ... Detected old npm client, removing... Entpacken von nodejs (12.16.3-1nodesource1) über (10.20.1-1nodesource1) ... nodejs (12.16.3-1nodesource1) wird eingerichtet ... Trigger für man-db (2.7.6.1-2) werden verarbeitet ... pi@ioBroker-Pi:/opt/iobroker $
- 
					
					
					
					
 nodejs -v && node -v && npm -v
- 
					
					
					
					
 @Thomas-Braun ``` 
 code_textpi@ioBroker-Pi:/opt/iobroker $ nodejs -v && node -v && npm -v v12.16.3 -bash: /usr/local/bin/node: Datei oder Verzeichnis nicht gefunden pi@ioBroker-Pi:/opt/iobroker $
- 
					
					
					
					
 @Hermanito33 Log dich mal aus und wieder ein. Oder startet die Kiste durch. Wie du Lust hast. 
- 
					
					
					
					
 @Thomas-Braun ``` 
 Das sieht ganz gut aus pi@ioBroker-Pi:~ $ nodejs -v && node -v && npm -v v12.16.3 v12.16.3 6.14.4 pi@ioBroker-Pi:~ $
- 
					
					
					
					
 cd /opt/iobroker npm rebuild
- 
					
					
					
					
 @Thomas-Braun ``` 
 code_textpi@ioBroker-Pi:~ $ cd /opt/iobroker pi@ioBroker-Pi:/opt/iobroker $ npm rebuild > iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker > node lib/checkVersions.js NPM version: 6.14.4 > iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker > node lib/install.js lib/install.js is not being run as part of an installation - skipping... > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/@abandonware/noble > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird betreten SOLINK_MODULE(target) Release/obj.target/noble.node COPY Release/noble.node make: Verzeichnis „/opt/iobroker/node_modules/@abandonware/noble/build“ wird verlassen > @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/@serialport/bindings > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux) make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird betreten CXX(target) Release/obj.target/bindings/src/serialport.o ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’: ../src/serialport.cpp:329:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] an::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts)); ^ In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^ /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:330:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] an::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr)); ^ In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^ /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp:331:96: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] an::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd)); ^ In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^ /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’: ../src/serialport.cpp:378:106: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations] ::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate)); ^ In file included from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8-internal.h:14:0, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:27, from /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:67, from ../../../nan/nan.h:54, from ../src/./serialport.h:6, from ../src/serialport.cpp:1: /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8.h:3499:22: note: declared here bool Set(Local<Value> key, Local<Value> value)); ^ /home/iobroker/.cache/node-gyp/12.16.3/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’ declarator __attribute__((deprecated(message))) ^~~~~~~~~~ CXX(target) Release/obj.target/bindings/src/serialport_unix.o CXX(target) Release/obj.target/bindings/src/poller.o CXX(target) Release/obj.target/bindings/src/serialport_linux.o SOLINK_MODULE(target) Release/obj.target/bindings.node COPY Release/bindings.node make: Verzeichnis „/opt/iobroker/node_modules/@serialport/bindings/build“ wird verlassen > iobroker.javascript@4.5.1 postinstall /opt/iobroker/node_modules/iobroker.javascript > node ./install/installTypings.js Installing NodeJS typings... latest @types: 14, installed node: 12 > iobroker.js-controller@2.2.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller > node lib/preinstallCheck.js NPM version: 6.14.4 > iobroker.js-controller@2.2.10 install /opt/iobroker/node_modules/iobroker.js-controller > node iobroker.js setup first > ws@0.6.5 install /opt/iobroker/node_modules/websocket-stream/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird betreten CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte make: Verzeichnis „/opt/iobroker/node_modules/websocket-stream/node_modules/ws/build“ wird verlassen > ws@0.7.0 install /opt/iobroker/node_modules/create-stream-server/node_modules/ws > (node-gyp rebuild 2> builderror.log) || (exit 0) make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird betreten CXX(target) Release/obj.target/bufferutil/src/bufferutil.o bufferutil.target.mk:111: die Regel für Ziel „Release/obj.target/bufferutil/src/bufferutil.o“ scheiterte make: Verzeichnis „/opt/iobroker/node_modules/create-stream-server/node_modules/ws/build“ wird verlassen > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten CXX(target) Release/obj.target/raw/src/raw.o SOLINK_MODULE(target) Release/obj.target/raw.node COPY Release/raw.node make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen > usb@1.6.1 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/usb > prebuild-install --verbose || node-gyp rebuild prebuild-install info begin Prebuild-install version 5.3.3 prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/86d719-usb-v1.6.1-node-v72-linux-arm.tar.gz prebuild-install http request GET https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz prebuild-install http 404 https://github.com/tessel/node-usb/releases/download/v1.6.1/usb-v1.6.1-node-v72-linux-arm.tar.gz prebuild-install WARN install No prebuilt binaries found (target=12.16.3 runtime=node arch=arm libc= platform=linux) make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird betreten CC(target) Release/obj.target/libusb/libusb/libusb/core.o CC(target) Release/obj.target/libusb/libusb/libusb/descriptor.o CC(target) Release/obj.target/libusb/libusb/libusb/hotplug.o CC(target) Release/obj.target/libusb/libusb/libusb/io.o CC(target) Release/obj.target/libusb/libusb/libusb/strerror.o CC(target) Release/obj.target/libusb/libusb/libusb/sync.o CC(target) Release/obj.target/libusb/libusb/libusb/os/poll_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/threads_posix.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_usbfs.o CC(target) Release/obj.target/libusb/libusb/libusb/os/linux_udev.o AR(target) Release/obj.target/usb.a COPY Release/usb.a CXX(target) Release/obj.target/usb_bindings/src/node_usb.o ../src/node_usb.cc: In function ‘void handleHotplug(std::pair<libusb_device*, libusb_hotplug_event>)’: ../src/node_usb.cc:151:58: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New(hotplugThis), "emit", 2, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/node_usb.cc:1: ../node_modules/nan/nan.h:1001:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/device.o ../src/device.cc: In static member function ‘static void Req::default_after(uv_work_t*)’: ../src/device.cc:237:64: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(device, Nan::New(baton->callback), 1, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/device.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ CXX(target) Release/obj.target/usb_bindings/src/transfer.o ../src/transfer.cc: In function ‘void handleCompletion(Transfer*)’: ../src/transfer.cc:126:72: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(self->handle(), Nan::New(self->v8callback), 3, argv); ^ In file included from ../src/helpers.h:3:0, from ../src/node_usb.h:21, from ../src/transfer.cc:1: ../node_modules/nan/nan.h:959:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/usb_bindings.node COPY Release/usb_bindings.node make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/usb/build“ wird verlassen > @abandonware/noble@1.9.2-5 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird betreten SOLINK_MODULE(target) Release/obj.target/noble.node COPY Release/noble.node make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/@abandonware/noble/build“ wird verlassen > raw-socket@1.7.0 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket > node-gyp rebuild make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird betreten CXX(target) Release/obj.target/raw/src/raw.o SOLINK_MODULE(target) Release/obj.target/raw.node COPY Release/raw.node make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/raw-socket/build“ wird verlassen > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth > node-gyp configure build make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird betreten CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o ../src/linux/BluetoothSerialPort.cc:18:14: error: variable or field ‘InitAll’ declared void void InitAll(Handle<Object> exports) { ^~~~~~ ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope ../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token void InitAll(Handle<Object> exports) { ^ ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope void InitAll(Handle<Object> exports) { ^~~~~~~ In file included from ../src/linux/BluetoothSerialPort.cc:12:0: ../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope NODE_MODULE(BluetoothSerialPort, InitAll) ^ /home/iobroker/.cache/node-gyp/12.16.3/include/node/node.h:608:36: note: in definition of macro ‘NODE_MODULE_X’ (node::addon_register_func) (regfunc), \ ^~~~~~~ ../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~ BluetoothSerialPort.target.mk:115: die Regel für Ziel „Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o“ scheiterte make: *** [Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Fehler 1 make: Verzeichnis „/opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth/build“ wird verlassen gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:310:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /opt/iobroker/node_modules/iobroker.radar2/node_modules/node-bluetooth gyp ERR! node -v v12.16.3 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-bluetooth@1.2.6 install: `node-gyp configure build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-bluetooth@1.2.6 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-05-15T22_08_46_202Z-debug.log pi@ioBroker-Pi:/opt/iobroker $
- 
					
					
					
					
 @Hermanito33 Startet der iobroker nun? iobroker start iobroker list instances
- 
					
					
					
					
 Hallo ...... 
 @Thomas-Braun hilft dir und du Antwortest nicht mehr , bzw. zumindest kann man eine kurze Rückmeldung geben ... "ich melde mich morgen wieder ...." !
- 
					
					
					
					
 @Thomas-Braun Ja startet nun und funktioniert. Vielen dank!! 
- 
					
					
					
					
 @Glasfaser Sorry war eben nicht am PC. Natürlich bin ich dankbar und freue mich, dass ihr mir helft  Scheint nun alles zu funktionieren und die Versionen stimmen... Scheint nun alles zu funktionieren und die Versionen stimmen...
- 
					
					
					
					
 War nicht Böse gemeint ... aber ist ja auch schon sehr spät in der Nacht  
- 
					
					
					
					
 @Glasfaser Okey  So jetzt bin ich aber mal weg und schaue mir das morgen noch mal an So jetzt bin ich aber mal weg und schaue mir das morgen noch mal an Vielen dank noch mal! Vielen dank noch mal!
 
		
	 
		
	