Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
CiviCRM does not have permission to write temp files in /var/www/association.drupal.org/civicrm-files/templates_c/en_US/, ExitingDrush command terminated abnormally due to an unrecoverable error. [error]
Comments
Comment #1
coltrane+1 to this. Let me know if I can help at all. So far the output is minimal but if it's super helpful to expand it I can.
Here's output for one my D7 sites.
drush --nocolor secrev
(Edited to remove stderr redirection)
Comment #2
mlhess CreditAttribution: mlhess commentedDo we want to make this Jenkins job and run it once a (month?)
Michael
Comment #3
gregglesYes, sorry if that wasn't clear. I think every day.
Comment #4
gregglesGot a job setup with a few sites commented out: http://localhost:8080/job/secrev
Association fails with:
CiviCRM does not have permission to write temp files in /var/www/association.drupal.org/civicrm-files/templates_c/en_US/, ExitingDrush command terminated abnormally due to an unrecoverable error. [error]
The module is missing from:
* localize
* portland
* qa
* security.d.o (how embarrassing!)
I tried to enable it on security.d.o but there was some problem with deployment: http://localhost:8080/view/Security/job/deploy_security.drupal.org/65/co...
The job is set to mail coltrane and me and will run "H H * * *" (i.e. daily).
Right now there are a few false-positive failures.
Oddly enough it marks a build as succeeding even with an error like:
"Comments [error]"
I thought drush_print with an error would raise an error exit code. no?
Comment #5
drummAssociation drush often requires
sudo -u bender drush ...
to work around those permissions. This is not an issue for Jenkins because it is bender.The security deployment problem is a symptom of #2035815: Add infrastructure clone to Puppet. I fixed the permissions in the meantime.
Comment #6
gregglesCool, enabled association and security.d.o now and re-ran it and it seems to be working.
Comment #7
MixologicUpdating component
Comment #8
mlhess CreditAttribution: mlhess commented