{"id":1181,"date":"2017-04-12T12:30:45","date_gmt":"2017-04-12T12:30:45","guid":{"rendered":"https:\/\/www.xsofthost.com\/help\/?p=1181"},"modified":"2021-03-17T17:13:48","modified_gmt":"2021-03-17T17:13:48","slug":"fix-cpanel-whm-quotas-when-adding-account-from-packages","status":"publish","type":"post","link":"https:\/\/www.xsofthost.com\/help\/fix-cpanel-whm-quotas-when-adding-account-from-packages\/","title":{"rendered":"Fix cPanel Quotas When adding account from Packages"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1181\" class=\"elementor elementor-1181\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-564c4a3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"564c4a3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e460766\" data-id=\"e460766\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-86bb106 elementor-widget elementor-widget-heading\" data-id=\"86bb106\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Fix cPanel Quota for Packages that always showing unlimited\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-549b0c6 elementor-widget elementor-widget-heading\" data-id=\"549b0c6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">The case of the Quotas from cPanel Packages\n<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9a4f3a9 elementor-widget elementor-widget-text-editor\" data-id=\"9a4f3a9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>If you already <a href=\"https:\/\/www.xsofthost.com\/help\/how-to-create-whm-package\/\">created cPanel package<\/a> and you are trying to add new account from the packages and when you check the account resources , WHM showing unlimited for the quotas and not updating the Disk Used of the account. the most reason of this unexpected behavior is by <b>Configure Backup Directory<\/b> option Backup of cPanel\/WHM that is sharing drive with cPanel , to avoid that you have to change the<b> Default Backup Directory <\/b>path of the backup to different drive .\u00a0<\/p>\n<p>To do so:<\/p>\n<ol>\n<li>Login to cPanel\/WHM control panel.<\/li>\n<li>Navigate to Home \u00bbBackup \u00bbBackup Configuration.<\/li>\n<li>From Configure\u00a0<strong>Backup Directory change<\/strong>\u00a0the location of\u00a0<em>Default Backup Directory<\/em> to different drive and enable Mount Backup Drive as Needed<\/li>\n<li>Save the changes.<\/li>\n<li>you will see the warning\u00a0<span style=\"color: #ff0000;\">NOTE: Filesystem quotas are enabled. To prevent performance degradation, the system automatically disables quotas on non-root filesystems that contain a backup destination.<\/span> so you have to be sure that you are using different drive for backup.<\/li>\n<\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-653b5fb elementor-widget elementor-widget-heading\" data-id=\"653b5fb\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">How to Fix cPanel Quota for existing account resources and usages statistics in WHM cPanel\n<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b0135d5 elementor-widget elementor-widget-text-editor\" data-id=\"b0135d5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\tLogin to your server using SSH connection and run the command\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-92fc8b9 elementor-widget elementor-widget-code-highlight\" data-id=\"92fc8b9\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>\/scripts\/fixquotas<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f57c1d8 elementor-widget elementor-widget-text-editor\" data-id=\"f57c1d8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\tand the result will be like\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7cf45ea elementor-widget elementor-widget-code-highlight\" data-id=\"7cf45ea\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>Quotas have been enabled and updated.\nReading package yourpackage\nResetting quota for exampleaccount to 5120 M\nResetting quota for testaccount to 51200 M\n<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b2235a1 elementor-widget elementor-widget-text-editor\" data-id=\"b2235a1\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>To check and verify that resources has been updated go to <b>Home<\/b> \u00bb<b>Account Information<\/b> \u00bb<b>List Accounts <\/b>and you will be able to see the Quota and Disk Used fields with updated values.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f3d21eb elementor-widget elementor-widget-heading\" data-id=\"f3d21eb\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Ensure quotas report on the system<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ca81711 elementor-widget elementor-widget-text-editor\" data-id=\"ca81711\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Run the following command to confirm that you successfully enabled quotas on the device:<\/p>\n<p>The command prints all of the file systems that exist in the \/etc\/mtab file with read and write privileges and quota options enabled.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-00c919f elementor-widget elementor-widget-code-highlight\" data-id=\"00c919f\" data-element_type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard word-wrap\">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>repquota -a<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4e19b23 elementor-widget elementor-widget-text-editor\" data-id=\"4e19b23\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>If you Still experience further problems, perform one of the following actions:<\/p>\n<ul>\n<li>Disable the Cache <a href=\"https:\/\/en.wikipedia.org\/wiki\/Disk_quota\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">disk quota<\/a> information setting in the System section of WHM\u2019s Tweak Settings interface (WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Tweak Settings).<\/li>\n<li>Set the disablequotacache parameter to 0 in the \/var\/cpanel\/cpanel.config file.<\/li>\n<\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Fix cPanel Quota for Packages that always showing unlimited The case of the Quotas from cPanel Packages If you already created cPanel package and you are trying to add new account from the packages and when you check the account resources , WHM showing unlimited for the quotas and not updating the Disk Used of [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[50,149,29],"_links":{"self":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1181"}],"collection":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/comments?post=1181"}],"version-history":[{"count":73,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1181\/revisions"}],"predecessor-version":[{"id":3257,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/posts\/1181\/revisions\/3257"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media\/354"}],"wp:attachment":[{"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/media?parent=1181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/categories?post=1181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xsofthost.com\/help\/wp-json\/wp\/v2\/tags?post=1181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}