NodeBB works wonders on an Rpi in my opinion.
I haven't tested any workload though. Would be interesting to do some benchmarking.
@psychobunny what is the hardware specs on this installation? And how much load does it have with this userbase?
Henrock
Posts
-
What's your hardware specs? -
Runnig forum without :4567 port in the URLSorry, I don't know how to do it with Apache. Maybe switch to Nginx.
-
Runnig forum without :4567 port in the URLYou can use Nginx as a reverse proxy in front of Node: https://github.com/designcreateplay/NodeBB/wiki/Configuring-nginx-as-a-proxy-to-NodeBB
-
node 0.8 vs node 0.10 ?@xpcontact said:
forever start app.js
I get this error:
[email protected] [~/public_html]# forever start app.js
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: app.jsThose are not errors, those are just warnings. It should be running fine now. Try
forever list
to see if your process is running. -
Plugin ideasI have a couple of ideas, let's see what I can do.
edit: I don't see your replies in the recent posts list btw @psychobunny , are you hidden in some way? -
Plugin ideasI'm thinking of making a plugin that enables you to chat to multiple users in the same chat, a la Facebook messenger.
However when I look in the chat code I see theres a lot to be done to make it "pluginnable", maybe it's better to implement this functionality into the core?
What do you say @psychobunny ? -
[Solved] Facebook SSO plugin errorAwesome!
-
[nodebb-theme-lavender] Lavender Theme for NodeBB@Chris said:
@psychobunny I've always been a fan of Open Sans and Droid Sans.
+1 to Open Sans, I love it.
Also Myriad Pro is actually a very nice font, even though it's Apples love child. :l -
[Solved] Facebook SSO plugin errorGetting similar error with the twitter plugin now:
/home/ubuntu/nodebb/node_modules/redis/index.js:535
throw err;
^
ReferenceError: user is not defined
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-twitter/library.js:62:5
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-twitter/library.js:92:4
at /home/ubuntu/nodebb/src/database/redis.js:258:4
at /home/ubuntu/nodebb/src/database/redis.js:274:4
at try_callback (/home/ubuntu/nodebb/node_modules/redis/index.js:532:9)
at RedisClient.return_reply (/home/ubuntu/nodebb/node_modules/redis/index.js:614:13)
at ReplyParser.<anonymous> (/home/ubuntu/nodebb/node_modules/redis/index.js:266:14)
at ReplyParser.EventEmitter.emit (events.js:95:17)
at ReplyParser.send_reply (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:300:10)
at ReplyParser.execute (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:211:22) -
[Solved] Facebook SSO plugin errorWorked like a charm.
Thanks! -
[Solved] Facebook SSO plugin errorI get this error when trying to login using the facebook auth plugin:
/home/ubuntu/nodebb/node_modules/redis/index.js:535
throw err;
^
ReferenceError: user is not defined
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:71:5
at /home/ubuntu/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:97:4
at /home/ubuntu/nodebb/src/database/redis.js:258:4
at /home/ubuntu/nodebb/src/database/redis.js:274:4
at try_callback (/home/ubuntu/nodebb/node_modules/redis/index.js:532:9)
at RedisClient.return_reply (/home/ubuntu/nodebb/node_modules/redis/index.js:614:13)
at ReplyParser.<anonymous> (/home/ubuntu/nodebb/node_modules/redis/index.js:266:14)
at ReplyParser.EventEmitter.emit (events.js:95:17)
at ReplyParser.send_reply (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:300:10)
at ReplyParser.execute (/home/ubuntu/nodebb/node_modules/redis/lib/parser/javascript.js:211:22) -
Error when logging inOk, I found what the problem is. It's the timeout on the AJAX call that is too low because on the raspberry pi the bcrypt.compare takes about 2 seconds to execute.
Change https://github.com/designcreateplay/NodeBB/blob/master/public/src/forum/login.js#L44 from 2000 to 5000 and it works. This could obviously be handled in a better way but that is atleast a working workaround.
-
Error when logging inIt says:
abort: function (statusText) {
always: function () {
complete: function () {
done: function () {
error: function () {
fail: function () {
arguments: null
caller: null
length: 0
name: ""
prototype: Object
proto: function Empty() {}
<function scope>
getAllResponseHeaders: function () {
getResponseHeader: function (key) {
overrideMimeType: function (type) {
pipe: function ( /* fnDone, fnFail, fnProgress / ) {
progress: function () {
promise: function (obj) {
readyState: 0
responseJSON: undefined
setRequestHeader: function (name, value) {
state: function () {
status: 0
statusCode: function (map) {
statusText: "timeout"
success: function () {
then: function ( / fnDone, fnFail, fnProgress */ ) {
proto: Object -
Error when logging inNothing in the console, all I can see is the POST to /login that gets status 'cancelled' in the chrome network info. Not sure what that means.
-
Error when logging inThis problem is still happening for me with v. 0.2.0. I've tried a clean install and still not working.
You can see this video for an example: http://www.youtube.com/watch?v=0NxhhyEWQmA
I'm using Node 0.10.22 on a raspberry pi with raspbian.Please guide me on how to debug this.
-
Error when logging inIt was the admin-user I created at setup.
-
Error when logging inHi!
I have installed NodeBB according to the guide and all seems to work well except that when I log in it states "Failed login attempt, please try again." even though I have entered correct credentials and if I refresh the page I am logged in. I have not yet begun to debug this, I wanted to hear here first if anyone else has had this issue occur.
Thanks for a great BB, it's looking really promising and I hope this will get the attention it deserves.