IRC logs for #aegir, 2016-12-16 (GMT)

2016-12-15
2016-12-17
TimeNickMessage
[11:45:55]* theMusician has joined #aegir
[11:56:48]* theMusician has quit (Quit: theMusician)
[12:07:08]* christefano has quit (Quit: christefano)
[13:21:56]* hestenet has joined #aegir
[14:16:17]* anarcat has quit (Quit: restarting)
[14:16:28]* anarcat has joined #aegir
[14:19:58]* anarcat has quit (Client Quit)
[14:20:32]* anarcat has joined #aegir
[18:51:20]* ybabel has joined #aegir
[19:09:13]* oluabbeys has joined #aegir
[19:18:28]* oluabbeys has quit (Ping timeout: 256 seconds)
[19:44:12]* gusaus has quit (Quit: gusaus)
[19:49:12]* gusaus has joined #aegir
[21:05:28]* gusaus has quit (Ping timeout: 250 seconds)
[21:14:18]* ybabel1 has joined #aegir
[21:15:37]* ybabel has quit (Ping timeout: 240 seconds)
[21:15:37]* ybabel1 is now known as ybabel
[00:04:55]* oluabbeys has joined #aegir
[01:01:44]* noecc has joined #aegir
[01:28:46]* oluabbeys has quit (Quit: oluabbeys)
[01:40:07]* nicxvan has joined #aegir
[01:40:26]<nicxvan>Good morning! I'm having trouble installing aegir3
[01:40:35]<nicxvan>It fails with this message Could not find the alias @hostmaster
[01:40:48]<nicxvan>I thought it was cause I had exim4 instead of postfix
[01:41:11]<nicxvan>but I seem to be stuck in a loop where it's trying to configure aegir3-hostmaster
[01:41:34]<nicxvan>every package I try to install or remove it asks for mysql password and says it failed to install
[01:41:45]<nicxvan>running dpkg --configure -a didn't help either
[01:41:50]<nicxvan>does anyone have any insight
[01:42:17]<nicxvan>I'm on amazon so I had some trouble with setting hostname since it will change on reboot, but I have a fqdn that resolves to the instance
[01:46:46]<nicxvan>also attempting to purge it with apt-get just attempts re install
[01:46:56]<nicxvan>and attempts to purge or remove with dpkg says it's not installed
[01:49:18]<ergonlog1c>nicxvan: there are 3 packages involved
[01:49:42]<ergonlog1c>aegir3 is a virt pkg that'll install aegir3-provision then aegir3-hostmaster
[01:50:12]<ergonlog1c>try uninstalling aegir3 and aegir3-hostmaster
[01:50:19]<nicxvan>thanks let me try that
[01:50:21]* fatguylaughing has joined #aegir
[01:50:31]<ergonlog1c>and ensure that aegir3-provision can install properly on its own
[01:51:20]<nicxvan>looks like provision was able to install fine
[01:51:28]<nicxvan>and removing aegir3-hostmaster worked
[01:51:51]<ergonlog1c>ok, so now try installing aegir3-hostmaster again
[01:52:14]<ergonlog1c>there are a number of options you could pass to it, fqdn, for example
[01:55:33]<nicxvan>ergonlog1c: The main thing behind the fqdn is that it resolves to the machine right?
[01:55:52]<nicxvan>I'm using route53 to handle dns since ip's are fairly ephemeral in amazon
[01:55:52]<ergonlog1c>right
[01:56:00]<nicxvan>ok thanks
[01:56:19]<ergonlog1c>aegir will use the hostname by default
[01:57:16]<nicxvan>where do I see what flags can be passed, I'm missing it on the install page
[01:58:15]<nicxvan>or is it as simple as `sudo apt-get install aegir3-hostmaster --fqdn 'somedomain'
[01:58:17]<nicxvan>or is it as simple as `sudo apt-get install aegir3-hostmaster --fqdn 'somedomain'`
[01:58:24]<nicxvan>whoops too used to slack ha
[01:59:01]<ergonlog1c>hang on, it's in the docs
[01:59:32]<ergonlog1c>http://docs.aegirproject.org/en/3.x/install/#71-custom-options
[02:02:03]<nicxvan>thanks
[02:02:08]<nicxvan>fqdn isn't in there
[02:02:16]<nicxvan>can I assume it's aegir/fqdn string?
[02:02:22]<ergonlog1c>aegir/site
[02:02:31]<nicxvan>ah ok
[02:02:43]<nicxvan>That part was being set properly in the install
[02:02:47]<nicxvan>let me try that again
[02:10:58]<nicxvan>that worked!
[02:11:00]<nicxvan>thanks ergonlog1c
[02:11:17]<ergonlog1c>np :)
[02:15:46]<nicxvan>This is pretty cool
[02:31:48]<joestewart>Thank y'all for spurring me back to getting this figured out. aegir3-hostmaster and been failing with the same error on a Ubuntu 16 with php7. But setting the site/domain didn't fix either. Tried the manual install and found that php-xml wasn't installed. doh.
[02:32:24]<joestewart>Package installation works now. thanks. But "env DPKG_DEBUG=developer" wasn't giving any extra info.
[02:32:53]<nicxvan>@joestewart probably my issue too
[02:33:08]<nicxvan>but I couldn't install the missing php library until I was able to purge it
[02:33:16]<nicxvan>since hostmaster was stuck in a loop
[02:33:24]<nicxvan>ergonlog1c: joestewart ^
[02:33:59]<nicxvan>in between those steps you mentioned ergonlog1c I also installed php7.0-gd and php-pear
[02:34:37]<nicxvan>which installed php-xml
[02:34:54]<nicxvan>Though I think exim was probably not compatible either
[02:36:44]<nicxvan>though it was more likely the php-xml issue
[02:41:43]<joestewart>It seems like the site-install step isn't error checking. It looks like that step is successful during package install.
[02:41:49]<joestewart>but it isn't.
[02:50:42]<ergonlog1c>I usually use Ansible to deploy Aegir these days: https://github.com/ergonlogic/ansible-role-aegir/blob/master/defaults/ma...
[02:51:14]<ergonlog1c>ubuntu 16:04/PHP7 have been a bit tricky at times
[02:51:59]<ergonlog1c>I seem to recall seeing an issue resolved recently for the php-xml dep, but I could be wrong...
[02:52:26]<jonpugh>nicxvan: Yep, second that. Ansible or Docker is what i use for devshop: https://galaxy.ansible.com/opendevshop/
[02:52:40]<jonpugh>I've been down too many deb package rabbit holes
[02:53:13]<jonpugh>In fact if you want to see what a manual install looks like check out the aegir dockerfile: https://github.com/aegir-project/dockerfiles/blob/master/Dockerfile
[02:53:20]<jonpugh>You could run through those RUN commands manually :)
[03:03:48]<joestewart>ergonlog1c: thanks, I usually use ansible too that did a manual install. This error stemmed from using nginx too. Will check out ergonlogic.aegir for this project.
[03:05:14]<ergonlog1c>I usually install the packages, rather than manually. But the fact that I pre-install some deps may be masking an issue with the .debs
[03:16:30]<joestewart>Might be a doc issue around "6. (Optional) Install with Nginx" or something I had done since I'm using php7 . I just ran through by installing php7.0-fpm php7.0-gd php-pear and it worked OK. A little issue with mariadb root user. But this should come together.
[03:17:24]<joestewart>kudos y'all. Much smoother than earlier aegir days.
[03:17:29]<nicxvan>jonpugh: I wanted to use php 7 though :p
[03:17:54]<ergonlog1c>feel free to PR the doc to add clarity
[03:18:26]<nicxvan>oh cool I can do that later
[03:18:34]<nicxvan>probably not today though
[03:18:59]<nicxvan>I've got another question, how does aegir work with composer?
[03:19:24]<ergonlog1c>it doesn't really, at this stage
[03:19:30]<nicxvan>I have some clients beginning to use composer to manage dependencies, or is it better to use something like jenkins to build the files and place them in the correct platform
[03:21:01]<ergonlog1c>`drush make` is the best supported method of building a platform, at this point
[03:21:13]<ergonlog1c>though putting it all under Git is another option
[03:22:20]<nicxvan>ok
[03:22:38]<nicxvan>I've run into trouble when using composer and git since composer pull from github
[03:22:51]<nicxvan>which then doesn't get packaged up in your repo
[03:22:56]* ybabel has quit (Quit: ybabel)
[03:22:59]<nicxvan>I'll have to look at drush make again, it's been a while
[03:48:58]* hestenet has quit ()
[04:15:05]<mstenta>hi all, i'm using the puppet-aegir project to install aegir via puppet - i updated to the latest 1.0.x commit recently, and now i'm running into a minor issue
[04:15:45]<mstenta>maybe it's just the way i have it set up... just curious if anyone can point me in the right direction
[04:16:27]<mstenta>for whatever reason, the drush command for installing hostmaster doesn't work from puppet, so i log in as the aegir user and run it manually (copying and pasting from the initial puppet output)
[04:16:37]<mstenta>this generally worked in the past, but now i'm seeing the following:
[04:16:59]<mstenta>Executing: sudo /usr/local/bin/fix-drupal-site-ownership.sh --site-path=/var/aegir/hostmaster-7.x-3.x/sites/local.aegir.farmos.net --script-user=aegir --web-group=www-data
[04:17:00]<mstenta>[sudo] password for aegir:
[04:17:19]<colan>joestewart: the mariadb issue you're running into is https://www.drupal.org/node/2770819. Any help there would be appreciated. :)
[04:17:20]<hefring>https://www.drupal.org/node/2770819 => Install fails on MariaDB 10 without password (new default) [#2770819] => 10 comments, 4 IRC mentions
[04:17:22]<mstenta>My aegir user does not have full sudo access, so it's not able to run that command
[04:18:21]<mstenta>i just hit enter three times, without entering any password (the aegir user doesn't have a password in my setup) - and hostmaster does install successfully
[04:18:41]<mstenta>but it seems that it shouldn't be running that command as "sudo"... should it?
[04:19:08]<mstenta>(i'm pretty sure this is actually outside the scope of the puppet-aegir project, and part of the hostmaster install command itself)
[04:21:35]<joestewart>colan: great, thanks for the issue pointer. Yes that's it. I thought I had to add GRANTS too. I see your comment about the cron job too. yuck
[04:53:48]<colan>indeed.
[07:13:01]* noecc has left #aegir ("pax")
[07:59:26]* ybabel has joined #aegir
[07:59:34]* ybabel has quit (Client Quit)
[09:50:07]* drakythe is now known as zz_drakythe
[09:52:08]* fatguylaughing has quit (Quit: fatguylaughing)
[09:57:36]* zz_drakythe is now known as drakythe
[09:58:56]* nicxvan has quit (Quit: ChatZilla 0.9.93 [Firefox 47.0/20160606114208])
[10:10:47]* drakythe is now known as zz_drakythe
[10:51:37]* zz_drakythe is now known as drakythe