Applicable to:
- Plesk for Linux
Symptoms
-
When creating a directory via Plesk File Manager, the operation fails with:
PLESK_ERROR: Error occurred during /bin/mkdir command
PLESK_ERROR: filemng failed: filemng: Error occurred during /bin/cp command.
-
The following error appears in
/var/log/plesk/panel.log
:CONFIG_TEXT: Disk quota exceeded
- On creating a file with Plesk File Manager, the following error is shown:
CONFIG_TEXT: Unable to create /httpdocs/file.html: Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/example.com/httpdocs/file.html.l3J8rf' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/example.com/httpdocs/plesktest.html.l3J8rf' System error 122: Disk quota exceeded
Cause
Hard disk quota of the subscription's system user has been reached.
Resolution
-
Go to Domains > example.com > Web Hosting Access.
-
Increase the value of hard disk quota in the Hard quota on disk space section.
-
Apply the changes.
Comments
2 comments
Hi,
This guide explains how to set quota per web_user :
https://docs.plesk.com/en-US/12.5/cli-linux/38966/
But when I enable it for a web user, it enables it for whole subscription/system user of the subscription, so I am facing the same error as on this page.
plesk bin webuser -u myuser -domain mydomain.tld -quota 300M
SUCCESS: Update of webuser 'myuser' complete.
quota -s main_user
Disk quotas for user main_user (uid 10008):
Système fichiers blocs quota limite sursisfichiers quota limite sursis
/dev/sda3 301M* 0 300M 9875 0 0
Is this a bug, or intended behavior ?
As reading the CLI help page, it seem to imply we can set a different quota on each web_user ?
Thank you
Hi Ben Oua,
This is expected behavior.
Hard disk quota for each web users has been deprecated in Plesk Onyx and Obsidian. In Plesk versions previous to Onyx and Obsidian the web users become individual system users with their own UID, while in supported Plesk version they are sharing the same UID as the main user of the subscription.
Please sign in to leave a comment.