userdoc:tt_asterisk-fop2-upgrade

This is an old revision of the document!


Upgrade Add-On FOP2 Package

Typically, the FOP2 package is updated to a new version on a yearly (annual) basis. If it has been over a year since you installed the FOP2 package on your AstLinux system you may want to consider updating to the latest FOP2 version.

If you have not purchased a FOP2 license and are using the “Lite Version” then upgrading is straightforward via the System Tab of the web interface under “Add-On Packages:”, and you can stop reading here. On the other hand, if you have purchased a FOP2 license, upgrading will most likely require you to purchase a new “Annual Software Maintenance” License Upgrade.

If you have a FOP2 license, follow the steps outlined below to make sure FOP2 sees this as an “upgrade” and not a “new install”.

Note: AstLinux 1.2.1 or later is required

First, check if there is a newer available version of FOP2 from what is currently installed…

upgrade-package fop2 check

If the response is, “Package 'fop2' is currently the newest available version” then you don't need to upgrade.

Next, make sure your license is valid…

service fop2 test

If the response is something like “Flash Operator Panel 2 - Valid License” you are good to continue with the upgrade.

Alternatively, if the response shows “Invalid license…” See Below: Fixing Invalid FOP2 License and return back here when the license issue is resolved.

Before you upgrade it is best to first purchase the “Annual Software Maintenance” License Upgrade so you will have the “license upgrade code”, usually sent via email.

Upgrade to the latest available FOP2 version…

upgrade-package fop2 upgrade

You should see something like “Successful package 'fop2' upgrade, 'fop2' is not running.” in response.

Using your newly purchased “upgrade code”, issue the command…

/usr/local/fop2/fop2_server --upgrade

and enter the “upgrade code” from your email when prompted.

Test if the new install looks good…

service fop2 test

Finally, start FOP2 with the newly updated version…

service fop2 init

Tip -> Should there be a problem with the new FOP2 version you may revert to the previous FOP2 version with “upgrade-package fop2 revert”.

Tip -> If you made customizations to the FOP2 files, those file are saved in the “”/stat/var/packages/fop2-OLD/“ directory.

If you have a FOP2 license, you should upgrade using the CLI as managing the license codes require CLI access.

If you have not purchased a FOP2 license and are using the “Lite Version” then click on the System Tab of the web interface, under “Add-On Packages:” select “fop2” and “Upgrade/Install”.

An invalid license could be caused by a few reasons, if all else fails contact FOP2 support.

First, using your original “serial code” you purchased, try to register…

/usr/local/fop2/fop2_server --register

If that fails, try to revoke your current license and then re-register…

/usr/local/fop2/fop2_server --revoke
/usr/local/fop2/fop2_server --register

If that fails, contact the fine folks at: FOP2

  • userdoc/tt_asterisk-fop2-upgrade.1414194213.txt.gz
  • Last modified: 2014/10/24 18:43
  • by abelbeck