1

I'm running Civi 5.19.alpha1 with Drupal locally. I have CiviVolunteer 4.7.31-2.3.1, which is the latest release listed on GitHub, from June 2018.

I want to update to the latest stuff in the repo, which I believe fixes a bug.

I don't see a way to do that in the Admin UI.

I've tried

git pull https://github.com/civicrm/org.civicrm.volunteer.git

from my ext directory at

~/buildkit/build/drupal-clean/web/sites/default/files/civicrm/ext

and I get

fatal: refusing to merge unrelated histories.

  • What is the output of git remote -v? – Demerit Oct 7 at 13:04
  • Oh yeah :) . So I did not have a remote. I did this: git remote add -m -f civivolunteer https://github.com/civicrm/org.civicrm.volunteer.git then this - git fetch civivolunteer then I get this: warning: no common commits remote: Enumerating objects: 6, done. remote: Counting objects: 100% (6/6), done. remote: Compressing objects: 100% (6/6), done. remote: Total 11179 (delta 0), reused 6 (delta 0), pack-reused 11173 Receiving objects: 100% (11179/11179), 2.99 MiB | 591.00 KiB/s, done. Resolving deltas: 100% (5911/5911), done. From https://github.com/civicrm/org.civicrm.volu... etc – Joe McLaughlin Oct 7 at 18:36
2

You will need to

  • Go into your extension dir and remove the civivolunteer code that was installed with your buildkit.

    Then git clone their master (to get the latest).

    Then go to the Manage Extensions page to check if there are any prompts for database updates.

    Then disable a small other extension and re-enable it. Or just enable another new extension via the Manage Extensions page. This will trigger managed entity updates.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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