Help ! Backup from crashed server not restoring on new server

Hello everyone,

My first post here, I am in a bit of pickle here. I was doing upgrade using this script

https://wiki.freepbx.org/display/PPS/Upgrading+from+FreePBX+10.13.66+to+SNG7

It passed 1st stage and on second stage it went into reboot loop, I tried all recovery but all in vain.

Anyhow long story short, Luckily I had full backup from backup/restore module on another server. So I installed identical setup on new server using the ISO.

The problem I am encountering is when I am trying to restore, everything goes fine but I don’t see anything in GUI. Even logs don’t give any errors,

# cat /var/log/asterisk/backup.log 

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Initializing Backup 2

January 4, 2020, 3:59 pm - Backup Lock acquired!

January 4, 2020, 3:59 pm - Running pre-backup hooks...

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Backup Lock acquired!

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running pre-backup hooks...

January 4, 2020, 3:59 pm - Adding items...

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Adding items...

January 4, 2020, 3:59 pm - Building manifest...

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Building manifest...

January 4, 2020, 3:59 pm - Creating backup...

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Creating backup...

January 4, 2020, 3:59 pm - Storing backup...

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Storing backup...

January 4, 2020, 3:59 pm - Running post-backup hooks...

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running post-backup hooks...

January 4, 2020, 3:59 pm - Backup successfully completed!

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Backup successfully completed!

January 4, 2020, 3:59 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: END

January 4, 2020, 5:48 pm - Initializing Restore...

January 4, 2020, 5:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Initializing Restore...

January 4, 2020, 5:48 pm - Running pre-restore hooks, if any...

January 4, 2020, 5:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running pre-restore hooks, if any...

January 4, 2020, 5:48 pm - Restoring files (this may take some time)...

January 4, 2020, 5:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring files (this may take some time)...

January 4, 2020, 8:36 pm - File restore complete!

January 4, 2020, 8:36 pm - Restoring astDB...

January 4, 2020, 8:36 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: File restore complete!

January 4, 2020, 8:36 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring astDB...

January 4, 2020, 9:18 pm - Restoring Settings complete

January 4, 2020, 9:18 pm - Running post-restore hooks, if any...

January 4, 2020, 9:18 pm - Cleaning up...

January 4, 2020, 9:18 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring Settings complete

January 4, 2020, 9:18 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running post-restore hooks, if any...

January 4, 2020, 9:18 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Cleaning up...

January 4, 2020, 9:18 pm - Restore complete!

January 4, 2020, 9:18 pm - Reloading...

January 4, 2020, 9:18 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restore complete!

January 4, 2020, 9:18 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Reloading...

January 4, 2020, 9:19 pm - Done!

January 4, 2020, 9:19 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Done!

January 4, 2020, 9:19 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: END

January 4, 2020, 9:25 pm - Initializing Restore...

January 4, 2020, 9:25 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Initializing Restore...

January 4, 2020, 9:25 pm - Running pre-restore hooks, if any...

January 4, 2020, 9:25 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running pre-restore hooks, if any...

January 4, 2020, 9:25 pm - WARNING!

January 4, 2020, 9:25 pm - Web Root restore not detected, not restoring module table

January 4, 2020, 9:25 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: WARNING!

January 4, 2020, 9:25 pm - You should run "fwconsole moduleadmin upgradeall" to ensure system integrity

January 4, 2020, 9:25 pm - Restoring astDB...

January 4, 2020, 9:25 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Web Root restore not detected, not restoring module table

January 4, 2020, 9:25 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: You should run "fwconsole moduleadmin upgradeall" to ensure system integrity

January 4, 2020, 9:25 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring astDB...

January 4, 2020, 10:10 pm - Restoring Settings complete

January 4, 2020, 10:10 pm - Running post-restore hooks, if any...

January 4, 2020, 10:10 pm - Cleaning up...

January 4, 2020, 10:10 pm - Restore complete!

January 4, 2020, 10:10 pm - Reloading...

January 4, 2020, 10:10 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring Settings complete

January 4, 2020, 10:10 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running post-restore hooks, if any...

January 4, 2020, 10:10 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Cleaning up...

January 4, 2020, 10:10 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restore complete!

January 4, 2020, 10:10 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Reloading...

January 4, 2020, 10:11 pm - Done!

January 4, 2020, 10:11 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Done!

January 4, 2020, 10:11 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: END

January 4, 2020, 10:19 pm - Initializing Restore...

January 4, 2020, 10:19 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Initializing Restore...

January 4, 2020, 10:19 pm - Running pre-restore hooks, if any...

January 4, 2020, 10:19 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running pre-restore hooks, if any...

January 4, 2020, 10:19 pm - Restoring files (this may take some time)...

January 4, 2020, 10:19 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring files (this may take some time)...

January 4, 2020, 11:05 pm - File restore complete!

January 4, 2020, 11:05 pm - Restoring astDB...

January 4, 2020, 11:05 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: File restore complete!

