Struggling here.
Adv Rec was OK on FreePBX 16.0.40.13, no email being sent to me about failure, but the service has stopped on the primary while the heartbeat is still active and verified on the secondary.
The adv_recovery.log on the primary reads:
2025-05-09 11:28:33 - 1746786672213 running on primary and status of standby =dead
2025-05-09 11:28:33 - checkweReachedThresholdTime ? 1
2025-05-09 11:28:33 - primary-> checking last notification time (> 1800) found entries 1
2025-05-09 11:28:43 - Self system status {“asterisk”:“OK”}
2025-05-09 11:29:22 - Self system status {“asterisk”:“OK”}
2025-05-09 11:30:00 - Self system status {“asterisk”:“OK”}
2025-05-09 11:30:38 - Self system status {“asterisk”:“OK”}
2025-05-09 11:31:17 - Self system status {“asterisk”:“OK”}
2025-05-09 11:31:18 - Advance Recovery Error There is some error in Standby Server
2025-05-09 11:31:18 - Found one of the critical service not running on Pair server, going to declare pair server down
2025-05-09 11:31:18 - Pair server return status =Array
(
[mysql] => OK
[http] => OK
)
And the adv_recovery.log on the secondary reads:
2025-05-09 11:28:05 - 1739602052681 running on standby and status of primary =alive
2025-05-09 11:28:05 - Pair server is alive now 1739602052681
2025-05-09 11:28:43 - Pair server is alive
2025-05-09 11:28:43 - 1739602052681 running on standby and status of primary =alive
2025-05-09 11:28:43 - Pair server is alive now 1739602052681
2025-05-09 11:29:22 - Pair server is alive
2025-05-09 11:29:22 - 1739602052681 running on standby and status of primary =alive
2025-05-09 11:29:22 - Pair server is alive now 1739602052681
In the advrecovery_out.log on the primary reads: (there is no advrecovery_out.log on the secondary)
1 2024-01-22 10:35 +00:00: Whoops\Exception\ErrorException: Illegal string offset ‘restorestatus’ in file /var/www/html/admin/modules/adv_recovery/functions.inc/functions.inc.php on line 92
2 2024-01-22 10:35 +00:00: Stack trace:
3 2024-01-22 10:35 +00:00: 1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/adv_recovery/functions.inc/functions.inc.php:92
4 2024-01-22 10:35 +00:00: 2. Whoops\Run->handleError() /var/www/html/admin/modules/adv_recovery/functions.inc/functions.inc.php:92
5 2024-01-22 10:35 +00:00: 3. advr_service_daemon() /var/www/html/admin/modules/adv_recovery/adv_recovery_service.php:19
6 2025-05-07 14:57 +01:00: Whoops\Exception\ErrorException: Illegal string offset ‘restorestatus’ in file /var/www/html/admin/modules/adv_recovery/functions.inc/functions.inc.php on line 92
7 2025-05-07 14:57 +01:00: Stack trace:
8 2025-05-07 14:57 +01:00: 1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/adv_recovery/functions.inc/functions.inc.php:92
9 2025-05-07 14:57 +01:00: 2. Whoops\Run->handleError() /var/www/html/admin/modules/adv_recovery/functions.inc/functions.inc.php:92
10 2025-05-07 14:57 +01:00: 3. advr_service_daemon() /var/www/html/admin/modules/adv_recovery/adv_recovery_service.php:19
7th May is when I noticed something was wrong while on in the server GUI. When I try to start the service on the primary it eventually fails and I do get email alerts. Access to the AdvRec GUI page is incredibly slow.
Anyone got a pointer or two that might help out here?
Thank you.
Nathan.