Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.Hi All,
I'm trying to install aegir on a 16.04 server and the site will not install. It looks to be a difference between the site alias on the server and the alias referred to in the post install script.
I added set -x to /var/lib/dpkg/info/aegir3-hostmaster.postinst
And got the following error:
Enabling hosting-queued daemon
+ su -s /bin/sh aegir -c drush @hostmaster pm-enable -y hosting_queued
Could not find the alias @hostmaster
drush sa as the aegir user lists the following aliases:
@none
@platform_hostmaster
@server_localhost
@server_master
So it seems to me like the post install script should be referencing @platform_hostmaster or we need an additional alias of @hostmaster in the site.
I tried to install aegir using the instructions on http://www.aegirproject.org/.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Screenshot from 2017-01-13 11-26-07.png | 54.88 KB | 20th |











Comments
Comment #2
daften CreditAttribution: daften at Picabit for iMinds commentedI have the same problem on ubuntu 16.04. To reproduce, you can issue kitchen converge mysql-secure-ubuntu-1604 on this chef repository (develop branch): https://github.com/daften/cookbook-aegir3/tree/develop
Comment #3
20th CreditAttribution: 20th commentedI've been getting the
Could not find the alias @hostmastererror a lot on Ubuntu 16.04. It is hard to tell what exactly causes it, but it means that there is something wrong with your server setup. First, you need to attentively look through the whole installation log and take notice of any errors. You need to verify the following:
1.You have configured the server hostname or FQDN as described in the install docs
2. You have configured secure access to MySQL. On Ubuntu, you may execute the
mysql_secure_installationcommand, or directly run queries from chef migration, mentioned by @daften:Also take a lot at #2770819: Install fails on MariaDB 10 without password (new default).
3. Mail transfer agent on the server is properly configured. If you install Aegir on Ubuntu using
apt-get install aegir3command from Aegir repository and you see this dialog window:you must not select
No configurationoption, otherwise Drupal will not be able to send emails and Aegir installation will fail. At the minimum, you must selectLocal onlyif you do not want to configure Postfix.If you see an error in the installation log similar to this:
you need to fix your Postfix/MTA configuration.
Comment #4
colanI install the deb on 16.04 all the time, and have never run into this issue, but I always set up mail (Postfix) in advance as a real mail server, "Internet Site":
sudo apt install postfix bsd-mailx mutt...before running:
sudo apt install aegir3Maybe that makes a difference, but make sure you configure Postfix for private use only, something like so in /etc/postfix/main.cf, and then restart it:
inet_interfaces = 127.0.0.1Comment #5
niccolox CreditAttribution: niccolox commentedI just did an install of Aegir 3.9 on an Ubuntu 16 Xenial LXD/LXC container and encountered similar install issues
I purged the install and manually installing PHP packages, and then Postfix as per colan's comment and re-installed and it finally worked
there is certainly something troublesome
Comment #6
NWOM CreditAttribution: NWOM commentedI am having the same issue with Ubuntu 16 Xenial.
Comment #7
ergonlogicBumping this to "critical" as it's blocking installs.
I believe that this is due to PHP7 compiling with a different set of default extensions. Try installing
php7.0-xmlbefore installingaegir3.We should revisit the Debian packaging to ensure that these dependencies are made explicit in our packages.
Comment #8
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions for Aegir Cooperative commentedI think this is now fixed in #2715599: Support PHP 7 in Debian package
I've tested it in a vagrant box... ubuntu/xenial64
Comment #9
ergonlogicSlightly off-topic, but I came across another odd failure mode recently, when installing onto a Debian Stretch AMI-based AWS instance. In that case it was prompting to the
aegiruser's sudo password, as it attempted to run one of ourzz_hooks from thefix_ownershipmodule. Since this module wasn't enabled, there's no way the hook should be getting called. Clearing the Drush cache allowed the installation to proceed successfully.Note that on Stretch, the
mysql-serverandmysql-clientpackages appear to have been replaced bydefault-mysql-serveranddefault-mysql-client. Note that the former actually installs MariaDB, which, in turn, triggers #2770819: Install fails on MariaDB 10 without password (new default). Setting an alternative db user (e.g., 'aegir_root') with proper permissions allowed installation to proceed.Of course, Debian Stretch only just went into freeze, so we aren't likely to see a full release for another 4-5 months, and things can still change fairly significantly before then. But I figured I'd note my findings while they were fresh in my mind.
Comment #10
helmo CreditAttribution: helmo as a volunteer and at Initfour websolutions for Aegir Cooperative commentedI'm marking this fixed ... info from #9is moved to a new issue ... #2857259: [meta] Debian 9 - Stretch support
Comment #12
coozila CreditAttribution: coozila commentedCould not find the alias @hostmaster [error]
/opt/tmp/boa/lib/functions/satellite.sh.inc: line 5158: cd: /data/disk/o2/aegir/distro/001: No such file or directory
in fresh debian 9 boa autoinstall