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

ShaneOnABike created an issue. See original summary.

ShaneOnABike’s picture

Project: Provision CiviCRM » Aegir Hosting CiviCRM
Version: 6.x-2.2 » 7.x-3.160
ShaneOnABike’s picture

Actually 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

bgm’s picture

Status: Active » Postponed (maintainer needs more info)

I 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

ShaneOnABike’s picture

Component: Code » Documentation

Okay 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:

Command civicrm-api needs the following extension(s) enabled to run: civicrm. [5.48 sec, 27.17 MB]       [error]
The drush command 'civicrm-api Job.execute auth=0' could not be executed. [5.48 sec, 27.17 MB]           [error]
ERROR:   1                                                                                               [error]

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

Find command files for phase 2 (max=5) [4.37 sec, 12.63 MB]                                                  [debug]
Drush bootstrap phase : bootstrap_drupal_configuration() [4.37 sec, 12.63 MB]                            [bootstrap]
Find command files for phase 3 (max=5) [4.38 sec, 12.65 MB]                                                  [debug]
sql-query: SELECT 1; [4.38 sec, 12.71 MB]                                                                   [notice]
Executing: mysql --defaults-extra-file=/tmp/drush_SP97pp --database=blahblah --host=localhost --port=xx --silent  < /tmp/drush_8JhgL1
sql-query: SHOW TABLES; [4.4 sec, 12.71 MB]                                                                 [notice]
  1
