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 update it to the new password that was assigned when the distro was installed on the new server. I hope that makes sense
P.S. the new destination server from the restore is hosted freepbxhosting.com
Reload failed because retrieve_conf encountered an error: 1
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]: **** OLD PASSWORD IS HERE
/var/www/html/admin/modules/cdr/Cdr.class.php:35 Database->__construct()
[0]: mysql:host=localhost;port=3306;dbname=asteriskcdrdb
[1]: freepbxuser
[2]: **** OLD PASSWORD IS HERE
/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()