Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Buttons Disappear

Buttons Disappear

Scheduled Pinned Locked Moved Support
23 Posts 3 Posters 501 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    G
    gene778
    wrote on last edited by
    #13

    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.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #14

      The panel crashed? Or you saw the "no buttons"? Please leave it with debug turned on, until it happens again. There is no reason for the problem to not appear due to the debug being turned on or not..

      Best regards,

      1 Reply Last reply
      0
      • G
        G
        gene778
        wrote on last edited by
        #15

        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

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #16

          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

          thanks!

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #17

            Just a question to the people experiencing this problem: do you use fop2 groups to limit the view for affected users?

            1 Reply Last reply
            0
            • G
              G
              gene778
              wrote on last edited by
              #18

              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.

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #19

                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
                exit
                

                Now 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)?

                View Post 3587

                If so, modify the script as described in that post to see if it makes a difference or not.

                1 Reply Last reply
                0
                • G
                  G
                  gene778
                  wrote on last edited by
                  #20

                  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

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #21

                    It is not that different. You have to add " | head -n 1 " after the grep <version>

                    Anyways, are you running FOP 2.27 final?

                    1 Reply Last reply
                    0
                    • G
                      G
                      gene778
                      wrote on last edited by
                      #22

                      Done and restarted FOP2. Will let you know tomorrow how things go.
                      Gene

                      1 Reply Last reply
                      0
                      • G
                        G
                        gene778
                        wrote on last edited by
                        #23

                        All is going well today after the change you suggested.
                        I have done many mod reloads today for many reasons and no problem with the FOP2 panel.
                        Thank you Nicolas

                        Gene in Virginia, USA

                        1 Reply Last reply
                        0

                        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
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups