Transferring FOP2 configuration
Updated a FreePBX 15 / Asterisk 18.26.4 server to a new FreePBX 17 / Asterisk 22.5.2 setup. I installed a new FOP2 license and then used the instructions at https://www.asternic.net/docs/knowledgebase/migrate_fop2_config/ to move the FOP2 configuration to the new server. When we run the import command on the new server, we get an error.
Importing groups
PHP Fatal error: Uncaught mysqli_sql_exception: Field 'context_id' doesn't have a default value in /var/www/html/fop2/lib/dblib.php:96
Stack trace:
0 /var/www/html/fop2/lib/dblib.php(96): mysqli_query()
1 /usr/src/fop2/server/import_fop2_configs.php(107): dbcon->consulta()
2 /usr/src/fop2/server/import_fop2_configs.php(385): import_groups()
3 /usr/src/fop2/server/import_fop2_configs.php(21): main()
4
thrown in /var/www/html/fop2/lib/dblib.php on line 96
Any suggestions on getting the config import to work, or do we need to rebuild the configs from the GUI?