@renukadevi said in NodeBB upgrade - TypeError: AsyncLocalStorage is not a constructor:
AsyncLocalStorage
Upgrade to latest 12.x or 14.x that should fix your issue I think.
Error:
4/10 22:37 [22110] - warn: [emailer.smtp] Unable to send test
email to uid 1!!
Should this plugin work with SSL? Does it work with Google or other know SMTP servers?
4/10 22:36 [22110] - 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.
Yes - I have it working..
Couple things:
I had to reinstall the plugin using npm install nodebb-plugin-emailer-local. You'll notice in the plugin.json file - the line:
{ "hook": "action:email.send", "method": "send" }
changes to:
{ "hook": "filter:email.send", "method": "send" }
I had to ensure my keys in redis for SMTP username and password contained the proper creds. It seems like the admin page doesn't write back to the proper keys when saving the data ... and when the plugin runs, it pulls from the wrong keys. If you're using redis - check the key settings by starting redis-cli and then inspecting:
hget config emailer:local:username
hget config emailer:local:password
If they need to be updated, use:
hset config emailer:local:username <proper username>
hset config emailer:local:password <proper password>
once that's completed, restart your nodebb instance and verify email is working now.
Looks like the plugin is using the settings module but still reading from meta.config. @julianlam
Nice moves man ... thank you so much!
I use mongodb, do in need to manipulate data in the db?
Have you verified the issue with facebook sso not working when this plugin is enabled?
I cant see any SSL option, does it auto detect?
Will test more tomorrow
@baris ,
Still get
[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.
And Emailer not installed , any suggestions?