Upgrade from CLI 5.9.4 to 6.0.8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexisc
    Senior Member
    • Aug 2019
    • 135

    Upgrade from CLI 5.9.4 to 6.0.8

    When trying to update, I get error:
    HTML Code:
    Parse error: syntax error, unexpected '?' in /home/piec/piece.com/crm/application/Espo/Core/Application.php on line 358
    • Disable cron
    • Enable "Maintenance Mode"
    • PHP Version 7.4.13
    • MySQL Version 5.7.16
    no entries in the logs, please tell me where to look for the problem
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi there,
    Probably you have an old PHP CLI version. Please run this command:
    Code:
    php -v

    Comment

    • alexisc
      Senior Member
      • Aug 2019
      • 135

      #3
      Originally posted by Maximus
      Hi there,
      Probably you have an old PHP CLI version. Please run this command:
      Code:
      php -v
      PHP 5.6.40 (cli) (built: Dec 1 2020 12:39:27
      Zend Engine v2.6.0

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        PHP 5.6.40 (cli) is the reason why you got the error. You need to upgrade your PHP CLI form 5.6.40 to 7.2+ and run the upgrade script again.

        Comment

        • alexisc
          Senior Member
          • Aug 2019
          • 135

          #5
          Originally posted by Maximus
          PHP 5.6.40 (cli) is the reason why you got the error. You need to upgrade your PHP CLI form 5.6.40 to 7.2+ and run the upgrade script again.
          works great, thank you!

          Comment

          Working...