IRC logs for #aegir, 2017-07-08 (GMT)

2017-07-07
2017-07-09
TimeNickMessage
[12:45:13]* gusaus has quit (Quit: gusaus)
[15:51:01]* realityloop has joined #aegir
[17:44:43]* realityloop has quit (Quit: Leaving..)
[02:22:41]* mengi has quit (Read error: Connection reset by peer)
[08:16:12]* g33kg1rl has joined #aegir
[08:16:55]<g33kg1rl>Hi, hola, kon'nichiwa!
[08:17:22]<g33kg1rl>Looking for some assistance with inserting charset and collation into the local.settings.php file as per --> https://www.drupal.org/project/utf8mb4_convert
[08:17:49]<g33kg1rl>Can't update the settings.php template to include the values since some of the websites on the server can't use utf8 yet.
[08:17:58]<g33kg1rl>So looking at the local.settings.php file.
[08:18:03]<g33kg1rl>Any pointers? :)
[08:38:14]<viashimo>I think it'd be easier to write it into the settings.php instead. I'm not sure off hand if the aegir touches the local.settings.php at all, other than having a conditional include for it in settings.php
[09:02:23]<g33kg1rl>thanks for the reply viashimo I tried writing it into the settings.php file, and on provision-verify the changes were wiped out
[09:04:06]<g33kg1rl>Since I am adding these settings site by site as I convert them to UTF-8, I figured local.settings.php would be a good idea. There are at least 20 websites that cannot have the settings added so I can't edit the template
[09:04:48]<g33kg1rl>I'm trying to add " 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_general_ci',"
[09:05:06]<g33kg1rl>It's suppose to be under "$databases['default']['default'] = array(" in the settings.php file
[09:47:45]<viashimo>g33kg1rl: that's right, so the change should be made at a level where aegir writes it into settings.php rather than doing it yourself
[09:47:51]<viashimo>the docs on that: https://aegir.readthedocs.io/en/3.x/extend/altering-behaviours/#injectin...
[09:48:39]<viashimo>g33kg1rl: if all your sites should be changed, maybe the global.inc is more appropriate