florianahm
(Florian Ahmeti)
December 14, 2016, 9:27am
1
After i screw it trying things in freepbx, i did a fresh install and then i restore from a fullbackup did a week later.
i installed FreePBX-6.12.65-30 and did 2 upgrades that was available now is FreePBX-6.12.65-32, the same version it was running, then i did the restore and now im having error:
retrieve_conf failed, config not applied,
Reload failed because retrieve_conf encountered an error: 1
florianahm
(Florian Ahmeti)
December 14, 2016, 10:47am
3
so here the full error message,
exit: 1
[FATAL] SQLSTATE[28000] [1045] Access denied for user ‘freepbxuser’@‘localhost’ (using password: YES) SQLSTATE[28000] [1045] Access denied for user ‘freepbxuser’@‘localhost’ (using password: YES)
Trace Back:
/var/www/html/admin/libraries/BMO/Database.class.php:70 PDO->__construct()
[0]: mysql:host=localhost;port=3306;dbname=asteriskcdrdb
[1]: freepbxuser
[2]: password***
/var/www/html/admin/modules/cdr/Cdr.class.php:35 Database->__construct()
[0]: mysql:host=localhost;port=3306;dbname=asteriskcdrdb
[1]: freepbxuser
[2]: password***
/var/www/html/admin/libraries/BMO/Self_Helper.class.php:116 Cdr->__construct()
[0]:
/var/www/html/admin/libraries/BMO/Self_Helper.class.php:36 Self_Helper->autoLoad()
[0]: Cdr
/var/www/html/admin/libraries/BMO/Hooks.class.php:163 Self_Helper->__get()
[0]: Cdr
/var/www/html/admin/libraries/BMO/Hooks.class.php:37 Hooks->preloadBMOModules()
/var/lib/asterisk/bin/retrieve_conf:26 Hooks->updateBMOHooks()
florianahm
(Florian Ahmeti)
December 14, 2016, 10:51am
4
FIX of my solution is on this link
Hello,
I have backed up my existing on prem server, then restored the back up to a new server. Same version.
All went well except I cant reload / apply config after the restore. I get the following error below, the weird thing is that the error displays my old DB password from the target server even though the /etc/freepbx.conf and /etc/asterisk/cdr_mysql.conf have the same NEW password on the destination server, im not sure where the error below is getting the old password and where to upda…