| [10:46:10] | * erortiz has joined #aegir |
| [10:56:08] | * tommycox has joined #aegir |
| [11:01:01] | * tommycox has quit (Ping timeout: 252 seconds) |
| [11:10:29] | * dsnopek has quit (Ping timeout: 260 seconds) |
| [11:10:58] | * jonpugh has quit (Ping timeout: 255 seconds) |
| [11:21:33] | * dsnopek has joined #aegir |
| [11:24:09] | * jonpugh has joined #aegir |
| [11:31:08] | * tbot_ has joined #aegir |
| [11:32:27] | <tbot_> | new to aegir, is there a tutorial on installing for OSX? |
| [11:44:32] | * erortiz has quit (Ping timeout: 240 seconds) |
| [11:57:18] | * tommycox has joined #aegir |
| [12:02:12] | * tommycox has quit (Ping timeout: 240 seconds) |
| [12:06:43] | <ergonlogic> | Captain_Haddock: iirc, 16.04 ships w/ PHP7, which wasn't yet fully supported by either Drupal or Drush, the last time that I looked |
| [12:07:27] | <ergonlogic> | .content-area article .meta-post a { color: #ea8f96; |
| [12:07:35] | <ergonlogic> | sigh... |
| [12:07:40] | <ergonlogic> | https://www.drupal.org/node/2704303 |
| [12:07:41] | <hefring> | https://www.drupal.org/node/2704303 => META: PHP 7 Support [#2704303] => 12 comments, 2 IRC mentions |
| [12:24:58] | * jerryitt has joined #aegir |
| [12:58:47] | * tommycox has joined #aegir |
| [13:03:34] | * tommycox has quit (Ping timeout: 244 seconds) |
| [13:33:03] | * tommycox has joined #aegir |
| [13:37:12] | * tommycox has quit (Ping timeout: 240 seconds) |
| [14:33:50] | * tommycox has joined #aegir |
| [14:38:16] | * tommycox has quit (Ping timeout: 252 seconds) |
| [14:47:55] | * jerryitt has quit (Quit: Connection closed for inactivity) |
| [15:34:42] | * tommycox has joined #aegir |
| [15:39:36] | * tommycox has quit (Ping timeout: 244 seconds) |
| [15:54:11] | * tbot_ has quit (Remote host closed the connection) |
| [16:36:14] | * tommycox has joined #aegir |
| [16:40:34] | * tommycox has quit (Ping timeout: 244 seconds) |
| [16:42:09] | * zz_kvanderw has quit (Ping timeout: 265 seconds) |
| [16:42:43] | * zz_drakythe has quit (Ping timeout: 265 seconds) |
| [16:48:51] | * zz_drakythe has joined #aegir |
| [16:49:12] | * zz_drakythe is now known as drakythe |
| [16:49:22] | * zz_kvanderw has joined #aegir |
| [16:49:41] | * zz_kvanderw is now known as kvanderw |
| [17:37:18] | * tommycox has joined #aegir |
| [17:40:31] | * ybabel has joined #aegir |
| [17:41:32] | * tommycox has quit (Ping timeout: 240 seconds) |
| [17:49:44] | * Captain_Hadd0ck has joined #aegir |
| [17:50:04] | * Captain_Haddock has quit (Ping timeout: 260 seconds) |
| [18:16:04] | * boshtian has joined #aegir |
| [18:34:53] | * gandhiano has joined #aegir |
| [18:38:29] | * tommycox has joined #aegir |
| [18:43:34] | * tommycox has quit (Ping timeout: 252 seconds) |
| [19:05:58] | * tommycox has joined #aegir |
| [19:10:24] | * tommycox has quit (Ping timeout: 244 seconds) |
| [19:51:37] | * gandhiano has quit (Ping timeout: 265 seconds) |
| [20:06:56] | * tommycox has joined #aegir |
| [20:11:53] | * tommycox has quit (Ping timeout: 244 seconds) |
| [21:08:16] | * tommycox has joined #aegir |
| [21:13:10] | * tommycox has quit (Ping timeout: 252 seconds) |
| [21:22:59] | * Captain_Hadd0ck is now known as Captain_Haddock |
| [21:23:55] | * Captain_Haddock has quit (Changing host) |
| [21:23:55] | * Captain_Haddock has joined #aegir |
| [21:28:29] | <Captain_Haddock> | ergonlogic: Thanks. I'll try with php 5.x. |
| [21:28:39] | <Captain_Haddock> | viashimo: I'll have a look. Thanks :) |
| [22:05:50] | * jerryitt has joined #aegir |
| [22:09:51] | * tommycox has joined #aegir |
| [22:14:32] | * tommycox has quit (Ping timeout: 240 seconds) |
| [22:25:39] | * erortiz has joined #aegir |
| [23:11:16] | * tommycox has joined #aegir |
| [23:15:12] | * tommycox has quit (Ping timeout: 240 seconds) |
| [23:44:54] | * erortiz has quit (Ping timeout: 244 seconds) |
| [23:45:01] | * erortiz_ has joined #aegir |
| [23:53:22] | * erortiz_ has quit (Ping timeout: 258 seconds) |
| [23:57:03] | * gandhiano has joined #aegir |
| [00:11:22] | * erortiz_ has joined #aegir |
| [00:12:44] | * tommycox has joined #aegir |
| [00:17:59] | * boshtian has left #aegir () |
| [00:18:49] | * erortiz has joined #aegir |
| [00:18:52] | * tommycox has quit (Ping timeout: 240 seconds) |
| [00:18:59] | * erortiz_ has quit (Ping timeout: 265 seconds) |
| [01:13:20] | * gandhiano has quit (Remote host closed the connection) |
| [01:16:14] | * tommycox has joined #aegir |
| [01:20:32] | * tommycox has quit (Ping timeout: 240 seconds) |
| [01:28:52] | * theMusician has joined #aegir |
| [01:42:41] | * shaneonabike1 has joined #aegir |
| [01:51:20] | * gandhiano has joined #aegir |
| [02:07:45] | * gandhiano has quit (Ping timeout: 276 seconds) |
| [02:17:15] | * tommycox has joined #aegir |
| [02:22:16] | * tommycox has quit (Ping timeout: 252 seconds) |
| [02:31:16] | * gandhiano has joined #aegir |
| [02:57:18] | * colan has joined #aegir |
| [03:18:39] | * tommycox has joined #aegir |
| [03:21:28] | * colan has quit (Remote host closed the connection) |
| [03:22:17] | * colan has joined #aegir |
| [03:23:52] | * tommycox has quit (Ping timeout: 252 seconds) |
| [03:34:29] | * shaneonabike1 has quit (Quit: Leaving.) |
| [03:34:55] | * shaneonabike1 has joined #aegir |
| [03:45:09] | * gandhiano has quit (Ping timeout: 244 seconds) |
| [03:45:55] | * theMusician has quit (Quit: theMusician) |
| [03:47:17] | * theMusician has joined #aegir |
| [03:52:07] | <Captain_Haddock> | ergonlogic: FYI, it didn't work with php 5 either (same error). But I switched over to Debian 8 and all's well |
| [03:52:08] | <Captain_Haddock> | Thanks. |
| [04:20:11] | * tommycox has joined #aegir |
| [04:24:58] | * gandhiano has joined #aegir |
| [04:25:18] | * tommycox has quit (Ping timeout: 244 seconds) |
| [04:38:22] | * shaneonabike1 has quit (Quit: Leaving.) |
| [04:41:29] | * gandhiano has quit (Ping timeout: 250 seconds) |
| [04:42:31] | * zombiebeard has joined #aegir |
| [04:46:21] | * zombiebeard has quit (Client Quit) |
| [05:06:13] | * theMusician has quit (Quit: theMusician) |
| [05:21:47] | * tommycox has joined #aegir |
| [05:26:47] | * tommycox has quit (Ping timeout: 244 seconds) |
| [05:28:22] | * boshtian has joined #aegir |
| [05:34:33] | * ybabel has quit (Quit: ybabel) |
| [05:37:00] | <ergonlogic> | bgm: ping. Got a few minutes to discuss fixing perms for civi? |
| [05:57:36] | * theMusician has joined #aegir |
| [06:03:17] | <bgm> | ergonlogic: sure |
| [06:14:19] | <ergonlogic> | bgm: hi. I've been reviewing https://www.drupal.org/node/2679048 and related |
| [06:14:20] | <hefring> | https://www.drupal.org/node/2679048 => Warnings on chmod/chgrp of non-existent directories [#2679048] => 8 comments, 2 IRC mentions |
| [06:14:56] | <ergonlogic> | I'm still seeing chgrp and other warnings regularly, even on 3.7 |
| [06:15:34] | <ergonlogic> | confirming now ehter they're of the same nature |
| [06:18:04] | <bgm> | ergonlogic: i see those warnings all the time, but imho without something with sudo, not much we can do? |
| [06:18:46] | <ergonlogic> | right. sudo, or don't try to chmod/chgrp them |
| [06:18:48] | <bgm> | ah um, forgot that there were some "stat failed" in there. is this only when doing a remote-import? |
| [06:19:01] | <bgm> | ideally if they don't exist, we should create them? |
| [06:19:03] | <ergonlogic> | no, this is just a verify |
| [06:19:21] | <ergonlogic> | I'm starting a fresh issue for this |
| [06:19:28] | <bgm> | ok |
| [06:19:37] | <ergonlogic> | since the other was entangled with upgrades, etc. |
| [06:20:06] | <bgm> | for what it's worth, you might be interested in: https://www.drupal.org/node/2734933 |
| [06:20:06] | <hefring> | https://www.drupal.org/node/2734933 => CIVICRM_UPGRADE_ACTIVE true fails on AEgir tasks [#2734933] => 2 comments, 1 IRC mention |
| [06:20:35] | <bgm> | I need to do more testing, but it's a "big" change that needs testing. (it's just a few lines of code, but hard to measure the impact) |
| [06:21:06] | <ergonlogic> | yeah, I looked at that |
| [06:21:17] | <ergonlogic> | I don't really have an opinion though... |
| [06:22:25] | <bgm> | ok, np, mostly a heads up on the incoming chage |
| [06:22:27] | <bgm> | change* |
| [06:22:54] | * tommycox has joined #aegir |
| [06:22:55] | <ergonlogic> | thanks. I'll keep an eye out for anything that might be the result of that |
| [06:26:12] | <ergonlogic> | bgm: ok, posted the issue |
| [06:26:52] | <ergonlogic> | this is becoming a real problem, because I get these false positive warnings on just about any operation on the 100+ civi sites we're hosting |
| [06:27:22] | <ergonlogic> | if there's anything actually relevant to a bug or something, I'd never see it through all that noise |
| [06:27:58] | <ergonlogic> | now, if I understand correctly, these are being generated by CiviCRM |
| [06:28:07] | * tommycox has quit (Ping timeout: 252 seconds) |
| [06:28:33] | <ergonlogic> | which is why the file ownership isn't aegir:www-data, but www-data:www-data |
| [06:28:52] | <ergonlogic> | but we see the same thing with files uploaded by Drupal |
| [06:29:04] | <ergonlogic> | and we just ignore most of what's under files/ iirc |
| [06:29:12] | <ergonlogic> | I might be wrong about that... |
| [06:29:38] | <bgm> | fwiw, there is a problem that sometimes occurs when drush crons run before the website had the time to create the folder |
| [06:29:45] | <ergonlogic> | but, to what extent do we actually need to chmod/chown/chgrp these files? |
| [06:29:46] | <bgm> | because the files get created as aegir.aegir |
| [06:29:50] | <bgm> | ex: ConfigAndLog |
| [06:30:04] | <ergonlogic> | ah, ok |
| [06:30:15] | <bgm> | yeah, ConfigAndLog and template_c, the cron might write in them |
| [06:30:21] | <bgm> | so they need to be chgrp'd |
| [06:30:24] | <ergonlogic> | so we need to chown them to www-data, and not the other way around? |
| [06:31:02] | <bgm> | i forget which, but either way, those files may get created by either www-data or by aegir, and the other must be able to write in them as well |
| [06:31:31] | <ergonlogic> | because sometimes we're running drush commands as aegir? |
| [06:31:38] | <bgm> | yep, cron such as civimail |
| [06:31:49] | <ergonlogic> | hmm |
| [06:32:00] | <bgm> | (or reports, and probably a few others.. even a payment processor might want to log stuff) |
| [06:32:07] | <ergonlogic> | so, some of these are caches, right? |
| [06:32:28] | <bgm> | in an ideal world, we could disable the template_c cache, and logs should be forwarded to a real logging service... |
| [06:32:29] | * boshtian has quit (Quit: boshtian) |
| [06:32:53] | <bgm> | template_c is cache (smarty, which is like twig), and ConfigAndLog, well, mostly just logging |
| [06:33:08] | <ergonlogic> | logs don't go under template_c though, right? |
| [06:33:27] | <bgm> | correct |
| [06:33:48] | <ergonlogic> | I mean, on verify tasks, we clear the civi cache after failing all those chgrps |
| [06:33:57] | <ergonlogic> | maybe we could move the cc earlier |
| [06:34:12] | <ergonlogic> | and blow away some of those files/dirs before they cause problems? |
| [06:35:34] | <bgm> | maybe, but there could be cases where the permissions are not set correctly, so the cache flush will fail? |
| [06:36:47] | <ergonlogic> | so, setuid/setgid don't work here? |
| [06:37:23] | <ergonlogic> | I guess because they're all subdirs |
| [06:38:48] | <bgm> | are those chmods recursive? is that what the 3rd arg is? |
| [06:39:04] | <bgm> | i.e. provision_file()->chgrp($fullpath, d('@server_master')->web_group, TRUE) |
| [06:39:05] | <ergonlogic> | which function(s) are you looking at? |
| [06:39:15] | <ergonlogic> | ah. yeas, I believe so |
| [06:39:21] | <bgm> | in _provision_civicrm_fixpermissions() |
| [06:39:44] | <ergonlogic> | http://api.aegirproject.org/api/Provision/Provision!FileSystem.php/funct... |
| [06:39:53] | <bgm> | I guess it's wishful thinking that those chmods/grps will work.. |
| [06:40:00] | <bgm> | but imho we need a sudo fix :/ |
| [06:40:27] | <ergonlogic> | so... there's another possible fix that might avoid sudo |
| [06:40:39] | <ergonlogic> | which is to copy/delete/move |
| [06:41:40] | <ergonlogic> | basically replace the existing file with a properly owner copy that we then paste over the original |
| [06:41:50] | <bgm> | i'm not sure I follow, but some of those directories can grow big |
| [06:41:50] | <ergonlogic> | s/paste/move |
| [06:42:14] | <ergonlogic> | yeah, it'd have to operate on the leaves, I guess |
| [06:42:23] | <ergonlogic> | but the dirs would be problematic |
| [06:42:55] | <ergonlogic> | ok, so we'd talked about having a script that could be safely added to aegir's sudo... |
| [06:43:45] | <ergonlogic> | https://www.drupal.org/node/2616426 |
| [06:43:46] | <hefring> | https://www.drupal.org/node/2616426 => Add 'fix permissions' task [#2616426] => 17 comments, 1 IRC mention |
| [06:44:17] | <bgm> | yep |
| [06:49:42] | <ergonlogic> | ok, so that issue has gone in the direction of a script that fixes an entire platform |
| [06:50:12] | <ergonlogic> | I was thinking more along the lines of something that would be called on an individual file/directory |
| [06:50:24] | * colan_ has joined #aegir |
| [06:50:31] | * colan_ has quit (Client Quit) |
| [06:51:09] | <ergonlogic> | basically, as a fall-back when aegir's attempt to fix the perms (or whatever) have already failedv |
| [06:56:17] | <Captain_Haddock> | Anyone know how hosting_remote_import handles sites with remote database servers? |
| [06:56:55] | <Captain_Haddock> | Will it retain that setting or perhaps ask me what to do? |
| [06:57:51] | <ergonlogic> | Captain_Haddock: remote_import take a backup of the site, and rsyncs it to where it needs to be. If you have multiple db servers, then it should give you the option of deploying the db to one of those. |
| [06:58:31] | <ergonlogic> | but the Aegir where you're importing to has to know about the db server |
| [06:59:15] | <Captain_Haddock> | ergonlogic: Makes sense. Thanks. |
| [07:01:16] | <ergonlogic> | bgm: so, re. the sudo option... |
| [07:01:32] | <ergonlogic> | is there any reason aegir would need to sudo root? |
| [07:01:57] | <ergonlogic> | couldn't we sudo to www-data to then chown to aegir? |
| [07:02:23] | <bgm> | i'm not sure that's possible, is it? |
| [07:02:37] | <ergonlogic> | what isn't? |
| [07:02:51] | <bgm> | for a user to chown their files |
| [07:03:34] | <viashimo> | i don't think you can give away your files |
| [07:03:39] | <bgm> | even chgrp is pretty limited for users (they can only chgrp to groups that they are a member of) |
| [07:04:22] | <viashimo> | we use scripts run as root (but they aren't part of the regular verify/etc.) |
| [07:05:35] | <bgm> | i have to afk for a bit, will be back later |
| [07:07:54] | <ergonlogic> | oh, right, CAP_CHOWN, and all that |
| [07:09:35] | * theMusician has quit (Quit: theMusician) |
| [07:25:24] | * tommycox has joined #aegir |
| [07:29:32] | * tommycox has quit (Ping timeout: 240 seconds) |
| [07:57:32] | * theMusician has joined #aegir |
| [08:01:04] | * erortiz has quit (Ping timeout: 252 seconds) |
| [08:02:52] | * theMusician has quit (Quit: theMusician) |
| [08:04:16] | * theMusician has joined #aegir |
| [08:26:18] | * tommycox has joined #aegir |
| [08:31:12] | * tommycox has quit (Ping timeout: 240 seconds) |
| [09:09:40] | * theMusician has quit (Quit: theMusician) |
| [09:27:49] | * tommycox has joined #aegir |
| [09:36:12] | * tommycox has quit (Ping timeout: 240 seconds) |
| [09:36:24] | * zombiebeard has joined #aegir |
| [09:38:44] | * tommycox has joined #aegir |
| [09:38:56] | * theMusician has joined #aegir |