lims Posted May 6, 2020 Share Posted May 6, 2020 (edited) i have get issues in backup using SFTP to other server that say "Backup Generation Failed. Error Code: 19" this show on System Activity Log when checked on the destination server SFTP transfer is 0 bytes on the email is the same 0 bytes in attachement how to fix this ? and what does mean error code : 19 ? Regards Edited May 6, 2020 by lims 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted May 6, 2020 WHMCS Support Manager Share Posted May 6, 2020 Hi @lims, The error codes are related to the ZipArchive PHP function which is used to generate the zip file: https://www.php.net/manual/en/ziparchive.open.php This error indicates an issue when trying to generate a ZIP archive ready for upload. It does use the sys_get_temp_dir() PHP function, so the next step would be to ensure that the temp directory configured in PHP is read and writable by the WHMCS application. Furthermore, it is also worth checking that along with having ZIP installed in your "web-serving" PHP binary (Utilities > System > PHPInfo), it is also installed in the CLI binary in use by the cron. You can check that with this command: /usr/bin/php -m 1 Quote Link to comment Share on other sites More sharing options...
lims Posted May 8, 2020 Author Share Posted May 8, 2020 (edited) zip extension and sys_get_temp_dir was there by default sys_get_temp_dir = is writable to the temp folder by the WHMCS application i thing this issues come from nginx + PHP-Fpm, in Apache only is work perfect i'm already try download manual from Utilities >> System >> Database status is the same can't make a zip file, but not build a log or some thing error to find issues for temporary i have disable auto backup database from whmcs system, and back to old use full_backup from cron root server Edited May 8, 2020 by lims 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.