Buttons Disappear
-
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. -
-
-
-
-
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.
-
Thanks for the feedback. Today I logged into another user system with that problem, but when I turned debug it did not have issues either. So it is really strange and hard to trace as I need debug in order to see what could go wrong. Now, what I did notice in this installation was that they upgraded to the more recent freepbx version, and that version has a duplicated version line in some xml file that breaks a version detection in autoconfig-buttons-freepbx.sh
Please try this:
cd /usr/local/fop2 script capture.log ./autoconfig-buttons-freepbx.sh exitNow open the capture.log file and look at the top, do you see an error like described in the following post (ERROR ... line 17: [: too many arguments)?
If so, modify the script as described in that post to see if it makes a difference or not.
-
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
-
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login