Project

General

Profile

Redmine email log

Added by Nathan Dattler almost 9 years ago

Is there a log generated by Redmine that shows all notification emails created by new ticket creation and/or updating a ticket?

We've been noticing lately that notification emails randomly don't get sent when creating or updating a ticket. This does not happen with every ticket, just a handful over the past few weeks.

I'm pretty sure everything goes through our Exchange server but it's hard to tell for sure from the Redmine configuration files.

If additional info is needed about the Redmine setup, I can provide that.


Replies (3)

RE: Redmine email log - Added by A T almost 9 years ago

If your Redmine is installed on a Debian Linux, you'll find a logfile in /usr/share/redmine/log. The file may be called "production.log".
Open the logfile with your favorite text editor and search for the word "mailer". On this Linux distribution you'll find another file called "/usr/share/redmine/nohup.out". It contains everything redirected from a (non existing) console. You may find hints there also.

Since about two weeks I've a similar problem. Redmine doesn't send mails any more. But it even doesn't try to send an email. There occurs an error immediately before it sends a mail:

Rendered mailer/_issue.text.erb (7.8ms)
Rendered mailer/issue_edit.text.erb within layouts/mailer (12.6ms)
Rendered mailer/_issue.html.erb (1.3ms)
Rendered mailer/issue_edit.html.erb within layouts/mailer (4.6ms)
Email delivery error: can't convert true into String

Until today I've not found out what causes this error.

A.T.

RE: Redmine email log - Added by Nathan Dattler almost 9 years ago

I found my production.log file in a different directory.

/var/www/rails_apps/redmine/log/production.log

Unfortunately there was no reference to "mailer" in the log. Also the log was about 500MBs, so searching it within NANO was quite slow. Most of the entry seem to be PHP connection info in regards to accessing the Redmine database.

The "nohup.out" file does not exist on this system either. A very weird problem that has me pretty much baffled. It would probably be easier to determine the cause if no notification emails were being sent out, but the sporadic nature of it makes things really difficult.

Thank you for your suggestions!

RE: Redmine email log - Added by Nathan Dattler almost 9 years ago

Also, this is a very old version of Redmine on Ubuntu.

Redmine 0.8.3
Ubuntu 9.04 (Jaunty)
Ruby 1.8.7

Basically living in a time bubble.

    (1-3/3)