(gelöst) Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Forum zum Mitteilen von Fehlern
Antworten
aftershowman
starter
Beiträge: 55
Registriert: 01.04.2016, 20:19

(gelöst) Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von aftershowman » 14.09.2018, 16:51

Lösung:

Hallo,.

Lösung war der Downgrad des JSControllers auf 1.42
1.5.x ist ja zurück gezogen worden.

Nur Downgrad des JSControllers war aber nicht ausreichend wenn man HTTPS beim Webserver benutzt

Hab nen Tip von meinem Sohn bekommen.
Das entscheidende war das beim Downgrade vom JSController auch das "Greenlock" package downgraded.

Hier die npm Befehle die ich auf meinem PI ausgeführt habe um ein Downgrade vom JSConroller 1.53 auf 1.42 zu machen.

cd /opt/iobroker
sudo iobroker stop
npm i iobroker.js-controller@1.4.2 --production
npm cache clean
npm install --save greenlock@2.2.x
sudo iobroker start


Ende Lösung:
--------------------------------------------------------------------

Hallo nach dem Update des JS-Controllers auf Version 1.51 startet die HTTPS Web Instance nicht mehr.
Verwende Lets Encrypt für die Zertificate.
Die HTTP Instance hat keine Probleme.
Es gab keine Fehlermeldungen während der Upgrade Prozesses.


Hardware: RASPI 3
NPM Version: 3.10.10
NodeJS Version: V6.12.3
Admin Adapter Version 3.59
Alle installierten Adapter auf dem aktuellen Stand
Nutze Verwahrungsort: http://download.iobroker.net/sources-dist-latest.json


Hier die Logs:

