
Best posts made by Duke
-
RE: 2017 CMS Critic Awards: Nominate NodeBB for Best Forum Software!
voted as well! (a few days ago)
-
RE: Please wait while we try to reconnect.
Other than network issues, this will happen if the URL you are accessing the board through does not equal the URL in the /nodebb/config.json file.
EG: you are accessing http://www.domain.com through the browser but the config.json file has http://domain.com you will get that message.
In my nginx config, I have forwarded www.domain.com and domain.com to https://domain.com
In my config.json file I have
"url": "https://domain.com:4567"
or
"url": "https://domain.com"
if you are using NGINX (like me)
this way, no users will get that message because they are always redirected to my preferred URL.Duke
-
RE: Please wait while we try to reconnect.
@Darwin Unless you love VIM and want to learn it, try "Nano" it is installed by default and works the way most of us expect an editor to work
While VIM is an excellent editor, it has it's own learning curve.
-
RE: How do I remove the port from domain?
You have to setup NGINX as a reverse proxy. It will then be NGINX that answers queries from the internet and then passes them to NodeBB.
Have a read here.
-
Using Gmail as your mailer for NodeBB
As a new user of NodeBB I didn't find much info on getting the email side of the application working. Now that it is working well, here is how I did it using GMAIL
-
Create a new Gmail account or use an existing one. (if you use an existing account, your email address will be seen by your Nodebb users)
-
Turn on "two step verification" for this account by visiting your Gmail security page and clicking on the "Signing in to Google". You will receive a text message or two to verify the settings change.
-
Once "Two Step Verification" is enabled, goto this link Sign in using App Passwords and have a read. then click on this link to create an "app password", copy and save it for later.
-
Now we can go back to the NodeBB settings and choose "Email".
-
Enter your email address as the "Email address" in NodeBB
-
"From Name" can be anything you like
-
Enable the slider "Route emails through a GMAIL account"
-
Username is your GMAIL email address
-
Password is the "app password" you generated above.
-
Save the config and then restart NodeBB
-
Come back to the Nodebb email settings and press the test button, you should receive an email
-
All done! - ask any questions if you have them.
-
-
RE: NodeBB wont stay up using systemctl
ok so, I spent a lifetime searching the forums and google tonight to try and solve this same problem.
The docs here docs.nodebb are clearly wrong for the systemd config file in Ubuntu LTS, it should look like this ...[Unit] Description=NodeBB forum for Node.js. Documentation=http://nodebb.readthedocs.io/en/latest/ After=system.slice multi-user.target [Service] Type=simple User=nodebb StandardOutput=syslog StandardError=syslog SyslogIdentifier=nodebb Environment=NODE_ENV=production WorkingDirectory=/opt/nodebb ExecStart=/usr/bin/node loader.js --no-daemon --no-silent Restart=always [Install] WantedBy=multi-user.target
This is not my work, it came from here. https://community.nodebb.org/topic/10648/nodebb-service-failing-to-start-after-server-reboot
hope this helps others out. Not sure how to get the docs changed at the above URL.
Duke
-
RE: Slow page loading on DigitalOcean
If you are using the $5 Digital Ocean server you will definitely need a swap partition.
Latest posts made by Duke
-
RE: How do I remove the port from domain?
Sounds like apache or some other web server might already be running on that port.
ps aux | grep apache
-
RE: How do I remove the port from domain?
You have to setup NGINX as a reverse proxy. It will then be NGINX that answers queries from the internet and then passes them to NodeBB.
Have a read here.
-
RE: How do I configure NodeBB setup for Google Cloud VM?
If you cannot answer these questions yourself then I suggest you install virtualbox on your local machine and get nodebb working locally but following the docs below. Once you are successful with this, you will have learned alot and can then try and deploy on Google infrastructure.
I know you want to deploy straight to production but my way will be quicker in the long run. The next question you will have will be regarding NGINX and how to get it running on port 80. The answers to all your questions are in the docs. The docs are very easy to follow.
<quote>
I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
(127 is a local ip, you need to provide your internet IP here)"url": "I typed here my domain which is connected to Google's external IP",
"secret": "the key",
"database": "mongo",
"mongo": {
"host": "Google's internal IP", (should be 127.0.0.1)
"port": "I couldnt find this out?", (4567)
"username": "Is this the nodebb user or the user I created for admin database?", (nodebb user)
"password": "Password", (mongo password for Nodebb database)
"database": "nodebb"
</quote> -
RE: import smf to nodebb
Not sure if they will help but its a start
-
RE: Approval Topic
@terminetor1717 I dont get it, can you explain the difference? Arn't they the same thing?
-
RE: Slow page loading on DigitalOcean
If you are using the $5 Digital Ocean server you will definitely need a swap partition.
-
RE: nodebb-plugin-youtube-lite
@adam-poniatowski negative, still the same, no menu
-
RE: Approval Topic
@terminetor1717 Under the category and the privlidges menu tick "moderate"