users cannot log in after upgrade from 2.28 to 2.30

Hello,

I have upgrade the fop2 from 2.28 to 2.30, after that the users cannot log in. The web hangs after sending the user and the password in the message "one moment please. Connecting to server, attempt number: 1"

The admin is working ok, I can log in.

To make the upgrade I just download the new version an run make.

If execute fop2_server --test I get:
/usr/local/fop2# ./fop2_server --test
Flash Operator Panel 2 - White Label Version
Flash Operator Panel 2 - Valid License
Flash Operator Panel 2 - Featureset: Voicemail Explorer & IM Chat
Flash Operator Panel 2 - Allowed Tenants: 5

Connection to manager OK!

It is not a password problem. If I fail the password the web ask me for a password again.

Thanks for the help!

Comments

  • Make sure FOP2 is running.
    Issue command:
    service fop2 restart
  • Be sure to flush your browser cache, as browser might be using the old/previous .js and .html files.

    One quick and easy way to test if the problem is browser cache is to use incognito mode to log into FOP2.
  • thanks for the reply.

    yes, fop2 is running:

    # ps aux | grep fop2
    root 25390 0.7 4.2 156492 87136 ? Ss 15:36 0:00 /usr/local/fop2/fop2_serve --logdir /var/log/asterisk/fop2/ -d -p /var/run/fop2.pid

    and I tried with a incognito and do the same it freeze after asking user and password.

    Regards,
  • Is your FOP2 installed in /var/www/html/fop2 or you use a distinct/different name instead of /fop2 ?
  • hello,

    is in /var/www/freepbx/htdocs/fop2 but I have configured it in fop2.cfg:

    web_dir = /var/www/freepbx/htdocs/fop2

    Regards
  • That's not enough. The "make" command will place the new fop2 web files in /var/www/html/fop2 , so when you browser FOP2 on your system you are using the OLD web files with the NEW server, and that won't work at all. You will need to copy files and subdirectories in /var/www/html/fop2 to your custom directory (you must update client files also).

    Not only that, having a custom directory means that you also need to modify autoconfig-users.sh script and set the PLUGINDIR variable by hand to match. Otherwise plugins won't work either.

    Best regards,
Sign In or Register to comment.