Thanks @PitaJ, ok now nodebb is running by systemd and restart from admin panel is working.
the following : https://community.nodebb.org/topic/14306/default-installation-and-looking-the-log-file
A close feature or resolved can be cool
Thanks @PitaJ, ok now nodebb is running by systemd and restart from admin panel is working.
the following : https://community.nodebb.org/topic/14306/default-installation-and-looking-the-log-file
A close feature or resolved can be cool
@PitaJ @baris good morning,
Because of misconfigured systemd file and exactly the PIDFile path.
My bad.
However, I am impressed by your response time. It's amazing.
Thanks again.
About timezone there is a way to change the default ?
Look, my server is located in Netherland but the server timezone is Paris. it's more comfortable for me.
@baris
ok and I can use the conf file to use like a +2 string and make a PR ?
@PitaJ @baris good morning,
Because of misconfigured systemd file and exactly the PIDFile path.
My bad.
However, I am impressed by your response time. It's amazing.
Thanks again.
About timezone there is a way to change the default ?
Look, my server is located in Netherland but the server timezone is Paris. it's more comfortable for me.
@PitaJ I let running this night and write back to you.
Thanks
@PitaJ here is the error in log file :
2019-10-18T17:05:42.108Z [4567/21070] - info: Routes added
2019-10-18T17:05:42.110Z [4567/21070] - info: NodeBB Ready
2019-10-18T17:05:42.115Z [4567/21070] - info: Enabling 'trust proxy'
2019-10-18T17:05:42.119Z [4567/21070] - info: NodeBB is now listening on: 0.0.0.0:4567
2019-10-18T17:07:09.315Z [4567/21070] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2019-10-18T17:07:09.318Z [4567/21070] - info: [app] Web server closed to connections.
2019-10-18T17:07:09.318Z [4567/21070] - info: [app] Live analytics saved.
2019-10-18T17:07:09.321Z [4567/21070] - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2019-10-18T17:07:09.322Z [4567/21070] - error: Server is not running.
[cluster] Child Process (21070) has exited (code: 0, signal: null)
NodeBB v1.12.2 Copyright (C) 2013-2014 NodeBB Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
Clustering enabled: Spinning up 1 process(es).
2019-10-18T17:07:10.439Z [4567/21113] - info: Initializing NodeBB v1.12.2 https://domain.name
2019-10-18T17:07:12.299Z [4567/21113] - info: [socket.io] Restricting access to origin: https://domain.name:*
2019-10-18T17:07:12.561Z [4567/21113] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
* nodebb-plugin-composer-default
* nodebb-theme-persona
* nodebb-plugin-mentions
* nodebb-rewards-essentials
each 3 minutes average it restart and add new lines to log file.
Thanks for this explanation I will use 1.12.x
The doc used is https://docs.nodebb.org
@PitaJ thanks, in my use case forum are only for 1 timezone/country (france). If exist a way to use custom timezone let me know please but if not, it's not really a problem.
@PitaJ and @oplik0 exactly I use the master.
The doc tell to use 1.11.x, is it the latest stable version ?
Do I need always to use a branche and don't use tag ?
What is the difference between 1.11.2 tag and 1.11.x branche ?
(If I try to make a module or theme it's maybe better to start with 1.12.x branche ?)
Thanks for your time.
Regards.
Thanks @PitaJ, ok now nodebb is running by systemd and restart from admin panel is working.
the following : https://community.nodebb.org/topic/14306/default-installation-and-looking-the-log-file
A close feature or resolved can be cool
So, I watched the log file output.log from NodeBB directory and I noticed two things.
1- The time in log file doesn't respect my system time :
2019-10-18T05:52:57.076Z [4567/1114] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
* nodebb-plugin-composer-default
* nodebb-theme-persona
* nodebb-plugin-mentions
* nodebb-rewards-essentials
# date
Fri Oct 18 07:54:00 CEST 2019
2- The server always restart according to log file and sometimes I can see the spin icon on UI.
It is certainly because of the warning precisely telling me that these modules are not yet compatible.
However, I did the default installation without adding a plugin myself.
Good morning,
I'm just fresh installed nodebb.
pm2 start app.js --name nodebb
When I restart from admin admin paneln it's an infinite loop andd never end.
Is it because nodebb can't stop start restart instance of pm2 ?
Can I use PM2 or system service is needed ?
OFFTOPIC
I have a message log : Warning: no saslprep library specified. Passwords will not be sanitized.
this node module need to be integrated in package.json by default ?
npm install saslprep --save
Best Regards