• Resolved deichscheich

    (@deichscheich)


    I need to backup several websites on multiple hosts via SSH / WP-CLI.

    When I run the command, my shell fills up with

    BEGIN failed--compilation aborted at /home/XXXXX/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 9.
    Can't locate cPstrict.pm in @INC (you may need to install the cPstrict module) (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /usr/local/cpanel/Cpanel/Math/Bytes.pm line 8.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Math/Bytes.pm line 8.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Quota.pm line 18.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Quota.pm line 18.
    Compilation failed in require at /home/XXXXX/public_html/wp-content/plugins/updraftplus/includes/get-cpanel-quota-usage.pl line 9.

    So apparently I am missing the cPstrict module. I cannot, however, install it, because I lack permissions for using the C compiler (which sounds perfectly reasonable to me).

    In similar threads you suggest activating quotas (which is something only the hoster can do) or simply installing the module (see above).

    So without involving multiple hosting providers, there does not seem to be an easy solution to this problem.

    Kindly suggest a fix that I can implement at the user level or please make this module optional. Or, even better, only use it if it is available.
    I don’t care how much space I am using in cPanel. I am backing everything up to S3.

    Please enable me to use your plugin professionally (being able to backup via WP-CLI was a major factor in purchasing UpdraftPlus).

    • This topic was modified 2 years, 4 months ago by deichscheich. Reason: Omitted to mention that the backup fails
    • This topic was modified 2 years, 4 months ago by deichscheich. Reason: The backup _does_ indeed finish successfully
Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson

    (@davidanderson)

    You can put this in your wp-config.php to suppress that check:

    define('UPDRAFTPLUS_SKIP_CPANEL_QUOTA_CHECK', true);

    Note that the above log messages don’t indicate an actual problem, they are no more than log messages.

    Thank you,
    David

Viewing 1 replies (of 1 total)
  • The topic ‘get-cpanel-quota-usage.pl problem’ is closed to new replies.