I’ve finished a 1M posts VB migration which I am intending to do a tutorial for since it took me a good research time that I want to minimize for others…
Anyways, straight to the point is that when I do the test emails, it works (using Mandrill) but when my user(s) try to recover their emails, those emails never reach. Checking mandrill and discourse log and nothing there either… It’s like these never get tried to be sent as I can see the test emails on the log but not the other recovery ones.
In addition when I try to grant administration or moderation to any of the users in the database I get an error saying that it wasn’t possible to do that.
I also tried a rebuild of discourse but that didn’t help.
New user registrations doesn’t trigger an email either… it just works when you test send one.
Thank you @codinghorror but in there I get only errors of these type:
Failed to pull hotlinked image: http://img530.imageshack.us/img530/8976/jtaob3.jpg 404 Not Found /usr/local/lib/ruby/2.0.0/open-uri.rb:353:in `open_http' /usr/local/lib/ruby/2.0.0/open-uri.rb:709:in `
No trace of an additional error… it’s like phantom as it doesn’t shows there nor in the ADMIN-EMAIL-SENT
Is there anything else I could try or look at, please? My desk is full of pulled out hair. It actually worked before the import since I gained admin like that… but not now. Nothing has been added like plugins, hacked in etc…
Still trying to figure out what’s the problem. To me this could be a bug because of the following facts:
1.- Email is perfectly configured with Mandrill. It works when sending out a test mail. It also did work perfectly to send out the recover email for the password of the admin.
2.- After two days of continuous import while the emails where automatically disabled by Discourse.
3.- After a successful import without the recover email doesn’t works, but it does the test emails at all times.
4.- In addition to that, I can’t grant admin or moderator to any users. It troughs an error via web saying that the task can’t be performed.
5.- I’ve also tried rebuilding the app with launcher rebuild app without any luck
6.- web logs and email logs under admin don’t show error or sucess or anything related to the email but it does with the recovery email.
It did work Sam! The issue was that the queue never ended as the large migration was causing async additional queries that were added to the queue. I stopped the “crawl remote images” and that queue started to clearup.
The problem with the “set administrator/moderator” still persists and when I check the logs I get the following:
ActiveRecord::RecordInvalid (Validation failed: Name has already been taken)