Initializing Backup 3
Backup Lock acquired!
Running pre-backup hooks…
Adding items…
Building manifest…
Creating backup…
Storing backup…
Exception: DateTime::__construct(): Failed to parse time string (-- 00:00) at position 0 (-): Unexpected character in file /var/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FilesystemFactory.php on line 64
Stack trace:
HA Cluster - Backup & Restore - Enabled Edge and checked but no update offered - Here:
Initializing Backup 2
Backup Lock acquired!
Running pre-backup hooks…
Adding items…
Building manifest…
Creating backup…
Storing backup…
Exception: DateTime::__construct(): Failed to parse time string (-- 00:00) at position 0 (-): Unexpected character in file /drbd/httpd/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FilesystemFactory.php on line 64
Stack trace:
Is it the same error or just one that looks the same. The issue above was a permissions issue. You must put a path in that you have write access to. The new library does everything at / unless told different. If your user can’t write at / you should get a pretty permissions error . So if you are seeing a dump it is either something different than this issue or you don’t have the right module
Exception: DateTime::__construct(): Failed to parse time string (-or-directory 00:00) at position 0 (-): Unexpected character in file /var/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/FilesystemFactory.php on line 64
Stack trace:
I’ve got exactly the same problem on a newly installed FreePBX 13 appliance. It’s running v13.0.24 of the Backup/Restore module and produces exactly the same error as above.
I did an upgrade to version 13.0.25.6, and I’m still unable to do a backup to FTP server. As far as I can see the problem is similar but not the same as GSnover and leemason stated.
Here is the output:
Whoops\Exception\ErrorException: Argument 1 passed to Touki\FTP\Model\Filesystem::setMtime() must be an instance of DateTime, boolean given, called in /var/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/WindowsFilesystemFactory.php on line 50 and defined in file /var/www/html/admin/modules/backup/vendor/touki/ftp/lib/Touki/FTP/Model/Filesystem.php on line 260
Stack trace:
Yes. It has been a priority. If you look at the change sets we’ve tried fixing it many different ways. We are unable to replicate it though so it makes it more difficult.