We don't ship script to detect and correct things automatically, you should realise of the failure and fix it manually on the webinterface.
I still have to write those scripts, doing some kind of interim solution is not very complicated. Actually, we've seen some script from users in this forum.