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
For you reference see this blog post 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.
Lots of examples out there:
App Ecosystem @ SugarCRM
Thanks! Got it working!
Thanks. I hope "Repair" makes it into the official CLI client. I still can't believe a command-line repair is a 2nd class citizen.
I executed that script on version 8 but I was unable to login after that. I had to manually clear cache folder
Hi Hiren,
Where is the attachment? Can't find it.