Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have tried both package installation method as well as manual, with little success.
The version of drush that installs when you do apt-get install drush is drush 5.4, is that supported? It seems the aliases aren't getting setup correctly...
joel@joel-test:~$ sudo env=DPKG_DEBUG=developer apt-get install aegir
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
aegir-hostmaster aegir-provision apache2 apache2-mpm-prefork apache2-utils
apache2.2-bin apache2.2-common drush-make git git-core git-man
libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap liberror-perl php5 php5-gd postfix
Suggested packages:
apache2-doc apache2-suexec apache2-suexec-custom git-daemon-run
git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email
git-gui gitk gitweb procmail postfix-mysql postfix-pgsql postfix-ldap
postfix-pcre sasl2-bin dovecot-common postfix-cdb postfix-doc
The following NEW packages will be installed:
aegir aegir-hostmaster aegir-provision apache2 apache2-mpm-prefork
apache2-utils apache2.2-bin apache2.2-common drush-make git git-core git-man
libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap liberror-perl php5 php5-gd postfix
0 upgraded, 21 newly installed, 0 to remove and 282 not upgraded.
Need to get 14.4 MB of archives.
After this operation, 37.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://debian.aegirproject.org/ stable/main aegir-provision all 1.9 [113 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ quantal/main libapr1 i386 1.4.6-3 [90.8 kB]
Get:3 http://debian.aegirproject.org/ stable/main drush-make all 2.3-1 [40.6 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ quantal/main libaprutil1 i386 1.4.1-3 [85.0 kB]
Get:5 http://debian.aegirproject.org/ stable/main aegir-hostmaster all 1.9 [8,512 B]
Get:6 http://debian.aegirproject.org/ stable/main aegir all 1.9 [5,624 B]
Get:7 http://us.archive.ubuntu.com/ubuntu/ quantal/main libaprutil1-dbd-sqlite3 i386 1.4.1-3 [11.9 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ quantal/main libaprutil1-ldap i386 1.4.1-3 [9,602 B]
Get:9 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2.2-bin i386 2.2.22-6ubuntu2.1 [2,988 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2-utils i386 2.2.22-6ubuntu2.1 [91.4 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2.2-common i386 2.2.22-6ubuntu2.1 [228 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2-mpm-prefork i386 2.2.22-6ubuntu2.1 [2,360 B]
Get:13 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main libapache2-mod-php5 i386 5.4.6-1ubuntu1.1 [2,692 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main php5-gd i386 5.4.6-1ubuntu1.1 [34.0 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main postfix i386 2.9.3-2ubuntu2.1 [1,274 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main apache2 i386 2.2.22-6ubuntu2.1 [1,442 B]
Get:17 http://us.archive.ubuntu.com/ubuntu/ quantal/main liberror-perl all 0.17-1 [23.8 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu/ quantal/main git-man all 1:1.7.10.4-1ubuntu1 [634 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu/ quantal/main git i386 1:1.7.10.4-1ubuntu1 [6,045 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu/ quantal/main git-core all 1:1.7.10.4-1ubuntu1 [1,374 B]
Get:21 http://us.archive.ubuntu.com/ubuntu/ quantal-updates/main php5 all 5.4.6-1ubuntu1.1 [1,064 B]
Fetched 14.4 MB in 4s (3,170 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libapr1.
(Reading database ... 156476 files and directories currently installed.)
Unpacking libapr1 (from .../libapr1_1.4.6-3_i386.deb) ...
Selecting previously unselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.4.1-3_i386.deb) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.4.1-3_i386.deb) ...
Selecting previously unselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.4.1-3_i386.deb) ...
Selecting previously unselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2-mpm-prefork.
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.4.6-1ubuntu1.1_i386.deb) ...
Selecting previously unselected package php5-gd.
Unpacking php5-gd (from .../php5-gd_5.4.6-1ubuntu1.1_i386.deb) ...
Selecting previously unselected package postfix.
Unpacking postfix (from .../postfix_2.9.3-2ubuntu2.1_i386.deb) ...
Selecting previously unselected package apache2.
Unpacking apache2 (from .../apache2_2.2.22-6ubuntu2.1_i386.deb) ...
Selecting previously unselected package aegir-provision.
Unpacking aegir-provision (from .../aegir-provision_1.9_all.deb) ...
Selecting previously unselected package drush-make.
Unpacking drush-make (from .../drush-make_2.3-1_all.deb) ...
Selecting previously unselected package liberror-perl.
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously unselected package git-man.
Unpacking git-man (from .../git-man_1%3a1.7.10.4-1ubuntu1_all.deb) ...
Selecting previously unselected package git.
Unpacking git (from .../git_1%3a1.7.10.4-1ubuntu1_i386.deb) ...
Selecting previously unselected package git-core.
Unpacking git-core (from .../git-core_1%3a1.7.10.4-1ubuntu1_all.deb) ...
Selecting previously unselected package aegir-hostmaster.
Unpacking aegir-hostmaster (from .../aegir-hostmaster_1.9_all.deb) ...
Selecting previously unselected package aegir.
Unpacking aegir (from .../apt/archives/aegir_1.9_all.deb) ...
Selecting previously unselected package php5.
Unpacking php5 (from .../php5_5.4.6-1ubuntu1.1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for ufw ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Setting up libapr1 (1.4.6-3) ...
Setting up libaprutil1 (1.4.1-3) ...
Setting up libaprutil1-dbd-sqlite3 (1.4.1-3) ...
Setting up libaprutil1-ldap (1.4.1-3) ...
Setting up apache2.2-bin (2.2.22-6ubuntu2.1) ...
Setting up apache2-utils (2.2.22-6ubuntu2.1) ...
Setting up apache2.2-common (2.2.22-6ubuntu2.1) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up php5-gd (5.4.6-1ubuntu1.1) ...
Creating config file /etc/php5/mods-available/gd.ini with new version
Setting up postfix (2.9.3-2ubuntu2.1) ...
Adding group `postfix' (GID 126) ...
Done.
Adding system user `postfix' (UID 116) ...
Adding new user `postfix' (UID 116) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding tcp map entry to /etc/postfix/dynamicmaps.cf
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 127) ...
Done.
setting myhostname: joel-test
setting alias maps
setting alias database
mailname is not a fully qualified domain name. Not changing /etc/mailname.
setting destinations: joel-test, localhost.localdomain, , localhost
setting relayhost:
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
/etc/aliases does not exist, creating it.
WARNING: /etc/aliases exists, but does not have a root alias.
Postfix is now set up with a default configuration. If you need to make
changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
Setting up drush-make (2.3-1) ...
Setting up liberror-perl (0.17-1) ...
Setting up git-man (1:1.7.10.4-1ubuntu1) ...
Setting up git (1:1.7.10.4-1ubuntu1) ...
Setting up git-core (1:1.7.10.4-1ubuntu1) ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Setting up apache2-mpm-prefork (2.2.22-6ubuntu2.1) ...
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
Setting up libapache2-mod-php5 (5.4.6-1ubuntu1.1) ...
Creating config file /etc/php5/apache2/php.ini with new version
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
Setting up apache2 (2.2.22-6ubuntu2.1) ...
Setting up aegir-provision (1.9) ...
adding aegir user...
Adding user aegir to group www-data
Creating config file /etc/sudoers.d/aegir with new version
Enabling module ssl.
See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configure SSL and create self-signed certificates.
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Setting up aegir-hostmaster (1.9) ...
The drush command '@hostmaster status' could not be found. Run [error]
`drush cache-clear drush` to clear the commandfile cache if you have
installed new extensions.
A Drupal installation directory could not be found [error]
installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
DRUSH_BACKEND:{"type":"bootstrap","message":"Bootstrap to phase 0.","timestamp":1361894644.8675,"memory":3445080,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"bootstrap","message":"Bootstrap to phase 0.","timestamp":1361894644.9002,"memory":3447064,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"bootstrap","message":"Found command: hostmaster-install (commandfile=provision)","timestamp":1361894644.901,"memory":3447744,"error":null,"packet":"log"}
DRUSH_BACKEND:{"type":"bootstrap","message":"Including \/usr\/share\/drush\/commands\/provision\/install.hostmaster.inc","timestamp":1361894644.9422,"memory":3464080,"error":null,"packet":"log"}
PHP Fatal error: Call to undefined function drush_backend_invoke_args() in /usr/share/drush/commands/provision/install.hostmaster.inc on line 152
DRUSH_BACKEND:{"error":"DRUSH_NOT_COMPLETED","message":"Drush command terminated abnormally due to an unrecoverable error.\nError: Call to undefined function drush_backend_invoke_args() in \/usr\/share\/drush\/commands\/provision\/install.hostmaster.inc, line 152","packet":"set_error"}
Aegir frontend failed to bootstrap, something went wrong!
Look at the log above for clues or run with DPKG_DEBUG=developer
dpkg: error processing aegir-hostmaster (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of aegir:
aegir depends on aegir-hostmaster (>= 1.9); however:
Package aegir-hostmaster is not configured yet.
dpkg: error processing aegir (--configure):
dependency problems - leaving unconfigured
Setting up php5 (5.4.6-1ubuntu1.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
aegir-hostmaster
aegir
E: Sub-process /usr/bin/dpkg returned an error code (1)
Comments
Comment #1
joelcollinsdc CreditAttribution: joelcollinsdc commentedFWIW, this is how far i get with the manual install.
This is what I get when i try drush @hostmaster status, doens't look right....but I don't know what the DB url should be...
Comment #2
helmo CreditAttribution: helmo commentedAegir 1.x needs drush 4.x,
The aegir 2.x which is in a pretty stable alpha1 does support drush 5
Comment #3
anarcat CreditAttribution: anarcat commentedDrush 5.x is not support in aegir 1.x, you will need to test the alpha release.
Comment #4
Dane Powell CreditAttribution: Dane Powell commentedSorry to re-open, but I've got the same issue, and installing aegir2 doesn't help.
I purged the aegir packages, then tried to install aegir2. I have drush 5.8 installed from the repositories. The installation of aegir-hostmaster2 failed, starting with the errors:
Comment #5
Rijidij CreditAttribution: Rijidij commentedI'm getting the same problem, on 12.04 LTS.
Comment #6
trrroy CreditAttribution: trrroy commentedRunning the 'drush cache-clear drush' made it work for me. Also, 'drush self-update' will give some version options to choose from. I chose 5.8 and things seem to be working. I'm on ubuntu 12.04 too.
Comment #7
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions commentedMarking as fixed as the question appears to be answered.
--
This is a templated response, please re-open or comment if you think it's in error.