When I deploy a Sails.js app to OpenShift it restarts over and over again.
So basically I am having the exact same problem with the same output from
In order to start Sails on OpenShift, you need to set the
host config keys in your
port: process.env.OPENSHIFT_NODEJS_PORT || 8080, host: process.env.OPENSHIFT_NODEJS_IP
The question / answer you referred to is valid; the
supervisor instance on OpenShift does seem to have a problem with Grunt. The quick solution is to start your app once to get the
.tmp directory built, then stop it and move your
Gruntfile.js elsewhere. Then you can start your app with
ctl_app start and it should do fine. You might also
killall node before you start the app, just to make sure previous attempts aren't still going.