Skip to content

Instantly share code, notes, and snippets.

@ogredude
Created March 19, 2013 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ogredude/5193977 to your computer and use it in GitHub Desktop.
Save ogredude/5193977 to your computer and use it in GitHub Desktop.
aegir@aegir:~$ drush hostmaster-install aegir.DOMAIN.com --aegir_host="aegir.DOMAIN.com" --http_service_type="nginx" --aegir_db_user="root" --aegir_db_pass="DBPASSWD" --db_service_type="mysql" --db_port=3306 --aegir_db_host="192.168.0.14" --client_email="aegir@DOMAIN.com" --script_user="aegir" --web_group="www-data" --profile=hostmaster
Aegir 6.x-1.9 automated install script
==============================================================================
Some settings have not been provided and will now be prompted.
Don't worry: you will get to review those settings after the final install
This script will operate the following changes in your system:
1. Create server-level configuration directories
2. Download drush_make
3. Create the Hostmaster frontend platform
4. Install the frontend site
5. Setup the dispatcher (a user cron job)
We are making the following assumptions:
* you have read and are following the install instructions at:
http://community.aegirproject.org/installing
* the FQDN of this machine is valid and resolves
* you are executing this script as your "aegir" user
The following settings will be used:
Aegir frontend URL: aegir.DOMAIN.com
Master server FQDN: aegir.DOMAIN.com
Aegir root: /var/aegir
Aegir user: aegir
Web group: www-data
Web server: nginx
Aegir DB host: 192.168.0.14
Aegir DB user: root
Aegir DB password: <previously set>
Drush make version: 6.x-2.3
Aegir version: 6.x-1.9
Aegir platform path: /var/aegir/hostmaster-6.x-1.9
Aegir makefile: /var/aegir/.drush/provision/aegir.make
Admin email: aegir@DOMAIN.com
Do you really want to proceed with the install (y/n): y
Project information for drupal retrieved. [ok]
drupal downloaded from http://ftp.drupal.org/files/projects/drupal-6.28.tar.gz. [ok]
hostmaster cloned from http://git.drupal.org/project/hostmaster.git. [ok]
Checked out tag 6.x-1.9. [ok]
Found makefile: hostmaster.make [ok]
Project information for admin_menu retrieved. [ok]
Project information for openidadmin retrieved. [ok]
Project information for install_profile_api retrieved. [ok]
Project information for jquery_ui retrieved. [ok]
Project information for modalframe retrieved. [ok]
admin_menu downloaded from http://ftp.drupal.org/files/projects/admin_menu-6.x-1.8.tar.gz. [ok]
openidadmin downloaded from http://ftp.drupal.org/files/projects/openidadmin-6.x-1.2.tar.gz. [ok]
install_profile_api downloaded from http://ftp.drupal.org/files/projects/install_profile_api-6.x-2.1.tar.gz. [ok]
jquery_ui downloaded from http://ftp.drupal.org/files/projects/jquery_ui-6.x-1.3.tar.gz. [ok]
modalframe downloaded from http://ftp.drupal.org/files/projects/modalframe-6.x-1.6.tar.gz. [ok]
jquery_ui downloaded from http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip. [ok]
Created aegirprojectzeno database [success]
Table &#039;aegirprojectzeno.system&#039; doesn&#039;t exist [warning]
query: SELECT filename FROM system WHERE name = &#039;jquery_ui&#039; AND type = &#039;module&#039; database.mysqli.inc:134
Table &#039;aegirprojectzeno.url_alias&#039; doesn&#039;t exist [warning]
query: SELECT COUNT(pid) FROM url_alias database.mysqli.inc:134
PROVISION_INSTALL_MISSING_REQUIREMENTS [error]
The jQuery UI plugin is missing. Download and extract it to your jquery_ui module directory. See README.txt for more info. (Currently using jQuery UI Not found) [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Hint: This error often occurs when Drush is trying to bootstrap a site that has not been installed or does not have a configured database.
Drush was attempting to connect to :
Drupal version : 6.28
Site URI : aegir.DOMAIN.com
Default theme : garland
Administration theme: garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 4.6-dev
Drush configuration: /var/aegir/hostmaster-6.x-1.9/sites/aegir.DOMAIN.com/drushrc.php /var/aegir/hostmaster-6.x-1.9/drushrc.php
Drush alias files : /var/aegir/.drush/hostmaster.alias.drushrc.php /var/aegir/.drush/server_192.168.0.14.alias.drushrc.php /var/aegir/.drush/server_master.alias.drushrc.php
/var/aegir/.drush/platform_hostmaster.alias.drushrc.php
Drupal root : /var/aegir/hostmaster-6.x-1.9
Site path : sites/aegir.DOMAIN.com
Modules path : sites/aegir.DOMAIN.com/modules
Themes path : sites/aegir.DOMAIN.com/themes
%paths : Array
You can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line or $options['uri'] in your drushrc.php file.
Could not find a Drupal settings.php file at ./sites/default/settings.php. [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Hint: This error often occurs when Drush is trying to bootstrap a site that has not been installed or does not have a configured database.
Drush was attempting to connect to :
Drupal version : 6.28
Default theme : garland
Administration theme: garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 4.6-dev
Drush configuration: /var/aegir/hostmaster-6.x-1.9/drushrc.php
Drush alias files : /var/aegir/.drush/hostmaster.alias.drushrc.php /var/aegir/.drush/server_192.168.0.14.alias.drushrc.php /var/aegir/.drush/server_master.alias.drushrc.php
/var/aegir/.drush/platform_hostmaster.alias.drushrc.php
Drupal root : /var/aegir/hostmaster-6.x-1.9
%paths : Array
You can select another site with a working database setup by specifying the URI to use with the --uri parameter on the command line or $options['uri'] in your drushrc.php file.
aegir@aegir:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment