@Neeru-Gupta We tried using the same plugin,nodebb-plugin-fusionauth-oidc for authenticating through the keycloak provider but While rebuilding & restarting after installing our Nodebb app breaks. We are unable to proceed further. We have to again clone the whole code to get started with.
Could you please share with me the steps on how you have done & configured it?
We are using another plugin now as nodebb-plugin-sso-oidc which we are able to install & configure. But we are getting SSL protocol error while trying to login
Old/Bad Category CID somehow stuck in nodeBB cache. How to clear?
-
Thank you for this amazing platform. I ran into an unusual issue where I have a category CID coming back from the cache and I have no reference to it anywhere within any of the collections on the mongo database.
I have attemtped to trace this back to the cache library and tried to perform a cache reset also. I have also re-build all assets with ./nodebb build. Where can I clear this bogus cid. Its crashing the entire server and I need to clear it.
For now I just added a temporary filter on the cids array to manually remove it and this is temporarily fixing my problem and allowing nodebb server to start and operate fine.
Before I do any more review of the codebase, I was wondering if I am just missing something.
So for example the cids will come back as:
[ '1', '2', '3', '4' ]
'4' is bad cid. It is non-existant and must be removed from cache. This '4' does not exist in database and causes nodebb to crash.
I cannot clear '4' cid from cache.
So my temporary fix is to do
.filter(cid => cid !== '4') // This is fixing for now.
https://github.com/NodeBB/NodeBB/blob/master/src/categories/index.js#L87
Categories.getAllCidsFromSet = function (key, callback) { const cids = cache.get(key); // ... })
Any advice I greatly appreciate!