Error installing Mandrill emailer plugin
-
Tried to install the Mandrill emailer plugin, but the attempt failed with the messages shown below. Pinging @bentael
error 404 'nodebb-plugin-emailer-mandril' is not in the npm registry. 32 error 404 You should bug the author to publish it 32 error 404 It was specified as a dependency of 'nodebb' 32 error 404 32 error 404 Note that you can also install from a 32 error 404 tarball, folder, or http url, or git url. 33 error System Linux 3.11.0-12-generic 34 error command "/usr/bin/node" "/usr/bin/npm" "i" "nodebb-plugin-emailer-mandril" 35 error cwd /public_html/forum 36 error node -v v0.10.26 37 error npm -v 1.4.3 38 error code E404 39 verbose exit [ 1, true ]
From the installation instruction that the author gave (here), it seems that the plugin is already published in the npm registry, but obviously it has not unless there's something I'm missing.
And it would be nice to verify that any emailer plugin recommended in the ACP will install and work. Otherwise there's no point in recommending it.
-
@planner "mandrill" has two L's
-
it's there: https://www.npmjs.org/package/nodebb-plugin-emailer-mandrill
nodebb-plugin-emailer-mandrill**
double L
However, __ -mandrill__ plugin is not up to date to NodeBB 0.4.x
-
blimey!
-
In other words, it won't work?
-
not sure if the 0.4.0 broke compatibility, but give it a try today, i will fix it this weekend if it's broken.
-
It appears that this site is not yet running the version of Edge that fixed the Edit/Delete/Move post shown if loaded via ajax #1322.
-
@planner How about now
-
If you're referring to issue #1322, I'll need to be reading the topic for me to have admin rights to the last post that's not mine.
-
Yep, it's not compatible. After installing it, clicking on its link in the ACP returned the message shown below. Same issue with Emailer (Local).
-
@planner will fix tomorrow.
-
Thanks. Looking forward to it. I've registered with Mandrill and Mailgun and Mandrill seems to have a better interface.
-
@planner done.
npm update nodebb-plugin-emailer-mandrill
to get the 0.1.0 version. Please be aware that the previous settings (apiKey), if you had any, will not be persisted, so you will need to re-enter it.
I basically re-stole @julian mailgun's codez.
-
-
Ok, so I have Mandrill up and running. Just one major issue: The verification email is taking the form http://127.0.0.1:4567/confirm/27fd50fb-fa87-4f6e-be77-27.
That's not good. I think it has to do with a proxy_set_header setting, but I'm not too sure.
While I'm googling, anybody dealt with this before?
Btw, my setup is Varnish >> Nginx >> NodeBB
-
What's the
base_url
in yourconfig.json
?In the code:
var reset_link = nconf.get('url') + '/reset/' + reset_code;
Which relies on
base_url
, afaik. -
-
Is there any rule against setting
base_url
to domain name instead of to localhost? -
The
base_url
is used purely to construct absolute urls in places in the front-end. It should be set to your site's address (http://forum.linuxbsdos.com
) -
Thanks. That means modifying at least one option in Varnish, but I think that will remove the loopback address from log entries pertaining to NodeBB.