Executing: mysql --defaults-extra-file=/tmp/drush_m5AyPa --database=blahblah --host=localhost --port=xx --silent  < /tmp/drush_q9BP7M
  actions
  advagg_aggregates
  advagg_aggregates_hashes
  advagg_aggregates_versions
  advagg_files
  authmap
  batch
  bean
  bean_revision
  bean_type
  block
  block_custom
  block_node_type
  block_role
  blocked_ips
  breakpoint_group
  breakpoints
  cache
  cache_admin_menu
  cache_advagg_aggregates
  cache_advagg_info
  cache_block
  cache_bootstrap
  cache_coder
  cache_entity_bean
  cache_entity_comment
  cache_entity_file
  cache_entity_node
  cache_entity_paragraphs_item
  cache_entity_taxonomy_term
  cache_entity_taxonomy_vocabulary
  cache_entity_user
  cache_features
  cache_field
  cache_filter
  cache_form
  cache_geocoder
  cache_image
  cache_libraries
  cache_mailchimp
  cache_media_oembed
  cache_menu
  cache_metatag
  cache_page
  cache_path
  cache_rules
  cache_token
  cache_update
  cache_variable
  cache_views
  cache_views_data
  cache_widgets
  captcha_points
  captcha_sessions
  cck_field_settings
  civicrm_acl
  civicrm_acl_cache
  civicrm_acl_contact_cache
  civicrm_acl_entity_role
  civicrm_action_log
  civicrm_action_mapping
  civicrm_action_schedule
  civicrm_activity
  civicrm_activity_contact
  civicrm_address
  civicrm_address_format
  civicrm_batch
  civicrm_batch_en_CA
  civicrm_batch_es_MX
  civicrm_batch_fr_CA
  civicrm_batch_pt_BR
  civicrm_cache
  civicrm_campaign
  civicrm_campaign_group
  civicrm_case
  civicrm_case_activity
  civicrm_case_contact
  civicrm_case_type
  civicrm_case_type_en_CA
  civicrm_case_type_es_MX
  civicrm_case_type_fr_CA
  civicrm_case_type_pt_BR
  civicrm_component
  civicrm_contact
  civicrm_contact_type
  civicrm_contact_type_en_CA
  civicrm_contact_type_es_MX
  civicrm_contact_type_fr_CA
  civicrm_contact_type_pt_BR
  civicrm_contribution
  civicrm_contribution_page
  civicrm_contribution_page_en_CA
  civicrm_contribution_page_es_MX
  civicrm_contribution_page_fr_CA
  civicrm_contribution_page_pt_BR
  civicrm_contribution_product
  civicrm_contribution_recur
  civicrm_contribution_soft
  civicrm_contribution_widget
  civicrm_country
  civicrm_county
  civicrm_currency
  civicrm_custom_field
  civicrm_custom_field_en_CA
  civicrm_custom_field_es_MX
  civicrm_custom_field_fr_CA
  civicrm_custom_field_pt_BR
  civicrm_custom_group
  civicrm_custom_group_en_CA
  civicrm_custom_group_es_MX
  civicrm_custom_group_fr_CA
  civicrm_custom_group_pt_BR
  civicrm_cxn
  civicrm_dashboard
  civicrm_dashboard_contact
  civicrm_dashboard_en_CA
  civicrm_dashboard_es_MX
  civicrm_dashboard_fr_CA
  civicrm_dashboard_pt_BR
  civicrm_dedupe_exception
  civicrm_dedupe_rule
  civicrm_dedupe_rule_group
  civicrm_discount
  civicrm_domain
  civicrm_email
  civicrm_entity_batch
  civicrm_entity_file
  civicrm_entity_financial_account
  civicrm_entity_financial_trxn
  civicrm_entity_tag
  civicrm_event
  civicrm_event_carts
  civicrm_event_en_CA
  civicrm_event_es_MX
  civicrm_event_fr_CA
  civicrm_event_pt_BR
  civicrm_events_in_carts
  civicrm_extension
  civicrm_file
  civicrm_financial_account
  civicrm_financial_item
  civicrm_financial_trxn
  civicrm_financial_type
  civicrm_grant
  civicrm_group
  civicrm_group_contact
  civicrm_group_contact_cache
  civicrm_group_en_CA
  civicrm_group_es_MX
  civicrm_group_fr_CA
  civicrm_group_nesting
  civicrm_group_organization
  civicrm_group_pt_BR
  civicrm_iats_customer_codes
  civicrm_iats_journal
  civicrm_iats_request_log
  civicrm_iats_response_log
  civicrm_iats_ukdd_validate
  civicrm_iats_verify
  civicrm_im
  civicrm_install_canary
  civicrm_job
  civicrm_job_log
  civicrm_line_item
  civicrm_loc_block
  civicrm_location_type
  civicrm_location_type_en_CA
  civicrm_location_type_es_MX
  civicrm_location_type_fr_CA
  civicrm_location_type_pt_BR
  civicrm_log
  civicrm_mail_settings
  civicrm_mailing
  civicrm_mailing_abtest
  civicrm_mailing_bounce_pattern
  civicrm_mailing_bounce_type
  civicrm_mailing_component
  civicrm_mailing_event_bounce
  civicrm_mailing_event_confirm
  civicrm_mailing_event_delivered
  civicrm_mailing_event_forward
  civicrm_mailing_event_opened
  civicrm_mailing_event_queue
  civicrm_mailing_event_reply
  civicrm_mailing_event_subscribe
  civicrm_mailing_event_trackable_url_open
  civicrm_mailing_event_unsubscribe
  civicrm_mailing_group
  civicrm_mailing_job
  civicrm_mailing_recipients
  civicrm_mailing_spool
  civicrm_mailing_trackable_url
  civicrm_managed
  civicrm_mapping
  civicrm_mapping_field
  civicrm_member_roles_rules
  civicrm_membership
  civicrm_membership_block
  civicrm_membership_block_en_CA
  civicrm_membership_block_es_MX
  civicrm_membership_block_fr_CA
  civicrm_membership_block_pt_BR
  civicrm_membership_log
  civicrm_membership_payment
  civicrm_membership_status
  civicrm_membership_status_en_CA
  civicrm_membership_status_es_MX
  civicrm_membership_status_fr_CA
  civicrm_membership_status_pt_BR
  civicrm_membership_type
  civicrm_membership_type_en_CA
  civicrm_membership_type_es_MX
  civicrm_membership_type_fr_CA
  civicrm_membership_type_pt_BR
  civicrm_menu
  civicrm_msg_template
  civicrm_navigation
  civicrm_note
  civicrm_openid
  civicrm_option_group
  civicrm_option_group_en_CA
  civicrm_option_group_es_MX
  civicrm_option_group_fr_CA
  civicrm_option_group_pt_BR
  civicrm_option_value
  civicrm_option_value_en_CA
  civicrm_option_value_es_MX
  civicrm_option_value_fr_CA
  civicrm_option_value_pt_BR
  civicrm_participant
  civicrm_participant_payment
  civicrm_participant_status_type
  civicrm_participant_status_type_en_CA
  civicrm_participant_status_type_es_MX
  civicrm_participant_status_type_fr_CA
  civicrm_participant_status_type_pt_BR
  civicrm_payment_processor
  civicrm_payment_processor_type
  civicrm_payment_token
  civicrm_pcp
  civicrm_pcp_block
  civicrm_pcp_block_en_CA
  civicrm_pcp_block_es_MX
  civicrm_pcp_block_fr_CA
  civicrm_pcp_block_pt_BR
  civicrm_persistent
  civicrm_phone
  civicrm_pledge
  civicrm_pledge_block
  civicrm_pledge_payment
  civicrm_preferences_date
  civicrm_premiums
  civicrm_premiums_en_CA
  civicrm_premiums_es_MX
  civicrm_premiums_fr_CA
  civicrm_premiums_product
  civicrm_premiums_pt_BR
  civicrm_prevnext_cache
  civicrm_price_field
  civicrm_price_field_en_CA
  civicrm_price_field_es_MX
  civicrm_price_field_fr_CA
  civicrm_price_field_pt_BR
  civicrm_price_field_value
  civicrm_price_field_value_en_CA
  civicrm_price_field_value_es_MX
  civicrm_price_field_value_fr_CA
  civicrm_price_field_value_pt_BR
  civicrm_price_set
  civicrm_price_set_en_CA
  civicrm_price_set_entity
  civicrm_price_set_es_MX
  civicrm_price_set_fr_CA
  civicrm_price_set_pt_BR
  civicrm_print_label
  civicrm_product
  civicrm_product_en_CA
  civicrm_product_es_MX
  civicrm_product_fr_CA
  civicrm_product_pt_BR
  civicrm_queue_item
  civicrm_recurring_entity
  civicrm_relationship
  civicrm_relationship_type
  civicrm_relationship_type_en_CA
  civicrm_relationship_type_es_MX
  civicrm_relationship_type_fr_CA
  civicrm_relationship_type_pt_BR
  civicrm_report_instance
  civicrm_saved_search
  civicrm_setting
  civicrm_sms_provider
  civicrm_state_province
  civicrm_status_pref
  civicrm_subscription_history
  civicrm_survey
  civicrm_survey_en_CA
  civicrm_survey_es_MX
  civicrm_survey_fr_CA
  civicrm_survey_pt_BR
  civicrm_system_log
  civicrm_tag
  civicrm_tell_friend
  civicrm_tell_friend_en_CA
  civicrm_tell_friend_es_MX
  civicrm_tell_friend_fr_CA
  civicrm_tell_friend_pt_BR
  civicrm_timezone
  civicrm_uf_field
  civicrm_uf_field_en_CA
  civicrm_uf_field_es_MX
  civicrm_uf_field_fr_CA
  civicrm_uf_field_pt_BR
  civicrm_uf_group
  civicrm_uf_group_en_CA
  civicrm_uf_group_es_MX
  civicrm_uf_group_fr_CA
  civicrm_uf_group_pt_BR
  civicrm_uf_join
  civicrm_uf_match
  civicrm_value_calacs_organi_5
  civicrm_value_donation_use_1
  civicrm_value_genderselfidentify
  civicrm_value_region_3
  civicrm_value_user_account_info_4
  civicrm_website
  civicrm_word_replacement
  civicrm_worldregion
  comment
  contact
  ctools_css_cache
  ctools_object_cache
  date_format_locale
  date_format_type
  date_formats
  ds_field_settings
  ds_fields
  ds_layout_settings
  ds_vd
  ds_view_modes
  election
  election_ballot
  election_candidate
  election_candidate_type
  election_post
  election_vote
  entity_translation
  entity_translation_revision
  field_config
  field_config_instance
  field_data_body
  field_data_candidate_mail
  field_data_candidate_name
  field_data_comment_body
  field_data_description_field
  field_data_election_title
  field_data_field_action_category
  field_data_field_action_icon
  field_data_field_award_icon
  field_data_field_block_description
  field_data_field_block_footer
  field_data_field_blog_category
  field_data_field_blog_tags
  field_data_field_button_text
  field_data_field_candidate_biography
  field_data_field_candidate_picture
  field_data_field_candidate_sponsors
  field_data_field_candidate_statement
  field_data_field_category_image
  field_data_field_civicrm_contact
  field_data_field_congress_dates
  field_data_field_congress_info_header
  field_data_field_congress_location
  field_data_field_congress_programming
  field_data_field_css_extra
  field_data_field_download_text
  field_data_field_engagement_button
  field_data_field_engagement_dates
  field_data_field_engagement_form
  field_data_field_event_address
  field_data_field_event_chair
  field_data_field_event_date
  field_data_field_event_geo
  field_data_field_file_image_alt_text
  field_data_field_file_image_title_text
  field_data_field_forum_active
  field_data_field_forum_date
  field_data_field_forum_description
  field_data_field_forum_files
  field_data_field_forum_tags
  field_data_field_group_comment
  field_data_field_group_comment_title
  field_data_field_group_contacts
  field_data_field_header
  field_data_field_header_description
  field_data_field_header_image_basic
  field_data_field_image
  field_data_field_membership_icon
  field_data_field_program_events
  field_data_field_proposal_post
  field_data_field_referendum_question
  field_data_field_registration_dates
  field_data_field_registration_post
  field_data_field_report
  field_data_field_section_info
  field_data_field_section_second_info
  field_data_field_section_second_title
  field_data_field_section_title
  field_data_field_tags
  field_data_field_test
  field_data_field_title
  field_data_field_title_subheading
  field_data_field_working_group_demand
  field_data_og_membership_request
  field_data_post_title
  field_data_title_field
  field_group
  field_revision_body
  field_revision_candidate_mail
  field_revision_candidate_name
  field_revision_comment_body
  field_revision_description_field
  field_revision_election_title
  field_revision_field_action_category
  field_revision_field_action_icon
  field_revision_field_award_icon
  field_revision_field_block_description
  field_revision_field_block_footer
  field_revision_field_blog_category
  field_revision_field_blog_tags
  field_revision_field_button_text
  field_revision_field_candidate_biography
  field_revision_field_candidate_picture
  field_revision_field_candidate_sponsors
  field_revision_field_candidate_statement
  field_revision_field_category_image
  field_revision_field_civicrm_contact
  field_revision_field_congress_dates
  field_revision_field_congress_info_header
  field_revision_field_congress_location
  field_revision_field_congress_programming
  field_revision_field_css_extra
  field_revision_field_download_text
  field_revision_field_engagement_button
  field_revision_field_engagement_dates
  field_revision_field_engagement_form
  field_revision_field_event_address
  field_revision_field_event_chair
  field_revision_field_event_date
  field_revision_field_event_geo
  field_revision_field_file_image_alt_text
  field_revision_field_file_image_title_text
  field_revision_field_forum_active
  field_revision_field_forum_date
  field_revision_field_forum_description
  field_revision_field_forum_files
  field_revision_field_forum_tags
  field_revision_field_group_comment
  field_revision_field_group_comment_title
  field_revision_field_group_contacts
  field_revision_field_header
  field_revision_field_header_description
  field_revision_field_header_image_basic
  field_revision_field_image
  field_revision_field_membership_icon
  field_revision_field_program_events
  field_revision_field_proposal_post
  field_revision_field_referendum_question
  field_revision_field_registration_dates
  field_revision_field_registration_post
  field_revision_field_report
  field_revision_field_section_info
  field_revision_field_section_second_info
  field_revision_field_section_second_title
  field_revision_field_section_title
  field_revision_field_tags
  field_revision_field_test
  field_revision_field_title
  field_revision_field_title_subheading
  field_revision_field_working_group_demand
  field_revision_og_membership_request
  field_revision_post_title
  field_revision_title_field
  fieldset_helper_state_manager
  file_display
  file_managed
  file_metadata
  file_type
  file_usage
  filter
  filter_format
  flood
  fontyourface_font
  fontyourface_tag
  fontyourface_tag_font
  gprofile
  gprofile_type
  group_entity
  group_invite
  group_membership
  group_membership_role
  group_role
  group_type
  groups
  history
  honeypot_user
  i18n_block_language
  i18n_path
  i18n_string
  i18n_translation_set
  icon_bundle
  ife
  image_effects
  image_styles
  l10n_update_file
  l10n_update_project
  languages
  locales_source
  locales_target
  log_civicrm_acl
  log_civicrm_acl_entity_role
  log_civicrm_action_mapping
  log_civicrm_action_schedule
  log_civicrm_activity
  log_civicrm_activity_contact
  log_civicrm_address
  log_civicrm_address_format
  log_civicrm_batch
  log_civicrm_campaign
  log_civicrm_campaign_group
  log_civicrm_case
  log_civicrm_case_activity
  log_civicrm_case_contact
  log_civicrm_case_type
  log_civicrm_component
  log_civicrm_contact
  log_civicrm_contact_type
  log_civicrm_contribution
  log_civicrm_contribution_page
  log_civicrm_contribution_product
  log_civicrm_contribution_recur
  log_civicrm_contribution_soft
  log_civicrm_contribution_widget
  log_civicrm_country
  log_civicrm_county
  log_civicrm_currency
  log_civicrm_custom_field
  log_civicrm_custom_group
  log_civicrm_cxn
  log_civicrm_dashboard
  log_civicrm_dashboard_contact
  log_civicrm_dedupe_exception
  log_civicrm_dedupe_rule
  log_civicrm_dedupe_rule_group
  log_civicrm_discount
  log_civicrm_domain
  log_civicrm_email
  log_civicrm_entity_batch
  log_civicrm_entity_file
  log_civicrm_entity_financial_account
  log_civicrm_entity_financial_trxn
  log_civicrm_entity_tag
  log_civicrm_event
  log_civicrm_event_carts
  log_civicrm_events_in_carts
  log_civicrm_extension
  log_civicrm_file
  log_civicrm_financial_account
  log_civicrm_financial_item
  log_civicrm_financial_trxn
  log_civicrm_financial_type
  log_civicrm_grant
  log_civicrm_group
  log_civicrm_group_contact
  log_civicrm_group_nesting
  log_civicrm_group_organization
  log_civicrm_group_roles_rules
  log_civicrm_iats_customer_codes
  log_civicrm_iats_journal
  log_civicrm_iats_ukdd_validate
  log_civicrm_iats_verify
  log_civicrm_im
  log_civicrm_install_canary
  log_civicrm_job
  log_civicrm_line_item
  log_civicrm_loc_block
  log_civicrm_location_type
  log_civicrm_mail_settings
  log_civicrm_mailing
  log_civicrm_mailing_abtest
  log_civicrm_mailing_bounce_pattern
  log_civicrm_mailing_bounce_type
  log_civicrm_mailing_component
  log_civicrm_mailing_group
  log_civicrm_mailing_job
  log_civicrm_mailing_spool
  log_civicrm_mailing_trackable_url
  log_civicrm_managed
  log_civicrm_mapping
  log_civicrm_mapping_field
  log_civicrm_member_roles_rules
  log_civicrm_membership
  log_civicrm_membership_block
  log_civicrm_membership_payment
  log_civicrm_membership_status
  log_civicrm_membership_type
  log_civicrm_msg_template
  log_civicrm_navigation
  log_civicrm_note
  log_civicrm_openid
  log_civicrm_option_group
  log_civicrm_option_value
  log_civicrm_participant
  log_civicrm_participant_payment
  log_civicrm_participant_status_type
  log_civicrm_payment_processor
  log_civicrm_payment_processor_type
  log_civicrm_payment_token
  log_civicrm_pcp
  log_civicrm_pcp_block
  log_civicrm_persistent
  log_civicrm_phone
  log_civicrm_pledge
  log_civicrm_pledge_block
  log_civicrm_pledge_payment
  log_civicrm_preferences_date
  log_civicrm_premiums
  log_civicrm_premiums_product
  log_civicrm_price_field
  log_civicrm_price_field_value
  log_civicrm_price_set
  log_civicrm_price_set_entity
  log_civicrm_print_label
  log_civicrm_product
  log_civicrm_recurring_entity
  log_civicrm_relationship
  log_civicrm_relationship_type
