Tip for forcing rebuild from command line (CLI)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • telecastg
    Active Community Member
    • Jun 2018
    • 907

    Tip for forcing rebuild from command line (CLI)

    I recently had a situation where I needed to clear cache and rebuild my application because of a code error but I was locked out of the application and could not sign in again to rebuild as usual.

    Before I would have had to uninstall the expo instance and re-install a fresh version and mount all the extensions and add the custom changes, but I found out that you can run the clear cache and rebuild script directly from CLI with the following command:
    Code:
    php rebuild.php
    and I was able to continue debugging without any delays.

    Hope this helps someone else.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    This has been in the troubleshooting article quite a while. https://github.com/espocrm/documenta...build-from-cli
    Last edited by yuri; 04-21-2020, 05:47 AM.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...