Question: When upgrading an extension from the UI on Site A it will update the files and run the update hook. How do I manually execute the update hook for the extension on the other Site B, C, etc?
The extension directory on our server is shared between all the sites. This means that when I "upgrade" an extension on Site A the files will be updated for all the sites. However, the "update" hook is only executed on Site A. The result is that the extension files are up-to-date for ALL sites and CiviCRM perceives that Site B, C, etc no longer need to update the extension. This means that I cannot execute any update functions. Is there a way to manually trigger the update function?
- CiviCRM 5.8
- Drupal 7
- Each of our sites has a separate database (they are not shared).
- Each site is configured in drupal_root/sites/subdomain.domain.org
- Extensions are installed in a directory shared by all sites (drupal_root/CustomExtensions).