Member
Last active 7 years ago
I did have the error message that you wanted me to look for in the /usr/local/fop2/capture.log
Here is what my line of code is that you wanted me to replace with the other.
AMPVERSION=`cat /var/www/html/admin/modules/framework/module.xml | grep "<version>" | sed -e 's/<[^>]*>//g' | cut -d\. -f 1,2 | sed 's/\s//g' | sed 's/\.//g'`
Because it was so different than what you expected me to find,
I did not do anything with it until you have a chance to look at it.
Gene
Over the past several days while I had the fop2 debugging engaged, there were no problems after numerous mod reloads for many different reasons, ie, adding and removing extensions, adding and removing audio files. Since things were going well
I decided to stop the debugging. As soon as I stopped the debugging, after deleting an audio file, then doing a mod reload, the fop2 "no buttons" appeared again.
It appears that having the debugging engaged, keeps the fop2 panel "connected".
In terms of the FOP2 Groups, I have two additional Groups that I have set up for limiting access to certain users who rarely login to the FOP2 panel.
When I said crashed, I mean " No Buttons" appears on the screen.
I will turn on the debug again and see what happens and let you know.
Gene
This is a strange problem. When I start the debug as you recommended in the previous message,
The problem goes away! Everything works perfect when the debug is in effect. I can add extensions, remove extensions, add audio files, everything works. So I don't have debug report to send you.
As soon as I stop debugging and do something that needs a reload module, the "NO Buttons" appears after one or two module reloads. The first module reload may not cause the problem to show up, the inevitably after the second or third reload, the FOP2 panel goes down, "NO BUTTONS".
Here is the most recent episode:
The first reload after restarting FOP2 without debug-- I deleted an extension and it reloaded with the extension button being removed as it should. Then I uploaded an audio file and did a module reload to remove the duplicate entry in the
system recordings, and the panel crashed. That is all I have done this afternoon.
A reboot seemed to fix the problem but only for a few hours and the problem has returned.
After I do a module reload, the only button on the fop2 is "No Buttons".
The reload I am doing is after uploading audio files to a bulletin board/message line that is part of my asterisk system.
I upload several new files a day and almost every time I do the reload, the fop2 buttons disappear.
I will do a reboot of the asterisk box when appropriate and pay closer attention to what happens and report back.
Whatever the problem, a reboot of the entire system solved the problem!
Obviously we don't know what was the problem, but we know what fixed it.
Thanks you your work,
Gene
I will do a reboot of the linux box when the system is idle and see if that has any effect
on the problem. My linux box has been up for over 7 weeks now without needing a reboot.
Will let you know if it has any effect.
Usually the reason I do mod reload is the adding or removal of audio files that are accessed from an IVR menu
for playback. That is when I started noticing the problem.
If I go into an outbound route and change a digit of the CallerID number and reload once or twice
the FOP2 will crash.
I just did it now as I write this and after changing a digit and module reload, the fop2 crashed.
I installed fop2admin 1.2.15 and did a couple of module reloads, same problem occurs.
fop2admin 1.2.13
And the FOP2 Buttons option looks normal. The panel also right now looks normal.
I have done 2 module reloads this morning. One time nothing happened to fop2 panel
and the other time it knocked it out, saying "no buttons".
A service fop2 restart fixes the problem.