cveazey
November 6, 2014, 12:18pm
1
Just performed framework upgrades to 12.0.7, Now Freepbx seems flooded with errors. Apply Config fails with:
exit: 255
found language dir en_UK for directorypro, not installed on system, skipping
PHP Fatal error: Call to undefined function recordings_get_file() in /var/www/html/admin/libraries/BMO/DialplanHooks.class.php on line 0
cveazey
November 6, 2014, 12:21pm
2
I also now have a ton of modules that show as disabled.
cveazey
November 6, 2014, 12:23pm
3
Most modules fail with something similiar to this:
Installing backup
FATAL ERROR
trying to set keyword [SIGNATURECHECK] to 1 on uninitialized setting
Trace Back/var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:644 die_freepbx()
0 : trying to set keyword [SIGNATURECHECK] to 1 on uninitialized setting
/var/www/html/admin/libraries/BMO/Freepbx_conf.class.php:259 Freepbx_conf->set_conf_values()
0 :
: Freepbx_conf->update()
/var/www/html/admin/libraries/BMO/Config.class.php:32 call_user_func_array()
0 :
1 :
/var/www/html/admin/libraries/BMO/Config.class.php:37 Config->autoload()
1 :
/var/www/html/admin/libraries/modulefunctions.class.php:1837 Config->__call()
1 :
/var/www/html/admin/libraries/modulefunctions.class.php:1837 Config->update()
/var/www/html/admin/page.modules.php:281 module_functions->install()
/var/www/html/admin/config.php:341 include()
cveazey
November 11, 2014, 8:06pm
4
Anyone have any thoughts?
cveazey
November 12, 2014, 2:12pm
6
Thanks. I was able to clean most of the errors up. Now I get:
exit: 255
PHP Fatal error: Call to undefined function recordings_get_file() in /var/www/html/admin/libraries/BMO/DialplanHooks.class.php on line 0
tm1000
(Andrew Nagy)
November 13, 2014, 2:18am
7
This is the worst error to get. It means the framework upgrade went fubar somewhere along the way and is not recoverable. Did you make a backup?
cveazey
November 13, 2014, 1:03pm
8
Yes. Do you have a link to the best procedure for restoring from backup?
cveazey
November 17, 2014, 1:48pm
9
I ask because I am unable to re-install the back/restore module and upload from the backup file.
cveazey
November 19, 2014, 2:13pm
10
Tried running a backup from command line. Now I receive this:
[root@oakpci-aster-1 bin]# ./restore.php --restore=/var/spool/asterisk/backup/Daily/20141119-052354-1416396234-1783246455.tgz --items=all
[FATAL] unknown type: [textarea]
Trace Back:
/var/www/html/admin/libraries/freepbx_conf.class.php:1075 die_freepbx()
[0]: unknown type: [textarea]
/var/www/html/admin/libraries/freepbx_conf.class.php:228 freepbx_conf->_prepare_conf_value()
[0]: http://www.freepbx.org/rss.xml
http://feeds.feedburner.com/InsideTheAsterisk
[1]: textarea
[2]: 1
[3]:
/var/www/html/admin/libraries/freepbx_conf.class.php:178 freepbx_conf->__construct()
/var/www/html/admin/bootstrap.php:88 freepbx_conf::create()
/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php
/var/www/html/admin/modules/backup/bin/restore.php:6 include_once()
[0]: /etc/freepbx.conf