Note that there are some explanatory texts on larger screens.

plurals
  1. PODeploy Sails.js on Openshift ... app restarting over and over
    primarykey
    data
    text
    <p>I want to deploy <strong>sails.js</strong> (version 0.9.7) app to <strong>Openshift</strong> but after <code>git push</code> I get this log:</p> <pre><code>debug: Lowering sails... DEBUG: Starting child process with 'node app.js' . . . info: Server lifted in `/var/lib/openshift/525ccaba5973caa65100002b/app-root/runtime/repo` info: To see your app, visit http://127.7.215.1:8080 info: To shut down Sails, press &lt;CTRL&gt; + C at any time. . . debug: -------------------------------------------------------- debug: :: Tue Oct 15 2013 03:03:56 GMT-0400 (EDT) debug: debug: Environment : development debug: Host : 127.7.215.1 debug: Port : 8080 debug: -------------------------------------------------------- . . error: Server doesn't seem to be starting. error: Perhaps something else is already running on port 8080 with hostname 127.7.215.1? . . debug: Lowering sails... DEBUG: Starting child process with 'node app.js' </code></pre> <p>Following a few tips from <a href="https://github.com/balderdashy/sails/issues/929" rel="nofollow noreferrer">this thread on GitHub</a> and also checked the sample <code>config/local.js</code> <a href="https://gist.github.com/chrisaiv/5938158" rel="nofollow noreferrer">https://gist.github.com/chrisaiv/5938158</a></p> <p>After test any of combination the <strong>Openshift</strong> server is just restarting over and over. I have also tested several ports like 8080, 80, 1337, ... and I don't think so are all busy. I've tried to run <code>node</code>app.js and application surprisingly works on port 8080 but just till I try access to <code>views/home/index</code>, probably because from <code>ssh</code> I haven't enought rights.</p> <p>Just in case, here how my <code>config/local.js</code> file looks like:</p> <pre><code>module.exports = { port: process.env.OPENSHIFT_NODEJS_PORT, host: process.env.OPENSHIFT_NODEJS_IP } </code></pre> <p>thank you for any advice;-)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload