Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.With the latest Aegir (3.4), Drush (8.0.3), Drupal (7.43) and CiviCRM (4.6.13), I get the following warnings on `verify` tasks:
CiviCRM: in _provision_civicrm_fixpermissions()
-
Changed permissions of /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/templates_c to 2770
-
Changed group ownership /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/templates_c to www-data
-
fileperms(): stat failed for /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/upload FileSystem.php:148
-
Could not change permissions /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/upload to 2770 (chmod to 2770 failed on /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/upload)
-
chgrp(): No such file or directory FileSystem.php:448
-
filegroup(): stat failed for /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/upload FileSystem.php:227
-
Could not change group ownership of /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/upload to www-data (chgrp to www-data failed on /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/upload)
-
fileperms(): stat failed for /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/persist FileSystem.php:148
-
Could not change permissions /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/persist to 2770 (chmod to 2770 failed on /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/persist)
-
chgrp(): No such file or directory FileSystem.php:448
-
filegroup(): stat failed for /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/persist FileSystem.php:227
-
Could not change group ownership of /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/persist to www-data (chgrp to www-data failed on /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/persist)
-
Changed permissions of /var/aegir/platforms/demtools-civicrm-20160225/sites/contact-type-debug.demcloud.org/files/civicrm/custom to 2770In fact, similar warnings are partially duplicated later as well.
It looks like we're trying to fix permissions on directories that have been deleted as part of a cache-clear, or something similar, but haven't been re-created yet. Also, we're ending up calling this code multiple times.
Patch forthcoming.










Comments
Comment #2
ergonlogicCommitted fix to the `dev/2679048` branch: http://cgit.drupalcode.org/hosting_civicrm/patch/?id=bb0779862d522f0f65c...
Comment #3
ergonlogicComment #4
ergonlogicI added a few more commits to that branch to:
With a recent upgrade to CiviCRM 4.6.14, I had to add the following:
This is obviously wrong, but was required to get the upgrades to complete. I believe these latter bits are due to one or more bugs in CiviCRM.
Comment #5
helmo CreditAttribution: helmo at Initfour websolutions commentedI noticed similar chmod/chgrp warnings on a new install, the dev/2679048 branch solves these.
After opening the civi dashboard I do still get this one:
I guess we should add a line for that:
Comment #6
bgm CreditAttribution: bgm at Coop SymbioTIC commentedThis issue may have some related bits: #2725501: CiviCRM 4.6 to 4.7: template_c/[locale] does not exist.
Comment #7
bgm CreditAttribution: bgm at Coop SymbioTIC commentedPatch has been merged in 7.x-3.x / Aegir 3.5.