Unable to upgrade from version 9.2.7 to 9.3.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murugappan
    Active Community Member
    • Aug 2017
    • 528

    #1

    Unable to upgrade from version 9.2.7 to 9.3.0

    Hi yuri

    My server environment is running PHP 8.3.28 and ESPOCRM version 9.2.7 without any problems. Now i tried to upgrade to version 9.3.0 and it failed at download (see screen shot below) stage. I check the system error log and i get this error:

    [09-Feb-2026 06:01:32 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 39796568 bytes) in /home/systemdev/public_html/corporatecrm/application/Espo/Core/Console/Commands/Upgrade.php on line 297

    Click image for larger version

Name:	Screenshot_9.png
Views:	0
Size:	22.0 KB
ID:	124599
  • victor
    Active Community Member
    • Aug 2022
    • 1124

    #2
    Try increasing "memory_limit" in php.ini from 256M to 512M or 1024M.

    Comment


    • murugappan
      murugappan commented
      Editing a comment
      I tried all setting. Same problem.

    • yuri
      yuri commented
      Editing a comment
      You might have increased it for the web server's config. For CLI, a separate php.ini is used.
  • victor
    Active Community Member
    • Aug 2022
    • 1124

    #3
    - In the terminal, please run and report the result:

    HTML Code:
    php --ini
    - Submit a full-screen screenshot from Administration > System Requirements.

    Comment

    • ironmaiden
      Junior Member
      • Nov 2019
      • 2

      #4
      Dear murugappan,
      use this command: php -d memory_limit=1G -d max_execution_time=0 command.php upgrade

      Comment


      • yuri
        yuri commented
        Editing a comment
        Note this often does not help, even can make things worse, as the upgrade script spawns sub processes that will use the parameter from the config. It's better to set it in the config.
    Working...