FTP backup error since updating to FreePBX 13

Since updating to Freepbx 13 our FTP backup has failed see below for details.
The ftp server its backing up to is Centos based, and I’ve checked that ftp account is still working. Anyone know why this is failing?

Thanks
Paul

The backup output is:-
Initializing Backup 3
Backup Lock acquired!
Running pre-backup hooks…
Adding items…
Building manifest…
Creating backup…
Storing backup…
Creating directory '/Full_Backup_2_ftp’
PHP Fatal error: Class ‘FreePBX\modules\Backup\FTP’ not found in /drbd/httpd/www/html/admin/modules/backup/functions.inc/class.backup.php on line 426
Whoops\Exception\ErrorException: Class ‘FreePBX\modules\Backup\FTP’ not found in file /drbd/httpd/www/html/admin/modules/backup/functions.inc/class.backup.php on line 426
Stack trace:

  1. () /drbd/httpd/www/html/admin/modules/backup/functions.inc/class.backup.php:426

You need to go and fully update your freepbx modules.

Cheers I had already done that before posting. Just updated again and noticed the backup module has been updated to version 13.0.22 . Run the backup again and the error has now changed:-
May 20, 2016, 12:56 pm - data: Storing backup…
May 20, 2016, 12:56 pm - data: Creating directory '/Full_Backup_2_ftp’
May 20, 2016, 12:56 pm - Creating directory '/Full_Backup_2_ftp’
May 20, 2016, 12:56 pm - data: Directory ‘/Full_Backup_2_ftp’ did not exist and we could not create it
May 20, 2016, 12:56 pm - Directory ‘/Full_Backup_2_ftp’ did not exist and we could not create it
May 20, 2016, 12:56 pm - data: Saving file to remote ftp
May 20, 2016, 12:56 pm - Saving file to remote ftp
May 20, 2016, 12:56 pm - data: Unable to upload file to the remote server
May 20, 2016, 12:56 pm - Unable to upload file to the remote server
May 20, 2016, 12:56 pm - data: Running post-backup hooks…
May 20, 2016, 12:56 pm - Running post-backup hooks…
May 20, 2016, 12:56 pm - data: Backup completed with errors!
May 20, 2016, 12:56 pm - Backup completed with errors!

This seems reasonably well documented. Have you looked at the destination machine and made absolutely certain the destination “root” directory is writable by your user? Also, are you saving the files on a Windows machine, or on a Linux machine?

Yup I checked that, and the root is writable and I can upload files manually from the pbx to the ftp server, see below.
It’s a Linux ftp server.

[[email protected] tmp]# ftp turmeric
Connected to turmeric (149.155.16.56).
220 (vsFTPd 2.2.2)
Name (turmeric:root): pbxbackup
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (149,155,16,56,164,32).
150 Here comes the directory listing.
drwxr-xr-x 2 109 109 4096 May 16 12:02 Full_Backup_2_ftp
226 Directory send OK.
ftp> cd Full_Backup_2_ftp
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (149,155,16,56,170,49).
150 Here comes the directory listing.
226 Directory send OK.
ftp> put 20160520-080502-1463727902-13.0.119-741937058.tgz
local: 20160520-080502-1463727902-13.0.119-741937058.tgz remote: 20160520-080502-1463727902-13.0.119-741937058.tgz
227 Entering Passive Mode (149,155,16,56,94,245).
150 Ok to send data.
226 Transfer complete.
2349271 bytes sent in 0.183 secs (12823.74 Kbytes/sec)
ftp>

OK - the only really obvious questions.

Are you sending “/Full_Backup_2_ftp” or “Full_Backup_2_ftp” to ftpd on the server? I don’t know that it makes any difference to the FTP server on your system (since you should be operating in a ‘chroot’ environment) but if FTP is trying to open the “/Full_Backup_2_ftp” in the real root directory, that might make a difference.

I see that “109:109” owns the “Full_Backup_2_ftp” directory, Who is “109:109”. It should be “pbxbackup” and I fully expect that it is. If it isn’t, you can 'chown -R pbxbackup Full_Backup_2_ftp" to make sure the directory is actually owned by your user.

I know these are ridiculously obvious questions, but I’m just covering all the bases.

I have THE SAME Problem

me errora WHEN MUST SEND file

RIGHTS I am perfect

And actually in the manual can send files to

Ver FreePBX 13 updated