Skip to content

fix misleading installer error when disk space/quota exceeded - #48165

Closed
Raheem54 wants to merge 1 commit into
joomla:5.4-devfrom
Raheem54:fix-installer-disk-error
Closed

fix misleading installer error when disk space/quota exceeded#48165
Raheem54 wants to merge 1 commit into
joomla:5.4-devfrom
Raheem54:fix-installer-disk-error

Conversation

@Raheem54

@Raheem54 Raheem54 commented Jul 30, 2026

Copy link
Copy Markdown

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

update misleading installer error when disk space/quota exceeded by check free space before error

Testing Instructions

try to install any extension on system with full space and observe error message

Actual result BEFORE applying this Pull Request

displays: "install path does not exist"

Expected result AFTER applying this Pull Request

displays: "The filesystem is full or the user's disk quota has been exceeded."

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • [x ] No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • [ x] No documentation changes for manual.joomla.org needed

@Raheem54
Raheem54 requested a review from rdeutz as a code owner July 30, 2026 14:13
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-5.4-dev labels Jul 30, 2026
$this->setPath('source', $path);
} else {
$this->abort(Text::_('JLIB_INSTALLER_ABORT_NOINSTALLPATH'));
if (disk_free_space(dirname($path)) < 51200) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 51k? You might have 5mb free but the extensions requires 7mb

@Raheem54 Raheem54 Jul 30, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was a solve for #48156 and this was a mistake from me I will solve it now by use actual size of package and I created a new pull for that #48166 here

@brianteeman

Copy link
Copy Markdown
Contributor

Perhaps a more sensible check would be against the size of the file being written to temp and also ensuring that there is enough space to extract it in the temp and then copy it to the correct location

@Raheem54 Raheem54 mentioned this pull request Jul 30, 2026
5 tasks
@Raheem54 Raheem54 closed this Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators PR-5.4-dev

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants