After installing a new CiviCRM site, I always need to edit and save the site node (without making any changes), in order to:

  1. generate a CiviCRM site API key (so that civi cron works); and
  2. fix permissions/ownership of CiviCRM directories.

It'd be nice to run these steps automatically, as part of the install process.

Comments

ergonlogic created an issue. See original summary.

ergonlogic’s picture

Issue summary: View changes
bgm’s picture

I agree, this is pretty annoying. If you can submit a patch, it would be a nice improvement.

ergonlogic’s picture

Assigned: Unassigned » ergonlogic

I've begun working on this over in NDI's fork: https://github.com/nditech/hosting_civicrm/tree/dev/2844984

  • ergonlogic authored d49f8af on 7.x-3.x
    Issue #2844984: Trigger verify in the front-end after installing a...
  • bgm authored feeb75e on 7.x-3.x
    Merge pull request #13 from nditech/dev/2844984
    
    Issue #2844984: Run a...
joegl’s picture

Are there any updates on this? Sorry to be posting in a few issues, but we're still trying to fix a problem where verifying in AEGIR results in broken directory permissions and takes the entire site down until they're fixed. It seems to be a pretty common problem judging by all the issues here related to AEGIR's verify functionality, but I don't see any accepted fixes. I will contribute what I can! Thanks.

bgm’s picture

Please do post, feedback is always welcomed :)

I did a quick test and this seems to be working correctly (post-install verify).

I feel like the issue you are running into is: #2972031: Regression: template_c must be setguid.

joegl’s picture

bgm thank you for both your replies! I will check the linked thread.