Deploy failing with "vm.args needs to have either -name or -sname parameter"

Hello,

Couple months ago, one of a few hundred deploys began to fail with a “vm.args needs to have either -name or -sname parameter” error.
The application is deployed using edeliver and distillery and is run as systemd service on Ubuntu LTS. This error isn’t accompanied by anything in the systemlogs and edeliver doesn’t say much about that as well, just:

Version Node is not running! is installed on host staging

There was an opened issue about it on the distillery GitHub Systemd script error "vm.args needs to have either -name or -sname parameter." · Issue #186 · bitwalker/distillery · GitHub where the author suggested that adding RemainAfterExit=yes may resolve the problem, but that didn’t happen in our case as we already had it.

Did anyone had similar problem?

2 Likes