Do nodebb support latest version of nodejs version v12.14.0 ?
Abhinov Singh 0
Posts
-
Nodejs version -
proxy problem- I am not able to remove 4567 from http://subdomain:4567
How to do it ?
Steps I am following
(a) Reading from herehttps://docs.nodebb.org/configuring/proxies/apache/
(b) Making subdomain.conf , keeping it inside /etc/apache2/conf.d/includes
and attaching this lineInclude /etc/apache2/conf.d/includes/subdomain.conf
intohttpd.conf
(c) Changing URL of config.json inside NodeBB folder to http://subdomain.conf
Code which I am using in subdomain.conf is as follows :
<VirtualHost *:80>
ServerName www.sub-domain.com
RequestHeader set X-Forwarded-Proto "http"ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> RewriteEngine On RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://127.0.0.1:4567/$1 [P,L] ProxyPass / http://127.0.0.1:4567/ ProxyPassReverse / http://127.0.0.1:4567/
</VirtualHost>
- I am not able to remove 4567 from http://subdomain:4567
-
on browsing getting directories list@PitaJ
Do i need to do mongorestore before installing nodebb or can we do it after installing nodebb also ? -
on browsing getting directories list@PitaJ
Yes sorry , you are right,
mistyped it by mistakeNow the status is my new nodebb with latest version is running without my data
How can i use mongorestore , so i can populate my new nodebb version with backup data ( most important )Please guide me
-
on browsing getting directories list@PitaJ
Thanks a lot
Now everything is working finePreviously I was running nodebb version v.10.1 for last 1 year but when I try upgrading it to latest version
(before which i did mongodump first which results in making dump folder with two subfolders named admin and nodebb),it kept me asking to install sharp first, which cannot be installed on centos 6 . So I changed my server to centos 7 .
Now the status is my new nodebb with latest version is running without my data
How can i use mongodump , so i can populate my new nodebb version with backup data ( most important )Please guide me
-
on browsing getting directories listI did a fresh install of nodebb using nodebb documentation available at https://docs.nodebb.org/installing/os/centos/
Along the process after running ./nodebb setup
- I was asked to make administrator username , email and password .
- Mongo database and password
So i fill all the details after which i run ./nodebb start
Then i see nodebb page .
When i click login and enter my administrator details
it reroute to same login page and admin portal is not getting openedFollowing are the results :
1.After browsing http:/subdomain.com:4567
2.After doing admin login
3.Now clicking admin
4.After clicking admin , why it is rerouting to login page and why it's not opening admin dashboard
-
on browsing getting directories list@PitaJ
I have already paid for the following services :
1. Os : centos 7
2. Apache2 (EasyApache4 software in hostgator) -
on browsing getting directories listI am able to open nodebb on :
http://sample.sub-domain.com:4567
but nothttps://sample.sub-domain.com
-
on browsing getting directories list@PitaJ
I have written this code in separate subdomain.conf
location where i saved this file :/etc/apache2/conf.d/includes
<VirtualHost *:80> ServerName www.sub-domain.com ServerAlias sub-domain.com # Rewrite any http traffic to the main url https site <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^[^\/]*\/(.*) https://www.sub-domain.com/$1 [R=301,L] </IfModule> </VirtualHost> <VirtualHost *:443> Protocols h2 http/1.1 ServerName www.sub-domain.com SSLEngine on SSLCertificateFile /path/to/cert.pem SSLCertificateKeyFile /path/to/privkey.pem SSLCertificateChainFile /path/to/chain.pem # Basic security headers Header always set X-Content-Type-Options "nosniff" Header always set X-Xss-Protection "1; mode=block" # NodeBB header RequestHeader set X-Forwarded-Proto "https" # Static file cache <FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css)$"> <IfModule mod_expires.c> ExpiresActive on ExpiresDefault "access plus 14 days" Header set Cache-Control "public" </IfModule> </FilesMatch> ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> # Custom Error Document when NodeBB is offline ProxyPass /error-documents ! ErrorDocument 503 /error-documents/503.html Alias /error-documents /path/to/nodebb/public # Websocket passthrough RewriteEngine On RewriteCond %{REQUEST_URI} ^/socket.io [NC] RewriteCond %{QUERY_STRING} transport=websocket [NC] RewriteRule /(.*) ws://localhost:4567/$1 [P,L] ProxyPass / http://localhost:4567/ ProxyPassReverse / http://localhost:4567/ # Log stuff #ErrorLog ${APACHE_LOG_DIR}/www-example-error.log #CustomLog ${APACHE_LOG_DIR}/www-example-access.log combined </VirtualHost>
But still I am not able to do it
what mistake i am doing ? -
on browsing getting directories list@PitaJ
When I am doing curlhttp://localhost:4567/
on putty
I am getting nodebb html pagebut when i am running nodebb through my subdomain , I am getting a list of directories of nodebb .
For doing configuration of reverse proxy : I have followed this link
https://docs.nodebb.org/configuring/proxies/apache/Any advice , stuck from last 24 hours .
Not able to find solution -
on browsing getting directories list@PitaJ yes offcourse
-
on browsing getting directories list- What should i do ?
- Where should I put my files then
I am using centos 7 os ,
and Apache : server -
on browsing getting directories listCan you please tell why ?
-
mongod problemHow to solve this problem
-
without sharp install- Can i install nodebb without using sharp
- My present system is broken as i am not able to install sharp because i am using centos 6.10
Any solution ?
-
./nodebb statusWhen I run circled command , above error occurred
Now this error is coming
configure: error: cannot run C compiled programs.
If you meant to cross compile,
use --host.See config.log for more details
-
./nodebb statusNow this error is coming
configure: error: cannot run C compiled programs.
If you meant to cross compile,
use--host
. Seeconfig.log
for more details -
./nodebb status@oplik0
I am running nodebb on centos 6.10
and hostgator is not giving option to migrate to centos 7what should i do ?
Because I am not able to install libvips without which i cannot install sharp
due to which after upgrading nodebb to latest version my nodebb is not getting started -
./nodebb statusHow can I solve this problem ?
-
./nodebb status@FrankM
Actually ,-
This output is coming when i am doing ./nodebb log
-
After upgrading to latest nodebb version , when i am doing ./nodebb start
It's not getting started
-