drupal issueshttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues2022-03-21T23:00:09Zhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/15Script drupal-config leaves wrong permissions2022-03-21T23:00:09ZJürgen Haasjuergen.haas@lakedrops.comScript drupal-config leaves wrong permissionsOne of the scripts
- drupal-config
- jailkit-user
- drush-aliases
- fluentd-client
levaes other than the new jail with wrong permissions in the Drupal directories.One of the scripts
- drupal-config
- jailkit-user
- drush-aliases
- fluentd-client
levaes other than the new jail with wrong permissions in the Drupal directories.https://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/17Debug Module Live Stream2022-03-21T23:00:09ZJürgen Haasjuergen.haas@lakedrops.comDebug Module Live StreamHow about writing a module which provides easy dashboard for live debugging. It should be easy to turn on/off and provide live insight into several sources:
- Drupal Watchdog
- Syslog
- PHP error log
- Web server access log
- and maybe ...How about writing a module which provides easy dashboard for live debugging. It should be easy to turn on/off and provide live insight into several sources:
- Drupal Watchdog
- Syslog
- PHP error log
- Web server access log
- and maybe more
The log files could be streamed dynamically with something like https://www.npmjs.com/package/tail-streamhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/20Enable brotli compression2022-03-21T23:00:09ZJürgen Haasjuergen.haas@lakedrops.comEnable brotli compressionIn drupal, apache, varnish and haproxy if necessaryIn drupal, apache, varnish and haproxy if necessaryhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/24Optimize MySQL Performance2022-03-18T13:18:01ZJürgen Haasjuergen.haas@lakedrops.comOptimize MySQL PerformanceAccording to this [drupal.org issue](https://www.drupal.org/project/drupal/issues/2733675), MySQL performance can greatly be optimized when we add
```
$databases['default']['default']['init_commands']['tx_level'] = "SET TRANSACTION ISOL...According to this [drupal.org issue](https://www.drupal.org/project/drupal/issues/2733675), MySQL performance can greatly be optimized when we add
```
$databases['default']['default']['init_commands']['tx_level'] = "SET TRANSACTION ISOLATION LEVEL READ COMMITTED;";
```
to the settings.php file. We should add that to the default deployment with Ansible and also to the Docker4Drupal Composer plugin.Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/13LCache2022-03-07T13:33:01ZJürgen Haasjuergen.haas@lakedrops.comLCache@axelroth recommended LCache as a replacement or addition to Redis and memcached.
- https://www.drupal.org/project/lcache
- https://lcache.github.io/lcache/
- https://events.drupal.org/dublin2016/sessions/faster-and-more-scalable-memcac...@axelroth recommended LCache as a replacement or addition to Redis and memcached.
- https://www.drupal.org/project/lcache
- https://lcache.github.io/lcache/
- https://events.drupal.org/dublin2016/sessions/faster-and-more-scalable-memcacheredis-tiered-caching-lcachehttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/23Check drush deploy for pipeline2021-02-10T08:09:50ZJürgen Haasjuergen.haas@lakedrops.comCheck drush deploy for pipelineSee https://github.com/drush-ops/drush/pull/4359 for more details.See https://github.com/drush-ops/drush/pull/4359 for more details.Daniel SpeicherDaniel Speicherhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/22Update script can sometimes misinterpret up to date status2020-10-16T15:59:10ZEric ZillmannUpdate script can sometimes misinterpret up to date statusThe update script checks for the current branch.
The output can be different when there are multiple branches.
To address this the commit 7d5bfaea has been made.
Unfortunately this introduces a new problem:
The line `if [[ $OUTPUT == ...The update script checks for the current branch.
The output can be different when there are multiple branches.
To address this the commit 7d5bfaea has been made.
Unfortunately this introduces a new problem:
The line `if [[ $OUTPUT == *"$branch "*"pushes to $branch "*"(up to date)"* ]]; then` does not stop on newlines.
This means that if your branch is `branch1` and the output of `git remote show origin` is something like this
```
[...]
Local refs configured for 'git push':
branch1 pushes to branch1 (local out of date)
master pushes to master (up to date)
```
the update script will still report `branch1` as up to date.Eric ZillmannEric Zillmannhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/2Add SSL certificates in domain specific vhost.conf2019-11-15T16:45:06ZJürgen Haasjuergen.haas@lakedrops.comAdd SSL certificates in domain specific vhost.confOn the general apache vhost.conf files that already happens, but not yet on the domain specific ones.On the general apache vhost.conf files that already happens, but not yet on the domain specific ones.Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/1Create MySQL User also for extra dbs2019-10-14T08:05:22ZJürgen Haasjuergen.haas@lakedrops.comCreate MySQL User also for extra dbsThe task `Create MySQL User` works for default Drupal dbs but maybe we also have extra dbs, so there we need to do the same.The task `Create MySQL User` works for default Drupal dbs but maybe we also have extra dbs, so there we need to do the same.Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/21Prepare Drush 92018-02-10T11:38:50ZJürgen Haasjuergen.haas@lakedrops.comPrepare Drush 9So far we can use Drush 9 beta4 but before we can go to beta8 or later we need to
- replace global launcher from Compoer to the one in /usr/local/bin, see https://github.com/drush-ops/drush-launcher
- redefine aliases, also in conrtabsSo far we can use Drush 9 beta4 but before we can go to beta8 or later we need to
- replace global launcher from Compoer to the one in /usr/local/bin, see https://github.com/drush-ops/drush-launcher
- redefine aliases, also in conrtabsJürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/19Review htaccess for security2017-11-22T06:09:17ZJürgen Haasjuergen.haas@lakedrops.comReview htaccess for securityWe currently have this in the public file directory:
```
Options None
Options +FollowSymLinks
```
The security review is complaining about this and thinks that PHP code could be executed in this directory. It want's to change this into...We currently have this in the public file directory:
```
Options None
Options +FollowSymLinks
```
The security review is complaining about this and thinks that PHP code could be executed in this directory. It want's to change this into:
```
Options -Indexes -ExecCGI -Includes -MultiViews
```
I'm not sure if this is a Drupal thing or a security review module thing. Actually, I like the original syntax more.Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/18Dev Modules compatibility for Drush 92017-10-27T16:28:36ZJürgen Haasjuergen.haas@lakedrops.comDev Modules compatibility for Drush 9Writing global commands has changed, see http://docs.drush.org/en/master/commands/
Also, the Ansible deployment needs to be adjusted such that drupal_post_deploy_tasks call the correct commands and parameters.Writing global commands has changed, see http://docs.drush.org/en/master/commands/
Also, the Ansible deployment needs to be adjusted such that drupal_post_deploy_tasks call the correct commands and parameters.Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/16Module for Config Export2017-10-10T10:14:41ZJürgen Haasjuergen.haas@lakedrops.comModule for Config ExportWritten for a customer project, needs to be publishedWritten for a customer project, needs to be publishedJürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/14Apache config with options2017-09-08T13:59:44ZJürgen Haasjuergen.haas@lakedrops.comApache config with optionsWhen running the apache config and the domain has changed, we probably require new LetsEncrypt certs and we should be able to do that in one go.
Also, the Apache config should be possible to be limited to just one site.When running the apache config and the domain has changed, we probably require new LetsEncrypt certs and we should be able to do that in one go.
Also, the Apache config should be possible to be limited to just one site.Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/3Use explicit login credentials for MySQL db and user2017-04-12T19:03:29ZJürgen Haasjuergen.haas@lakedrops.comUse explicit login credentials for MySQL db and userEspecially if hostname or port is non default.
This is in install.yml for those tasks:
- "Ensure Database"
- "Create MySQL User"Especially if hostname or port is non default.
This is in install.yml for those tasks:
- "Ensure Database"
- "Create MySQL User"Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/4Optimize File Handling2017-04-12T19:03:29ZJürgen Haasjuergen.haas@lakedrops.comOptimize File HandlingThe task "Ensure File Directories" and subsequent should be pushed out top file.yml but that only works when nested includes start to support loops, see https://github.com/ansible/ansible/issues/14146
This should be coming with Ansibl...The task "Ensure File Directories" and subsequent should be pushed out top file.yml but that only works when nested includes start to support loops, see https://github.com/ansible/ansible/issues/14146
This should be coming with Ansible 2.1Jürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.comhttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/5Module browser refresh2017-04-12T19:03:29ZJürgen Haasjuergen.haas@lakedrops.comModule browser refreshDisable on live, enable on dev.Disable on live, enable on dev.https://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/6DB update2017-04-12T19:03:29ZJürgen Haasjuergen.haas@lakedrops.comDB updateAt the end of the deployment to liveAt the end of the deployment to livehttps://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/7Install and execute tools2017-04-12T19:03:29ZJürgen Haasjuergen.haas@lakedrops.comInstall and execute tools- npm install
- bower install
- gulp css
etc. Either configure those in the inventory or apply some magic to determine automatically what's required.- npm install
- bower install
- gulp css
etc. Either configure those in the inventory or apply some magic to determine automatically what's required.https://gitlab.lakedrops.com/ansible/roles/drupal/-/issues/8D8 Core Update2017-04-12T19:03:29ZJürgen Haasjuergen.haas@lakedrops.comD8 Core Update- Download tar
- Replace root files, core and vendor directory
- Update composer:
- drush dl composer_manager
- drush en -y composer_manager
- composer drupal-rebuild
- composer drupal-update
- Run DB update and rebuild cache- Download tar
- Replace root files, core and vendor directory
- Update composer:
- drush dl composer_manager
- drush en -y composer_manager
- composer drupal-rebuild
- composer drupal-update
- Run DB update and rebuild cacheJürgen Haasjuergen.haas@lakedrops.comJürgen Haasjuergen.haas@lakedrops.com