When I started as a Sugar developer there were not many tools to utilize with development. Over time, community members have created some really helpful tools.
Command Line | Quick Repair and Rebuild (QRR)
While you are in the process of configuration and customization of Sugar, you’ll find that you will need to perform Quick Repair and Rebuild (i.e., QRR) fairly frequently. Over the years, there have been multiple QRR repair tools. I created the original repair.php in 2008 and posted it as a GitHub Gist and discussed and shared it at SugarCon.
Several years later, Enrico Simonetti improved upon my original code with an updated version, repair.php.
Charles Hicks once again improved upon Enrico’s version with a more refined version repair.php
However, not to be outdone, both Enrico and I have updated versions 😂.
Enrico’s latest version is an entire set of tools. Head on over to GitHub and download toothpaste or download it via composer
composer require esimonetti/toothpaste dev-master
Personally, I have a copy of Charles Hicks’ repair.php in my path as /usr/local/bin/sugar_repair
.
Additionally, I have added the QRR functionality into SugarCRM Console which you can execute using
bin/sugarcrm admin:qrr
or
bin/sugarcrm admin:qrr true
Download MLP for the Sugar Console QRR MLP from the builds directory at https://github.com/bickart/sugarconsoleqrr.
Once installed; you will have an additional admin option within the console.
Have some other Command Line Tools to share?
Profile Menu Bar
While you are in the process of configuration and customization of Sugar, you’ll find that you will need to get to Quick Repair and Rebuild (i.e., QRR), Studio, or the other Repair options frequently. However, it is too many clicks to get there. There is a Module Loadable Package (MLP) that will add additional menu items.
Download the Module Loadable Package for the Profile Menu from the builds directory at https://github.com/bickart/sugardevelopermenu.
Love Enrico toothpaste tool (and the name) and comes very handy. Thanks for sharing the idea of integrating your own stuff like QRR into SugarCRM console tool. We implemented our own console tool to perform all the repair and other stuff for one of the customer in past.
Since the inclusion of 'Sweet Spot Search' in SugarCRM, I think we don't need any extra functionality like Profile Menu. You can do QRR or go to any module/record using that feature in just one click. I believe it's one of the hidden gem in SugarCRM which most of the people don't know or talk about it. It can be your next blog post to tell the users about this sweet feature :)