JetBackup5 on cPanel - Failed to back up suspended accounts

We've received reports of errors while attempting to back up suspended accounts on cPanel. The error can be found below.

 

[17/Nov/2023 00:05:15 +0000] [PID 1884439] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=admin Email list_pops_with_disk" function". Error: [2023-08-30 02:05:15 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[api_call] function=[LOG]: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101.

[17/Nov/2023 00:05:15 +0000] [PID 1884439] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=admin DomainInfo domains_data" function". Error: [2023-08-30 02:05:15 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[api_call] function=[LOG]: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101.

[17/Nov/2023 00:05:15 +0000] [PID 1884439] [ERROR] Failed making API Call to cPanel/WHM (uapi) "--user=admin Ftp list_ftp_with_disk" function". Error: [2023-08-30 02:05:16 +0200] warn [uapi] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[ftp] function=[LISTSTORE]: set error in context ftp: statusmsg=[Failed to parse adminbin request: Account is suspended at /usr/local/cpanel/Cpanel/AdminBin/Server.pm line 101.

 

Normally, JetBackup 5 is able to back up suspended accounts seamlessly. However, a known issue with the api_log WHM Tweak Setting being enabled prevents the backup from completing successfully. cPanel attempts to log API calls to the api_log file as the user, but fails due to the user being suspended. For reference, the case on cPanel's side is CPANEL-42028.

To resolve this issue, run the command provided below to disable api_log.

 

# whmapi1 set_tweaksetting key="enable_api_log" value=0
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Rsync Backing Up Account Fails - Error: overflow

There have been some reports of accounts failing to back up with errors similar to this:[ERROR]...

Database Backup Errors: only_full_group_by

While performing a Database Backup, you may encounter the following error: Expression #1 of...

Exclude List for FTP/SFTP Destinations does not work

FTP/SFTP destinations are known to have limitations with their commands and file pathing...

Extra Backups Appearing On JetBackup

There are many reasons extra backups can appear on JetBackup. JetBackup 4 has Manual Backups and...

Files/Folders With Custom Permissions Fail Backup

When using Rsync based destinations, such as Local/SSH Destinations, there are some cases where...