Can anyone help here? I've not been able to figure anything out past this point.
Latest posts made by Mike Kunkel
RE: Migrating to a new DB host - Can't connect, undefined
Migrating to a new DB host - Can't connect, undefined
We are attempting to move our MongoDB install to a different server. I set that up and used
mongorestoreto restore a
mongodumpfrom the previous server. After that I changed the config.json to point to the new host, and I tried to connect.
node app.jsI get:
27/4 16:31  - info: NodeBB v1.4.0 Copyright (C) 2013-2017 NodeBB Inc. 27/4 16:31  - info: This program comes with ABSOLUTELY NO WARRANTY. 27/4 16:31  - info: This is free software, and you are welcome to redistribute it under certain conditions. 27/4 16:31  - info: 27/4 16:31  - info: Time: Thu Apr 27 2017 16:31:42 GMT-0400 (EDT) 27/4 16:31  - info: Initializing NodeBB v1.4.0 27/4 16:31  - error: NodeBB could not connect to your Mongo database. Mongo returned the following error: undefined 27/4 16:31  - error: err=socketHandler, trace=, bin=undefined, sizeOfMessage=1347703880, bytesRead=undefined, stubBuffer=undefined
What am I missing here?
nginx must be on version 1.4.x to properly support websockets. Debian/Ubuntu uses 1.2, although it will work there will be a reduction in functionality.
Previously, in the same doc:
NGINX version v1.3.13 or greater
I'm not sure if that is just a sign of an outdated doc, or if there is actually some type of incompatibility (which apparently doesn't surface everywhere). All I know is that by reverting to 1.4.x, all functionality was restored.
I received reports that our NodeBB forum was not working properly. When I checked, clicking the New Topic button does nothing. Clicking Login to enter the admin console opens a new tab saying "forbidden".
I checked the browser console and see two errors:
GET http://forum.server.com/nodebb.min.js?519f041b-2879-4a4d-9da5-5babe9232ee7 net::ERR_INCOMPLETE_CHUNKED_ENCODING
Uncaught ReferenceError: require is not defined at login:439
I'm not sure why nodebb.min.js is not loading. If I try to open that url in the browser, it does not work, but does work if I remove the query string.
I upgraded to latest NodeBB and it still doesn't work.
For more context, I had been doing some server maintenance last night and may have caused a problem. I changed nothing in the nginx config for NodeBB. I did reboot the server and had to manually start NodeBB.
Is it possible that there is a service that I also need to start manually? Help!
NodeBB as an SSO provider?
We originally thought that NodeBB was going to be all that we need, but discovered a need for a wiki or knowledge base. We would need that service to be restricted to users of our forum, but don't want to force users to create a second account.
I've been looking around and haven't had any luck. Is there anything that would allow NodeBB to act as an SSO provider for other services?