@caygri what? Did you try? What happened?
How can I pull the latest changes of NodeBB
-
-
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
-
[email protected]:/etc/nginx# cd /sites-available
-bash: cd: /sites-available: No such file or directory
[email protected]:/etc/nginx# nano sites-available
[email protected]:/etc/nginx# -
Type
ls
inside your nginx folder what do you get? -
@a_5mith said:
Type
ls
inside your nginx folder what do you get?conf.d koi-utf mime.types scgi_params win-utf
fastcgi_params koi-win nginx.conf uwsgi_params
[email protected]:/etc/nginx#PC crashed. Hence the delay. Sorry.
-
Thanks to @a_5mith . My site is back online :veryhappy: