FreePBX15 Restore from FreePBX13 -- Fatal Error

Greetings all!

Attempting to migrate FreePBX13 machine to FreePBX15 by standing up a new VM in parallel at first. Ran a complete backup on FreePBX13, then attempted to restore on a fresh FreePBX15 installation (Backup & Restore Module 15.0.8.94).

Resulted in fatal error:
ā€¦
Rebuilding config for extension/template
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 369
Stack trace:

  1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/endpoint/Endpoint.class.php:369
    PHP Fatal error: Call to undefined function FreePBX\modules\endpoint_write_ext() in /var/www/html/admin/modules/endpoint/Endpoint.class.php on line 369

Any suggestions? I did not yet register this new instance as if restoration is successful I want to migrate paid for modules (Sysadmin and Endpoint Manager).

Thanks,
Stephen

Shows as fixed in this ticket: https://issues.freepbx.org/browse/FREEPBX-21345

Upgrade both EPM and backup to edge and try another restore:

fwconsole ma upgrade endpoint backup --edge

Thanks Lorne!

download/upgrade from command line to edge versions of upgrade and endpoint modules succeeded, unfortunately trying the restore again resulted in the same error.

Can you open a new bug report pls. Reference the old one and this thread.
ATT: @kgupta1

Hi @stephen1 yes please file bug report and if possible share your backup file to me directly so i can try to reproduce issue in-house ? thanks a lot.

Will do!

https://issues.freepbx.org/browse/FREEPBX-21434

1 Like

Update: Activating system first results in no fatal errors!

Glad to know @stephen1 your issue is resolved. Thanks.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.