cli takes forever to update, no update happens

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Russ
    Senior Member
    • Feb 2022
    • 438

    cli takes forever to update, no update happens

    Hey guys, anyone had this issue? CLI update.



    [ec2-user@crm www]$ sudo php /web/crm.xxxxx.com/www/command.php upgrade

    Current version is 8.4.2.

    EspoCRM will be upgraded to version 9.0.0 now. Enter [Y] to continue.

    y

    This may take a while. Do not close the terminal.

    Downloading...

    Upgrading...

    Initialization...

    After 10 minutes, stopped manually

    ^C
  • Russ
    Senior Member
    • Feb 2022
    • 438

    #2
    update, one of the issues was with empty space, another issue was with time it takes to update, it may halt on table update (especially email).

    PLEASE MAKE DB backups before you're doing this update
    Last edited by Russ; 01-20-2025, 10:15 PM.

    Comment

    • Russ
      Senior Member
      • Feb 2022
      • 438

      #3
      Originally posted by Russ
      Hey guys, anyone had this issue? CLI update.



      After 10 minutes, stopped manually

      ^C
      This cost me 4 hours of work and I lost around 8 hours of updates in the system from last backup

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1429

        #4
        Upgrading - EspoCRM Documentation
        the first recommendation for upgrades is to make a backup

        Comment

        • Russ
          Senior Member
          • Feb 2022
          • 438

          #5
          Originally posted by emillod
          Upgrading - EspoCRM Documentation
          the first recommendation for upgrades is to make a backup
          I know, posted all that for others to be smarter than me, lol

          Comment

          • yuri
            Member
            • Mar 2014
            • 8545

            #6
            If upgrading process failed due some reason, it's still possible to recover the instance without resorting to reverting to a backup. There are 3 directories: data, custom, client/custom. All other directories can be just deleted and replaced with ones from the Espo package of the corresponding version. Then, just run rebuild and it should work again.
            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...