I will notify the plugin's creator, thank you.
PJ Legendre
Posts
-
recentreplies.js Error causing problems -
recentreplies.js Error causing problemsThanks so much for the fix! I activated these plugins:
- https://github.com/julianlam/nodebb-plugin-sso-facebook
- https://github.com/julianlam/nodebb-plugin-sso-google
- https://github.com/julianlam/nodebb-plugin-sso-twitter
- https://github.com/NathanSMB/nodebb-plugin-sso-discord
I assume the culprit might be the discord one?
-
recentreplies.js Error causing problemsThank you for getting back so quickly. Here it is:
NodeBB v1.10.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). 2018-11-16T15:34:42.545Z [6029] - ^[[32minfo^[[39m: Initializing NodeBB v1.10.2 https://forum.mydomain.com 2018-11-16T15:34:45.317Z [6029] - ^[[32minfo^[[39m: [socket.io] Restricting access to origin: https://forum.mydomain.com:* 2018-11-16T15:34:45.956Z [6029] - ^[[31merror^[[39m: [sso-discord] Cliend ID and Client Secret required (library.js:36) 2018-11-16T15:34:41.422Z [5991] - ^[[31merror^[[39m: message=Cannot read property 'forEach' of undefined, stack=TypeError: Cannot read property 'forEach' of undefined at /home/myuser/nodebb/src/routes/authentication.js:63:19 at nextTask (/home/myuser/nodebb/node_modules/async/dist/async.js:5324:14) at next (/home/myuser/nodebb/node_modules/async/dist/async.js:5331:9) at /home/myuser/nodebb/node_modules/async/dist/async.js:969:16 at /home/myuser/nodebb/node_modules/async/dist/async.js:473:16 at /home/myuser/nodebb/node_modules/async/dist/async.js:2521:9 at /home/myuser/nodebb/node_modules/async/dist/async.js:473:16 at replenish (/home/myuser/nodebb/node_modules/async/dist/async.js:1006:25) at iterateeCallback (/home/myuser/nodebb/node_modules/async/dist/async.js:995:17) at /home/myuser/nodebb/node_modules/async/dist/async.js:969:16 at /home/myuser/nodebb/node_modules/async/dist/async.js:2518:13 at Object.Facebook.getStrategy (/home/myuser/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:140:3) at /home/myuser/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:72:14 at /home/myuser/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:65:4 at /home/myuser/nodebb/src/meta/settings.js:14:3 at /home/myuser/nodebb/src/database/mongo/hash.js:78:4 2018-11-16T15:34:41.426Z [5991] - ^[[32minfo^[[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised. 2018-11-16T15:34:41.427Z [5991] - ^[[31merror^[[39m: message=Not running, stack=Error: Not running at Server.<anonymous> (net.js:1517:12) at Server.g (events.js:292:16) at emitNone (events.js:91:20) at Server.emit (events.js:185:7) at emitCloseNT (net.js:1568:8) at _combinedTickCallback (internal/process/next_tick.js:77:11) at Immediate._tickCallback (internal/process/next_tick.js:104:9) at runCallback (timers.js:672:20) at tryOnImmediate (timers.js:645:5) at processImmediate [as _immediateCallback] (timers.js:617:5)
-
recentreplies.js Error causing problemsHi, I'm getting a similar error message
Cannot read property 'forEach' of undefined
but in authentication.js:63:19. It started after I installed a couple of sso plugins: Facebook, Twitter, Discord, and Google. The cherry pick did not help me -
Fresh install got view 500 errorI just ran into this after changing my theme and clicking rebuild and restart... any idea how I get out of this state?
Update: After running
npm install
and./nodebb build
the error changed to:Error: ENOENT: no such file or directory, open '/home/snarlynarwhal/nodebb/build/public/templates/footer.tpl' at Error (native)
Update/Solution: Running
npm install nodebb-theme-<theme-you-want>
then./nodebb build
thensudo systemctl restart nodebb
fixed the issue. -
start nodebb.service failed with error Service hold-off time over, scheduling restart@julian I found another portion of the docs that had a nodebb.service file that worked. That being said, the Ubuntu installation tutorial needs to get updated to include the working configuration.
Ubuntu tutorial - near the bottom has nodebb.service file that does not work and formatting issues.
Running NodeBB - nodebb.readthedocs.io does not include setup with systemd.
Running NodeBB - docs.nodebb.org works.
How come the main site does not link to either of these docs pages and how come there are two? Which one should I refer to in the future?
-
start nodebb.service failed with error Service hold-off time over, scheduling restartHello, I currently have the same issue. Did this ever get resolved?
-
nodebb.service: Start request repeated too quickly.I am following the Ubuntu tutorial and currently have this exact same issue. Any idea how to solve this?
nodebb.service
[Unit] Description=NodeBB forum Documentation=http://nodebb.readthedocs.io/en/latest/ After=system.slice multi-user.target [Service] Type=simple User=snarlynarwhal # I also tried nodebb and root to no avail StandardOutput=syslog StandardError=syslog SyslogIdentifier=nodebb Environment=NODE_ENV=production WorkingDirectory=/home/snarlynarwhal/nodebb ExecStart=/usr/bin/node loader.js –no-daemon –no-silent Restart=always [Install] WantedBy=multi-user.target
output
snarlynarwhal@halfhuman:~/nodebb$ sudo systemctl status nodebb ● nodebb.service - NodeBB forum Loaded: loaded (/lib/systemd/system/nodebb.service; enabled; vendor preset: enabled) Active: inactive (dead) since Wed 2018-05-16 03:18:06 UTC; 2min 14s ago Docs: http://nodebb.readthedocs.io/en/latest/ Process: 10648 ExecStart=/usr/bin/node loader.js –no-daemon –no-silent (code=exited, status=0/SUCCESS) Main PID: 10648 (code=exited, status=0/SUCCESS) May 16 03:18:06 halfhuman systemd[1]: nodebb.service: Service hold-off time over, scheduling restart. May 16 03:18:06 halfhuman systemd[1]: Stopped NodeBB forum. May 16 03:18:06 halfhuman systemd[1]: nodebb.service: Start request repeated too quickly. May 16 03:18:06 halfhuman systemd[1]: Failed to start NodeBB forum.