FreePBX15 Restore from FreePBX13 -- Fatal Error


(Stephen) #1

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


(Lorne Gaetz) #2

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

(Stephen) #3

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.


(Lorne Gaetz) #4

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


(Kapil Gupta) #5

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.


(Stephen) #6

Will do!

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


(Stephen) #7

Update: Activating system first results in no fatal errors!


(Kapil Gupta) #8

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


(system) closed #9

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