Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.First off thanks for making this rad integration with Aegir. It helps so much!
Aegir: latest
CiviCRM: 5.6.0
What happened
Migrated two sites from older CiviCRM to 5.6.0 using Aegir
What am I experiencing
I have a weird situation whereby one platforms site cron jobs are functioning properly (like a dev platform). On the same aegir instance another platform (live) is not running the cron properly.
Debugging
When running drush civicrm-api job.execute to debug cron I am getting
Array
(
[is_error] => 0
[version] => 3
[count] => 1
[values] => 1
)
I'm curious to know if there is a way that I can debug this? Or is this functionality broken?










Comments
Comment #2
ShaneOnABike CreditAttribution: ShaneOnABike at Bees on a Bike commentedComment #3
ShaneOnABike CreditAttribution: ShaneOnABike at Bees on a Bike commentedActually a further update is that Aegir indicates it is in fact running the CiviCRM cron, but CiviCRM status is complaining indicating that nothing has happened (same in the Job listings of last execution date).
I did notice one issue whereby the API key was the same for dev and live, but after changing that nothing changed :/
Any help would be amazing! I just don't know really where to start
Comment #4
bgm CreditAttribution: bgm commentedI have sites on CiviCRM 5.6 / 5.7 (RC) and did not encounter this issue.
Here are SymbioTIC's internal notes for debugging cron: http://paste.debian.net/1048951/
You may want to check:
* the hosting_context table of aegir
* the Scheduled Job logs in CiviCRM
Comment #5
ShaneOnABike CreditAttribution: ShaneOnABike at Bees on a Bike commentedOkay there is some really useful information in here that I'd like to add to the Aegir docs. Do I just do a git pull and and push request in order to update it.
One noted problem: hosting-dispatch service was fried so I restarted that
Still no dice. When running the debug session of drush @hm hosting-dispatch --debug I get:
Why would it complain that civicrm can't be found that's ubber weird, as it's obviously enabled. One side note is that I had to disable asset caching because the status page never appeared after I had upgraded.
The full output
Comment #6
ShaneOnABike CreditAttribution: ShaneOnABike at Bees on a Bike commentedSorry jumped the gun on the component
Comment #7
bgm CreditAttribution: bgm commentedThe "civicrm must be enabled" issue can be resolved with "drush cc drush", but it's a pretty annoying bug for which I don't have a solution (I'm not sure if we have an issue already for that?).
The issue is difficult to reproduce. I think it happens after Aegir upgrades, but I don't know what exactly causes it. (I've also seen cases where drush complains that 'hosting-task' doesn't exist).
I hate this kind of duct tape, but our monitoring detects the error and automatically clears the drush cache.
https://github.com/coopsymbiotic/coopsymbiotic-ansible/blob/master/roles...
Of course, if you can contribute to docs, that would be great. Presumably the docs can be forked on github, then you can do a pull-request through the interface.
Comment #8
ShaneOnABike CreditAttribution: ShaneOnABike at Bees on a Bike commentedWhoa genuis! When in doubt clear drush cache. After a few runs with debug it seems to have repaired itself yahoo!
Comment #9
bgm CreditAttribution: bgm commentedIf you would like to contribute a bit to the docs, that would be a great way to push things forward :)