ajenti-v
ajenti-v copied to clipboard
Ajenti-v on Ubuntu wrong Node executable on supervisord.conf
Currently Ajenti-v is setting the executable on supervisord.conf as:
"node"
On Debian systems should be "nodejs"
This is breaking the start of the node app obviously.
I think the problem is in this:
node_bin = 'node'
try:
subprocess.call(['which', 'node'])
except:
node_bin = 'nodejs'
"which node" is not throwing any error when I run on the CLI I just get nothing on STDout.
Have you tried to install the nodejs-legacy package ?
Sorry don't understand the question. I just:
apt-get install nodejs
Which i find interesting, because shouldnt "ajenti-v-nodejs" have a dependency on nodejs?
Should I had installed the package you mentioned? And why would I want to install a legacy package?
Thanks
OK, I just read the details of the package, and yeah it makes sense (it basically creates a symlink for nodejs)., Problem is Ajenti-v-node tries to detect the system where it is running (debian or other) and failing, so that needs to be fixed, or removed and added the respective dependencies to ajenti-v-nodejs, or am I missing something?