IRC logs for #aegir, 2016-11-30 (GMT)

2016-11-29
2016-12-01
TimeNickMessage
[11:21:32]<gusaus>interesting https://medium.com/@rob_86775/3-the-case-for-drupal-and-saas-d731248494f7#.ox613y1aq
[12:30:57]* gusaus has quit (Ping timeout: 240 seconds)
[12:41:09]* gusaus has joined #aegir
[13:26:22]* theMusician has joined #aegir
[15:05:14]* theMusician has quit (Quit: theMusician)
[15:06:13]* gusaus has quit (Quit: gusaus)
[18:17:39]* boshtian has joined #aegir
[18:37:19]* boshtian has quit (Quit: boshtian)
[18:58:27]* ybabel has joined #aegir
[19:11:25]* boshtian has joined #aegir
[20:37:26]* adrinux has joined #aegir
[20:49:03]* oluabbeys has joined #aegir
[20:58:01]* oluabbeys1 has joined #aegir
[20:58:06]* oluabbeys has quit (Ping timeout: 256 seconds)
[20:58:06]* oluabbeys1 is now known as oluabbeys
[21:19:11]* Lowell has quit (Ping timeout: 258 seconds)
[21:21:57]* Lowell has joined #aegir
[21:25:45]* kvanderw has quit (Ping timeout: 258 seconds)
[21:26:01]* oluabbeys has quit (Quit: oluabbeys)
[21:26:12]* kvanderw has joined #aegir
[22:32:59]* adrinux has quit (Quit: Leaving.)
[23:46:15]* shaneonabike1 has joined #aegir
[23:49:00]* noecc has joined #aegir
[00:46:21]* adrinux has joined #aegir
[01:39:30]* reaper013 has joined #aegir
[01:39:46]* adrinux has left #aegir ()
[01:45:29]* mstenta has quit (Ping timeout: 268 seconds)
[02:13:07]<ergonlog1c>hefring: tell gusaus Interesting, but I think Robert is confusing an e-commerce front-end with the hosted SaaS distribution. While building the latter in Drupal makes all kinds of sense, doing so with the former, while feasible, is a completely separate issue. We've seen all kinds of alternatives in the Aegir-based SaaS space.
[02:13:07]<hefring>ergonlog1c: I'll pass that on when gusaus is around.
[02:14:18]<anarcat>is this the new drush? https://github.com/hechoendrupal/DrupalConsole
[02:42:57]* boshtian has quit (Quit: boshtian)
[02:45:55]<reaper013>anarcat: never heard of Drupal Console before?
[02:46:46]<anarcat>no
[02:46:49]<anarcat>i'm this old dude
[02:47:00]<anarcat>back in my days, our drupal console was butterflies
[02:47:18]<reaper013>anarcat: ok lol, no problem. It is an adaptation of the Symfony console
[02:47:29]<anarcat>yeah, i don't know the Symfony console either :p
[02:47:30]<reaper013>So that you can generate code
[02:47:47]<reaper013>and there is more and more command to interact with site
[02:48:11]<reaper013>I prefer using the Drupal console for generating code and use Drush for site administration
[02:48:28]<anarcat>so this is kind of like rails scaffolding stuff?
[02:49:21]<reaper013>I don't know rails :), but yeah you can do scaffolding
[02:49:26]<reaper013>and a lot of debug command
[02:50:10]<reaper013>recently I think they add commands for site administration but Drush handles site alias and I don't remember Drupal console to do that
[02:50:52]<anarcat>oh boy site aliases
[02:51:00]<anarcat>you don't want console to have aliases, trust me
[02:51:11]<anarcat>run away screaming if they start doing that
[02:52:16]<reaper013>^^
[02:52:51]<anarcat>that's a bit unfair - maybe there's a way to implement this that is not completely crazy
[02:53:07]<anarcat>but having gotten lost numerous times in that code in drush, i can tell you it's horribly messy
[02:53:11]<anarcat>maybe they cleaned that up since then
[02:53:14]<colan>anarcat: yeah, basically there's overlap, but they can each do things the other can't (Drush aliases, Console scaffolding like module:generate)
[02:54:24]<colan>so you need both. https://pantheon.io/blog/drush-and-drupal-console-drupal-8
[02:55:00]<anarcat>oh wow, greg's got that amazing mustache!
[02:55:02]<anarcat>haha man
[02:55:06]<anarcat>is that hipster or what
[03:15:37]<colan>anarcat: the drupal community's a lot like a Portlandia epidode. ;)
[03:15:51]<colan>episode.
[03:17:00]<anarcat>hehe
[03:51:11]* theMusician has joined #aegir
[03:54:34]* boshtian has joined #aegir
[04:13:24]* reaper013 has quit (Quit: Page closed)
[04:15:30]* christefano has joined #aegir
[04:32:44]* theMusician has quit (Quit: theMusician)
[04:43:24]* boshtian has quit (Ping timeout: 244 seconds)
[04:57:58]<bgm>colan: hey, were the PHP 7 fixes you did in aegir 3.8 ? I'm having a weird "out of memory" issue
[04:58:20]<bgm>oh wait.. hosting_https..
[05:02:01]<colan>bgm: ah, so it's not just me with that module! any help tracking that down would be appreciated.
[05:02:06]<colan>:)
[05:02:41]<colan>i think it's the queue implementation, but i haven't been able to prove anything.
[05:03:41]<colan>also, i'd get a views error in the logs, and then views would disappear for a few minutes & then come back.
[05:03:56]<colan>would happen on cache clears i think.
[05:04:25]<colan>i guess we can create an issue for it now that you've reproduced it.
[05:06:01]<bgm>it seems to be looping on scanning directories (looking at strace)
[05:06:15]<colan>+1
[05:06:51]<bgm>I was checking to see if commenting out the queue parts of hosting_le would fix things, but doesn't seem to
[05:06:58]<bgm>i'll test disabling the module, etc
[05:07:06]<bgm>could also be PHP 7 ?
[05:08:55]* theMusician has joined #aegir
[05:11:38]<bgm>commenting out "hosting_certificate_prevent_orphaned_services" seems to help
[05:12:31]<bgm>https://gitlab.com/aegir/hosting_https/issues/7
[05:13:40]<bgm>k, yeah, just making hosting_certificate_prevent_orphaned_services() return early, seems to fix the clear-cache loop
[05:14:31]<bgm>colan: your last comment on that issue isn't very clear? did you patch hosting_https or only aegir core 3.9?
[05:30:10]* bgm wonders what happens if I deploy a playform from git, and the root of the site is not the root of the git repo
[05:30:38]* anarcat
[05:30:41]<anarcat>er
[05:30:43]<anarcat>nevermind
[05:33:12]<bgm>I could probably write a custom provision module that changes the root, right?
[05:42:41]* theMusician has quit (Quit: theMusician)
[05:47:54]<bgm>wee, that works :)
[05:52:10]* theMusician has joined #aegir
[05:57:11]* gusaus has joined #aegir
[06:02:15]<bgm>(on second thought.. nope, not a good idea)
[06:07:02]* theMusician has quit (Quit: theMusician)
[06:14:58]* theMusician has joined #aegir
[06:19:14]* theMusician has quit (Client Quit)
[06:25:26]<colan>bgm: oh, right. sorry, forgot about that. lemme find the issue....
[06:26:52]<colan>bgm: https://gitlab.com/aegir/hosting_https/issues/7
[06:27:08]<colan>"The latest Hosting dev is required, or wait for 3.9."
[06:27:37]<colan>but i don't understand why there's no error issued.
[06:27:39]<bgm>oh, ok, misunderstood "updated the code here" :)
[06:28:05]<colan>we're adding a parameter to a function call which doens't exist.
[06:28:11]<colan>shouldn't php complain?
[06:28:46]<colan>bgm: if you patch/upgrade hosting, does the loop go away?
[06:29:38]<colan>i can't believe i spent about a day trying to figure out something i already resolved. :(
[06:32:41]<bgm>hrm, this is a production-ish box, not running hostmaster-dev/git, I would need to find the patch
[06:32:49]<bgm>but kind of chasing 101 issues right now :)
[06:33:19]<colan>bgm: np, will try on my dev server.
[06:33:24]<colan>...and here's why: https://stackoverflow.com/questions/7928707/why-does-php-not-throw-an-er...
[06:33:48]<colan>i didn't bother remembering because i assumed an error would get thrown.
[06:34:44]<bgm>heh
[06:35:01]<colan>anyway, thanks for helping me connect the dots. :)
[06:35:05]<bgm>strong typing on objects, but no enforcement of parameters..
[06:35:31]<bgm>np, sorry I can't debug further for now. really hoping to get civicrm folks to adopt aegir
[06:35:31]<colan>yeah, totally forgot about the arbitrary length of arg lists.
[06:36:08]<colan>bgm: good luck, sounds worthwhile.
[06:37:11]<bgm>we have lots of partner-shops giving a hand in the theming, and everytime it's way too complicated to onboard them.
[06:37:42]<bgm>now they'll each have their dev site on our dev VM, remote-import/clone, etc :)
[06:59:57]* christefano has quit (Ping timeout: 240 seconds)
[07:10:08]<colan>bgm: the hosting patch makes things a lot better, but i still occasionally get the views error. drush rr fixes it though.
[07:10:33]<colan>"Invalid argument supplied for foreach() views.module:103"
[07:10:48]<bgm>is hosting_https altering views?
[07:11:12]<colan>shouldn't be, but could still be related to hosting_get_servers()
[07:11:26]<colan>i don't know.
[07:11:56]<colan>happens on a cache clear
[07:16:29]* noecc has left #aegir ("pax")
[07:20:22]<colan>if i do 2 in a row, i get it on the second one.
[07:31:11]<bgm>weird, not really seeing this here
[07:32:01]<bgm>although didn't really do much in that area for now. hosting_https is enabled, and enabled on a 'server' node, but no site cert generated yet (waiting for the DNS to update)
[07:32:13]<bgm>but finally got civicrm to install, found a bug :)
[07:42:58]<colan>bgm: good point. care to review+merge https://gitlab.com/aegir/hosting_https/merge_requests/10 for me?
[07:44:27]<bgm>just the readme? done
[07:45:02]<colan>thanks. yep, just wanted to make it clear in the instructions.
[07:51:59]<bgm>ideally we should change the help text in hosting_https/hosting_https.nodeapi.inc ?
[07:56:33]<colan>bgm: go for it.
[07:57:34]<colan>yes, we should try to keep that stuff up-to-date.
[07:59:41]* shaneonabike1 has quit (Quit: Leaving.)
[08:07:41]<bgm>colan: https://gitlab.com/aegir/hosting_https/merge_requests/11 :)
[08:08:35]<bgm>result: https://www.bidon.ca/files/tmp/hosting_https_help.jpg
[08:12:43]* ybabel has quit (Quit: ybabel)
[08:14:30]<gusaus>anyone know whta this is all about? https://twitter.com/Dries/status/804011023124434944
[08:14:30]<hefring>gusaus: 6 hours 1 min ago <ergonlog1c> tell gusaus Interesting, but I think Robert is confusing an e-commerce front-end with the hosted SaaS distribution. While building the latter in Drupal makes all kinds of sense, doing so with the former, while feasible, is a completely separate issue. We've seen all kinds of alternatives in the Aegir-based SaaS space.
[08:19:36]<bgm>presumably yet another "free kittens" type of install
[08:20:03]<bgm>install & forget (until the VM starts mining bitcoins)
[08:21:16]<gusaus>wonder if that will be a 1 click install for distributions too?
[08:24:43]<gusaus>ergonlog1c: I’m obviously looking forward to testing the waters in the Aegir-based SaaS space. Also sending contributions/contributors back to the project :)
[08:34:07]<ergonlog1c>gusaus: lightsail looks like AWS competing for the low-end VM market (along the lines of Linode or Digital Ocean)
[08:36:39]<bgm>or bitnami / google-cloud
[08:37:09]<ergonlog1c>well, basically, how everyone else sells VMs
[08:38:15]<gusaus>do any of these have 1-click distro installs in addition to drupal
[08:40:09]<ergonlog1c>well, as bgm hinted at earlier, it's not spinning up an instance or deploying an app on it that's the real challenge. It's managing through its entire lifecycle.
[08:41:46]<gusaus>right