January 4, 2020, 11:05 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring astDB...

January 4, 2020, 11:48 pm - Restoring Settings complete

January 4, 2020, 11:48 pm - Running post-restore hooks, if any...

January 4, 2020, 11:48 pm - Cleaning up...

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring Settings complete

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running post-restore hooks, if any...

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Cleaning up...

January 4, 2020, 11:48 pm - Restore complete!

January 4, 2020, 11:48 pm - Reloading...

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restore complete!

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Reloading...

January 4, 2020, 11:48 pm - Done!

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Done!

January 4, 2020, 11:48 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: END

January 5, 2020, 4:53 pm - Initializing Restore...

January 5, 2020, 4:53 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Initializing Restore...

January 5, 2020, 4:53 pm - Running pre-restore hooks, if any...

January 5, 2020, 4:53 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Running pre-restore hooks, if any...

January 5, 2020, 4:53 pm - Restoring files (this may take some time)...

January 5, 2020, 4:53 pm - id: bb2ac0b8da1f64a3498af147ba43fc10

data: Restoring files (this may take some time)...

I have done all basics, Freepbx version is same, backup and restore version is same, I have done all basic troubleshooting I could do.

This is a production system and I have less than 14 hours left to bring it back up. Please help !!

Why isn’t my backup from older machine restoring correctly on new machine.

amportal a ma list | grep framework

| framework | 13.0.197.21 | Enabled | GPLv2+ |

Please check fwconsole debug log to see if you find any thing wrong there ? you could also try to upgrade modules to latest edge (or stable ) and then run fwconsole restart to see if that can help you. thanks.

fwconsole debug

±----------------------+
| FreePBX Notifications |
±----------------------+

cidlookup 13.0.12.5 (current: 13.0.12.4)
core 13.0.131.11 (current: 13.0.131.8)
dahdiconfig 13.0.33.16 (current: 13.0.33.15)
manager 13.0.2.7 (current: 13.0.2.6)
miscapps 13.0.3.2 (current: 13.0.3.1)
miscdests 13.0.9 (current: 13.0.8)
music 13.0.22.8 (current: 13.0.22.7)
paging 13.0.26.15 (current: 13.0.26.13)
presencestate 13.0.8.4 (current: 13.0.8.3)
queueprio 13.0.7 (current: 13.0.6)
queues 13.0.34.17 (current: 13.0.34.15)
recordings 13.0.30.14 (current: 13.0.30.13)
sipstation 13.0.16.4 (current: 13.0.16)
superfecta 13.0.4.8 (current: 13.0.4.7)
ucpnode 13.0.34.11 (current: 13.0.33.9)

The following modules are disabled because they need to be upgraded:
arimanager

You should go to the module admin page to fix these.

Your Conference Room App (ASTCONFAPP) was automatically changed from app_confbridge to app_meetme because app_confbridge is not installed on your Asterisk installation

The FreePBX project is collecting anonymous browser statistics using google analytics. These are used to focus development efforts based on real user input. All information is anonymous. You can disable this in Advanced Settings with the Browser Stats setting.

You are missing support for the following HTML5 codecs: m4a,mp3. To fully support HTML5 browser playback you will need to install programs that can not be distributed with FreePBX. If you’d like to install the binaries needed for these conversions click ‘Resolve’ in the lower left corner of this message. You can also safely ignore this message but browser playback might not work in your browser.
OUT > ==> /var/log/asterisk/freepbx_dbug <==

==> /var/log/httpd/error_log <==
chown [-f|–file FILE] [-m|–module MODULE]

[Symfony\Component\Console\Exception\RuntimeException]
Too many arguments, expected arguments “command”.

chown [-f|–file FILE] [-m|–module MODULE]

==> /var/log/asterisk/freepbx_security.log <==
[2020-01-05 17:47:04] Authentication failure for admin from 184.185.161.212
[2020-01-05 17:47:11] Authentication failure for jnelson from 184.185.161.212

==> /var/log/asterisk/freepbx.log <==
[2020-Jan-05 20:33:21] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/versionupgrade/functions.inc.php on line 35
[2020-Jan-05 20:33:25] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
[2020-Jan-05 20:33:25] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76
[2020-Jan-05 20:33:25] [ERROR] (BMO/Notifications.class.php:507) - [NOTIFICATION]-[freepbx]-[modules_disabled] - You have a disabled module (The following modules are disabled because they need to be upgraded:
arimanager

You should go to the module admin page to fix these.)
[2020-Jan-05 20:33:25] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/versionupgrade/functions.inc.php on line 35
[2020-Jan-05 20:33:32] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 67
[2020-Jan-05 20:33:32] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 76

Another attempt to restore but still not extension no trunks nothing shows up in GUI

Please tell me a way to restore configs from backup manually. I have tried everything and this upgrade broke my system fully.

Upgrade all modules, make sure the time is set right, reboot the PBX and try to restore again.

One more thing you may want to try, it to restore on version 15 of FreePBX. you can restore from the command line.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.