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. FOP2 configuration

FOP2 configuration

Scheduled Pinned Locked Moved Support
7 Posts 2 Posters 604 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.
  • S
    S
    sbasan
    wrote on last edited by
    #1

    I removed one tenant from the PBX but FOP keep on displaying this tenant (This tenant is no longer in the organization DB).
    This cause that selecting other tenant (2nd one) to display all parameters of the 3rd tenant.

    1. from where (exact file) the FOP reading the tenants?
    2. Can I, from this file, specify which tenant I want the fop to read/use (This till the tenant context configuration will be ready)
    3. How do I flush all fop information so it will be read again?

    log file show that fop is reading and using the deleted tenant context.

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

      Hi,

      Tenant populate functions vary from backend to backend, what is the one you are using? Look at the functions-BACKEND.php in the /var/www/html/fop2/admin for the first function... that is the one that populates the tenant tables in FOP2. Perhaps they need adjusting to account for tenant removals, but it will depend on each backend in different ways.

      If you want to flush tenant config, you can try by truncating the fop2contexts table in mysql.

      The latest fop2 manager I am working on already has the option to enable/disable tenants. I have just updated fop2manager-1.1.0.tgz in the download section that includes that config page.

      1 Reply Last reply
      0
      • S
        S
        sbasan
        wrote on last edited by
        #3

        deleted all from fop2contexts table and all configured tenants are being displayed.
        The problem is that I have no buttons nor users.
        Recreate users add nothing.
        debug log display-

        ** Executing config script /usr/local/fop2/autoconfig-buttons.sh mydmain.com

        ERROR 1052 (23000) at line 1: Column 'exclude' in where clause is ambiguous
        ** Done executing script /usr/local/fop2/autoconfig-buttons.sh mydomain.com of type buttons

        1 Reply Last reply
        0
        • S
          S
          sbasan
          wrote on last edited by
          #4

          Also, on another two systems I've upgraded the fop manager from 1.0.8 and although I see all buttons in the manager, the user logged in see nothing.
          from the debug log - Same error as above.
          and "Flash Operator Panel 2 - Time limited version - Expires Fri Oct 23 12:59:58 2015" - I bought the license so why it's time limited and expires?

          In addition the chrome plugin is not display the extensions.
          It looks like some problem with the new manager version?
          Should I downgrade back to 1.0.8?

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

            What is the output from

            /usr/local/fop2/fop2_server --test

            ?

            My guess is that you have a fop2_server version that is not matching the version on your license file. (that is unrelated to the fop2 manager).

            1 Reply Last reply
            0
            • S
              S
              sbasan
              wrote on last edited by
              #6

              The result:
              Flash Operator Panel 2 - License file fop2.lic not found.
              Running in Demo Mode
              Connection to manager OK!

              As for all the systems that I've see no buttons the change in autoconfig-buttons.sh with the exclude made them appear again, but for those system I've seen the number of buttons in the admin panel.

              For one system, where you suggested to delete the fop2context from the mysql:

              1. From the admin panel I can see 0 buttons.
              2. Can't recreate users (Got 0 user added)

              FOP2 Server Status: OK - Version: 2.30.02

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

                Ok, maybe you are mixing servers/questions on the same topic and becomes confusing. If you do not have a fop2.lic file, you won't ever see a message like "Time limited version - Expires Fri Oct 23 12:59:58 2015".

                So, that is my first confusion.

                As for the manager displaying no buttons, I made some changes for multi tenant selection, in order to enable/disable which contexts have access to FOP2. This change might have broken some systems, but it is not that hard to fix, not sure if Elastix MT was affected or not.. I have some success reports, so I am unsure if your issue has to do with those changes.

                If you can catch me on the live help I will be able to review your functions and see, if you want to do it yourself, you can enable DEBUG in config.php and look for warnings or similar.

                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