• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Can't edit nodebb-plugin-emailer-local settings

Scheduled Pinned Locked Moved Bug Reports
21 Posts 5 Posters 6.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Guiri
    wrote on last edited by Guiri
    #1

    Going to the Emailer (Local) plugin page results in a 404:

    Not Found
    You seem to have stumbled upon a page that does not exist. Return to the home page.
    

    The npm installed without any warnings or errors in terminal.

    Redis server version 2.4.10
    NodeBB 0.4.2
    Node v0.10.20
    RHEL 6.5 w/ 2.6.32-431.11.2.el6.x86_64

    Running tail -f on the log, the following is produced when I click on the Emailer (Local) plugin page:

    io: 1 on [ 'user.getOnlineUsers', [], [Function: ack] ]
    io: 1 on [ '*',
      { name: 'user.getOnlineUsers', args: [ [] ] },
      [Function: ack] ]
    io: 1 on [ 'widgets.render',
      { template: '404.tpl', url: '404', location: 'sidebar' },
      [Function: ack] ]
    io: 1 on [ '*',
      { name: 'widgets.render', args: [ [Object] ] },
      [Function: ack] ]
    io: 1 on [ 'widgets.render',
      { template: '404.tpl', url: '404', location: 'footer' },
      [Function: ack] ]
    io: 1 on [ '*',
      { name: 'widgets.render', args: [ [Object] ] },
      [Function: ack] ]
    io: 1 on [ 'meta.buildTitle', '404', [Function: ack] ]
    io: 1 on [ '*',
      { name: 'meta.buildTitle', args: [ '404' ] },
      [Function: ack] ]
    
    F 1 Reply Last reply
    0
  • F Offline
    F Offline
    finid
    replied to Guiri on last edited by
    #2

    @Guiri

    That plugin has not been updated to work with the latest NodeBB. You might have to use another plugin that will give you access to a 3rd party email service, like Mandrill.

    1 Reply Last reply
    1
  • G Offline
    G Offline
    Guiri
    wrote on last edited by
    #3

    Thanks, Mandrill works nicely. I was concerned about pricing but they have a Free tier.

    F 1 Reply Last reply
    0
  • F Offline
    F Offline
    finid
    replied to Guiri on last edited by
    #4

    @Guiri said:

    Thanks, Mandrill works nicely. I was concerned about pricing but they have a Free tier.

    Yes, I use the free tier and even with all the spam, I'm not even coming close to maxing out.

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #5

    I actually forked the plugin and updated to 0.4x

    npm install git://github.com/psychobunny/nodebb-plugin-emailer-local
    

    but of course, Mandrill is probably a better option in general 🙂

    F SPHINXS 2 Replies Last reply
    1
  • F Offline
    F Offline
    finid
    replied to psychobunny on last edited by
    #6

    @psychobunny said:

    I actually forked the plugin and updated to 0.4x

    Now, that's a reason we need to find a way for new and old users to discover available plugins

    1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    replied to psychobunny on last edited by SPHINX
    #7

    @psychobunny
    npm install git://github.com/psychobunny/nodebb-plugin-emailer-local
    seems to hang at:

    npm verb lock git://github.com/psychobunny/nodebb-plugin-emailer-local /root/.npm/686ec736-unny-nodebb-plugin-emailer-local.lock
    npm verb addRemoteGit [ 'git://github.com/psychobunny/nodebb-plugin-emailer-local',
    npm verb addRemoteGit 'master' ]

    Any advice? Anyone successfully used this fork?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #8

    @SPHINX please give nodebb-plugin-emailer-nodemailer a try instead 🙂

    SPHINXS 1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    replied to julian on last edited by
    #9

    @julian said:

    nodebb-plugin-emailer-nodemailer

    If I try: npm install nodebb-plugin-emailer-nodemailer

    I get: npm ERR! 404 'nodebb-plugin-emailer-nodemailer' is not in the npm registry.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #10

    @SPHINX Ah, nevermind, seems that plugin doesn't exist anymore... can you try installing @psychobunny's fork via npm install again?

    SPHINXS 1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    replied to julian on last edited by SPHINX
    #11

    @julian Tried again, still get the same error for his fork:

    npm install --verbose git://github.com/psychobunny/nodebb-plugin-emailer-local
    ...
    npm verb lock git://github.com/psychobunny/nodebb-plugin-emailer-local /root/.npm/686ec736-unny-nodebb-plugin-emailer-local.lock
    npm verb addRemoteGit [ 'git://github.com/psychobunny/nodebb-plugin-emailer-local',
    npm verb addRemoteGit 'master' ]

    SPHINXS 1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    replied to SPHINX on last edited by SPHINX
    #12

    Hold on, might have found something on my end...
    Yes, firewall blocking the git port. Fixing...

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #13

    Could you try using git+https://github.com/psychobunny/nodebb-plugin-emailer-local instead, perhaps?

    SPHINXS 1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    replied to julian on last edited by
    #14

    @julian Perfect. That will do it. Installed. Now testing...

    1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    wrote on last edited by
    #15

    Settings page now visible for emailer local.
    Still waiting for an email to make it through to confirm things are working.

    1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    wrote on last edited by
    #16

    No sign of any emails making it out of NodeBB.

    I am using exim4 (locally obviously). Sending from a shell prompt using the 'mail' command works fine, so I have to assume it works.

    Best way to debug NodeBB issues?

    1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    wrote on last edited by
    #17

    Right, so from the log:

    warn: [emailer.smtp] Unable to send reset email to uid 2!!

    1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    wrote on last edited by
    #18

    Debugging complete. Found the following error: 503 AUTH command used when not advertised

    So to hack a fix, I had to comment out the 'auth' portion of the nodemailerTransport config object in index.js (lines 24-27).

    Long route to get there, but emails are now working.
    Thanks for your help. Hopefully things are smoother with the next stable release.
    I should probably fork and do a nicer fix for others to use. Will add to my todo list.

    1 Reply Last reply
    0
  • SPHINXS Offline
    SPHINXS Offline
    SPHINX
    wrote on last edited by SPHINX
    #19

    If anyone else needs the (nicer) fix, here it is:

    npm install git+https://github.com/SPHINX--/nodebb-plugin-emailer-local

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by julian
    #20

    @SPHINX Thanks! I've opened up a pull request back to @psychobunny's repository.

    https://github.com/psychobunny/nodebb-plugin-emailer-local/pull/1

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development