host.wg6-wetter 2018-09-14 17:20:11.805 error instance system.adapter.web.1 terminated with code 0 (OK)
Caught 2018-09-14 17:20:11.805 error by controller[1]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
Caught 2018-09-14 17:20:11.804 error by controller[1]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
Caught 2018-09-14 17:20:11.804 error by controller[1]: at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-14 17:20:11.804 error by controller[1]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
Caught 2018-09-14 17:20:11.804 error by controller[1]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-14 17:20:11.804 error by controller[1]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-14 17:20:11.803 error by controller[1]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
Caught 2018-09-14 17:20:11.803 error by controller[1]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
Caught 2018-09-14 17:20:11.803 error by controller[1]: at Socket.that.getForeignObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:724:21)
Caught 2018-09-14 17:20:11.802 error by controller[1]: at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29)
Caught 2018-09-14 17:20:11.801 error by controller[1]: at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28)
Caught 2018-09-14 17:20:11.801 error by controller[1]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
Caught 2018-09-14 17:20:11.801 error by controller[1]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
Caught 2018-09-14 17:20:11.801 error by controller[1]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
Caught 2018-09-14 17:20:11.801 error by controller[1]: at Array.forEach (native)
Caught 2018-09-14 17:20:11.800 error by controller[1]: at /opt/iobroker/node_modules/greenlock/index.js:17:33
Caught 2018-09-14 17:20:11.800 error by controller[1]: TypeError: util.promisify is not a function
Caught 2018-09-14 17:20:11.800 error by controller[0]: Detected Let's Encrypt v02 URL. Changing version to draft-12.
Caught 2018-09-14 17:20:11.800 error by controller[0]: This will be required in versions v2.3+
Caught 2018-09-14 17:20:11.800 error by controller[0]: (also 'npm install --save le-acme-core' as this legacy dependency will soon be removed)
Caught 2018-09-14 17:20:11.799 error by controller[0]: 'v01' for Let's Encrypt v1 (deprecated)
Caught 2018-09-14 17:20:11.799 error by controller[0]: or
Caught 2018-09-14 17:20:11.799 error by controller[0]: ('v02' is an alias of 'draft-12'
Caught 2018-09-14 17:20:11.799 error by controller[0]: 'draft-12' for Let's Encrypt v2 and ACME draft 12
Caught 2018-09-14 17:20:11.799 error by controller[0]: Please specify 'version' option:
Caught 2018-09-14 17:20:11.798 error by controller[0]: ==========================================================
Caught 2018-09-14 17:20:11.797 error by controller[0]: == greenlock.js (v2.2.0+) ==
Caught 2018-09-14 17:20:11.796 error by controller[0]: ==========================================================
web.1 2018-09-14 17:20:11.722 error uncaught exception: util.promisify is not a function
host.wg6-wetter 2018-09-14 17:20:07.965 info instance system.adapter.web.1 started with pid 13423
Zuletzt geändert von aftershowman am 21.09.2018, 21:24, insgesamt 3-mal geändert.
Homematic: CCU2 (2.17.15) ; 56 RF Geräte, 4 wired Geräte
ioBroker PC: Intel celeron 1007U 1.5GHz, 4GB RAM, 128 GB SSD

Benutzeravatar
lobomau
guru
Beiträge: 1226
Registriert: 24.03.2016, 10:45

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von lobomau » 14.09.2018, 17:15

Du bist nicht alleine. Habe ich an anderer Stelle auch schon geschrieben.
Zuhause bin ich nun über http unterwegs.
Ist auch mit anderer HW ein Problem:

Code: Alles auswählen

Platform       : linux
Architecture   : x64
CPUs           : 4
Speed          : 1600 MHz
Model          : Common KVM processor
RAM            : 3.7 GB
System uptime  : 02:47:03
Node.js        : v8.12.0
Disk size      : 23.5 GiB
Disk free      : 16.0 GiB
adapters count : 222
NPM            : v6.4.1
Edit: (anderes Thema) systeminfo muckt auch rum:
Spoiler: Show hidden text

Code: Alles auswählen

host.iobroker-ubuntu	2018-09-14 18:15:44.980	info	Restart adapter system.adapter.systeminfo.0 because enabled
host.iobroker-ubuntu	2018-09-14 18:15:44.980	error	instance system.adapter.systeminfo.0 terminated with code 0 (OK)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at process._tickCallback (internal/process/next_tick.js:181:9)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at _combinedTickCallback (internal/process/next_tick.js:132:7)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at processImmediate (timers.js:745:5)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at tryOnImmediate (timers.js:768:5)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at runCallback (timers.js:810:20)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at Adapter.emit (events.js:214:7)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at emitTwo (events.js:126:13)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at Adapter.adapter.on.on.on.on.on (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:121:98)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: TypeError: Cannot read property 'then' of undefined
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at processImmediate [as _immediateCallback] (timers.js:745:5)
Caught	2018-09-14 18:15:44.979	error	by controller[1]: at tryOnImmediate (timers.js:768:5)
Caught	2018-09-14 18:15:44.978	error	by controller[1]: at runCallback (timers.js:810:20)
Caught	2018-09-14 18:15:44.978	error	by controller[1]: at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
Caught	2018-09-14 18:15:44.978	error	by controller[1]: at Adapter.emit (events.js:214:7)
Caught	2018-09-14 18:15:44.978	error	by controller[1]: at emitTwo (events.js:126:13)
Caught	2018-09-14 18:15:44.978	error	by controller[1]: at Adapter.adapter.on.on.on.on.on (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:121:98)
Caught	2018-09-14 18:15:44.978	error	by controller[1]: TypeError: Cannot read property 'then' of undefined
Caught	2018-09-14 18:15:44.978	error	by controller[0]: at processImmediate [as _immediateCallback] (timers.js:745:5)
Caught	2018-09-14 18:15:44.978	error	by controller[0]: at tryOnImmediate (timers.js:768:5)
Caught	2018-09-14 18:15:44.978	error	by controller[0]: at runCallback (timers.js:810:20)
Caught	2018-09-14 18:15:44.978	error	by controller[0]: at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
Caught	2018-09-14 18:15:44.977	error	by controller[0]: at Adapter.emit (events.js:214:7)
Caught	2018-09-14 18:15:44.977	error	by controller[0]: at emitTwo (events.js:126:13)
Caught	2018-09-14 18:15:44.977	error	by controller[0]: at Adapter.adapter.on.on.on.on.on (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:121:98)
Caught	2018-09-14 18:15:44.977	error	by controller[0]: TypeError: Cannot read property 'then' of undefined
systeminfo.0	2018-09-14 18:15:44.901	error	at processImmediate [as _immediateCallback] (timers.js:745:5)
systeminfo.0	2018-09-14 18:15:44.901	error	at tryOnImmediate (timers.js:768:5)
systeminfo.0	2018-09-14 18:15:44.901	error	at runCallback (timers.js:810:20)
systeminfo.0	2018-09-14 18:15:44.901	error	at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
systeminfo.0	2018-09-14 18:15:44.901	error	at Adapter.emit (events.js:214:7)
systeminfo.0	2018-09-14 18:15:44.901	error	at emitTwo (events.js:126:13)
systeminfo.0	2018-09-14 18:15:44.901	error	at Adapter.adapter.on.on.on.on.on (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:121:98)
systeminfo.0	2018-09-14 18:15:44.901	error	TypeError: Cannot read property 'then' of undefined
systeminfo.0	2018-09-14 18:15:44.899	error	uncaught exception: Cannot read property 'then' of undefined
host.iobroker-ubuntu	2018-09-14 18:15:03.779	info	instance system.adapter.tankerkoenig.0 terminated with code 0 (OK)
Host: brix 3150 mit Proxmox
- VM Ubuntu 18.04 (ioB mit vis, hue, ical, ping, telegram, tankerkoenig, DWD, radar.0, Landroid S...)
- VM für mysql
- 2 Container: pihole, unifi-controller
Slave: pi3 (rflink, radar.1, rpi)
pi1 (picam mit motioneye)

JohGre
starter
Beiträge: 33
Registriert: 02.04.2017, 12:34

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von JohGre » 14.09.2018, 18:40

Auch bei mir seit dem Update bei den Adaptern rpc, Alexa und gardena immer wieder Fehlermeldungen.

Code: Alles auswählen

2018-09-14 16:52:03.798 - error: alexa2.0 uncaught exception: Cannot read property 'startsWith' of undefined
2018-09-14 16:52:03.799 - error: alexa2.0 TypeError: Cannot read property 'startsWith' of undefined
at Adapter.adapter.on (/opt/iobroker/node_modules/iobroker.alexa2/main.js:308:19)
at emitTwo (events.js:106:13)
at Adapter.emit (events.js:191:7)
at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
2018-09-14 16:52:03.802 - warn: alexa2.0 Exception: TypeError: Cannot read property 'startsWith' of undefined
2018-09-14 16:52:03.854 - error: Caught by controller[0]: TypeError: Cannot read property 'startsWith' of undefined
2018-09-14 16:52:03.859 - error: Caught by controller[0]: at Adapter.adapter.on (/opt/iobroker/node_modules/iobroker.alexa2/main.js:308:19)
2018-09-14 16:52:03.860 - error: Caught by controller[0]: at emitTwo (events.js:106:13)
2018-09-14 16:52:03.861 - error: Caught by controller[0]: at Adapter.emit (events.js:191:7)
2018-09-14 16:52:03.861 - error: Caught by controller[0]: at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
2018-09-14 16:52:03.861 - error: Caught by controller[0]: at runCallback (timers.js:672:20)
2018-09-14 16:52:03.861 - error: Caught by controller[0]: at tryOnImmediate (timers.js:645:5)
2018-09-14 16:52:03.861 - error: Caught by controller[0]: at processImmediate [as _immediateCallback] (timers.js:617:5)
2018-09-14 16:52:03.861 - error: host.ioBroker instance system.adapter.alexa2.0 terminated with code 0 (OK)
2018-09-14 16:52:03.862 - info: host.ioBroker Restart adapter system.adapter.alexa2.0 because enabled

2018-09-14 17:27:33.048 - error: gardena.0 uncaught exception: Cannot read property 'split' of undefined
2018-09-14 17:27:33.129 - error: Caught by controller[0]: TypeError: Cannot read property 'split' of undefined
2018-09-14 17:27:33.134 - error: Caught by controller[0]: at Adapter. (/opt/iobroker/node_modules/iobroker.gardena/main.js:65:38)
2018-09-14 17:27:33.135 - error: Caught by controller[0]: at emitTwo (events.js:106:13)
2018-09-14 17:27:33.136 - error: Caught by controller[0]: at Adapter.emit (events.js:191:7)
2018-09-14 17:27:33.136 - error: Caught by controller[0]: at Immediate. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
2018-09-14 17:27:33.136 - error: Caught by controller[0]: at runCallback (timers.js:672:20)
2018-09-14 17:27:33.136 - error: Caught by controller[0]: at tryOnImmediate (timers.js:645:5)
2018-09-14 17:27:33.136 - error: Caught by controller[0]: at processImmediate [as _immediateCallback] (timers.js:617:5)
2018-09-14 17:27:33.136 - error: host.ioBroker instance system.adapter.gardena.0 terminated with code 0 (OK)

2018-09-14 18:36:46.494 - error: hm-rpc.0 Cannot call setValue: :TypeError: argument 'obj' must be type number, string, boolean or object
2018-09-14 18:36:46.506 - error: hm-rpc.0 Cannot call setValue: :TypeError: argument 'obj' must be type number, string, boolean or object
2018-09-14 18:36:46.511 - error: hm-rpc.0 Cannot call setValue: :TypeError: argument 'obj' must be type number, string, boolean or object

Außerdem immer wieder warnings

Code: Alles auswählen

2018-09-14 19:29:33.720 - warn: admin.0 Disable logging, because no one socket connected
2018-09-14 19:35:12.104 - info: host.ioBroker Update repository "latest" under "http://download.iobroker.net/sources-dist-latest.json"
2018-09-14 19:35:14.025 - warn: admin.0 Repository cannot be read. Invalid "system.config" object.

Benutzeravatar
Holger76
professional
Beiträge: 156
Registriert: 20.10.2016, 20:13

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von Holger76 » 14.09.2018, 19:03

NUC6CAYH -> Proxmox VM [ioBroker.Pro auf Debian 9]+[InfluxDB + Grafana]
RPi3 -> Raspberrymatic - ca 100 Geräte, hue - ca 30 Lampen, 5x Amazon Echo, 1x Wandtablet mit VIS App, Xiaomi Mi Robot V.Cleaner, Xiaomi Smarthome ~20 Geräte

JohGre
starter
Beiträge: 33
Registriert: 02.04.2017, 12:34

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von JohGre » 14.09.2018, 19:30

Danke

cvidal
professional
Beiträge: 409
Registriert: 10.02.2017, 22:32
Wohnort: Münsterland

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von cvidal » 14.09.2018, 20:02

Ich bekomme seit dem Update auch Fehler wenn ich den Vacuum Adapter Starte.

NodeJS Version: V10.2.1
NPM Version: 4.6.1
Alle Adapter sind Aktuell auf latest.

Code: Alles auswählen

host.Vidal	2018-09-14 20:58:58.736	error	instance system.adapter.mihome-vacuum.0 terminated with code 0 (OK)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at processImmediate [as _immediateCallback] (timers.js:617:5)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at tryOnImmediate (timers.js:645:5)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at runCallback (timers.js:672:20)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at Adapter.emit (events.js:191:7)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at emitTwo (events.js:106:13)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:131:13)
Caught	2018-09-14 20:58:58.734	error	by controller[0]: at parseGoTo (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:204:31)
Caught	2018-09-14 20:58:58.734	error	by controller[0]: TypeError: Cannot read property 'split' of null
mihome-vacuum.0	2018-09-14 20:58:58.667	info	terminating
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at processImmediate [as _immediateCallback] (timers.js:617:5)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at tryOnImmediate (timers.js:645:5)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at runCallback (timers.js:672:20)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at Adapter.emit (events.js:191:7)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at emitTwo (events.js:106:13)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:131:13)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at parseGoTo (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:204:31)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	TypeError: Cannot read property 'split' of null
mihome-vacuum.0	2018-09-14 20:58:58.637	error	uncaught exception: Cannot read property 'split' of null
Edit hm-rpc wirft auch fehler:

