We are currently running an older FreePBX 14 server with a warm spare setup that had not been updated in a while and has a daily backup. We recently decided to get the servers as up-to-date as possible and then look into upgrading to a newer version hopefully soon. However, after upgrading the system packages and modules to the newest available to version 14 on both servers it seems that backup and restore will no longer function as before and remote backups are failing with the config no longer applying to the warm spare or backing up to our remote backup server. Now when I run a remote backup I now get this error:
Initializing Backup 3
Connecting to remote server…
Verifying received file…
File verification failed.
Here are the first few lines of the file as sent by the remote server:
Whoops\Exception\ErrorException: Missing argument 1 for FreePBX\modules\Backup\Backup::add_items(), called in /var/www/html/admin/modules/backup/bin/backup.php on line 268 and defined in file /var/www/html/admin/modules/backup/functions.inc/class.backup.php on line 164
- Whoops\Exception\ErrorException->() /var/www/html/admin/modules/backup/functions.inc/class.backup.php:164
- Whoops\Run->handleError() /var/www/html/admin/modules/backup/functions.inc/class.backup.php:164
- FreePBX\modules\Backup\Backup->add_items() /var/www/html/admin/modules/backup/bin/backup.php:268
I am somewhat lost as to what the issue could be, I have checked the ssh keys and it seems everything is fine there. Any ideas would be appreciated.