@a_5mith thank u very much,it helps lot😀
How can I pull the latest changes of NodeBB
-
I see a lot fixes has been done since 0.4.3 . I would like to try them on my forum. Is there any command which can do that ? Help please.
-
Documentation is available here
Its a good read.
-
I tried the following commands
git pull
./nodebb upgrade
Please check my site to see the result www.techiewiz.in
-
Says
{"error":"missing closing
}
"} -
-
[email protected]:/home/nodebb# ./nodebb start
Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
[email protected]:/home/nodebb# ./nodebb stop
Stopping NodeBB. Goodbye!
[email protected]:/home/nodebb# ./nodebb dev
Launching NodeBB in "development" mode.
To run the production build of NodeBB, please use "forever".
More Information: https://github.com/NodeBB/NodeBB/wiki/How-to-run-NodeBB
info: NodeBB v0.4.3 Copyright (C) 2013-2014 NodeBB 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: Sun Jun 15 2014 04:36:32 GMT+0530 (IST)
info: Initializing NodeBB v0.4.3
info: * using configuration stored in: /home/nodebb/config.json
info: * using redis store at 127.0.0.1:6379
info: * using themes stored in: /home/nodebb/node_modules
info: Base Configuration OK.
Warning: Redis server does not require a password, but a password was supplied.
info: [notifications.init] Registering jobs.
info: [user.startJobs] Registering User Jobs
info: [plugins] Initializing plugins system
info: [themes] Using theme nodebb-theme-lavender
info: Middlewares loaded.
info: [plugins] Found 3 js file(s) for plugin nodebb-theme-lavender
info: [plugins] Loaded plugin: nodebb-theme-lavender
info: [plugins] Sorting hooks to fire in priority sequence
info: [plugins] Plugins OK
info: [meta/css] Minifying LESS/CSS
info: [sounds] Sounds OK
info: [meta/css] Done.
info: [themes] Compiling templates
info: [themes] Successfully compiled templates.
info: NodeBB attempting to listen on: 0.0.0.0:80
info: NodeBB is now listening on: 0.0.0.0:80
info: [socket] uid 55 (EbXOWkRDovD4k1ezoeFw) has successfully reconnected.
info: [meta/js] Compilation complete
info: NodeBB Ready -
Hmm, that doesn't say anything in relation to what the issue is.
Can you try
./nodebb reset plugins
, just to rule those out. -
Did already
-
@psychobunny , @a_5mith , @julian
With git pull command, my site has stopped working. Is there any way to revive it. I used reset command. Can I pull v0.4.x branch ? If yes, commands please.
-
-
No luck
Any other way out ?
-
@meetdilip Ok if all else fails, try this. (I've just attempted it and everything worked fine, so here goes this will remove everything but your posts and put them back.) Go to your root folder:
cd ~ sudo rm -r -f nodebb git clone https://github.com/NodeBB/NodeBB.git nodebb cd nodebb npm install ./nodebb setup ./nodebb start
This will delete all nodebb files and download them fresh. All your plugins will be removed along with any style settings etc though, but your posts will still be there. If it's still not working, then I'd imagine you have further issues, but this should solve it.
In nodebb setup, enter http://<your servers IP address> then just press enter to accept all defaults, it should find your existing database.
-
The same
-
@a_5mith , is it possible to back up my posts and install NodeBB from scratch ?
-
@meetdilip That's what you've just done...
I've worked out your issue. Your site is fine, it's here - http://www.techiewiz.in:4567/
Are you using apache or nginx?
EDIT
If nginx, go into your nginx folder (
cd /etc/nginx/sites-available
, nano into your proxy file (either default or the config one(if you made one)) and make sure your proxy config is correct (it's not) it seems your server configuration is missing a}
at the end. (Not the end of the document) Look here and make sure you have two}
s at the end of your custom server part. -
I used nano proxy and got a plain file. What to do ? Glad that site is safe.
PS: Yes, nginx
-
@meetdilip See previous post edit.
If you want, just copy your nginx config file here and I'll look.
-
server {
listen 127.0.0.1:8084 default;
server_name _;
server_name_in_redirect off;
location / {
stub_status on;
access_log off;
}
} -
@meetdilip Is that the file inside your sites-available folder?
-
@a_5mith said:
@meetdilip Is that the file inside your sites-available folder?
Path was : [email protected]:/etc/nginx# nano conf.d/*.conf