Skip to content

Instantly share code, notes, and snippets.

@winmillwill
Created April 18, 2012 00:32
Show Gist options
  • Save winmillwill/2410110 to your computer and use it in GitHub Desktop.
Save winmillwill/2410110 to your computer and use it in GitHub Desktop.
provision-install error
$ drush provision-save '@dev01.airbox.ld' --context_type='site' --uri='dev01.airbox.ld' --platform='@platform_drupal712' --server='@server_master' --db_server='@server_master' --profile='default' --client_name='admin'
$ cat ~/.drush/dev01.airbox.ld.alias.drushrc.php
<?php
$aliases['dev01.airbox.ld'] = array (
'context_type' => 'site',
'platform' => '@platform_drupal712',
'server' => '@server_master',
'db_server' => '@server_master',
'uri' => 'dev01.airbox.ld',
'root' => '/var/aegir/platforms/drupal-7.12',
'site_path' => '/var/aegir/platforms/drupal-7.12/sites/dev01.airbox.ld',
'site_enabled' => true,
'language' => 'en',
'client_name' => 'admin',
'aliases' =>
array (
),
'redirection' => false,
'cron_key' => '',
'profile' => 'default',
);
cat ~/.drush/server_master.alias.drushrc.php
<?php
$aliases['server_master'] = array (
'context_type' => 'server',
'server' => '@server_master',
'remote_host' => 'aegir.ld',
'aegir_root' => '/var/aegir',
'script_user' => 'willmilton',
'ip_addresses' =>
array (
0 => '127.0.0.1',
),
'backup_path' => '/var/aegir/backups',
'config_path' => '/var/aegir/config/server_master',
'include_path' => '/var/aegir/config/includes',
'clients_path' => '/var/aegir/clients',
'master_url' => 'http://aegir.ld/',
'admin_email' => 'admin@localhost',
'db_service_type' => 'mysql',
'http_service_type' => 'nginx',
'db_port' => '3306',
'master_db' => 'mysql://root:yoshixpink@aegir.ld',
'http_port' => '80',
'http_restart_cmd' => 'sudo /usr/local/sbin/nginx -s reload',
'web_group' => '_www',
'web_disable_url' => 'http://aegir.ld/hosting/disabled',
'web_maintenance_url' => 'http://aegir.ld/hosting/maintenance',
'http_pred_path' => '/var/aegir/config/server_master/nginx/pre.d',
'http_postd_path' => '/var/aegir/config/server_master/nginx/post.d',
'http_platformd_path' => '/var/aegir/config/server_master/nginx/platform.d',
'http_vhostd_path' => '/var/aegir/config/server_master/nginx/vhost.d',
'http_platforms_path' => '/var/aegir/platforms',
'nginx_has_gzip' => 0,
'nginx_web_server' => 1,
'nginx_has_upload_progress' => 0,
'provision_db_cloaking' => false,
);
===============================
$ drush @dev01.airbox.ld provision-install
Created dev01airboxld database [success]
DRUPAL_INSTALL_FAILED [error]
Drush command terminated abnormally due to an unrecoverable error. [error]
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table &#039;dev01airboxld.system&#039; doesn&#039;t exist: SELECT * FROM {system} WHERE type = &#039;theme&#039; OR (type = &#039;module&#039; AND status = 1) ORDER BY weight ASC, name ASC; Array
(
)
in system_list() (line 165 of /private/var/aegir/platforms/drupal-7.12/includes/module.inc).
Drush was not able to start (bootstrap) the Drupal database.
@shreyu82
Copy link

shreyu82 commented Oct 13, 2016

I am not able to create array i.e

ip_addresses' =>
array (
0 => '1192.168.56.31',
),
I am using below command to provision-save
drush provision-save --profile='standard' @testing.testing.com --context_type=site --uri=testing.testing.com--platform=@platform_drupal_7 --db_server=@server_testing2aws.net --ssl_enabled=2 --ip_addresses=192.168.56.31 --ssl_key='online-aws-ssl-cert' --client_name=admin"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment