Upgrade to 7.2.7 from 5.8.3

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JanBab
    Member
    • Mar 2020
    • 55

    Upgrade to 7.2.7 from 5.8.3

    Hi,
    What is the best way to upgrade from 5.8.3 to 7.2.7?​ EspoCRM runs on a Windows Server 2016 server with XAMPP (PHP 7.4.3, Apache 2.4.41, MariaDB 10.4.11).​
    It is possible to upgrade from 5.8.3 to 5.8.4, from 5.8.4 to 5.8.5, ... up to 7.2.7. (use all upgrades from 5.8.3 to 7.2.7). Is it possible to do this using the UI in EspoCRM (Administration - Upgrade)?​
    Thanks
  • item
    Active Community Member
    • Mar 2017
    • 1476

    #2
    Hi,
    No via UI.
    there are many think changed from v5 => v6 => v7.

    always use command line for upgrade.

    before go to 7.2.7, maybe if remember v6 end, upgrade php to 8.x ( 8.0 or maybe 8.1 )



    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

    Comment

    • JanBab
      Member
      • Mar 2020
      • 55

      #3
      So the procedure will be the following?​
      1. Run Shell from XAMPP
      2. Run syntax
      Code:
      php command.php upgrade -y --file="EspoCRM-upgrade.zip"

      3. Repeat until the last version​.

      Upgrade PHP to 8.x before upgrading to EspoCRM 7.2.7?​

      Thanks

      Comment


      • item
        item commented
        Editing a comment
        php command.php upgrade

        Espocrm v7 is php 8 compatible so you are ready for futur
    • shalmaxb
      Senior Member
      • Mar 2015
      • 1605

      #4
      I guess that would work. You do not even need the last part of the command, the upgrade script pull each time the fitting version and will show the message "there is a more recent version..." or alike until "you have the most recent version"

      Comment

      • JanBab
        Member
        • Mar 2020
        • 55

        #5
        Ok. Is it not necessary to upgrade PHP to upgrade EspoCRM?​ Should I do the PHP upgrade before starting EspoCRM?​

        Comment


        • item
          item commented
          Editing a comment
          No, v7 is compatible php7.4.33 and work with php8.1

        • rabii
          rabii commented
          Editing a comment
          it is better to upgrade your PHP first to avoid any issue when upgrading.
      Working...