cant get Recruiter to install sites on Aegir

platform installs ok, but site fails

Comments

klausi’s picture

Status: Active » Postponed (maintainer needs more info)

what was the error message? Is your PHP memory limit setting high enough?

stieglitz’s picture

I am having the same problem. The first time I thought it was related to permissions but I know it was correctly retrieved via wget. Perhaps it is an aegir problem with solr because aegir is already using solr??
Here are some sample warning messages.

WD php: Notice: Undefined index: fields in field_info_fields() (line 592 of /var/aegir/platforms/recruiter-7.x-1.0-beta4/modules/field/field.info.inc).WD php: Warning: Invalid argument supplied for foreach() in field_info_fields() (line 592 of /var/aegir/platforms/recruiter-7.x-1.0-beta4/modules/field/field.info.inc).WD php: Warning: Invalid argument supplied for foreach() in field_info_fields() (line 592 of /var/aegir/platforms/recruiter-7.x-1.0-beta4/modules/field/field.info.inc).<code>WD php: Notice: Undefined index: fields in field_info_fields() (line 592 of /var/aegir/platforms/recruiter-7.x-1.0-beta4/modules/field/field.info.inc).WD php: Warning: Invalid argument supplied for foreach() in field_info_fields() (line 592 of /var/aegir/platforms/recruiter-7.x-1.0-beta4/modules/field/field.info.inc).

