3

When I update my civi extension simply by changing the codebase to the most recent version (because the most recent version is not showing up in the config options), my extension is broken.

I updated "nz.co.fuzion.omnipaymultiprocessor" from 1.7 to 2.2

Probably because some database changes required in the new version?

I'm wondering if there is database update script like the drupal update.php equivalent?

3 Answers 3

7

The equivalent would be any of these:

  • Navigate to civicrm/admin/extensions/upgrade?reset=1
  • Navigate to "System Status" or "Manage Extensions". Those pages will link to the above.
  • On CLI, run cv ext:upgrade-db (Download cv from https://github.com/civicrm/cv)
1
1

Try running https://{yoursite}/civicrm/clearcache and then go to Administer->System Status. You should be prompted if there are extension db updates. If that does not work try disable/re-enable the extension.

2
  • Could you specify the path for the system status please?
    – stijndmd
    Commented Sep 6, 2017 at 13:55
  • 1
    In the default menu, the link is actually in Administer => Administration Console => System Status (or you can find it in the footer). The link should be roughly /civicrm/a/#/status (with adjustments on on CMS). For cache-clearing, see also docs.civicrm.org/dev/en/latest/tools/debugging/…
    – Tim Otten
    Commented Sep 6, 2017 at 16:15
1

drush cvupdb will run the database upgrade for civi

1
  • (well it does for us, but maybe we have some special sauce that i don't know about)
    – petednz - fuzion
    Commented Sep 6, 2017 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.