2

There are two factors that could be the root cause:

  1. We've recently upgraded from FB6 to FB7
  2. We've enforced SSL through IIS on our FogBugz website. The SSL cert is NOT self-signed.

I've looked through your various articles on email problems but I can't seem to get it resolved. It would appear to me that all of our settings and the maintenance service are correct.

Any ideas??

Also, how often is the maintenance service supposed to run? Is there a way to adjust how often it runs? So far it's been over 30 minutes since it last run. The maintenance service may be the root cause.

flag
You should contact us at contact.fogcreek.com if you need immediate help. – Michael Pryor Dec 16 2009 at 23:20

2 Answers

1

The FogBugz Maintenance Service should run every fifteen seconds or so. It performs the steps listed here. If it hasn't run in 45 minutes, you will start getting warnings ("Warning: Some errors have occurred in your FogBugz installation.") in the interface. If it runs into trouble, you'll get warnings in the interface.

To check notification emails, look at the Admin > Site > Mail tab. (This is Settings > Site > Mail in FogBugz 6.) It should show you pending messages. If the number is only going up, then your maintenance service is probably not running correctly.

If the number is going down regularly, then FogBugz's outgoing emails are being accepted for delivery by the SMTP server, but somehow not reaching their destination.

The way we usually troubleshoot this is to use FogBugz to notify a variety of addresses and see if they arrive. Here's some steps:

  • Determine which user(s) has spotty or absent notifications.

  • Go to Settings > Users and double-check that they have email notifications turned on, then edit that user's email address. Add a comma or semicolon and then an outside email, such as a Gmail, Yahoo, or Hotmail address. It should look something like this: user@yoursite.com, foo@gmail.com.

  • Create a new case and assign it to that user. NOTE: if this user is you, you'll need to get someone else to create a case and assign it to you. FogBugz doesn't notify you of actions you take yourself.

  • Get a cup of coffee. Go to Settings > Site > Mail and refresh until the number of pending messages goes down to zero. If this number doesn't change, your FogBugz Maintenance Service might not be running. If that's the case, let us know and we'll send along a different set of steps.

  • Check your outside mail account. If the notification is there, then there's something happening between the message leaving FogBugz and arriving in your user's mailbox. If the notification is not there, and the pending message count is zero, let us know.

link|flag
I've tried those steps and the pending messages are still increasing. When I run the following query against the database, I'm getting a time stamp of 2009-12-15 23:51:05 Select sValue from Setting Where sKey = 'dtLastHeartbeat' – Shane Loret Dec 16 2009 at 16:03
I'm hoping to resolve this soon. We already have 1000 messages backed up. Is there anyway to run the maintenance service manually. Does it have any kind of an error log? Anything? – Shane Loret Dec 16 2009 at 21:53
It is definitely related to SSL and the maintenance service. If I have SSL enforced by IIS and the maintenance url set to myserver/fogbugz nothing happens. If I turn SSL enforcement off and set the maintenance url to myserver/fogbugz it works as expected. – Shane Loret Dec 16 2009 at 23:40
0

See also: Our standard email sending debugging steps are posted here.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.