ExpressionEngine unable to update

epiz_28844784

Website for grandmas-recipes.great-site.net

Error Message

Site running ExpressionEngine - when attempting to update from EE control panel it reports “Not enough disk space to complete the update. Please free up some disk space and try the upgrade again”

Other Information

Is there anything I can do to complete the upgrade?

Likely this

1 Like

I checked your account and it would seem that you have plenty of disk space, both in terms of GB and inodes.

But this post pointed me towards a function getFreeDiskSpace in ExpressionEngine being problematic:

This is the function being used to check the disk space:

As you can see, it uses the PHP function disk_free_space. However, this function is disabled on our hosting. I’m not quite sure why, but that would likely cause this function to return that the available disk space is 0.

To work around this, you could find the find in your ExpressionEngine installation, and replace this line:

return @disk_free_space($path);

with the following:

return PHP_INT_MAX;

This way, ExpressionEngine will think there is always plenty of disk space, so it should continue with the update.

5 Likes

Thank you. Worked perfectly!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.