Ok - I am in the process of moving my hosted FreePBX instances to a totally different platform hence the need to do a Backup and then Restore of the config in the new instance.
I thought that I would have the best chance of success if the machines (old and new) were exact duplicates of each other, so I did the following before I even started (on both machines):
yum update -y
fwconsole ma upgradeall
On the New machine I also removed all the extraneous Commercial Modules that I wasn’t using - I also rebooted the old machine and the new machine once I had done the updates so the would be as close to “same” as I could make it.
Ran a complete backup on the old machine and then went to the new machine to restore it. Tried to restore it through the GUI and it started looping over and over again - I think it was hanging on UCP but I couldn’t really tell - it just kept flashing the screen over and over with scrolling so what it was hanging on was never on the screen long enough to copy and paste what it was choking on - ok, let’s try it from the cli:
fwconsole backup --restore 20210613-131105-1623611465-126.96.36.199-211733073.tar.gz
It runs for a while and then it bombs out with this:
Importing KVStore from endpoint
TFTP ringtones and images Files Restored
Rebuilding config for extension/template
PHP Fatal error: Call to undefined function FreePBX\modules\endpoint_write_ext() in /var/www/html/admin/modules/endpoint/Endpoint.class.php on line 405
Whoops\Exception\ErrorException: Call to undefined function FreePBX\modules\endpoint_write_ext() in file /var/www/html/admin/modules/endpoint/Endpoint.class.php on line 405
- Whoops\Exception\ErrorException->() /var/www/html/admin/modules/endpoint/Endpoint.class.php:405
I have searched the web, but no one else has posted this error - has anyone else here seen it?
The bigger question is (once again) how am I supposed to rely on Backup/Restore - this has almost always been my experience with it which is why I was trying to migrate my VM’s - It just never works when I need it!
Any help would be appreciated!