-
Notifications
You must be signed in to change notification settings - Fork 102
Description
When installing Wildduck using this guide: https://github.com/zone-eu/wildduck/tree/master/setup, the zone-mta service fails to start with the following error:
/opt/zone-mta/node_modules/restify/lib/request.js:848
Sep 16 16:04:41 mda01-mail zone-mta[7378]: Request.prototype.closed = function closed() {
Sep 16 16:04:41 mda01-mail zone-mta[7378]: ^
Sep 16 16:04:41 mda01-mail zone-mta[7378]: TypeError: Cannot set property closed of # which has only a getter
Sep 16 16:04:41 mda01-mail zone-mta[7378]: at patch (/opt/zone-mta/node_modules/restify/lib/request.js:848:30)
Sep 16 16:04:41 mda01-mail zone-mta[7378]: at Object. (/opt/zone-mta/node_modules/restify/lib/server.js:>Sep 16 16:04:41 mda01-mail zone-mta[7378]: at Module._compile (node:internal/modules/cjs/loader:1706:14)
Sep 16 16:04:41 mda01-mail zone-mta[7378]: at Object..js (node:internal/modules/cjs/loader:1839:10)
Sep 16 16:04:41 mda01-mail zone-mta[7378]: at Module.load (node:internal/modules/cjs/loader:1441:32)
Sep 16 16:04:41 mda01-mail zone-mta[7378]: at Function._load (node:internal/modules/cjs/loader:1263:12)
Sep 16 16:04:41 mda01-mail zone-mta[7378]: at TracingChannel.traceSync (node:diagnostics_channel:322:14)
Apparently, the Zone-MTA service fails to start due to an error in the restify module for Node.js. The error indicates a problem with setting the closed property for a Readable object.
Tested with various combinations: Ubuntu 20.04/22.04 and NodeJS 18/20/22.