NEWS
Fehler beim Start des web Adapters mit aktiviertem let's encrypt
-
Hallo zusammen,
da man ja alle 3 Monate bei let's encrypt sein Zertifikat erneuert muss, habe ich den entsprechenden Web Adapter wie zuvor gestartet, allerdings scheint in der aktuellen Version ein Fehler zu sein. Sobald man den let's encrypt Haken in der Adaptperkonfiguration setzt, startet der Adapter nicht mehr.
Web Adapter ist auf Version 2.4.2, nodejs auf v6.13.1.
Wäre schön wenn mir jemand helfen könnte.
2018-09-02 00:00:06.558 - [31merror[39m: web.1 TypeError: util.promisify is not a function at Object. <anonymous>(/opt/iobroker/node_modules/safe-replace/index.js:12:27) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19) at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencryptStore.js:10:11) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17) at require (internal/module.js:20:19)</anonymous></anonymous>
-
-
Probier bitte folgendes:
cd /opt/iobroker npm install safe-replace@1.0.2 —save —production —force
Und dann den Web-Adapter noch einmal starten.
-
Vielen Dank für die Antworten.
Einen Schritt bin ich weiter, aber der web Adapter mag noch nicht starten.
npm install –save le-acme-core
hat leider auch nicht geholfen.
host.raspberrypi 2018-09-03 07:06:08.763 error instance system.adapter.web.1 terminated with code 0 (OK) Caught 2018-09-03 07:06:08.762 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-03 07:06:08.762 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-03 07:06:08.762 error by controller[9]: at Decoder. (/opt/iobroker/node_modules/component-bind/index.js:21:15) Caught 2018-09-03 07:06:08.762 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-03 07:06:08.762 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-03 07:06:08.762 error by controller[9]: at Manager. (/opt/iobroker/node_modules/component-bind/index.js:21:15) Caught 2018-09-03 07:06:08.761 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-03 07:06:08.761 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-03 07:06:08.761 error by controller[9]: at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:705:21) Caught 2018-09-03 07:06:08.761 error by controller[9]: at adapter.getCertificates (/opt/iobroker/node_modules/iobroker.web/main.js:239:29) Caught 2018-09-03 07:06:08.761 error by controller[9]: at initWebServer (/opt/iobroker/node_modules/iobroker.web/main.js:847:28) Caught 2018-09-03 07:06:08.761 error by controller[9]: at Object.createServer (/opt/iobroker/node_modules/iobroker.js-controller/lib/letsencrypt.js:55:26) Caught 2018-09-03 07:06:08.760 error by controller[9]: at Object.Greenlock.create (/opt/iobroker/node_modules/greenlock/index.js:258:13) Caught 2018-09-03 07:06:08.760 error by controller[9]: at promisifyAllSelf (/opt/iobroker/node_modules/greenlock/index.js:15:20) Caught 2018-09-03 07:06:08.760 error by controller[9]: at Array.forEach (native) Caught 2018-09-03 07:06:08.760 error by controller[9]: at /opt/iobroker/node_modules/greenlock/index.js:17:33 Caught 2018-09-03 07:06:08.760 error by controller[9]: TypeError: util.promisify is not a function Caught 2018-09-03 07:06:08.760 error by controller[7]: Please update to Let's Encrypt v2 (ACME draft 12) Caught 2018-09-03 07:06:08.759 error by controller[7]: Let's Encrypt v1 is deprecated. Caught 2018-09-03 07:06:08.759 error by controller[7]: === WARNING === Caught 2018-09-03 07:06:08.759 error by controller[5]: Detected Let's Encrypt v01 URL (deprecated). Changing version to v01. Caught 2018-09-03 07:06:08.759 error by controller[4]: This will be required in versions v2.3+ Caught 2018-09-03 07:06:08.759 error by controller[3]: (also 'npm install --save le-acme-core' as this legacy dependency will soon be removed) Caught 2018-09-03 07:06:08.759 error by controller[3]: 'v01' for Let's Encrypt v1 (deprecated) Caught 2018-09-03 07:06:08.758 error by controller[2]: or Caught 2018-09-03 07:06:08.758 error by controller[2]: ('v02' is an alias of 'draft-12' Caught 2018-09-03 07:06:08.758 error by controller[1]: 'draft-12' for Let's Encrypt v2 and ACME draft 12 Caught 2018-09-03 07:06:08.758 error by controller[1]: Please specify 'version' option: Caught 2018-09-03 07:06:08.758 error by controller[1]: ========================================================== Caught 2018-09-03 07:06:08.758 error by controller[1]: == greenlock.js (v2.2.0+) == Caught 2018-09-03 07:06:08.757 error by controller[1]: ==========================================================