I'm a beginner using Sugar 7.x and need to use the CLI to run a quick repair and rebuild. Any advice?
I'm a beginner using Sugar 7.x and need to use the CLI to run a quick repair and rebuild. Any advice?
Hello Marc Salo,
I have attached the repair.php file with this reply.
You need to put this file in the root of your sugar instance.
Then from cli,
cd /path_of_your_crm/
php -f repair.php
Try using the version that is posted at https://developer.sugarcrm.com/2013/08/23/yet-another-script-for-doing-quick-rebuild-and-repair/
Try using the version that is posted at https://developer.sugarcrm.com/2013/08/23/yet-another-script-for-doing-quick-rebuild-and-repair/
My script is from this source only, but with own modification into it.
I executed that script on version 8 but I was unable to login after that. I had to manually clear cache folder