Code: Alles auswählen

hm-rpc.0	2018-09-14 21:50:42.849	error	Error: XML-RPC fault: Failure
hm-rpc.0	2018-09-14 21:50:42.849	error	xmlrpc -> setValue ["3","STATE",false] BOOL
Gruß Christian
Zuletzt geändert von cvidal am 14.09.2018, 20:51, insgesamt 1-mal geändert.
ioBroker auf Odroid xu4
Raspberrymatic 21 Geräte
KNX
MiHome 27 Geräte
MiLight 12 Geräte
Echo + Echo Dot
WEMOS

Buhu91
starter
Beiträge: 55
Registriert: 22.10.2017, 15:56

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von Buhu91 » 14.09.2018, 20:25

cvidal hat geschrieben:
14.09.2018, 20:02
Ich bekomme seit dem Update auch Fehler wenn ich den Vacuum Adapter Starte.

NodeJS Version: V10.2.1
NPM Version: 4.6.1
Alle Adapter sind Aktuell auf latest.

Code: Alles auswählen

host.Vidal	2018-09-14 20:58:58.736	error	instance system.adapter.mihome-vacuum.0 terminated with code 0 (OK)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at processImmediate [as _immediateCallback] (timers.js:617:5)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at tryOnImmediate (timers.js:645:5)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at runCallback (timers.js:672:20)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at Adapter.emit (events.js:191:7)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at emitTwo (events.js:106:13)
Caught	2018-09-14 20:58:58.735	error	by controller[0]: at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:131:13)
Caught	2018-09-14 20:58:58.734	error	by controller[0]: at parseGoTo (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:204:31)
Caught	2018-09-14 20:58:58.734	error	by controller[0]: TypeError: Cannot read property 'split' of null
mihome-vacuum.0	2018-09-14 20:58:58.667	info	terminating
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at processImmediate [as _immediateCallback] (timers.js:617:5)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at tryOnImmediate (timers.js:645:5)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at runCallback (timers.js:672:20)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3725:38)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at Adapter.emit (events.js:191:7)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at emitTwo (events.js:106:13)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:131:13)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	at parseGoTo (/opt/iobroker/node_modules/iobroker.mihome-vacuum/main.js:204:31)
mihome-vacuum.0	2018-09-14 20:58:58.640	error	TypeError: Cannot read property 'split' of null
mihome-vacuum.0	2018-09-14 20:58:58.637	error	uncaught exception: Cannot read property 'split' of null
Bei mir das selbe Bild.
Bin nun wieder auf 1.4.2 zurück. Läuft nun wieder.
HomeMatic, MiHome, Yeelight, Wifi light, G-Homa, Osram Smart+, Hue, Sonoff

aftershowman
starter
Beiträge: 55
Registriert: 01.04.2016, 20:19

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von aftershowman » 15.09.2018, 12:21

Hallo Buhu91,
kannnst Du kurz den Befehl/e posten wie man auf 1.42 zurück kommt.

Danke
Homematic: CCU2 (2.17.15) ; 56 RF Geräte, 4 wired Geräte
ioBroker PC: Intel celeron 1007U 1.5GHz, 4GB RAM, 128 GB SSD

Benutzeravatar
sigi234
professional
Beiträge: 764
Registriert: 12.06.2017, 21:22

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von sigi234 » 15.09.2018, 12:36

Code: Alles auswählen

cd /opt/iobroker 
iobroker stop
npm i iobroker.js-controller@1.4.2 --production
iobroker start
MfG
Sigi

Benutzeravatar
Homoran
guru
Beiträge: 13027
Registriert: 08.08.2014, 16:50

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von Homoran » 15.09.2018, 19:38

Bluefox hat eben die neueste Version des js controllers (1.5.3) im latest repository gepusht.

Bitte alle, die bisher mit 1.5.x Probleme hatten, diese Version installieren, danach einen Reboot durchführen.
Weiter auftretende Probleme bitte in dem folgenden Thread posten
viewtopic.php?f=36&t=16908


Gruß
Rainer
kein Support per PN!
Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

Benutzeravatar
apollon77
guru
Beiträge: 7104
Registriert: 10.04.2015, 12:27

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von apollon77 » 19.09.2018, 12:41

Da die 1.5.x leider weiterhin noch Probleme hat und aber auch gerade andere Baustellen (z.B. Cloud Timeouts manchmal) sehr wichtig sind haben wir entschieden die 1.4.2 vom js-controller wieder als "latest" zu flaggen. Ab dem nächsten Repo-Update nächste Nacht sollte damit keiner mehr die 1.5.x als "latest" angezeigt bekommen.
Wer auf 1.5.x ist und alles tut kann gern dort bleiben.

Sobald die anderen Themen gefixt sind werden wir einen neuen Anlauf mit der 1.5.x machen.

So lange Danke für Eure Unterstützung und Geduld! Die nächste Runde kommt bald :-)

Ingo & Bluefox
How-to:
* Debug-Log für einen Adapter/Instanz einschalten? -> Instanzen -> Expertenomodus -> Spalte Loglevel/Log-Stufe

aftershowman
starter
Beiträge: 55
Registriert: 01.04.2016, 20:19

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von aftershowman » 20.09.2018, 21:21

Hallo,

bin auf 1.42 zurück gegangen.

HAb das so gemacht:

cd /opt/iobroker
iobroker stop
npm i iobroker.js-controller@1.4.2 --production
iobroker start

Die HTTPS Instance des Webserves startet aber immer noch nicht.
Bekomme Lets encrypt bezoge Fehlermeldungen.

Was muß ich noch tiun?

Hier die Fehlermeldungen:

