@PitaJ Worked, thanks For some reason I had the idea cd wouldn't work there
Crayz
Posts
-
Ubuntu 16.04 executing '/path/to/nodebb start' causes error -
Ubuntu 16.04 executing '/path/to/nodebb start' causes errorIn the terminal if I set my cd to the root of nodebb install and execute ./nodebb start, NodeBB starts up fine. However if my cd is elsewhere and I execute /path/to/nodebb start I receive errors:
module.js:327
throw err;
^Error: Cannot find module '/root/app.js'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:974:3
[cluster] Child Process (2235) has exited (code: 1, signal: null)I'm trying to create an init.d script which will execute '/path/to/nodebb start' on system startup. Currently my solution is to move nodebb installation to the /root/ directory or create shortcuts from /root/ to nodebb, is there a better solution?
-
Local login take a long time...@julian I am running Ubuntu 16.04 hosted at http://nfoservers.com -- my login was slow as well, roughly 5 seconds after pressing the button. The bcrypt change solved my problem, thanks.