CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Activity processor fails following upgrade to 4.1.2 and then 4.1.3
Pages: [1]

Author Topic: Activity processor fails following upgrade to 4.1.2 and then 4.1.3  (Read 1122 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 15, 2012, 02:10:00 am
Upgraded Drupal 6 4.1.1 installation to 4.1.2 then 4.1.3 with no errors reported.

The Activity processor, which used to work now returns this error message:

Finished execution of Activity processor with result: Failure, Error message: Process Activities failed

Where do I look to find out more?

In another thread, which looks similar the request was to look at the CiviCRM log file... Where is this and what is it called?

Many thanks (in anticipation)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 15, 2012, 08:02:40 am

Can you check the code at:

api/v3/Job.php, function civicrm_api3_job_fetch_activities

and see why it does not return a success object

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 17, 2012, 04:21:51 am
On a related note, I wonder why in function civicrm_api3_job_fetch_activities and function civicrm_api3_job_fetch_bounces the line

Code: [Select]
  $lock->release();

comes after the return statements. Seems the lock will never be released....
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 17, 2012, 08:02:46 pm

i fixed this for 4.1.4

However that should not impact the return value
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 18, 2012, 02:28:27 pm
Sorry Lobo - I'm not ignoring your kind reply - I've spent the entire day setting up a MAMP development environment on a mac and trying to get debug + MacGDBp to work.

So far I can't get the thing started!

I'm going to bed!

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 28, 2012, 07:04:09 am
I'm still having problems with setting up a local install but I notice that the list of scheduled jobs in a new install is really quite different from the list of scheduled jobs in our live (the upgraded) site.

On the demo there is a job 'Process Inbound Emails' that references 'fetch_activity' in the API

On ours this is absent, but there is 'Activity Processor' that references 'fetch_activity' which used to process the inbound mails and now does not - it is not present in a clean install of 4.1.3

Is this a sign of a partially failed upgrade?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 28, 2012, 07:45:41 am

probably.

For now, can you just truncate: civicrm_job

and load a clean copy for a pristine 4.1.3

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
June 29, 2012, 03:01:10 am
Thanks - I now have the same list as the pristine version, but the same result!

Agh well, worth a shot.

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Activity processor fails following upgrade to 4.1.2 and then 4.1.3
July 26, 2012, 02:04:38 pm
Now on version 4.1.5 and still fiddling with this when I get the chance... with no further ideas that yield any interest - but...

Perhaps someone could verify that these parameters are the correct ones?

From the activity log:

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Many thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Activity processor fails following upgrade to 4.1.2 and then 4.1.3

This forum was archived on 2017-11-26.