community.aegirproject.org
Can't install Aegir
Tagged:
I am new to aegir and have some problems installing it. I use MySQL 5, Apache 2, Drush 4.6 and Provision 6.x-1.9.
When I install (with debug-mode on) I get this message:
Granting privileges to ubuntuaegir@localhost on ubuntuaegir [notice]
Created ubuntuaegir database [success]
But when I look in mysql there isn't a database called ubuntuaegir. Just the standard databases.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
+--------------------+
3 rows in set (0.05 sec)
This is the first error:
Changed permissions of [message]
/var/aegir/hostmaster-6.x-1.9/sites/ubuntu-aegir/drushrc.php to 440
Initialized Drupal site ubuntu-aegir at sites/ubuntu-aegir [notice]
The external command could not be executed due to an application [error]
error.
I also says:
Trying to get property of non-object module.inc:316 [notice]
Table 'ubuntuaegir.menu_custom' doesn't exist [warning]
query: SELECT * FROM menu_custom database.mysqli.inc:134
Installed Menu module.
Following errors:
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function install_include() in
/var/aegir/hostmaster-6.x-1.9/profiles/hostmaster/hostmaster.profile,
line 33
Output from failed command : [error]
Fatal error: Call to undefined function install_include() in
/var/aegir/hostmaster-6.x-1.9/profiles/hostmaster/hostmaster.profile
on line 33
Undefined index: login_link install.provision.inc:60 [notice]
Array to string conversion core.drush.inc:350 [notice]
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 : ubuntu-aegir
Default theme : garland
Administration theme: garland
PHP configuration : /etc/php5/cli/php.ini
Drush version : 4.6
Drush configuration:
/var/aegir/hostmaster-6.x-1.9/sites/ubuntu-aegir/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_master.alias.drushrc.php
/var/aegir/.drush/platform_hostmaster.alias.drushrc.php
/var/aegir/.drush/server_localhost.alias.drushrc.php
Drupal root : /var/aegir/hostmaster-6.x-1.9
Site path : sites/ubuntu-aegir
Modules path : sites/ubuntu-aegir/modules
Themes path : sites/ubuntu-aegir/themes
%paths : Array
Initialized Drupal 6.28 root directory at [notice]
/var/aegir/hostmaster-6.x-1.9
Could not find a Drupal settings.php file at [error]
./sites/community.aegirproject.org/settings.php.
Created directory /var/aegir/hostmaster-6.x-1.9/sites/ubuntu-aegir. [message]
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
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_master.alias.drushrc.php
/var/aegir/.drush/platform_hostmaster.alias.drushrc.php
/var/aegir/.drush/server_localhost.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.
Command dispatch complete [notice]
Command dispatch complete [notice]
The installation is done by the aegir user. The connection with MySQL is also with a special aegir user. Anyone an idea? Thanks!
#1
If you are on Ubuntu, then check this conversation: http://community.aegirproject.org/discuss/anyone-using-aegir-ubuntu-1204...