How to bulk-update the commit hooks for all SVN-Repos after update 4.28.0 --> 5.0.3?

Hi,

after upgrading my migrated new docker installation from 4.28.0 to 5.0.3 I found that no SVN commit worked. Tortoise gave an error message regarding “… was blocked by pre-commit hook”.

I found that the solution is to go to “Repository Settings” → “Advanced” and to perform the “Update Hooks” action (the update from 4.28.0 to 5.0.3 was shown here).

Is there any command / bulk action to do this for all repos? Or do I need to do this manually for each existing repo?

Hi,

yes the step 12 from the migration docs Run full remap & rescan
rebuilds all hooks.

Did you run this, and hooks were still not updated ?

Hi,

this works but is needed after each update. What about running this automatically after a Rhodecode update was performed?

Hi Netmax, since 5.1.0 this should happen automatically after update!

Sorry, negative.
Did the update from 5.1.1 to 5.1.2 yesterday and all SVN hooks were at 5.1.1 afterwards. Needed to run the remap/rescan.