When I attempt to install cartaro via aegir I get the following errors:
Exception Object ( [message:protected] => GeoServer workspace field is required. A PostGIS enabled database is required; version 1.5 is strongly recommended. GeoServer login failed: Could not contact GeoServer at ://j_spring_security_check (0). Please check the GeoServer URL and your site maintenance account. [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/aegir/platforms/7/servers/cartaro-7.x-1.x-dev-d7.15/includes/install.core.inc [line:protected] => 417 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/aegir/platforms/7/servers/cartaro-7.x-1.x-dev-d7.15/includes/install.core.inc [line] => 342 [function] => install_run_task [args] => Array ( [0] => Array ( [display_name] => Configure site [type] => form [display] => 1 [run] => 3 [function] => install_configure_form ) [1] => Array ( [parameters] => Array ( [profile] => cartaro [locale] => en [q] => ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => cartaro [username] => cartaro [password] => 4kd5iiHyP5 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => cartaro [site_mail] => aegir@mysite.com [account] => Array ( [name] => admin [mail] => aegir@mysite.com [pass] => Array ( [pass1] => S7No3GMHTJ [pass2] => S7No3GMHTJ ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) [interactive] => [active_task] => install_configure_form [completed_task] => [database_tables_exist] => 1 [installation_finished] => [locales] => Array ( [0] => stdClass Object ( [name] => en [langcode] => en ) ) [parameters_changed] => [profile_info] => Array ( [name] => Cartaro [description] => Geospatial CMS [core] => 7.x [dependencies] => Array ( [0] => filter [1] => user [2] => node [3] => text [4] => field_sql_storage [5] => field [6] => system [7] => dashboard [8] => dblog [9] => field_ui [10] => help [11] => menu [12] => path [13] => toolbar [14] => update [15] => features [16] => geoserver_ui [17] => openlayers_ui [18] => postgis [19] => ole ) [version] => 7.x-1.x-dev [project] => cartaro [datestamp] => 1344514039 [distribution_name] => Drupal [hidden] => [php] => 5.2.4 ) [profiles] => Array ( [cartaro] => stdClass Object ( [uri] => ./profiles/cartaro/cartaro.profile [filename] => cartaro.profile [name] => cartaro ) ) [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 ) ) ) ) [1] => Array ( [file] => /var/aegir/platforms/7/servers/cartaro-7.x-1.x-dev-d7.15/includes/install.core.inc [line] => 79 [function] => install_run_tasks [args] => Array ( [0] => Array ( [parameters] => Array ( [profile] => cartaro [locale] => en [q] => ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => cartaro [username] => cartaro [password] => 4kd5iiHyP5 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => cartaro [site_mail] => aegir@mysite.com [account] => Array ( [name] => admin [mail] => aegir@mysite.com [pass] => Array ( [pass1] => S7No3GMHTJ [pass2] => S7No3GMHTJ ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) [interactive] => [active_task] => install_configure_form [completed_task] => [database_tables_exist] => 1 [installation_finished] => [locales] => Array ( [0] => stdClass Object ( [name] => en [langcode] => en ) ) [parameters_changed] => [profile_info] => Array ( [name] => Cartaro [description] => Geospatial CMS [core] => 7.x [dependencies] => Array ( [0] => filter [1] => user [2] => node [3] => text [4] => field_sql_storage [5] => field [6] => system [7] => dashboard [8] => dblog [9] => field_ui [10] => help [11] => menu [12] => path [13] => toolbar [14] => update [15] => features [16] => geoserver_ui [17] => openlayers_ui [18] => postgis [19] => ole ) [version] => 7.x-1.x-dev [project] => cartaro [datestamp] => 1344514039 [distribution_name] => Drupal [hidden] => [php] => 5.2.4 ) [profiles] => Array ( [cartaro] => stdClass Object ( [uri] => ./profiles/cartaro/cartaro.profile [filename] => cartaro.profile [name] => cartaro ) ) [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 ) ) ) ) [2] => Array ( [file] => /usr/share/drush/commands/provision/platform/drupal/install_7.inc [line] => 131 [function] => install_drupal [args] => Array ( [0] => Array ( [parameters] => Array ( [profile] => cartaro [locale] => en ) [settings_verified] => 1 [forms] => Array ( [install_settings_form] => Array ( [driver] => mysql [database] => cartaro [username] => cartaro [password] => 4kd5iiHyP5 [host] => localhost [port] => 3306 [db_prefix] => ) [install_configure_form] => Array ( [site_name] => cartaro [site_mail] => aegir@mysite.com [account] => Array ( [name] => admin [mail] => aegir@mysite.com [pass] => Array ( [pass1] => S7No3GMHTJ [pass2] => S7No3GMHTJ ) ) [update_status_module] => Array ( [1] => 1 [2] => 1 ) [clean_url] => 1 ) ) ) ) ) [3] => Array ( [file] => /usr/share/drush/commands/provision/platform/drupal/install_7.inc [line] => 161 [function] => install_main [args] => Array ( ) ) [4] => Array ( [file] => /usr/share/drush/includes/drush.inc [line] => 42 [args] => Array ( [0] => /usr/share/drush/commands/provision/platform/drupal/install_7.inc ) [function] => include_once ) [5] => Array ( [file] => /usr/share/drush/includes/drush.inc [line] => 137 [function] => drush_include [args] => Array ( [0] => /usr/share/drush/commands/provision/platform/drupal [1] => install [2] => ) ) [6] => Array ( [file] => /usr/share/drush/commands/provision/platform/provision_drupal.drush.inc [line] => 152 [function] => drush_include_engine [args] => Array ( [0] => drupal [1] => install ) ) [7] => Array ( [function] => drush_provision_drupal_provision_install_backend [args] => Array ( ) ) [8] => Array ( [file] => /usr/share/drush/includes/command.inc [line] => 134 [function] => call_user_func_array [args] => Array ( [0] => drush_provision_drupal_provision_install_backend [1] => Array ( ) ) ) [9] => Array ( [file] => /usr/share/drush/includes/command.inc [line] => 806 [function] => _drush_invoke_args [args] => Array ( [0] => provision-install-backend [1] => Array ( ) [2] => provision ) ) [10] => Array ( [function] => drush_command [args] => Array ( ) ) [11] => Array ( [file] => /usr/share/drush/includes/command.inc [line] => 214 [function] => call_user_func_array [args] => Array ( [0] => drush_command [1] => Array ( ) ) ) [12] => Array ( [file] => /usr/share/drush/drush.php [line] => 101 [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 [callback arguments] => Array ( ) [commandfile] => provision [path] => /usr/share/drush/commands/provision [engines] => Array ( ) [callback] => drush_command [sections] => Array ( [examples] => Examples [arguments] => Arguments [options] => Options ) [arguments] => Array ( ) [options] => Array ( ) [examples] => Array ( ) [aliases] => Array ( ) [deprecated-aliases] => Array ( ) [core] => Array ( ) [scope] => site [drupal dependencies] => Array ( ) [drush dependencies] => Array ( ) [bootstrap_errors] => Array ( ) [topics] => Array ( ) ) ) ) [13] => Array ( [file] => /usr/share/drush/drush.php [line] => 41 [function] => drush_main [args] => Array ( ) ) ) [previous:Exception:private] => )
Comments
Comment #1
friedjoff commentedHi,
sorry, Cartaro doesn't run on the Aegir hosting system. This is because Aegir doesn't support PostgreSQL not to mention PostGIS or GeoServer.
Please read http://drupal.org/node/1719056 on how to get started.
Comment #2
socialnicheguru commentedThis note is for others:
I had to modify profiles/cartaro/cartaro.profile
set all '#required = TRUE' to '#required = FALSE'
comment out the postgis required function
allow it to install via aegir
then manually set items.
In the future I wonder if
1. config_builder (http://drupal.org/project/config_builder) could be used to create a wizard for GeoServer and PostGIS once the main site is setup
2. would have to work with the other issue to have a postgresql dbase autoconfigured.
silly question: is the postgresql dbase used instead of mysql or is it used alongside mysql in order to store spatial data only?
Comment #3
augustus.kling commentedAs Friedjoff already pointed out, Ægir does not support Postgres at the moment. Therefore Ægis is not a supported platform.
Postgres+PostGIS and GeoServer are key requirements for Cartaro and removing the checks for 'em does not make it work. Even if you manage to install this way, you will very likely face misbehaviour (strange failures) later on.
Comment #3.0
augustus.kling commentedupdated info