Reload option not working on FOP2 Manager 1.0.3
Hi.
I have just upgrade de Fop2 Manager from 1.0.2 to 1.0.3
I upgrade from the Fop2 Manager console.
But after the upgrade, when I made changes, I can't reload the FOP2
I clic on the Reload Option, but nothing happens
I also try to go Actions, and clic on Reload FOP2, but it doesn't make any action
For a work arround I restart de FOP2 service, but I guess I was not supose to do that.
I have just upgrade de Fop2 Manager from 1.0.2 to 1.0.3
I upgrade from the Fop2 Manager console.
But after the upgrade, when I made changes, I can't reload the FOP2
I clic on the Reload Option, but nothing happens
I also try to go Actions, and clic on Reload FOP2, but it doesn't make any action
For a work arround I restart de FOP2 service, but I guess I was not supose to do that.
Comments
The logs by performing a reload using the manager page are:
[15:16:04.309] POST http://10.111.111.200/fop2/admin/fop2reload.php [HTTP/1.1 200 OK 38ms]
[15:16:20.233] POST http://10.111.111.200/fop2/admin/pagebs.fop2users.php [HTTP/1.1 200 OK 684ms]
[15:16:30.203] POST http://10.111.111.200/fop2/admin/fop2reload.php [HTTP/1.1 200 OK 28ms]
Changes using the Fop2 manager are effected only by restarting fop2 service.
The fop2reload.php page includes functions.php and the function reload_fop2 reads as:
function reload_fop2() {
global $astman, $conf;
if(!$res = $astman->connect($conf.':'.$conf, $conf , $conf, 'off')) {
unset($astman);
}
if ($astman) {
$res = $astman->UserEvent('ZAP/1','Reload');
unset($_SESSION[MYAP]);
}
}
By changing a line in functions.php from:
$res = $astman->UserEvent('ZAP/1','Reload');
back to
$res = $astman->reload();
makes the reload to work again.
We're not running ZAP.
When I make changes to buttons or users, the changes only take affect after running "service fop2 reload".
The reload in the manager doesn't work for me.
I have 2.28 installed and had management 1.0.3. just upgraded the management to 1.0.5 (which now says version 2.0) and still same problem.
Any ideas what I should check?
Thanx
So I have implemented a way to signar a Reload via manager UserEvents, and that was included in the latest 2.28, or on the new 2.29.00. So, Upgrade to 2.29.00, or reinstall 2.28 and reloads should work when you do an action "Reload FOP2" from the Asterisk Manager.
Or if you use an unaffected Asterisk version, the reload should be done when asterisk is reloaded also.
Best regards,
I tried manually copying the files but "fop2_server -v" still says I have 2.28
Best regards,