NEWS
Problem mit bufferutils und utf-8-validate
-
Hallo zusammen,
Ich hatte den IOBroker auf einem Banana-PI laufen. Da die Installation zu groß wurde habe ich ihn auf einen HP Mircroserver verschoben (16GB RAM, Ubuntu und ausreichend Plattenplatz).
Solange ich für NPM und co keine Updates installiere läuft das ganze mehr oder weniger. Versuche ich Updates zu installieren dann funktionieren bufferutils und utf-8-validate nicht mehr (evtl. war die Installation vorher schon kaputt).
Deinstallieren der Module und neu installieren führt dazu, dass die Module gar nicht mehr laufen.
Aktueller Stand:
bytegetter@NAS5:/opt/iobroker$ cat log/iobroker.2018-09-30.log | grep admin.
2018-09-30 14:20:35.246 - info: host.NAS5 Restart adapter system.adapter.admin.0 because enabled 2018-09-30 14:21:05.279 - info: host.NAS5 instance system.adapter.admin.0 started with pid 26770 2018-09-30 14:21:06.673 - info: admin.0 starting. Version 3.5.9 in /opt/iobroker/node_modules/iobroker.admin, node: v8.12.0 2018-09-30 14:21:06.872 - info: admin.0 requesting all states 2018-09-30 14:21:06.876 - info: admin.0 requesting all objects 2018-09-30 14:21:06.877 - info: admin.0 Request actual repository... 2018-09-30 14:21:16.783 - info: admin.0 received all states 2018-09-30 14:21:22.819 - info: admin.0 received all objects 2018-09-30 14:21:22.848 - warn: admin.0 No repository source configured 2018-09-30 14:21:22.869 - info: admin.0 http server listening on port 8081 2018-09-30 14:21:22.870 - info: admin.0 Use link "http://localhost:8081" to configure. 2018-09-30 14:21:24.697 - error: admin.0 uncaught exception: Cannot read property 'unmask' of undefined 2018-09-30 14:21:24.697 - error: admin.0 TypeError: Cannot read property 'unmask' of undefined 2018-09-30 14:21:24.699 - info: admin.0 terminating http server on port 8081 2018-09-30 14:21:25.429 - info: admin.0 Repository received successfully. 2018-09-30 14:21:25.704 - info: admin.0 terminating http server on port 8081 2018-09-30 14:21:27.127 - error: host.NAS5 instance system.adapter.admin.0 terminated with code 6 (uncaught exception) 2018-09-30 14:21:27.127 - info: host.NAS5 Restart adapter system.adapter.admin.0 because enabled 2018-09-30 14:21:49.309 - info: host.NAS5 stopInstance system.adapter.admin.0 2018-09-30 14:21:49.309 - warn: host.NAS5 stopInstance system.adapter.admin.0 not running 2018-09-30 14:21:49.586 - error: Caught by controller[2]: Sun, 30 Sep 2018 12:21:27 GMT engine.io-client:polling polling got data 153:42["message","*.logging","system.adapter.admin.0.logging",{"val":false,"ack":true,"ts":1538310087063,"q":0,"from":"system.host.NAS5","lc":1538305557500}] 2018-09-30 14:21:49.586 - error: Caught by controller[2]: Sun, 30 Sep 2018 12:21:27 GMT engine.io-client:socket socket receive: type "message", data "2["message","*.logging","system.adapter.admin.0.logging",{"val":false,"ack":true,"ts":1538310087063,"q":0,"from":"system.host.NAS5","lc":1538305557500}]" 2018-09-30 14:21:49.586 - error: Caught by controller[2]: Sun, 30 Sep 2018 12:21:27 GMT socket.io-parser decoded 2["message","*.logging","system.adapter.admin.0.logging",{"val":false,"ack":true,"ts":1538310087063,"q":0,"from":"system.host.NAS5","lc":1538305557500}] as {"type":2,"nsp":"/","data":["message","*.logging","system.adapter.admin.0.logging",{"val":false,"ack":true,"ts":1538310087063,"q":0,"from":"system.host.NAS5","lc":1538305557500}]} 2018-09-30 14:21:49.586 - error: Caught by controller[2]: Sun, 30 Sep 2018 12:21:27 GMT socket.io-client:socket emitting event ["message","*.logging","system.adapter.admin.0.logging",{"val":false,"ack":true,"ts":1538310087063,"q":0,"from":"system.host.NAS5","lc":1538305557500}] 2018-09-30 14:22:00.861 - info: host.NAS5 instance system.adapter.admin.0 started with pid 26945 2018-09-30 14:22:02.194 - info: admin.0 starting. Version 3.5.9 in /opt/iobroker/node_modules/iobroker.admin, node: v8.12.0 2018-09-30 14:22:02.394 - info: admin.0 requesting all states 2018-09-30 14:22:02.397 - info: admin.0 requesting all objects 2018-09-30 14:22:02.399 - info: admin.0 Request actual repository... 2018-09-30 14:22:21.415 - info: admin.0 received all objects 2018-09-30 14:22:21.436 - warn: admin.0 No repository source configured 2018-09-30 14:22:21.870 - info: admin.0 received all states 2018-09-30 14:22:21.908 - info: admin.0 http server listening on port 8081 2018-09-30 14:22:21.908 - info: admin.0 Use link "http://localhost:8081" to configure. 2018-09-30 14:22:24.788 - info: admin.0 Repository received successfully. 2018-09-30 14:22:26.791 - error: admin.0 uncaught exception: Cannot read property 'unmask' of undefined 2018-09-30 14:22:26.791 - error: admin.0 TypeError: Cannot read property 'unmask' of undefined 2018-09-30 14:22:26.793 - info: admin.0 terminating http server on port 8081 2018-09-30 14:22:26.818 - info: admin.0 terminating 2018-09-30 14:22:26.979 - error: host.NAS5 instance system.adapter.admin.0 terminated with code 0 (OK) 2018-09-30 14:22:26.979 - info: host.NAS5 Restart adapter system.adapter.admin.0 because enabled 2018-09-30 14:22:57.000 - info: host.NAS5 instance system.adapter.admin.0 started with pid 27286 2018-09-30 14:22:58.452 - info: admin.0 starting. Version 3.5.9 in /opt/iobroker/node_modules/iobroker.admin, node: v8.12.0 2018-09-30 14:22:58.682 - info: admin.0 requesting all states 2018-09-30 14:22:58.687 - info: admin.0 requesting all objects 2018-09-30 14:22:58.688 - info: admin.0 Request actual repository... 2018-09-30 14:23:18.294 - info: admin.0 received all objects 2018-09-30 14:23:18.317 - warn: admin.0 No repository source configured 2018-09-30 14:23:18.531 - info: admin.0 received all states 2018-09-30 14:23:18.568 - info: admin.0 http server listening on port 8081 2018-09-30 14:23:18.568 - info: admin.0 Use link "http://localhost:8081" to configure. 2018-09-30 14:23:18.852 - error: admin.0 uncaught exception: Cannot read property 'unmask' of undefined 2018-09-30 14:23:18.852 - error: admin.0 TypeError: Cannot read property 'unmask' of undefined 2018-09-30 14:23:18.854 - info: admin.0 terminating http server on port 8081 2018-09-30 14:23:18.876 - info: admin.0 terminating 2018-09-30 14:23:19.039 - error: host.NAS5 instance system.adapter.admin.0 terminated with code 0 (OK) 2018-09-30 14:23:19.039 - info: host.NAS5 Restart adapter system.adapter.admin.0 because enabled bytegetter@NAS5:/opt/iobroker$
2018-09-30 14:24:10.347 - error: Caught by controller[0]: TypeError: Cannot read property 'unmask' of undefined 2018-09-30 14:24:10.347 - error: Caught by controller[0]: at Receiver.unmask (/opt/iobroker/node_modules/ws/lib/Receiver.js:306:47) 2018-09-30 14:24:10.347 - error: Caught by controller[0]: at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:505:25) 2018-09-30 14:24:10.347 - error: Caught by controller[0]: at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:493:33) 2018-09-30 14:24:10.347 - error: Caught by controller[0]: at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24) 2018-09-30 14:24:10.348 - error: Caught by controller[0]: at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20) 2018-09-30 14:24:10.348 - error: Caught by controller[0]: at emitOne (events.js:116:13) 2018-09-30 14:24:10.348 - error: Caught by controller[0]: at Socket.emit (events.js:211:7) 2018-09-30 14:24:10.348 - error: Caught by controller[0]: at addChunk (_stream_readable.js:263:12) 2018-09-30 14:24:10.348 - error: Caught by controller[0]: at readableAddChunk (_stream_readable.js:250:11) 2018-09-30 14:24:10.348 - error: Caught by controller[0]: at Socket.Readable.push (_stream_readable.js:208:10)
unmask ist lt. Tante Google der Hinweis darauf, dass bufferutil nicht installiert ist.
Wenn ich das Backup zurückspiele, dann funktionierts wieder. Damit bekomme ich die Updates allerdings nicht zum laufen.
Hat jemand eine Idee?
Gruß,
Bytegetter
-
Ich mach mal die Ingrid:
Dieses mal funktionierte das Reinstall-Script (beim letzten mal war die ganze Installation danach kaputt) und der IOBroker funktioniert dieses mal sogar schneller als vorher..