DRUPAL_INSTALL_FAILED
Exception Object ( [message:protected] => SolrPhpClient library not found! Please follow the instructions in search_api_solr/INSTALL.txt for installing the Solr search module. [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/profiles/recruiter/modules/search_api_solr/service.inc [line:protected] => 219 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/profiles/recruiter/modules/search_api_solr/service.inc [line] => 1468 [function] => connect [class] => SearchApiSolrService [type] => -> [args] => Array ( ) ) [1] => Array ( [function] => getSolrConnection [class] => SearchApiSolrService [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/profiles/recruiter/modules/search_api/includes/server_entity.inc [line] => 145 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => SearchApiSolrService Object ( [solr:protected] => [fieldNames:protected] => Array ( ) [fields:protected] => [server:protected] => SearchApiServer Object ( [id] => 1 [name] => Solr Server [machine_name] => solr_server [description] => [class] => search_api_solr_service [options] => Array ( [http_user] => [http_pass] => [name] => Solr Server [description] => [host] => localhost [port] => 8080 [path] => /solr ) [enabled] => 1 [proxy:protected] => SearchApiSolrService Object *RECURSION* [entityType:protected] => search_api_server [entityInfo:protected] => Array ( [label] => Search server [controller class] => EntityAPIControllerExportable [metadata controller class] => [entity class] => SearchApiServer [base table] => search_api_server [uri callback] => search_api_server_url [module] => search_api [exportable] => 1 [entity keys] => Array ( [id] => id [label] => name [name] => machine_name [revision] => [bundle] => ) [fieldable] => [static cache] => 1 [field cache] => 1 [load hook] => search_api_server_load [bundles] => Array ( [search_api_server] => Array ( [label] => Search server [rdf_mapping] => Array ( ) ) ) [view modes] => Array ( ) [translation] => Array ( ) [schema_fields_sql] => Array ( [base table] => Array ( [0] => id [1] => name [2] => machine_name [3] => description [4] => class [5] => options [6] => enabled [7] => status [8] => module ) ) [configuration] => 1 ) [idKey:protected] => id [nameKey:protected] => machine_name [statusKey:protected] => status [status] => 2 [module] => recruiter_search [rdf_mapping] => Array ( ) ) [options:protected] => Array ( [http_user] => [http_pass] => [name] => Solr Server [description] => [host] => localhost [port] => 8080 [path] => /solr ) ) [1] => getSolrConnection ) [1] => Array ( ) ) ) [3] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/profiles/recruiter/modules/search_api_solr/search_api_solr.module [line] => 103 [function] => __call [class] => SearchApiServer [type] => -> [args] => Array ( [0] => getSolrConnection [1] => Array ( ) ) ) [4] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/profiles/recruiter/modules/search_api_solr/search_api_solr.module [line] => 103 [function] => getSolrConnection [class] => SearchApiServer [type] => -> [args] => Array ( ) ) [5] => Array ( [function] => search_api_solr_cron [args] => Array ( ) ) [6] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/includes/module.inc [line] => 819 [function] => call_user_func_array [args] => Array ( [0] => search_api_solr_cron [1] => Array ( ) ) ) [7] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/includes/common.inc [line] => 5044 [function] => module_invoke_all [args] => Array ( [0] => cron ) ) [8] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/includes/install.core.inc [line] => 1516 [function] => drupal_cron_run [args] => Array ( ) ) [9] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/includes/install.core.inc [line] => 473 [function] => install_finished [args] => Array ( [0] => Array ( [parameters] => Array ( [profile] => recruiter [locale] => en [q] => ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => recruitmentorize [username] => recruitmentorize [password] => FCuKFfLTC6 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => recruit.recruiter-site.com [site_mail] => info@myhostsite.com [account] => Array ( [name] => admin [mail] => info@myhostsite.com [pass] => Array ( [pass1] => HpPy72FN6F [pass2] => HpPy72FN6F ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) [interactive] => [active_task] => install_finished [completed_task] => [database_tables_exist] => 1 [installation_finished] => [locales] => Array ( [0] => stdClass Object ( [name] => en [langcode] => en ) ) [parameters_changed] => [profile_info] => Array ( [name] => Recruiter [description] => Install recruiter distribution. [version] => 7.7 [core] => 7.x [dependencies] => Array ( [0] => text [1] => field_sql_storage [2] => field [3] => system [4] => filter [5] => node [6] => user [7] => block [8] => color [9] => comment [10] => contextual [11] => dashboard [12] => help [13] => image [14] => list [15] => menu [16] => number [17] => options [18] => path [19] => taxonomy [20] => dblog [21] => shortcut [22] => toolbar [23] => overlay [24] => field_ui [25] => file [26] => rdf [27] => rules [28] => rules_admin [29] => views_ui [30] => taxonomy_manager [31] => recruiter_job [32] => recruiter_job_search [33] => recruiter_job_search_notifications [34] => recruiter_resume [35] => recruiter_resume_search [36] => recruiter_resume_search_notifications [37] => recruiter_register ) [files] => Array ( [0] => recruiter.profile ) [distribution_name] => Drupal [hidden] => [php] => 5.2.4 ) [profiles] => Array ( [recruiter] => stdClass Object ( [uri] => ./profiles/recruiter/recruiter.profile [filename] => recruiter.profile [name] => recruiter ) [testing] => stdClass Object ( [uri] => ./profiles/testing/testing.profile [filename] => testing.profile [name] => testing ) [standard] => stdClass Object ( [uri] => ./profiles/standard/standard.profile [filename] => standard.profile [name] => standard ) [minimal] => stdClass Object ( [uri] => ./profiles/minimal/minimal.profile [filename] => minimal.profile [name] => minimal ) ) [server] => Array ( ) [stop_page_request] => [task_not_complete] => [tasks_performed] => Array ( [0] => install_select_profile [1] => install_select_locale [2] => install_load_profile [3] => install_verify_requirements [4] => install_system_module [5] => install_bootstrap_full [6] => install_profile_modules [7] => install_configure_form [8] => recruiter_import_vocabularies_batch ) ) ) ) [10] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/includes/install.core.inc [line] => 342 [function] => install_run_task [args] => Array ( [0] => Array ( [display_name] => Finished [display] => 1 [type] => normal [run] => 3 [function] => install_finished ) [1] => Array ( [parameters] => Array ( [profile] => recruiter [locale] => en [q] => ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => recruitmentorize [username] => recruitmentorize [password] => FCuKFfLTC6 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => recruit.recruiter-site.com [site_mail] => info@myhostsite.com [account] => Array ( [name] => admin [mail] => info@myhostsite.com [pass] => Array ( [pass1] => HpPy72FN6F [pass2] => HpPy72FN6F ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) [interactive] => [active_task] => install_finished [completed_task] => [database_tables_exist] => 1 [installation_finished] => [locales] => Array ( [0] => stdClass Object ( [name] => en [langcode] => en ) ) [parameters_changed] => [profile_info] => Array ( [name] => Recruiter [description] => Install recruiter distribution. [version] => 7.7 [core] => 7.x [dependencies] => Array ( [0] => text [1] => field_sql_storage [2] => field [3] => system [4] => filter [5] => node [6] => user [7] => block [8] => color [9] => comment [10] => contextual [11] => dashboard [12] => help [13] => image [14] => list [15] => menu [16] => number [17] => options [18] => path [19] => taxonomy [20] => dblog [21] => shortcut [22] => toolbar [23] => overlay [24] => field_ui [25] => file [26] => rdf [27] => rules [28] => rules_admin [29] => views_ui [30] => taxonomy_manager [31] => recruiter_job [32] => recruiter_job_search [33] => recruiter_job_search_notifications [34] => recruiter_resume [35] => recruiter_resume_search [36] => recruiter_resume_search_notifications [37] => recruiter_register ) [files] => Array ( [0] => recruiter.profile ) [distribution_name] => Drupal [hidden] => [php] => 5.2.4 ) [profiles] => Array ( [recruiter] => stdClass Object ( [uri] => ./profiles/recruiter/recruiter.profile [filename] => recruiter.profile [name] => recruiter ) [testing] => stdClass Object ( [uri] => ./profiles/testing/testing.profile [filename] => testing.profile [name] => testing ) [standard] => stdClass Object ( [uri] => ./profiles/standard/standard.profile [filename] => standard.profile [name] => standard ) [minimal] => stdClass Object ( [uri] => ./profiles/minimal/minimal.profile [filename] => minimal.profile [name] => minimal ) ) [server] => Array ( ) [stop_page_request] => [task_not_complete] => [tasks_performed] => Array ( [0] => install_select_profile [1] => install_select_locale [2] => install_load_profile [3] => install_verify_requirements [4] => install_system_module [5] => install_bootstrap_full [6] => install_profile_modules [7] => install_configure_form [8] => recruiter_import_vocabularies_batch ) ) ) ) [11] => Array ( [file] => /var/aegir/platforms/recruiter-7.x-1.0-beta4/includes/install.core.inc [line] => 79 [function] => install_run_tasks [args] => Array ( [0] => Array ( [parameters] => Array ( [profile] => recruiter [locale] => en [q] => ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => recruitmentorize [username] => recruitmentorize [password] => FCuKFfLTC6 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => recruit.recruiter-site.com [site_mail] => info@myhostsite.com [account] => Array ( [name] => admin [mail] => info@myhostsite.com [pass] => Array ( [pass1] => HpPy72FN6F [pass2] => HpPy72FN6F ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) [interactive] => [active_task] => install_finished [completed_task] => [database_tables_exist] => 1 [installation_finished] => [locales] => Array ( [0] => stdClass Object ( [name] => en [langcode] => en ) ) [parameters_changed] => [profile_info] => Array ( [name] => Recruiter [description] => Install recruiter distribution. [version] => 7.7 [core] => 7.x [dependencies] => Array ( [0] => text [1] => field_sql_storage [2] => field [3] => system [4] => filter [5] => node [6] => user [7] => block [8] => color [9] => comment [10] => contextual [11] => dashboard [12] => help [13] => image [14] => list [15] => menu [16] => number [17] => options [18] => path [19] => taxonomy [20] => dblog [21] => shortcut [22] => toolbar [23] => overlay [24] => field_ui [25] => file [26] => rdf [27] => rules [28] => rules_admin [29] => views_ui [30] => taxonomy_manager [31] => recruiter_job [32] => recruiter_job_search [33] => recruiter_job_search_notifications [34] => recruiter_resume [35] => recruiter_resume_search [36] => recruiter_resume_search_notifications [37] => recruiter_register ) [files] => Array ( [0] => recruiter.profile ) [distribution_name] => Drupal [hidden] => [php] => 5.2.4 ) [profiles] => Array ( [recruiter] => stdClass Object ( [uri] => ./profiles/recruiter/recruiter.profile [filename] => recruiter.profile [name] => recruiter ) [testing] => stdClass Object ( [uri] => ./profiles/testing/testing.profile [filename] => testing.profile [name] => testing ) [standard] => stdClass Object ( [uri] => ./profiles/standard/standard.profile [filename] => standard.profile [name] => standard ) [minimal] => stdClass Object ( [uri] => ./profiles/minimal/minimal.profile [filename] => minimal.profile [name] => minimal ) ) [server] => Array ( ) [stop_page_request] => [task_not_complete] => [tasks_performed] => Array ( [0] => install_select_profile [1] => install_select_locale [2] => install_load_profile [3] => install_verify_requirements [4] => install_system_module [5] => install_bootstrap_full [6] => install_profile_modules [7] => install_configure_form [8] => recruiter_import_vocabularies_batch ) ) ) ) [12] => Array ( [file] => /var/aegir/.drush/provision/platform/drupal/install_7.inc [line] => 131 [function] => install_drupal [args] => Array ( [0] => Array ( [parameters] => Array ( [profile] => recruiter [locale] => en ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => recruitmentorize [username] => recruitmentorize [password] => FCuKFfLTC6 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => recruit.recruiter-site.com [site_mail] => info@myhostsite.com [account] => Array ( [name] => admin [mail] => info@myhostsite.com [pass] => Array ( [pass1] => HpPy72FN6F [pass2] => HpPy72FN6F ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) ) ) ) [13] => Array ( [file] => /var/aegir/.drush/provision/platform/drupal/install_7.inc [line] => 161 [function] => install_main [args] => Array ( ) ) [14] => Array ( [file] => /usr/share/drush/includes/drush.inc [line] => 94 [args] => Array ( [0] => /var/aegir/.drush/provision/platform/drupal/install_7.inc ) [function] => include_once ) [15] => Array ( [file] => /usr/share/drush/includes/drush.inc [line] => 189 [function] => drush_include [args] => Array ( [0] => /var/aegir/.drush/provision/platform/drupal [1] => install [2] => ) ) [16] => Array ( [file] => /var/aegir/.drush/provision/platform/provision_drupal.drush.inc [line] => 95 [function] => drush_include_engine [args] => Array ( [0] => drupal [1] => install ) ) [17] => Array ( [function] => drush_provision_drupal_provision_install_backend [args] => Array ( ) ) [18] => Array ( [file] => /usr/share/drush/includes/command.inc [line] => 330 [function] => call_user_func_array [args] => Array ( [0] => drush_provision_drupal_provision_install_backend [1] => Array ( ) ) ) [19] => Array ( [function] => drush_invoke [args] => Array ( [0] => provision-install-backend ) ) [20] => Array ( [file] => /usr/share/drush/includes/command.inc [line] => 381 [function] => call_user_func_array [args] => Array ( [0] => drush_invoke [1] => Array ( [0] => provision-install-backend ) ) ) [21] => Array ( [function] => drush_command [args] => Array ( ) ) [22] => Array ( [file] => /usr/share/drush/includes/drush.inc [line] => 51 [function] => call_user_func_array [args] => Array ( [0] => drush_command [1] => Array ( ) ) ) [23] => Array ( [file] => /usr/share/drush/drush.php [line] => 90 [function] => drush_dispatch [args] => Array ( [0] => Array ( [description] => Provision a new site using the provided data. [hidden] => 1 [bootstrap] => 2 [command] => provision-install-backend [command-hook] => provision-install-backend [commandfile] => provision [path] => /var/aegir/.drush/provision [engines] => Array ( ) [callback] => drush_command [arguments] => Array ( ) [options] => Array ( ) [examples] => Array ( ) [aliases] => Array ( ) [deprecated-aliases] => Array ( [0] => provision install backend ) [extras] => Array ( ) [core] => Array ( ) [scope] => site [drupal dependencies] => Array ( ) [drush dependencies] => Array ( ) [bootstrap_errors] => Array ( ) ) ) ) [24] => Array ( [file] => /usr/share/drush/drush.php [line] => 40 [function] => drush_main [args] => Array ( ) ) ) [previous:Exception:private] => ) 

The complete log (except for the section above which was expanded) can be found here: http://pastebin.com/xZazDnuC

dasjo’s picture

Status: Postponed (maintainer needs more info) » Fixed

SolrPhpClient library not found! Please follow the instructions in search_api_solr/INSTALL.txt for installing the Solr search module

please try to configure solr properly

stieglitz’s picture

Status: Fixed » Closed (works as designed)

I marked this closed as I think solr was indeed not configured correctly.