Jump to content

Update Failed! check memory limits and execution time are set to the recommended values.


IamAQ

Recommended Posts

Facing this error while tried to update whmcs from 7.6.1 to 7.7.1.

Update Failed

An error occurred that prevented the update from completing successfully.

A fatal error occurred while fetching the update.
Please check to make sure your memory limits and execution time are set to the recommended values.

I have a memory limit set to 256M and max execution time set to 600. I have tried multiple times but didn't help.

How I can fix this issue?

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @IamAQ,

You can check your server logs to see the error that occurred.

The tblupdatelog table will also record the last action performed by the auto-updater.

Alternatively:

  1. Enable Setup > General Settings > Other tab > Display Errors
  2. Navigate to Utilities > Update WHMCS
  3. Open Your browser's Network Analyser Tool
  4. Start the auto-update process
  5. Select the POST to update.php
  6. Inspect the Response

The response should contain more specific error details from your server.

Link to comment
Share on other sites

hello, @WHMCS John

where I can locate specific error message. 

5 hours ago, WHMCS John said:
  • Enable Setup > General Settings > Other tab > Display Errors
  • Navigate to Utilities > Update WHMCS
  • Open Your browser's Network Analyser Tool
  • Start the auto-update process
  • Select the POST to update.php
  • Inspect the Response

By doing this it opens the whole update.php file. 

2073029387_Captureupdate.thumb.PNG.d10e27fad412434dc00b7606a6db4f50.PNG

Link to comment
Share on other sites

  • 1 year later...

@Somenath Naskar Thank you for your post, it looks like your server is returning the 503 Unavailable issue.  Just to check have you ensured that you meet the minimum requirements of our automatic updater?

For automatic updates to be possible, the following system requirements apply:

  • A PHP Memory limit of at least 128MB
  • At least 250 MB of free disk space
  • PHP setting allow_url_fopen enabled
  • PHP max_execution_time in excess of 60 seconds
  • PHP Zip Extension or the proc_open PHP function enabled
  • PHP setting open_basedir to include entire WHMCS docroot

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated