Closed geerlingguy closed 4 years ago
Also updating simple sitemap and gin.
During deploy I got a fail on post-deployment tasks due to file permissions:
TASK [Run post-deployment tasks after codebase is updated.] ************************************************************
changed: [midwesternmac.com] => (item=drush cache:clear drush)
failed: [midwesternmac.com] (item=drush cache:rebuild) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vendor/bin/drush", "cache:rebuild"], "delta": "0:00:00.516838", "end": "2020-06-17 14:22:58.972110", "item": "drush cache:rebuild", "msg": "non-zero return code", "rc": 1, "start": "2020-06-17 14:22:58.455272", "stderr": " [warning] unlink(/home/geerlingguy/domains/drupal8/web/sites/default/files/css/css_3cTHBNsCFGM6hRlFzx4FJmZPF2hv3ItXQtEBMS3BXW0.css.gz): Permission denied FileSystem.php:124\n\nIn FileSystem.php line 340:\n \n Failed to unlink file 'public://css/css_3cTHBNsCFGM6hRlFzx4FJmZPF2hv3ItXQtE \n BMS3BXW0.css.gz'. \n \n\ncache:rebuild [--cache-clear [CACHE-CLEAR]] [--no-cache-clear] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify] [--xh-link XH-LINK] [--druplicon] [--] <command>", "stderr_lines": [" [warning] unlink(/home/geerlingguy/domains/drupal8/web/sites/default/files/css/css_3cTHBNsCFGM6hRlFzx4FJmZPF2hv3ItXQtEBMS3BXW0.css.gz): Permission denied FileSystem.php:124", "", "In FileSystem.php line 340:", " ", " Failed to unlink file 'public://css/css_3cTHBNsCFGM6hRlFzx4FJmZPF2hv3ItXQtE ", " BMS3BXW0.css.gz'. ", " ", "", "cache:rebuild [--cache-clear [CACHE-CLEAR]] [--no-cache-clear] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-d|--debug] [-y|--yes] [--no] [--remote-host REMOTE-HOST] [--remote-user REMOTE-USER] [-r|--root ROOT] [-l|--uri URI] [--simulate] [--pipe] [-D|--define DEFINE] [--notify] [--xh-link XH-LINK] [--druplicon] [--] <command>"], "stdout": "", "stdout_lines": []}
changed: [midwesternmac.com] => (item=drush config:import)
changed: [midwesternmac.com] => (item=drush updatedb)
If it happens again I may need to work on making that more robust.
There are a few different security fixes in this one :(