IRC logs for #aegir, 2012-10-22 (GMT)

2012-10-21
2012-10-23
TimeNickMessage
[11:14:13]* berniecram has joined #aegir
[11:15:27]* wizonesolutions has quit (Ping timeout: 265 seconds)
[11:17:07]* steveoliver has joined #aegir
[11:19:16]* wizonesolutions has joined #aegir
[11:19:17]* wizonesolutions has quit (Changing host)
[11:19:17]* wizonesolutions has joined #aegir
[11:52:20]* tomfriedhof has joined #aegir
[11:52:54]* tomfriedhof has quit (Client Quit)
[12:07:38]* henk__ has quit (Quit: Leaving)
[12:22:51]* tomfriedhof has joined #aegir
[12:25:58]* SeanBannister has quit ()
[12:30:28]* SeanBannister has joined #aegir
[12:50:23]* CrawfordComeaux has quit (Ping timeout: 246 seconds)
[13:22:52]* Deciphered has quit (Remote host closed the connection)
[13:41:31]* gboudrias has quit (Quit: Leaving.)
[13:46:00]* tomfriedhof has quit (Quit: tomfriedhof)
[13:46:11]* gboudrias has joined #aegir
[13:56:36]* chaloum has joined #aegir
[13:59:09]* Deciphered has joined #aegir
[13:59:09]* Deciphered has quit (Changing host)
[13:59:09]* Deciphered has joined #aegir
[13:59:29]* CrawfordComeaux has joined #aegir
[14:03:41]* CrawfordComeaux has quit (Ping timeout: 244 seconds)
[14:03:58]* CrawfordComeaux has joined #aegir
[14:12:18]* realityloop has quit (Remote host closed the connection)
[14:18:22]* realityloop has joined #aegir
[14:18:22]* realityloop has quit (Read error: Connection reset by peer)
[14:48:00]* beautifulmind has joined #aegir
[15:26:55]* Zlender has quit (Remote host closed the connection)
[15:27:22]* Zlender has joined #aegir
[15:27:22]* Zlender has quit (Changing host)
[15:27:22]* Zlender has joined #aegir
[15:31:25]* gboudrias has quit (Quit: Leaving.)
[15:32:11]* Zlender has quit (Ping timeout: 272 seconds)
[15:35:32]* steveoliver is now known as steveoliver|chil
[15:35:50]* steveoliver|chil is now known as steveoliver|afk
[15:40:36]* EclipseGc has quit (Quit: EclipseGc)
[15:41:33]* beautifulmind has quit (Quit: Leaving.)
[16:08:28]* AquaticDisorder has quit (Remote host closed the connection)
[16:35:10]* boztek has joined #aegir
[16:42:49]* Deciphered has quit (Remote host closed the connection)
[17:04:36]* HyperGli_ has joined #aegir
[17:05:15]* HyperGli_ is now known as HyperGlide
[17:25:01]* berniecram has quit (Quit: berniecram)
[17:29:34]* boztek has quit (Quit: Textual IRC Client: http://www.textualapp.com/)
[17:43:41]* loddafnir1 has joined #aegir
[17:48:54]* larsweb has joined #aegir
[17:49:31]* larsweb has quit (Client Quit)
[17:49:39]* larsweb has joined #aegir
[18:13:22]* TipiT has joined #aegir
[18:20:00]* steveoliver|afk has quit (Ping timeout: 260 seconds)
[18:21:41]<CrawfordComeaux>Can anyone recommend some best practices or things to watch out for with Aegir?
[18:21:41]<hefring>CrawfordComeaux: 14 hours 35 min ago <omega8cc> tell CrawfordComeaux: There is a serious flaw in Aegir, only one, but really awful - it doesn't make a coffee for me!
[18:36:12]* ratioweb has joined #aegir
[18:40:00]* lolmaus has joined #aegir
[18:40:21]* lolmaus has quit (Client Quit)
[18:47:46]* gandhiano has joined #aegir
[19:02:15]* ivanjaros has joined #aegir
[19:03:22]* manarth|offline is now known as manarth
[19:05:45]* siliconmeadow has joined #aegir
[19:19:19]* David_Hernandez has joined #aegir
[19:44:05]* elfenixtorres has joined #aegir
[20:06:24]* jacintocapote has joined #aegir
[20:57:18]* beautifulmind has joined #aegir
[21:17:45]* siliconmeadow has quit (Remote host closed the connection)
[21:18:37]* siliconmeadow has joined #aegir
[21:47:39]* HyperGlide has quit (Remote host closed the connection)
[22:19:58]* jacintocapote has quit (Ping timeout: 252 seconds)
[22:19:59]* David_Hernandez has quit (Write error: Connection reset by peer)
[22:27:41]* berniecram has joined #aegir
[22:29:05]* jacintocapote has joined #aegir
[22:29:19]* larsweb is now known as larsmw
[22:30:50]* larsmw is now known as larsweb
[22:32:01]* dob_ has joined #aegir
[22:32:33]* berniecram_ has joined #aegir
[22:32:56]* berniecram_ has quit (Client Quit)
[22:34:23]* berniecram has quit (Ping timeout: 260 seconds)
[22:36:56]* rteijeiro has joined #aegir
[22:37:14]* manarth is now known as manarth|offline
[22:51:24]* manarth|offline has quit (Quit: "Idiot-proof? There's always a better idiot.")
[22:51:54]* manarth|offline has joined #aegir
[22:52:25]* Circlefusion has quit (Quit: Leaving)
[23:00:26]* HyperGlide has joined #aegir
[23:16:49]* Circlefusion has joined #aegir
[23:17:02]* manarth|offline is now known as manarth
[23:32:21]* boztek has joined #aegir
[23:33:09]* David_Hernandez has joined #aegir
[23:34:30]* q0rban has joined #aegir
[23:41:45]* wamilton has quit (Ping timeout: 272 seconds)
[00:09:47]* ipwa has joined #aegir
[00:17:27]<ergonlogic>anarcat: ping
[00:20:24]<ergonlogic>darthsteven: Hi, will you be hosting office hours in 40 mins?
[00:20:29]* EclipseGc has joined #aegir
[00:20:36]<darthsteven>ergonlogic: ermmm
[00:20:38]<darthsteven>sure
[00:20:56]<darthsteven>I've been super busy recently, but should be able to host them today
[00:21:15]<ergonlogic>darthsteven: k, I'll have some questions for you :)
[00:21:50]<darthsteven>okay, cool
[00:22:16]* rteijeiro has quit (Read error: Connection reset by peer)
[00:22:52]* rteijeiro has joined #aegir
[00:28:53]* discipolo has joined #aegir
[00:43:10]* kepford has quit (Quit: kepford)
[00:47:07]* elfenixtorres has quit (Read error: Connection reset by peer)
[00:47:39]* elfenixtorres has joined #aegir
[00:50:48]* stieglitz has joined #aegir
[00:52:45]* HyperGlide has quit (Read error: Connection reset by peer)
[00:53:08]* HyperGlide has joined #aegir
[00:53:16]* wamilton has joined #aegir
[00:58:17]* q0rban has quit (Quit: Computer has gone to sleep.)
[01:00:47]<darthsteven>Good afternoon!
[01:00:57]<darthsteven>office hours?
[01:00:57]<hefring>Twice weekly sessions where people knowledgeable about Aegir will hang out in IRC and help resolve issues and fix bugs, for more details see here: http://community.aegirproject.org/content/office-hours
[01:02:05]* zombiebeard has joined #aegir
[01:04:15]<darthsteven>ergonlogic: you may ask your questions :)
[01:05:04]<ergonlogic>darthsteven: great! it's more of a code review, if you're cool with that
[01:05:06]<anarcat>ergonlogic: pong
[01:05:09]* larsweb has quit (Quit: Leaving)
[01:05:46]<ergonlogic>anarcat: hi, I was just going to ask darthsteven for some help with the stuff about moving sites out of platforms we discussed friday
[01:05:52]<darthsteven>ergonlogic: not sure I can do much actual work, but I'm planning to do a day of Aegir work this Saturday
[01:06:08]<ergonlogic>basically, re-writing site_path in the site context...
[01:06:32]<ergonlogic>darthsteven: ok, well, I've been working on http://drupal.org/node/1205458#comment-6633286
[01:06:33]<hefring>http://drupal.org/node/1205458 => Move modules/themes/libraries/files/private directories out of /sites/example.com => Provision, Code, major, needs work, 42 comments, 4 IRC mentions
[01:06:45]<ergonlogic>and it's coming along nicely
[01:06:46]* q0rban has joined #aegir
[01:07:00]<darthsteven>ah yes, super excited to see that issue moving along
[01:07:06]<ergonlogic>but I think I need to re-write site_path in the site context
[01:07:18]<ergonlogic>in order to generate a proper setting.php, etc.
[01:07:27]<ergonlogic>and it seems a little tricky
[01:08:45]<darthsteven>so you're moving the sites folder out of the platform?
[01:08:47]<ergonlogic>bfore starting to mess with the site_path, everything I've done there works, so long as I use the default tokenized data_dir
[01:08:52]<ergonlogic>that's the idea
[01:09:01]<darthsteven>or each sites/site-a.example.com folder?
[01:09:09]<ergonlogic>optionally, really, as it'll default to its usual place
[01:09:17]<ergonlogic>yes
[01:09:22]<darthsteven>ah right
[01:09:45]<ergonlogic>I've defined a new property in the http_server
[01:10:01]<darthsteven>okay
[01:10:12]<ergonlogic>actually, it's in the generic server, as it could be useful elsewhere
[01:10:17]* Guilhem1 has joined #aegir
[01:10:23]<ergonlogic>but it's only implemented in http_public
[01:10:48]<ergonlogic>then _provision_drupal_create_directories() has been completely re-written
[01:11:33]<ergonlogic>doing essentially the same thing, but split up into individual functions, etc.
[01:12:02]<ergonlogic>adding a hook to alter sire directories, etc.
[01:12:02]<ergonlogic>it'll need another hook in there to alter the $data_dir, I think
[01:12:41]<ergonlogic>because we'll need to be consistent with how we create the site_path in the site context
[01:13:22]<ergonlogic>I've refactored quite a bit of this, so I'm not sure I'm making sense, outside the context of my patches
[01:13:39]<ergonlogic>sorru if I'm confusing things
[01:13:56]<darthsteven>I'm reading the patch
[01:14:00]<darthsteven>so it's making sense
[01:15:21]<ergonlogic>ok, good
[01:15:37]<ergonlogic>I'm not sure re-writing site_path is a good idea, actually
[01:16:34]<ergonlogic>I wonder if drush won't choke on the lack of a platform, if we just point directly to the site's data_dir
[01:17:15]* ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
[01:17:32]<ergonlogic>I was thinking of maybe add a site_data_dir (or site_install_dir...) and then patching backup, create_settings_file(), etc. to point there instead...
[01:17:48]<darthsteven>Drush will need a valid platform path to work from
[01:17:54]<ergonlogic>sorry, adding site_data_dir to the site context
[01:18:16]<darthsteven>And Drush will need to be able to bootstrap these sites
[01:18:22]<darthsteven>will it be able to do so?
[01:18:27]<ergonlogic>not sure
[01:18:49]<darthsteven>I presume that a symlink will be added to the actual Drupal sites directory or something?
[01:19:18]<ergonlogic>yep, that's what happens at the very end of _provision_drupal_create_directories()
[01:20:11]* Daeluin has joined #aegir
[01:20:20]<ergonlogic>re-writing site_path has so far triggered site installs to roll-back, so I expect that's the problem
[01:20:44]<ergonlogic>does adding another property to the site context make sense then?
[01:21:16]<darthsteven>sure
[01:21:29]<darthsteven>'aegir_site_path' or similar?
[01:21:44]<darthsteven>'site_data_dir'?
[01:21:59]<darthsteven>adding one of those would be fine I think
[01:22:05]<ergonlogic>yeah, I was thinking of the latter, for consistency
[01:22:15]* rv0 has joined #aegir
[01:22:24]<ergonlogic>k, I'll give that a shot
[01:32:37]* CrawfordComeaux has quit (Ping timeout: 252 seconds)
[01:36:45]* HyperGlide has quit (Remote host closed the connection)
[01:41:11]* beautifulmind has quit (Quit: Leaving.)
[01:41:56]* kepford has joined #aegir
[01:43:50]* Guilhem1 has quit (Quit: Guilhem1)
[01:44:05]* Guilhem1 has joined #aegir
[01:44:31]<ergonlogic>hmm, I'm generating a setting.php file now, but drushrc.php looks a little trickier
[01:47:06]* Zlender has joined #aegir
[01:47:31]* fatguylaughing has joined #aegir
[01:51:35]* discipolo has quit (Quit: Leaving)
[01:54:13]<ergonlogic>ok, got the drushrc.php now
[02:05:52]* gandhiano has quit (Remote host closed the connection)
[02:11:02]<ergonlogic>almost there... now I get install.php
[02:14:15]* erif_yawa has joined #aegir
[02:14:16]* erif_yawa is now known as erifneerg
[02:19:55]* Guilhem1 has quit (Quit: Guilhem1)
[02:27:01]* rv0 has quit (Quit: rv0)
[02:32:08]<ergonlogic>darthsteven: so, all the proper files appear to be generated, and the task log shows no errors.
[02:32:11]<ergonlogic> in fact, 'drush sqlc' works via alias
[02:32:44]<ergonlogic>or from the <platform>/sites/<site> dir
[02:32:54]<ergonlogic>which is symlinked to the data_dir
[02:32:54]<darthsteven>interesting
[02:32:58]<darthsteven>very interesting :)
[02:33:14]<ergonlogic>but the site is presenting install.php
[02:33:24]<ergonlogic>almost there, I think...
[02:35:38]* dob_ has quit (Read error: Operation timed out)
[02:36:11]<ergonlogic>form within the data_dir 'drush status --root=/var/aegir/hostmaster-6.x-2.x'
[02:36:15]<ergonlogic>works
[02:40:54]* elfenixtorres has quit (Remote host closed the connection)
[02:42:11]* jhedstrom has joined #aegir
[02:52:42]* dob_ has joined #aegir
[02:58:55]* dob_ has quit (Remote host closed the connection)
[03:05:21]<ergonlogic>anarcat: any ideas?
[03:05:49]* steveoliver has joined #aegir
[03:06:34]<anarcat>ergonlogic: hum?
[03:06:47]<ergonlogic>anarcat: I made all the changes we discussed friday
[03:06:54]<ergonlogic>anarcat: re moving sites out of platforms
[03:07:00]<ergonlogic>anarcat: it's almost working
[03:07:15]<ergonlogic>anarcat: but now when a site is installed, it's going to install.php
[03:07:35]<anarcat>ergonlogic: i would need to sit next to you for this
[03:07:40]<anarcat>ergonlogic: check the documentroot of the vhost
[03:07:47]<ergonlogic>kk
[03:08:20]<anarcat>is drush able to bootstrap the site?
[03:08:27]<anarcat>drush --root=foo --uri=bar
[03:08:38]<ergonlogic>yes
[03:08:48]<ergonlogic>as long as you pass '--root'
[03:08:59]<ergonlogic>the docroot in the vhsot is the platform
[03:08:59]<anarcat>hum. then this should work
[03:09:13]<anarcat>the vhost of the site you mean
[03:09:17]* rv0 has joined #aegir
[03:09:41]<ergonlogic>yes, in the vhost of the site, the docroot points to the platform
[03:09:49]* gboudrias has joined #aegir
[03:10:35]<anarcat>ok, so there's a bootstrap problem
[03:10:45]<anarcat>have you tried running drush as the www-data user?
[03:10:57]<ergonlogic>nope
[03:11:01]<ergonlogic>but I'll try that
[03:11:18]<anarcat>ergonlogic: btw this is the drush_exit() mess i was talking about for provisionacl https://drupal.org/node/1097880
[03:11:57]<anarcat>hence the fun bug of the day: ~http://drupal.org/node/1097854
[03:12:01]<hefring>http://drupal.org/node/1097854 => do not rewrite the drushrc on *all* commands => Provision, Code, normal, active, 2 comments, 1 IRC mention
[03:12:08]<ergonlogic>and I should be able to 'sqlc', for example?
[03:14:17]<ergonlogic>hmmm
[03:14:21]* rv0 has quit (Ping timeout: 276 seconds)
[03:15:04]<ergonlogic>ok, so drush won't bootstrap the wite as www-data
[03:15:05]<ergonlogic>s/wite/site
[03:16:30]<anarcat>ah-ah here you are
[03:16:34]<anarcat>probably a perms problem then
[03:16:39]<anarcat>try to read settings.php as the user
[03:21:23]<ergonlogic>anarcat: yep
[03:21:40]<ergonlogic>chown aegir:www-data /var/aegir/clients -R
[03:22:01]<ergonlogic>anarcat: I assume there's potential security problems with doing that though
[03:22:13]<ergonlogic>but maybe no worse than already... ?
[03:25:23]* ratioweb has quit (Ping timeout: 246 seconds)
[03:26:37]* zombiebeard has quit (Quit: zombiebeard)
[03:29:37]<anarcat>do not -R, see what fails first
[03:31:58]* manarth is now known as manarth|offline
[03:33:56]<ergonlogic>for Data directory: [clients_path]/[client_name]/sites/[uri]... [client_name] and [client_name]/sites both have to be 'chgrp www-data'...
[03:36:42]<ergonlogic>sorry, that's wrong
[03:37:03]<ergonlogic>/sites/[uri] and sites/ both have to be aegir:www-data
[03:38:36]<ergonlogic>ok, wait... [client_name]/sites too
[03:39:22]* siliconmeadow has quit (Ping timeout: 246 seconds)
[03:46:35]<ergonlogic>ok, so it appears to be the data_dir and two level up (.. & ../..)
[03:46:41]<ergonlogic>it's working now, btw
[03:54:06]* David_Hernandez has quit (Quit: Saliendo)
[03:59:39]* TipiT has quit (Ping timeout: 244 seconds)
[04:03:56]* CrawfordComeaux has joined #aegir
[04:04:24]* TipiT has joined #aegir
[04:19:26]* ipwa has quit (Quit: ipwa)
[04:35:47]* josh_k has joined #aegir
[04:52:23]* gusaus has joined #aegir
[05:19:45]* attiks|away is now known as attiks
[05:21:16]* erifneerg is now known as erif_yawa
[05:26:04]* erif_yawa has quit (Ping timeout: 255 seconds)
[05:29:37]* ratioweb has joined #aegir
[05:30:18]* larsweb has joined #aegir
[05:32:49]* roginald has joined #aegir
[05:42:57]<CrawfordComeaux>I'm learning about aegir right now because I've been hired to develop a Saas hosting solution catering to drupal dev shops & am looking into the devops side of things. Can anyone weigh in on Ansible vs Puppet vs Chef specifically wrt Aegir?
[05:51:42]* roginald has quit (Quit: roginald)
[06:01:35]* zombiebeard has joined #aegir
[06:26:56]<ergonlogic>ok
[06:27:04]<ergonlogic>hefring: logs
[06:27:09]<ergonlogic>hefring: log pointer
[06:27:09]<hefring>http://hefring.mig5.net/bot/log/aegir/2012-10-22#T293527
[06:57:22]* Craw_dinner has joined #aegir
[06:57:43]* CrawfordComeaux has quit (Disconnected by services)
[06:57:52]* Craw_dinner is now known as CrawfordComeaux
[07:04:57]* jhedstrom has quit (Read error: Connection reset by peer)
[07:20:26]* jhedstrom has joined #aegir
[07:24:18]* henk__ has joined #aegir
[07:26:16]* ratioweb has quit (Read error: Operation timed out)
[07:46:06]* grobot has joined #aegir
[07:47:47]* gboudrias has quit (Quit: Leaving.)
[07:48:38]* boztek has quit (Quit: Textual IRC Client: http://www.textualapp.com/)
[07:49:43]* larsweb has quit (Quit: Leaving)
[07:49:46]* jack-away has quit (Ping timeout: 246 seconds)
[07:59:47]* CrawfordComeaux has quit (Ping timeout: 240 seconds)
[08:01:47]* EclipseGc has quit (Read error: Connection reset by peer)
[08:01:51]* EclipseGc_ has joined #aegir
[08:02:36]* zombiebeard_ has joined #aegir
[08:04:44]* zombiebeard_ has quit (Client Quit)
[08:05:52]* zombiebeard has quit (Ping timeout: 246 seconds)
[08:06:58]* TipiT has quit (Quit: Leaving.)
[08:09:32]* rv0 has joined #aegir
[08:14:05]* ratioweb has joined #aegir
[08:14:42]* CrawfordComeaux has joined #aegir
[08:15:29]* henk__ has quit (Ping timeout: 260 seconds)
[08:17:49]* jack-away has joined #aegir
[08:32:22]* tomfriedhof has joined #aegir
[08:38:23]* boztek has joined #aegir
[08:45:27]* tomfriedhof has quit (Quit: tomfriedhof)
[08:50:27]* Elegant has joined #aegir
[08:54:08]* Elegant has quit (Quit: Give a man a fish and he will eat for a day. Teach him how to fish, and he will sit in a boat and drink beer all day)
[09:08:01]* q0rban has quit (Quit: Computer has gone to sleep.)
[09:12:26]* stieglitz has quit (Quit: ChatZilla 0.9.89 [Firefox 14.0.1/20120713134347])
[09:13:22]* tomfriedhof has joined #aegir
[09:13:49]* tomfriedhof has quit (Client Quit)
[09:15:20]* jack-away has quit (Ping timeout: 244 seconds)
[09:16:25]* fatguylaughing has quit (Quit: fatguylaughing)
[09:23:48]<milkmiruku>is best practice for adding modules to a platform/site to put them in the profiles/platformdistro/modules (and update the .make/profiler .info for rebuilding), yes?
[09:25:09]<milkmiruku>avoiding sites/*, so module dependency for migrations/etc. are properly tracked
[09:26:05]<milkmiruku>if so, is there a way of getting drush to dl to profiles/platformdistro/modules (or themes)?
[09:35:32]<mig5>darthsteven: https://github.com/computerminds/aegir_http_basic/issues/5
[09:35:40]<mig5>any idea what would cause that?
[09:42:02]* Daeluin has quit (Ping timeout: 244 seconds)
[09:46:34]<CrawfordComeaux>I want to use BOA for a project I've been asked to lay the foundation for, but the team that'll be picking up where I leave it is concerned about it using a LEMP stack instead of LAMP. How big of an impact from a management perspective could going with LEMP potentially have?
[09:49:34]<samb_>thanks mig5 for confirming https://github.com/computerminds/aegir_http_basic/issues/5 , was hoping someone might have run into the problem
[09:55:16]* wamilton has quit (Ping timeout: 248 seconds)
[09:57:07]<mig5>samb_: yeah, it's an annoying one. And I think you are quite right: the issue is that d() returns the site context at that time
[09:58:00]<mig5>although i would've thought it would still be able to grab the http service info. this stuff is not my strong point :)
[09:58:12]<samb_>cool, still got a lot to learn about aegir so I shan't tell you how long it took me to get to that point :P
[10:13:22]* berniecram has joined #aegir
[10:22:17]* jacintocapote has quit (Quit: Bye!)
[10:24:06]* loddafnir1 has quit (Ping timeout: 264 seconds)
[10:29:50]* kepford_ has joined #aegir
[10:30:03]* kepford_ has quit (Client Quit)
[10:33:44]* kepford has quit (Ping timeout: 260 seconds)
[10:34:49]* henk__ has joined #aegir
[10:35:15]* ratioweb has quit (Ping timeout: 244 seconds)
[10:35:31]* rv0 has quit (Quit: rv0)
[10:40:17]* Zlender has quit (Remote host closed the connection)
[10:40:51]* Zlender has joined #aegir
[10:40:51]* Zlender has quit (Changing host)
[10:40:51]* Zlender has joined #aegir
[10:43:24]* erifneerg has joined #aegir
[10:45:31]* Zlender has quit (Ping timeout: 256 seconds)
[10:47:46]* CrawfordComeaux has quit (Ping timeout: 256 seconds)
[10:56:56]* erifneerg has quit (Ping timeout: 255 seconds)