Drush bootstrap phase : bootstrap_drupal_database() [4.45 sec, 12.81 MB]                                 [bootstrap]
  log_civicrm_report_instance
  log_civicrm_saved_search
  log_civicrm_setting
  log_civicrm_sms_provider
  log_civicrm_state_province
  log_civicrm_status_pref
  log_civicrm_subscription_history
  log_civicrm_survey
  log_civicrm_tag
  log_civicrm_tell_friend
  log_civicrm_timezone
  log_civicrm_tmp_d_dflt_1434b98340bcaa63b19de7222e43ce2b
  log_civicrm_tmp_d_dflt_88967fe1c1e4e3f0680fd7ce02818897
  log_civicrm_tmp_d_dflt_8e53c557f14373a1be11b6acbdd1407a
  log_civicrm_tmp_d_dflt_9ad7b4038a6d1e8fb3bfd80a10ae1758
  log_civicrm_uf_field
  log_civicrm_uf_group
  log_civicrm_uf_join
  log_civicrm_uf_match
  log_civicrm_value_calacs_organi_5
  log_civicrm_value_donation_use_1
  log_civicrm_value_genderselfidentify
  log_civicrm_value_region_3
  log_civicrm_value_user_account_info_4
  log_civicrm_website
  log_civicrm_word_replacement
  log_civicrm_worldregion
  mailchimp_signup
  manualcrop
  media_oembed_provider
  media_restrict_wysiwyg
  media_view_mode_wysiwyg
  menu_custom
  menu_links
  menu_router
  metatag
  metatag_config
  name_custom_format
  node
  node_access
  node_comment_statistics
  node_revision
  node_type
  paragraphs_bundle
  paragraphs_item
  paragraphs_item_revision
  password_policy
  password_policy_excluded_authentication_modules
  password_policy_expiration
  password_policy_force_change
  password_policy_history
  password_policy_role
  pathauto_state
  picture_mapping
  queue
  quicktabs
  rdf_mapping
  redirect
  registry
  registry_file
  role
  role_permission
  rules_config
  rules_dependencies
  rules_scheduler
  rules_tags
  rules_trigger
  search_dataset
  search_index
  search_node_links
  search_total
  semaphore
  sequences
  sessions
  shortcut_set
  shortcut_set_users
  site_verify
  socialmedia_profile
  system
  taxonomy_index
  taxonomy_term_data
  taxonomy_term_hierarchy
  taxonomy_vocabulary
  url_alias
  users
  users_roles
  variable
  variable_store
  views_display
  views_view
  webform
  webform_civicrm_forms
  webform_civicrm_submissions
  webform_component
  webform_component_localization
  webform_conditional
  webform_conditional_actions
  webform_conditional_rules
  webform_emails
  webform_last_download
  webform_localization
  webform_roles
  webform_submissions
  webform_submitted_data
  widgets_definitions
  widgets_elements
  widgets_sets
  widgets_visibility
  widgets_visibility_type
  wysiwyg
  wysiwyg_user
  xmlsitemap
  xmlsitemap_sitemap
