Announcement

Collapse
No announcement yet.

Upgrade from CLI 5.9.4 to 6.0.8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    Comment


    • #3
      Originally posted by Maximus View Post
      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


      • #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


        • #5
          Originally posted by Maximus View Post
          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...
          X