host.wg6-wetter 2018-09-20 22:15:44.955 error instance system.adapter.web.1 terminated with code 0 (OK)
Caught 2018-09-20 22:15:44.954 error by controller[1]: at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12)
Caught 2018-09-20 22:15:44.954 error by controller[1]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-20 22:15:44.954 error by controller[1]: at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-20 22:15:44.953 error by controller[1]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
Caught 2018-09-20 22:15:44.953 error by controller[1]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-20 22:15:44.953 error by controller[1]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-20 22:15:44.952 error by controller[1]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
Caught 2018-09-20 22:15:44.952 error by controller[1]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
Caught 2018-09-20 22:15:44.952 error by controller[1]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:705:21)
Caught 2018-09-20 22:15:44.951 error by controller[1]: at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29)
Caught 2018-09-20 22:15:44.950 error by controller[1]: at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28)
Caught 2018-09-20 22:15:44.950 error by controller[1]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
Caught 2018-09-20 22:15:44.950 error by controller[1]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
Caught 2018-09-20 22:15:44.949 error by controller[1]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
Caught 2018-09-20 22:15:44.949 error by controller[1]: at Array.forEach (native)
Caught 2018-09-20 22:15:44.947 error by controller[1]: at /opt/iobroker/node_modules/greenlock/index.js:17:33
Caught 2018-09-20 22:15:44.947 error by controller[1]: TypeError: util.promisify is not a function
Caught 2018-09-20 22:15:44.947 error by controller[0]: Please update to Let's Encrypt v2 (ACME draft 12)
Caught 2018-09-20 22:15:44.946 error by controller[0]: Let's Encrypt v1 is deprecated.
Caught 2018-09-20 22:15:44.946 error by controller[0]: === WARNING ===
Caught 2018-09-20 22:15:44.944 error by controller[0]: Detected Let's Encrypt v01 URL (deprecated). Changing version to v01.
Caught 2018-09-20 22:15:44.944 error by controller[0]: This will be required in versions v2.3+
Caught 2018-09-20 22:15:44.943 error by controller[0]: (also 'npm install --save le-acme-core' as this legacy dependency will soon be removed)
Caught 2018-09-20 22:15:44.943 error by controller[0]: 'v01' for Let's Encrypt v1 (deprecated)
Caught 2018-09-20 22:15:44.943 error by controller[0]: or
Caught 2018-09-20 22:15:44.942 error by controller[0]: ('v02' is an alias of 'draft-12'
Caught 2018-09-20 22:15:44.942 error by controller[0]: 'draft-12' for Let's Encrypt v2 and ACME draft 12
Caught 2018-09-20 22:15:44.941 error by controller[0]: Please specify 'version' option:
Caught 2018-09-20 22:15:44.941 error by controller[0]: ==========================================================
Caught 2018-09-20 22:15:44.940 error by controller[0]: == greenlock.js (v2.2.0+) ==
Caught 2018-09-20 22:15:44.939 error by controller[0]: ==========================================================
web.1 2018-09-20 22:15:44.854 error uncaught exception: util.promisify is not a function
host.wg6-wetter 2018-09-20 22:15:39.975 info instance system.adapter.web.1 started with pid 8672
Homematic: CCU2 (2.17.15) ; 56 RF Geräte, 4 wired Geräte
ioBroker PC: Intel celeron 1007U 1.5GHz, 4GB RAM, 128 GB SSD

Benutzeravatar
Stabilostick
professional
Beiträge: 830
Registriert: 23.05.2018, 14:52

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von Stabilostick » 20.09.2018, 21:37

Code: Alles auswählen

npm install --save le-acme-core --force
im ioBroker-Ordner.

aftershowman
starter
Beiträge: 55
Registriert: 01.04.2016, 20:19

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von aftershowman » 21.09.2018, 17:44

Hallo,

hab "sudo npm install --save le-acme-core --force" ausgeführt
und anschließende den PI gebootet.

es kommen immer noch die gleichen fehlermedlungen, wenn ich die HTTPS Instance vom Webserver starte.

Wer kann helfen?

Grüße, Frank

host.wg6-wetter 2018-09-21 18:40:28.160 error instance system.adapter.web.1 terminated with code 0 (OK)
Caught 2018-09-21 18:40:28.160 error by controller[9]: at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12)
Caught 2018-09-21 18:40:28.160 error by controller[9]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-21 18:40:28.160 error by controller[9]: at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-21 18:40:28.160 error by controller[9]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
Caught 2018-09-21 18:40:28.159 error by controller[9]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-21 18:40:28.159 error by controller[9]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-21 18:40:28.159 error by controller[9]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
Caught 2018-09-21 18:40:28.159 error by controller[9]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
Caught 2018-09-21 18:40:28.159 error by controller[9]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:705:21)
Caught 2018-09-21 18:40:28.158 error by controller[9]: at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29)
Caught 2018-09-21 18:40:28.158 error by controller[9]: at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28)
Caught 2018-09-21 18:40:28.158 error by controller[9]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
Caught 2018-09-21 18:40:28.158 error by controller[9]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
Caught 2018-09-21 18:40:28.158 error by controller[9]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
Caught 2018-09-21 18:40:28.157 error by controller[9]: at Array.forEach (native)
Caught 2018-09-21 18:40:28.157 error by controller[9]: at /opt/iobroker/node_modules/greenlock/index.js:17:33
Caught 2018-09-21 18:40:28.157 error by controller[9]: TypeError: util.promisify is not a function
Caught 2018-09-21 18:40:28.157 error by controller[8]: Please update to Let's Encrypt v2 (ACME draft 12)
Caught 2018-09-21 18:40:28.156 error by controller[8]: Let's Encrypt v1 is deprecated.
Caught 2018-09-21 18:40:28.156 error by controller[8]: === WARNING ===
Caught 2018-09-21 18:40:28.156 error by controller[6]: Detected Let's Encrypt v01 URL (deprecated). Changing version to v01.
Caught 2018-09-21 18:40:28.156 error by controller[5]: This will be required in versions v2.3+
Caught 2018-09-21 18:40:28.156 error by controller[4]: (also 'npm install --save le-acme-core' as this legacy dependency will soon be removed)
Caught 2018-09-21 18:40:28.155 error by controller[4]: 'v01' for Let's Encrypt v1 (deprecated)
Caught 2018-09-21 18:40:28.155 error by controller[3]: or
Caught 2018-09-21 18:40:28.155 error by controller[3]: ('v02' is an alias of 'draft-12'
Caught 2018-09-21 18:40:28.155 error by controller[3]: 'draft-12' for Let's Encrypt v2 and ACME draft 12
Caught 2018-09-21 18:40:28.155 error by controller[2]: Please specify 'version' option:
Caught 2018-09-21 18:40:28.154 error by controller[2]: ==========================================================
Caught 2018-09-21 18:40:28.154 error by controller[2]: == greenlock.js (v2.2.0+) ==
Caught 2018-09-21 18:40:28.153 error by controller[1]: ==========================================================
host.wg6-wetter 2018-09-21 18:40:23.740 info instance system.adapter.web.1 started with pid 1308
Homematic: CCU2 (2.17.15) ; 56 RF Geräte, 4 wired Geräte
ioBroker PC: Intel celeron 1007U 1.5GHz, 4GB RAM, 128 GB SSD

Benutzeravatar
arteck
guru
Beiträge: 2155
Registriert: 02.10.2016, 13:52
Wohnort: NRW

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von arteck » 21.09.2018, 18:31

hast mal geschaut ob die Zertifikte noch da sind.. ??
zigbee-shepherd version: 2.6.3 rev 20180815

aftershowman
starter
Beiträge: 55
Registriert: 01.04.2016, 20:19

Re: Nach Update JS-Controller 1.51: HTTPS Web Instance startet nicht mehr

Beitrag von aftershowman » 21.09.2018, 20:51

Hallo,
denek das die Zerrtificate da sind .

unter den System Einstellungne Reiter Zertificate sehe ich "defaultPrivate" und defaultPublic"
unter dem Ordner ".. encrypt" liegen auch entsprechnde DAteien vom 9.5.2018

HAb auch mal das hier probiert und den JsController anschließend neu gestartet .

npm cache clean
npm install --save greenlock@2.x

hat auch nicht genutzt.
Die Fehler meldungen sind immer noch da.

Hier die letzten Logs:
Spoiler: Show hidden text
host.wg6-wetter 2018-09-21 21:45:42.166 info Restart adapter system.adapter.web.1 because enabled
host.wg6-wetter 2018-09-21 21:45:42.166 error instance system.adapter.web.1 terminated with code 0 (OK)
Caught 2018-09-21 21:45:42.165 error by controller[9]: at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12)
Caught 2018-09-21 21:45:42.165 error by controller[9]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-21 21:45:42.165 error by controller[9]: at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-21 21:45:42.164 error by controller[9]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
Caught 2018-09-21 21:45:42.164 error by controller[9]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
Caught 2018-09-21 21:45:42.164 error by controller[9]: at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
Caught 2018-09-21 21:45:42.164 error by controller[9]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
Caught 2018-09-21 21:45:42.164 error by controller[9]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
Caught 2018-09-21 21:45:42.163 error by controller[9]: at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:705:21)
Caught 2018-09-21 21:45:42.163 error by controller[9]: at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29)
Caught 2018-09-21 21:45:42.163 error by controller[9]: at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28)
Caught 2018-09-21 21:45:42.163 error by controller[9]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
Caught 2018-09-21 21:45:42.163 error by controller[9]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
Caught 2018-09-21 21:45:42.162 error by controller[9]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
Caught 2018-09-21 21:45:42.161 error by controller[9]: at Array.forEach (native)
Caught 2018-09-21 21:45:42.161 error by controller[9]: at /opt/iobroker/node_modules/greenlock/index.js:17:33
Caught 2018-09-21 21:45:42.160 error by controller[9]: TypeError: util.promisify is not a function
Caught 2018-09-21 21:45:42.160 error by controller[8]: Please update to Let's Encrypt v2 (ACME draft 12)
Caught 2018-09-21 21:45:42.160 error by controller[8]: Let's Encrypt v1 is deprecated.
Caught 2018-09-21 21:45:42.160 error by controller[8]: === WARNING ===
Caught 2018-09-21 21:45:42.159 error by controller[6]: Detected Let's Encrypt v01 URL (deprecated). Changing version to v01.
Caught 2018-09-21 21:45:42.159 error by controller[4]: This will be required in versions v2.3+
Caught 2018-09-21 21:45:42.159 error by controller[4]: (also 'npm install --save le-acme-core' as this legacy dependency will soon be removed)
Caught 2018-09-21 21:45:42.159 error by controller[3]: 'v01' for Let's Encrypt v1 (deprecated)
Caught 2018-09-21 21:45:42.159 error by controller[3]: or
Caught 2018-09-21 21:45:42.158 error by controller[2]: ('v02' is an alias of 'draft-12'
Caught 2018-09-21 21:45:42.158 error by controller[2]: 'draft-12' for Let's Encrypt v2 and ACME draft 12
Caught 2018-09-21 21:45:42.158 error by controller[2]: Please specify 'version' option:
Caught 2018-09-21 21:45:42.158 error by controller[2]: ==========================================================
Caught 2018-09-21 21:45:42.157 error by controller[2]: == greenlock.js (v2.2.0+) ==
Caught 2018-09-21 21:45:42.156 error by controller[1]: ==========================================================
web.1 2018-09-21 21:45:42.102 error at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12)
web.1 2018-09-21 21:45:42.102 error at Decoder.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
web.1 2018-09-21 21:45:42.102 error at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
web.1 2018-09-21 21:45:42.102 error at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
web.1 2018-09-21 21:45:42.102 error at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
web.1 2018-09-21 21:45:42.102 error at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
web.1 2018-09-21 21:45:42.102 error at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
web.1 2018-09-21 21:45:42.102 error at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
web.1 2018-09-21 21:45:42.102 error at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:705:21)
web.1 2018-09-21 21:45:42.102 error at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29)
web.1 2018-09-21 21:45:42.102 error at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28)
web.1 2018-09-21 21:45:42.102 error at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26)
web.1 2018-09-21 21:45:42.102 error at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13)
web.1 2018-09-21 21:45:42.102 error at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20)
web.1 2018-09-21 21:45:42.102 error at Array.forEach (native)
web.1 2018-09-21 21:45:42.102 error at /opt/iobroker/node_modules/greenlock/index.js:17:33
web.1 2018-09-21 21:45:42.102 error TypeError: util.promisify is not a function
web.1 2018-09-21 21:45:42.098 error uncaught exception: util.promisify is not a function
web.1 2018-09-21 21:45:39.610 info starting. Version 2.4.1 in /opt/iobroker/node_modules/iobroker.web, node: v6.12.3
host.wg6-wetter 2018-09-21 21:45:37.259 info instance system.adapter.web.1 started with pid 12146
Homematic: CCU2 (2.17.15) ; 56 RF Geräte, 4 wired Geräte
ioBroker PC: Intel celeron 1007U 1.5GHz, 4GB RAM, 128 GB SSD

Antworten