Quantcast
Channel: Distro Discussion & Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 1371

Cannot restore backup to new machine - freepbx is same version

$
0
0

@dvanaken wrote:

Considering the number of times I have built a new asterisk/fpbx box and moved config over using backup and restore, I'm feeling like an idiot. My 'old' box is Asterisk 1.8 w/fpbx 12.0.76. My 'new' box is 6.12.65 (also 12.0.76) All the freepbx modules are updated and match between the machines. I did a full backup and restored (selecting all) to the new box. First, I don't get the red ''apply config" button after the restore which I think I should get. So if I go into another application, like extensions (and I see all my extensions there correctly), then I get the red button, and when I click it, I get this:

exit: 1
[FATAL] SQLSTATE[28000] [1045] Access denied for user 'asteriskuser'@'localhost' (using password: YES) SQLSTATE[28000] [1045] Access denied for user 'asteriskuser'@'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]: asteriskuser
[2]: amp109

/var/www/html/admin/modules/cdr/Cdr.class.php:35 Database->__construct()
[0]: mysql:host=localhost;port=3306;dbname=asteriskcdrdb
[1]: asteriskuser
[2]: amp109

I've restored from a backup and tried this twice in case I missed something obvious - same result.

I'm not thinking this is strictly a password issue - the .conf files seem to have the same default passwords which I have never changed (amp111, amp109).

I really think I am doing something very straightforward that I believe I have done several times. I know freepbx has become more complex - is this approach no longer the correct way to move a config?

Help, guys!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>