Successfully connected to the Drupal database. [4.46 sec, 13.18 MB]                                      [bootstrap]
Find command files for phase 4 (max=5) [4.46 sec, 13.18 MB]                                                  [debug]
Drush bootstrap phase : bootstrap_drupal_full() [4.46 sec, 13.18 MB]                                     [bootstrap]
Cache HIT cid: 8.1.16-install_profile-81b8cffba024e622c34b1267ea109a1c [5.23 sec, 47.51 MB]                  [debug]
Find command files for phase 5 (max=5) [5.23 sec, 47.51 MB]                                                  [debug]
Cache HIT cid: 8.1.16-install_profile-81b8cffba024e622c34b1267ea109a1c [5.23 sec, 47.51 MB]                  [debug]
Cache HIT cid: 8.1.16-commandfiles-5-caaeb065855cbb507e3ee35d5f5fd7b0 [5.23 sec, 47.55 MB]                   [debug]
Cache HIT cid: 8.1.16-annotationfiles-5-4be960c2d68c7f6812e05e07180e4460 [5.23 sec, 47.55 MB]                [debug]
Find command files for phase 2 (max=3) [5.27 sec, 49.07 MB]                                                  [debug]
Cache HIT cid: 8.1.16-install_profile-81b8cffba024e622c34b1267ea109a1c [5.27 sec, 49.07 MB]                  [debug]
Cache HIT cid: 8.1.16-commandfiles-2-ce131e750cd1f3ad143c3304f8e72ff9 [5.27 sec, 49.08 MB]                   [debug]
Cache HIT cid: 8.1.16-annotationfiles-2-24ab1a8fda421ca222ad5fecc230d913 [5.42 sec, 50.87 MB]                [debug]
Command civicrm-api needs the following extension(s) enabled to run: civicrm. [5.48 sec, 27.17 MB]       [error]
The drush command 'civicrm-api Job.execute auth=0' could not be executed. [5.48 sec, 27.17 MB]           [error]
ERROR:   1                                                                                               [error]
  actions
  advagg_aggregates
  advagg_aggregates_hashes
  advagg_aggregates_versions
  advagg_files
  authmap
  batch
  bean
  bean_revision
  bean_type
  block
  block_custom
  block_node_type
  block_role
  blocked_ips
  breakpoint_group
  breakpoints
  cache
  cache_admin_menu
  cache_advagg_aggregates
  cache_advagg_info
  cache_block
  cache_bootstrap
  cache_coder
  cache_entity_bean
  cache_entity_comment
  cache_entity_file
  cache_entity_node
  cache_entity_paragraphs_item
  cache_entity_taxonomy_term
  cache_entity_taxonomy_vocabulary
  cache_entity_user
  cache_features
  cache_field
  cache_filter
  cache_form
  cache_geocoder
  cache_image
  cache_libraries
  cache_mailchimp
  cache_media_oembed
  cache_menu
  cache_metatag
  cache_page
  cache_path
  cache_rules
  cache_token
  cache_update
  cache_variable
  cache_views
  cache_views_data
  cache_widgets
  captcha_points
  captcha_sessions
  cck_field_settings
  civicrm_acl
  civicrm_acl_cache
  civicrm_acl_contact_cache
  civicrm_acl_entity_role
  civicrm_action_log
  civicrm_action_mapping
  civicrm_action_schedule
  civicrm_activity
  civicrm_activity_contact
  civicrm_address
  civicrm_address_format
  civicrm_batch
  civicrm_batch_en_CA
  civicrm_batch_es_MX
  civicrm_batch_fr_CA
  civicrm_batch_pt_BR
  civicrm_cache
  civicrm_campaign
  civicrm_campaign_group
  civicrm_case
  civicrm_case_activity
  civicrm_case_contact
  civicrm_case_type
  civicrm_case_type_en_CA
  civicrm_case_type_es_MX
  civicrm_case_type_fr_CA
  civicrm_case_type_pt_BR
  civicrm_component
  civicrm_contact
  civicrm_contact_type
  civicrm_contact_type_en_CA
  civicrm_contact_type_es_MX
  civicrm_contact_type_fr_CA
  civicrm_contact_type_pt_BR
  civicrm_contribution
  civicrm_contribution_page
  civicrm_contribution_page_en_CA
  civicrm_contribution_page_es_MX
  civicrm_contribution_page_fr_CA
  civicrm_contribution_page_pt_BR
  civicrm_contribution_product
  civicrm_contribution_recur
  civicrm_contribution_soft
  civicrm_contribution_widget
  civicrm_country
  civicrm_county
  civicrm_currency
  civicrm_custom_field
  civicrm_custom_field_en_CA
  civicrm_custom_field_es_MX
  civicrm_custom_field_fr_CA
  civicrm_custom_field_pt_BR
  civicrm_custom_group
  civicrm_custom_group_en_CA
  civicrm_custom_group_es_MX
  civicrm_custom_group_fr_CA
  civicrm_custom_group_pt_BR
  civicrm_cxn
  civicrm_dashboard
  civicrm_dashboard_contact
  civicrm_dashboard_en_CA
  civicrm_dashboard_es_MX
  civicrm_dashboard_fr_CA
  civicrm_dashboard_pt_BR
  civicrm_dedupe_exception
  civicrm_dedupe_rule
  civicrm_dedupe_rule_group
  civicrm_discount
  civicrm_domain
  civicrm_email
  civicrm_entity_batch
  civicrm_entity_file
  civicrm_entity_financial_account
  civicrm_entity_financial_trxn
  civicrm_entity_tag
  civicrm_event
  civicrm_event_carts
  civicrm_event_en_CA
  civicrm_event_es_MX
  civicrm_event_fr_CA
  civicrm_event_pt_BR
  civicrm_events_in_carts
  civicrm_extension
  civicrm_file
  civicrm_financial_account
  civicrm_financial_item
  civicrm_financial_trxn
  civicrm_financial_type
  civicrm_grant
  civicrm_group
  civicrm_group_contact
  civicrm_group_contact_cache
  civicrm_group_en_CA
  civicrm_group_es_MX
  civicrm_group_fr_CA
  civicrm_group_nesting
  civicrm_group_organization
  civicrm_group_pt_BR
  civicrm_iats_customer_codes
  civicrm_iats_journal
  civicrm_iats_request_log
  civicrm_iats_response_log
  civicrm_iats_ukdd_validate
  civicrm_iats_verify
  civicrm_im
  civicrm_install_canary
  civicrm_job
  civicrm_job_log
  civicrm_line_item
  civicrm_loc_block
  civicrm_location_type
  civicrm_location_type_en_CA
  civicrm_location_type_es_MX
  civicrm_location_type_fr_CA
  civicrm_location_type_pt_BR
  civicrm_log
  civicrm_mail_settings
  civicrm_mailing
  civicrm_mailing_abtest
  civicrm_mailing_bounce_pattern
  civicrm_mailing_bounce_type
  civicrm_mailing_component
  civicrm_mailing_event_bounce
  civicrm_mailing_event_confirm
  civicrm_mailing_event_delivered
  civicrm_mailing_event_forward
  civicrm_mailing_event_opened
  civicrm_mailing_event_queue
  civicrm_mailing_event_reply
  civicrm_mailing_event_subscribe
  civicrm_mailing_event_trackable_url_open
  civicrm_mailing_event_unsubscribe
  civicrm_mailing_group
  civicrm_mailing_job
  civicrm_mailing_recipients
  civicrm_mailing_spool
  civicrm_mailing_trackable_url
  civicrm_managed
  civicrm_mapping
  civicrm_mapping_field
  civicrm_member_roles_rules
  civicrm_membership
  civicrm_membership_block
  civicrm_membership_block_en_CA
  civicrm_membership_block_es_MX
  civicrm_membership_block_fr_CA
  civicrm_membership_block_pt_BR
  civicrm_membership_log
  civicrm_membership_payment
  civicrm_membership_status
  civicrm_membership_status_en_CA
  civicrm_membership_status_es_MX
  civicrm_membership_status_fr_CA
  civicrm_membership_status_pt_BR
  civicrm_membership_type
  civicrm_membership_type_en_CA
  civicrm_membership_type_es_MX
  civicrm_membership_type_fr_CA
  civicrm_membership_type_pt_BR
  civicrm_menu
  civicrm_msg_template
  civicrm_navigation
  civicrm_note
  civicrm_openid
  civicrm_option_group
  civicrm_option_group_en_CA
  civicrm_option_group_es_MX
  civicrm_option_group_fr_CA
  civicrm_option_group_pt_BR
  civicrm_option_value
  civicrm_option_value_en_CA
  civicrm_option_value_es_MX
  civicrm_option_value_fr_CA
  civicrm_option_value_pt_BR
  civicrm_participant
  civicrm_participant_payment
  civicrm_participant_status_type
  civicrm_participant_status_type_en_CA
  civicrm_participant_status_type_es_MX
  civicrm_participant_status_type_fr_CA
  civicrm_participant_status_type_pt_BR
  civicrm_payment_processor
  civicrm_payment_processor_type
  civicrm_payment_token
  civicrm_pcp
  civicrm_pcp_block
  civicrm_pcp_block_en_CA
  civicrm_pcp_block_es_MX
  civicrm_pcp_block_fr_CA
  civicrm_pcp_block_pt_BR
  civicrm_persistent
  civicrm_phone
  civicrm_pledge
  civicrm_pledge_block
  civicrm_pledge_payment
  civicrm_preferences_date
  civicrm_premiums
  civicrm_premiums_en_CA
  civicrm_premiums_es_MX
  civicrm_premiums_fr_CA
  civicrm_premiums_product
  civicrm_premiums_pt_BR
  civicrm_prevnext_cache
  civicrm_price_field
  civicrm_price_field_en_CA
  civicrm_price_field_es_MX
  civicrm_price_field_fr_CA
  civicrm_price_field_pt_BR
  civicrm_price_field_value
  civicrm_price_field_value_en_CA
  civicrm_price_field_value_es_MX
  civicrm_price_field_value_fr_CA
  civicrm_price_field_value_pt_BR
  civicrm_price_set
  civicrm_price_set_en_CA
  civicrm_price_set_entity
  civicrm_price_set_es_MX
  civicrm_price_set_fr_CA
  civicrm_price_set_pt_BR
  civicrm_print_label
  civicrm_product
  civicrm_product_en_CA
  civicrm_product_es_MX
  civicrm_product_fr_CA
  civicrm_product_pt_BR
  civicrm_queue_item
  civicrm_recurring_entity
  civicrm_relationship
  civicrm_relationship_type
  civicrm_relationship_type_en_CA
  civicrm_relationship_type_es_MX
  civicrm_relationship_type_fr_CA
  civicrm_relationship_type_pt_BR
  civicrm_report_instance
  civicrm_saved_search
  civicrm_setting
  civicrm_sms_provider
  civicrm_state_province
  civicrm_status_pref
  civicrm_subscription_history
  civicrm_survey
  civicrm_survey_en_CA
  civicrm_survey_es_MX
  civicrm_survey_fr_CA
  civicrm_survey_pt_BR
  civicrm_system_log
  civicrm_tag
  civicrm_tell_friend
  civicrm_tell_friend_en_CA
  civicrm_tell_friend_es_MX
  civicrm_tell_friend_fr_CA
  civicrm_tell_friend_pt_BR
  civicrm_timezone
  civicrm_uf_field
  civicrm_uf_field_en_CA
  civicrm_uf_field_es_MX
  civicrm_uf_field_fr_CA
  civicrm_uf_field_pt_BR
  civicrm_uf_group
  civicrm_uf_group_en_CA
  civicrm_uf_group_es_MX
  civicrm_uf_group_fr_CA
  civicrm_uf_group_pt_BR
  civicrm_uf_join
  civicrm_uf_match
  civicrm_value_calacs_organi_5
  civicrm_value_donation_use_1
  civicrm_value_genderselfidentify
  civicrm_value_region_3
  civicrm_value_user_account_info_4
  civicrm_website
  civicrm_word_replacement
  civicrm_worldregion
  comment
  contact
  ctools_css_cache
  ctools_object_cache
  date_format_locale
  date_format_type
  date_formats
  ds_field_settings
  ds_fields
  ds_layout_settings
  ds_vd
  ds_view_modes
  election
  election_ballot
  election_candidate
  election_candidate_type
  election_post
  election_vote
  entity_translation
  entity_translation_revision
  field_config
  field_config_instance
  field_data_body
  field_data_candidate_mail
  field_data_candidate_name
  field_data_comment_body
  field_data_description_field
  field_data_election_title
  field_data_field_action_category
  field_data_field_action_icon
  field_data_field_award_icon
  field_data_field_block_description
  field_data_field_block_footer
  field_data_field_blog_category
  field_data_field_blog_tags
  field_data_field_button_text
  field_data_field_candidate_biography
  field_data_field_candidate_picture
  field_data_field_candidate_sponsors
  field_data_field_candidate_statement
  field_data_field_category_image
  field_data_field_civicrm_contact
  field_data_field_congress_dates
  field_data_field_congress_info_header
  field_data_field_congress_location
  field_data_field_congress_programming
  field_data_field_css_extra
  field_data_field_download_text
  field_data_field_engagement_button
  field_data_field_engagement_dates
  field_data_field_engagement_form
  field_data_field_event_address
  field_data_field_event_chair
  field_data_field_event_date
  field_data_field_event_geo
  field_data_field_file_image_alt_text
  field_data_field_file_image_title_text
  field_data_field_forum_active
  field_data_field_forum_date
  field_data_field_forum_description
  field_data_field_forum_files
  field_data_field_forum_tags
  field_data_field_group_comment
  field_data_field_group_comment_title
  field_data_field_group_contacts
  field_data_field_header
  field_data_field_header_description
  field_data_field_header_image_basic
  field_data_field_image
  field_data_field_membership_icon
  field_data_field_program_events
  field_data_field_proposal_post
  field_data_field_referendum_question
  field_data_field_registration_dates
  field_data_field_registration_post
  field_data_field_report
  field_data_field_section_info
  field_data_field_section_second_info
  field_data_field_section_second_title
  field_data_field_section_title
  field_data_field_tags
  field_data_field_test
  field_data_field_title
  field_data_field_title_subheading
  field_data_field_working_group_demand
  field_data_og_membership_request
  field_data_post_title
  field_data_title_field
  field_group
  field_revision_body
  field_revision_candidate_mail
  field_revision_candidate_name
  field_revision_comment_body
  field_revision_description_field
  field_revision_election_title
  field_revision_field_action_category
  field_revision_field_action_icon
  field_revision_field_award_icon
  field_revision_field_block_description
  field_revision_field_block_footer
  field_revision_field_blog_category
  field_revision_field_blog_tags
  field_revision_field_button_text
  field_revision_field_candidate_biography
  field_revision_field_candidate_picture
  field_revision_field_candidate_sponsors
  field_revision_field_candidate_statement
  field_revision_field_category_image
  field_revision_field_civicrm_contact
  field_revision_field_congress_dates
  field_revision_field_congress_info_header
  field_revision_field_congress_location
  field_revision_field_congress_programming
  field_revision_field_css_extra
  field_revision_field_download_text
  field_revision_field_engagement_button
  field_revision_field_engagement_dates
  field_revision_field_engagement_form
  field_revision_field_event_address
  field_revision_field_event_chair
  field_revision_field_event_date
  field_revision_field_event_geo
  field_revision_field_file_image_alt_text
  field_revision_field_file_image_title_text
  field_revision_field_forum_active
  field_revision_field_forum_date
  field_revision_field_forum_description
  field_revision_field_forum_files
  field_revision_field_forum_tags
  field_revision_field_group_comment
  field_revision_field_group_comment_title
  field_revision_field_group_contacts
  field_revision_field_header
  field_revision_field_header_description
  field_revision_field_header_image_basic
  field_revision_field_image
  field_revision_field_membership_icon
  field_revision_field_program_events
  field_revision_field_proposal_post
  field_revision_field_referendum_question
  field_revision_field_registration_dates
  field_revision_field_registration_post
  field_revision_field_report
  field_revision_field_section_info
  field_revision_field_section_second_info
  field_revision_field_section_second_title
  field_revision_field_section_title
  field_revision_field_tags
  field_revision_field_test
  field_revision_field_title
  field_revision_field_title_subheading
  field_revision_field_working_group_demand
  field_revision_og_membership_request
  field_revision_post_title
  field_revision_title_field
  fieldset_helper_state_manager
  file_display
  file_managed
  file_metadata
  file_type
  file_usage
  filter
  filter_format
  flood
  fontyourface_font
  fontyourface_tag
  fontyourface_tag_font
  gprofile
  gprofile_type
  group_entity
  group_invite
  group_membership
  group_membership_role
  group_role
  group_type
  groups
  history
  honeypot_user
  i18n_block_language
  i18n_path
  i18n_string
  i18n_translation_set
  icon_bundle
  ife
  image_effects
  image_styles
  l10n_update_file
  l10n_update_project
  languages
  locales_source
  locales_target
  log_civicrm_acl
  log_civicrm_acl_entity_role
  log_civicrm_action_mapping
  log_civicrm_action_schedule
  log_civicrm_activity
  log_civicrm_activity_contact
  log_civicrm_address
  log_civicrm_address_format
  log_civicrm_batch
  log_civicrm_campaign
  log_civicrm_campaign_group
  log_civicrm_case
  log_civicrm_case_activity
  log_civicrm_case_contact
  log_civicrm_case_type
  log_civicrm_component
  log_civicrm_contact
  log_civicrm_contact_type
  log_civicrm_contribution
  log_civicrm_contribution_page
  log_civicrm_contribution_product
  log_civicrm_contribution_recur
  log_civicrm_contribution_soft
  log_civicrm_contribution_widget
  log_civicrm_country
  log_civicrm_county
  log_civicrm_currency
  log_civicrm_custom_field
  log_civicrm_custom_group
  log_civicrm_cxn
  log_civicrm_dashboard
  log_civicrm_dashboard_contact
  log_civicrm_dedupe_exception
  log_civicrm_dedupe_rule
  log_civicrm_dedupe_rule_group
  log_civicrm_discount
  log_civicrm_domain
  log_civicrm_email
  log_civicrm_entity_batch
  log_civicrm_entity_file
  log_civicrm_entity_financial_account
  log_civicrm_entity_financial_trxn
  log_civicrm_entity_tag
  log_civicrm_event
  log_civicrm_event_carts
  log_civicrm_events_in_carts
  log_civicrm_extension
  log_civicrm_file
  log_civicrm_financial_account
  log_civicrm_financial_item
  log_civicrm_financial_trxn
  log_civicrm_financial_type
  log_civicrm_grant
  log_civicrm_group
  log_civicrm_group_contact
  log_civicrm_group_nesting
  log_civicrm_group_organization
  log_civicrm_group_roles_rules
  log_civicrm_iats_customer_codes
  log_civicrm_iats_journal
  log_civicrm_iats_ukdd_validate
  log_civicrm_iats_verify
  log_civicrm_im
  log_civicrm_install_canary
  log_civicrm_job
  log_civicrm_line_item
  log_civicrm_loc_block
  log_civicrm_location_type
  log_civicrm_mail_settings
  log_civicrm_mailing
  log_civicrm_mailing_abtest
  log_civicrm_mailing_bounce_pattern
  log_civicrm_mailing_bounce_type
  log_civicrm_mailing_component
  log_civicrm_mailing_group
  log_civicrm_mailing_job
  log_civicrm_mailing_spool
  log_civicrm_mailing_trackable_url
  log_civicrm_managed
  log_civicrm_mapping
  log_civicrm_mapping_field
  log_civicrm_member_roles_rules
  log_civicrm_membership
  log_civicrm_membership_block
  log_civicrm_membership_payment
  log_civicrm_membership_status
  log_civicrm_membership_type
  log_civicrm_msg_template
  log_civicrm_navigation
  log_civicrm_note
  log_civicrm_openid
  log_civicrm_option_group
  log_civicrm_option_value
  log_civicrm_participant
  log_civicrm_participant_payment
  log_civicrm_participant_status_type
  log_civicrm_payment_processor
  log_civicrm_payment_processor_type
  log_civicrm_payment_token
  log_civicrm_pcp
  log_civicrm_pcp_block
  log_civicrm_persistent
  log_civicrm_phone
  log_civicrm_pledge
  log_civicrm_pledge_block
  log_civicrm_pledge_payment
  log_civicrm_preferences_date
  log_civicrm_premiums
  log_civicrm_premiums_product
  log_civicrm_price_field
  log_civicrm_price_field_value
  log_civicrm_price_set
  log_civicrm_price_set_entity
  log_civicrm_print_label
  log_civicrm_product
  log_civicrm_recurring_entity
  log_civicrm_relationship
  log_civicrm_relationship_type
  log_civicrm_report_instance
  log_civicrm_saved_search
  log_civicrm_setting
  log_civicrm_sms_provider
  log_civicrm_state_province
  log_civicrm_status_pref
  log_civicrm_subscription_history
  log_civicrm_survey
  log_civicrm_tag
  log_civicrm_tell_friend
  log_civicrm_timezone
  log_civicrm_tmp_d_dflt_1434b98340bcaa63b19de7222e43ce2b
  log_civicrm_tmp_d_dflt_88967fe1c1e4e3f0680fd7ce02818897
  log_civicrm_tmp_d_dflt_8e53c557f14373a1be11b6acbdd1407a
  log_civicrm_tmp_d_dflt_9ad7b4038a6d1e8fb3bfd80a10ae1758
  log_civicrm_uf_field
  log_civicrm_uf_group
  log_civicrm_uf_join
  log_civicrm_uf_match
  log_civicrm_value_calacs_organi_5
  log_civicrm_value_donation_use_1
  log_civicrm_value_genderselfidentify
  log_civicrm_value_region_3
  log_civicrm_value_user_account_info_4
  log_civicrm_website
  log_civicrm_word_replacement
  log_civicrm_worldregion
  mailchimp_signup
  manualcrop
  media_oembed_provider
  media_restrict_wysiwyg
  media_view_mode_wysiwyg
  menu_custom
  menu_links
  menu_router
  metatag
  metatag_config
  name_custom_format
  node
  node_access
  node_comment_statistics
  node_revision
  node_type
  paragraphs_bundle
  paragraphs_item
  paragraphs_item_revision
  password_policy
  password_policy_excluded_authentication_modules
  password_policy_expiration
  password_policy_force_change
  password_policy_history
  password_policy_role
  pathauto_state
  picture_mapping
  queue
  quicktabs
  rdf_mapping
  redirect
  registry
  registry_file
  role
  role_permission
  rules_config
  rules_dependencies
  rules_scheduler
  rules_tags
  rules_trigger
  search_dataset
  search_index
  search_node_links
  search_total
  semaphore
  sequences
  sessions
  shortcut_set
  shortcut_set_users
  site_verify
  socialmedia_profile
  system
  taxonomy_index
  taxonomy_term_data
  taxonomy_term_hierarchy
  taxonomy_vocabulary
  url_alias
  users
  users_roles
  variable
  variable_store
  views_display
  views_view
  webform
  webform_civicrm_forms
  webform_civicrm_submissions
  webform_component
  webform_component_localization
  webform_conditional
  webform_conditional_actions
  webform_conditional_rules
  webform_emails
  webform_last_download
  webform_localization
  webform_roles
  webform_submissions
  webform_submitted_data
  widgets_definitions
  widgets_elements
  widgets_sets
  widgets_visibility
  widgets_visibility_type
  wysiwyg
  wysiwyg_user
  xmlsitemap
  xmlsitemap_sitemap
 [5.59 sec, 27.2 MB]
Releasing civicrm_cron lock. [5.76 sec, 22.26 MB]                                                           [notice]
Returned from hook hosting_run_queue [5.77 sec, 22.26 MB]                                                    [debug]
Command dispatch complete [5.77 sec, 22.14 MB]                                                              [notice]
ShaneOnABike’s picture

Component: Documentation » Code
Status: Postponed (maintainer needs more info) » Active

Sorry jumped the gun on the component

bgm’s picture

The "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.

ShaneOnABike’s picture

Category: Bug report » Support request
Status: Active » Closed (won't fix)

Whoa genuis! When in doubt clear drush cache. After a few runs with debug it seems to have repaired itself yahoo!

bgm’s picture

If you would like to contribute a bit to the docs, that would be a great way to push things forward :)