Tough start-up (NodeBB+Centos 6)
-
I tried again to install in another domain /root folder, but nothing happens when I type: ./nodebb start ... this is discouraging
Here a copy of the last logs:info: NodeBB v0.3.0 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Fri Jan 31 2014 02:36:32 GMT+0200 (EET)
info: Initializing NodeBB v0.3.0, on port 4567, using redis store at 127.0.0.1:6379.
info: NodeBB instance bound to: 198.27.64.83
info: Enabling 'trust proxy'
warn: [init] Cache buster not set // How to fix this by the way
info: NodeBB Ready
info: No changes to client-side libraries -- skipping minification -
okay I figured out something, thx to http://burnaftercompiling.com/nodebb/setting-up-a-nodebb-forum-for-dummies/
URL of this installation (http://localhost) **http://198.199.67.89 **
I started my site, it works via:
http://w9forum.com:4567/
The question now, how to make it "reidrect" to http://www.w9forum.com ?Another problem; when I try to make nodebb run forever, I type:
$ npm install -g forever
$ forever start app.js
but I get these errors;npm http GET https://registry.npmjs.org/forever
npm http 200 https://registry.npmjs.org/forever
npm http GET https://registry.npmjs.org/forever/-/forever-0.10.11.tgz
npm http 200 https://registry.npmjs.org/forever/-/forever-0.10.11.tgz
npm http GET https://registry.npmjs.org/cliff/0.1.8
npm http GET https://registry.npmjs.org/forever-monitor/1.2.3
npm http GET https://registry.npmjs.org/flatiron
npm http GET https://registry.npmjs.org/nssocket
npm http GET https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/watch
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/pkginfo/0.3.0
npm http GET https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/nconf
npm http 200 https://registry.npmjs.org/forever-monitor/1.2.3
npm http 200 https://registry.npmjs.org/cliff/0.1.8
npm http 200 https://registry.npmjs.org/timespan
npm http 304 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/cliff/-/cliff-0.1.8.tgz
npm http GET https://registry.npmjs.org/timespan/-/timespan-2.3.0.tgz
npm http 200 https://registry.npmjs.org/nssocket
npm http GET https://registry.npmjs.org/forever-monitor/-/forever-monitor-1.2.3.tgz
npm http GET https://registry.npmjs.org/nssocket/-/nssocket-0.5.1.tgz
npm http 304 https://registry.npmjs.org/colors
npm http 200 https://registry.npmjs.org/watch
npm http 304 https://registry.npmjs.org/utile
npm http 200 https://registry.npmjs.org/pkginfo/0.3.0
npm http 200 https://registry.npmjs.org/cliff/-/cliff-0.1.8.tgz
npm http 200 https://registry.npmjs.org/timespan/-/timespan-2.3.0.tgz
npm http 304 https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/forever-monitor/-/forever-monitor-1.2.3.tgz
npm http 200 https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/watch/-/watch-0.8.0.tgz
npm http GET https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.0.tgz
npm http 200 https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.0.tgz
npm http 200 https://registry.npmjs.org/flatiron
npm http 200 https://registry.npmjs.org/watch/-/watch-0.8.0.tgz
npm http 200 https://registry.npmjs.org/nssocket/-/nssocket-0.5.1.tgz
npm http GET https://registry.npmjs.org/flatiron/-/flatiron-0.3.11.tgz
npm http 200 https://registry.npmjs.org/flatiron/-/flatiron-0.3.11.tgz
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/lazy
npm http GET https://registry.npmjs.org/i
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/rimraf
npm http 200 https://registry.npmjs.org/lazy
npm http 304 https://registry.npmjs.org/i
npm http 304 https://registry.npmjs.org/async
npm http 200 https://registry.npmjs.org/eventemitter2
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/ncp
npm http GET https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
npm http GET https://registry.npmjs.org/minimist
npm http 304 https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.13.tgz
npm http 304 https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/deep-equal
npm http 304 https://registry.npmjs.org/minimist
npm http 200 https://registry.npmjs.org/lazy/-/lazy-1.0.11.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.13.tgz
npm http GET https://registry.npmjs.org/director/1.1.10
npm http GET https://registry.npmjs.org/broadway/0.2.9
npm http GET https://registry.npmjs.org/prompt/0.2.11
npm http GET https://registry.npmjs.org/ps-tree
npm http GET https://registry.npmjs.org/broadway
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/watch/-/watch-0.5.1.tgz
npm http GET https://registry.npmjs.org/utile/-/utile-0.1.7.tgz
npm http 200 https://registry.npmjs.org/director/1.1.10
npm http 200 https://registry.npmjs.org/broadway/0.2.9
npm http GET https://registry.npmjs.org/director/-/director-1.1.10.tgz
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/broadway/-/broadway-0.2.9.tgz
npm http 200 https://registry.npmjs.org/prompt/0.2.11
npm http GET https://registry.npmjs.org/prompt/-/prompt-0.2.11.tgz
npm http 200 https://registry.npmjs.org/watch/-/watch-0.5.1.tgz
npm http 200 https://registry.npmjs.org/ps-tree
npm http 200 https://registry.npmjs.org/utile/-/utile-0.1.7.tgz
npm http GET https://registry.npmjs.org/eyes
npm http 200 https://registry.npmjs.org/broadway
npm http 200 https://registry.npmjs.org/director/-/director-1.1.10.tgz
npm http GET https://registry.npmjs.org/ps-tree/-/ps-tree-0.0.3.tgz
npm http 200 https://registry.npmjs.org/broadway/-/broadway-0.2.9.tgz
npm http 200 https://registry.npmjs.org/prompt/-/prompt-0.2.11.tgz
npm http GET https://registry.npmjs.org/stack-trace
npm http 200 https://registry.npmjs.org/ps-tree/-/ps-tree-0.0.3.tgz
npm http GET https://registry.npmjs.org/cycle
npm http GET https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/eyes
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/cycle
npm http 304 https://registry.npmjs.org/stack-trace
npm http GET https://registry.npmjs.org/async/0.2.9
npm http GET https://registry.npmjs.org/ini
npm http 304 https://registry.npmjs.org/async/0.2.9
npm http 304 https://registry.npmjs.org/ini
npm http GET https://registry.npmjs.org/pkginfo
npm http 304 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/event-stream
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm http GET https://registry.npmjs.org/combined-stream
npm http 200 https://registry.npmjs.org/event-stream
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/event-stream/-/event-stream-0.5.3.tgz
npm http GET https://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz
npm http GET https://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
npm http 200 https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/eventemitter2/0.4.12
npm http GET https://registry.npmjs.org/utile/0.2.1
npm http 304 https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/rimraf/-/rimraf-1.0.9.tgz
npm http 304 https://registry.npmjs.org/lru-cache
npm http 200 https://registry.npmjs.org/event-stream/-/event-stream-0.5.3.tgz
npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.2.7.tgz
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http 200 https://registry.npmjs.org/utile/0.2.1
npm http GET https://registry.npmjs.org/utile/-/utile-0.2.1.tgz
npm http 200 https://registry.npmjs.org/eventemitter2/0.4.12
npm http GET https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.12.tgz
npm http 304 https://registry.npmjs.org/sntp
npm http 200 https://registry.npmjs.org/cryptiles
npm http 304 https://registry.npmjs.org/hoek
npm http 200 https://registry.npmjs.org/utile/-/utile-0.2.1.tgz
npm http 304 https://registry.npmjs.org/boom
npm http 200 https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.12.tgz
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6 "})
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.2.8.tgz
npm http GET https://registry.npmjs.org/read
npm http GET https://registry.npmjs.org/revalidator
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.2.8.tgz
npm http 304 https://registry.npmjs.org/read
npm http 304 https://registry.npmjs.org/revalidator
npm http GET https://registry.npmjs.org/mute-stream
npm http 304 https://registry.npmjs.org/mute-stream
/usr/bin/forever -> /usr/lib/node_modules/forever/bin/forever
/usr/bin/foreverd -> /usr/lib/node_modules/forever/bin/foreverd
npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@'~2.0.0' but will lo ad
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-ignore requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-npm requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/glob requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/npmconf requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/tar requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
[email protected] /usr/lib/node_modules/forever
āāā [email protected]
āāā [email protected]
āāā [email protected]
āāā [email protected]
āāā [email protected] ([email protected], [email protected])
āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
āāā [email protected] ([email protected], [email protected])
āāā [email protected] ([email protected], [email protected])
āāā [email protected] ([email protected], [email protected])
āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
āāā [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]. 3)
āāā [email protected] ([email protected], [email protected], [email protected])
[email protected] [~/public_html]# ./nodebb start
info: NodeBB v0.3.0 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Fri Jan 31 2014 03:13:58 GMT+0200 (EET)
info: Initializing NodeBB v0.3.0, on port 4567, using redis store at 127.0.0.1:6379.
info: NodeBB instance bound to: 198.27.64.83
info: Enabling 'trust proxy'
warn: [init] Cache buster not set
info: NodeBB Ready -
@xpcontact Looks like forever didn't actually start the forum... perhaps try that command again?
You can configure nginx to proxy requests to NodeBB by following this guide: https://github.com/designcreateplay/NodeBB/wiki/Configuring-nginx-as-a-proxy-to-NodeBB
Not sure about Apache, unfortunately
-
Thank you actually in that link there is no solution, just listing others error too. I can see there is a problem with version ( [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"}) ), my problem I do not know how to fix that: (do I need to re-install the right version?)
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24","npm":"1.3.6"})
/usr/bin/forever -> /usr/lib/node_modules/forever/bin/forever
/usr/bin/foreverd -> /usr/lib/node_modules/forever/bin/foreverd
npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-ignore requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-npm requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/glob requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/npmconf requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/tar requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined -
My problem is simple:
- To downgrade my Node version to node 0.8x
- any easy step to do that? do I remover my current version 0.1x?
Below logs;
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24 ","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24 ","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.24 ","npm":"1.3.6"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0 10.24","npm":"1.3.6"})
/usr/bin/forever -> /usr/lib/node_modules/forever/bin/forever
/usr/bin/foreverd -> /usr/lib/node_modules/forever/bin/foreverd
npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@' ~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream requires inherits@'~2.0. 0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-ignore requires inherits @'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-npm requires inherits@'2 ' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/glob requires inherits@'2' but w ill load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/npmconf requires inherits@'~2.0. 0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/tar requires inherits@'2' but wi ll load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
-
version 0.10.x is fine, i think everyone else is on that version and is not having any problems. Have you tried install supervisor instead? That could be a simple "fix" until you can sort out the dependency issues.
I have had problems myself and it's usually because of the repositories on certain distros being out of date.
Have you tried
npm update
to see if that will update your npm? -
npm install -g supervisor
I am using sudo, as w9forum is one of my client domain hosted at my dedicated server.
Here is the outcome (it looks like failed?)
[email protected] [~/public_html]# sudo npm install -g supervisor
[sudo] password for w9forum:
npm http GET https://registry.npmjs.org/supervisor
npm http 304 https://registry.npmjs.org/supervisor
/usr/bin/node-supervisor -> /usr/lib/node_modules/supervisor/lib/cli-wrapper.js
/usr/bin/supervisor -> /usr/lib/node_modules/supervisor/lib/cli-wrapper.js
npm WARN unmet dependency /usr/lib/node_modules/block-stream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-ignore requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/fstream-npm requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/glob requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/npmconf requires inherits@'~2.0.0' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
npm WARN unmet dependency /usr/lib/node_modules/tar requires inherits@'2' but will load
npm WARN unmet dependency undefined,
npm WARN unmet dependency which is version undefined
[email protected] /usr/lib/node_modules/supervisor