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 {main}
thrown in /var/www/html/fop2/lib/dblib.php on line 96Any suggestions on getting the config import to work, or do we need to rebuild the configs from the GUI?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login