Results 1 to 7 of 7

Thread: 4.2.1 upgrade breaks scheduler

  1. #1
    bari is offline Junior Member
    Join Date
    Jan 2006
    Posts
    3

    Default 4.2.1 upgrade breaks scheduler

    I've updated my sugar install to 4.2.1 and the scheduled jobs no longer run. Whatever is failing it is doing so silently. Problem started immediatly after I installed the update. From the log, it looks as if stuff is running, but i get now inbound email, a custom job doesnt do anything, nothing new in the job log, and last successful run value doesnt change. Any thoughts?

    I attached the log
    Attached Files Attached Files

  2. #2
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: 4.2.1 upgrade breaks scheduler

    We're releasing 4.2.1 patch A tomorrow which fixes this issue.

    Clint
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  3. #3
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: 4.2.1 upgrade breaks scheduler

    This is fixed 4.2.1 patch A which we just posted.

    See this thread for links to the release notes and the bits.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  4. #4
    unicum's Avatar
    unicum is offline Sugar Community Member
    Join Date
    Mar 2006
    Location
    Switzerland
    Posts
    94

    Default Re: 4.2.1 upgrade breaks scheduler

    Hi Clint,

    For me, the patch 421a doesn't solve the problems with any outbound email account. I tried all hints and tricks, even by a fresh install, even using other than company email accounts...

    [IMG]Bild 24.png[/IMG]
    Attached Images Attached Images  
    with best regards,

    Andrew

    CR(B)M Evangelist
    www.crbm.ch
    joomla-hostings.ch
    Go-Connect.net

  5. #5
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: 4.2.1 upgrade breaks scheduler

    Quote Originally Posted by unicum
    Hi Clint,

    For me, the patch 421a doesn't solve the problems with any outbound email account. I tried all hints and tricks, even by a fresh install, even using other than company email accounts...
    Hi Unicum -

    Your outbound email problems are definitely different than the inbound email problems listed here. Inbound email is automatically polled every few minutes by a Sugar scheduler job that is driven by cron on *nix or the Windows scheduler.

    Does any email get out of your system? In other words do your notification emails get sent out? The "new record assigned to you" email notifications are sent out by the system using the email settings in the "Admin" page. Is that working for you?

    However, when a user sends out an email, the outbound emails settings are configured per user in the "My Account" page. So my first question there is whether those settings are 100% correct?

    If those are correct, next try sending an email out with pure ASCII characters. No umlauts, no accent marks. Just plain vanilla ASCII characters. I know there are some issues with sending/receiving email with non-ASCII charsets. This is one of the things Chris is addressing in the upcoming 4.5 release (available next month). However, I don't know the details of the issues.

    Let me know how your testing goes with what I just described. If you can get emails to successfully send using ASCII-only characters, I'll get Chris to weigh in on whether there are any workarounds you can do to get non-ASCII characters working.

    Again, I'm not aware of all the exact technical issues so these last comments may be off-base. I'll check with Chris.

    Clint
    Attached Images Attached Images  
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  6. #6
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: 4.2.1 upgrade breaks scheduler

    A little note about SMTP vs. sendmail UNIX/Linux systems with SugarCRM E-mail Campaigns.

    A few points about SMTP that can cause problems with Email Campaigns.
    1. SMTP when connections to your server are not on the localhost or on your local network can introduce delays and errors that may cause PHP to timeout. This may be caused by the number of messages to be sent per batch and the size of the messages to be sent.
    2. SMTP would be better handled by fulltime mail servers installed locally such as postfix, sendmail and qmail. Any of these servers could be configured to relay mail to the actual email server. The email server must be configured to only relay from these specific servers with authentication.

    Ther are many more reasons to use a local sendmail to send the emails over using SMTP. Emails are queued on local machine for delivery by the local email server program to the remote email server. This offloads the delevery process to email server programs such as sendmail, postfix and qmail which are better at relaying email to the email server.

    I use the sendmail method in SugarCRM. I have a postfix email server configured to relay email to the real email server. The real email server is configured to accept only relays from SugarCRM Server with authentication. The email server on the SugarCRM server does not accept email at all it only relays emails from the localhost. This prevents spammers from useing my email server as an open relay.

    I have found that using sendmail method for emails in SugarCRM is much better than using SMTP. First I can send many more messages per batch than using the SMTP without having PHP timeout on me. And the biggest one of all the sendmail method retries sending emails on failure of sending the emial message. It Retries for several Hours in case the server went off line for maintenance.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  7. #7
    Beefeater is offline Sugar Community Member
    Join Date
    Jan 2007
    Location
    Sydney
    Posts
    29

    Default Re: 4.2.1 upgrade breaks scheduler

    Quote Originally Posted by bari
    I've updated my sugar install to 4.2.1 and the scheduled jobs no longer run. Whatever is failing it is doing so silently. Problem started immediatly after I installed the update. From the log, it looks as if stuff is running, but i get now inbound email, a custom job doesnt do anything, nothing new in the job log, and last successful run value doesnt change. Any thoughts?

    I attached the log
    I'm having the exact same problem. Did you find a solution?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •