How to revoke / move a FOP2 License
In order to move a license from one server to another, you must revoke the license on the original working server, in order to release it so it can be used on the new server.
To revoke you must know your original activation code, so be sure to have it handy before attempting this procedure. If you do not remember your activation code, contact us with information about your purchase and server so we can look it up for you.
Another important bit is that the revoke action only works if your license is active, valid and working. You cannot revoke invalidated or broken licenses. If your license is invalid or broken because of a server crash or similar, you can contact us requesting a manual revocation. You are entitled to request a manual revoke 3 times. After that your activation code will become invalid and you will need to buy a new license. So always try to manage license revocation yourself to avoid burning out your license.
Final note, if you want to upgrade FOP2 to a new version, then there is no need to revoke, please do not revoke if you want to upgrade to a new version as you will most probably run into issues with the license.
So, before revoking, check that your license is valid and active by running this command at your server command line:
/usr/local/fop2/fop2_server --test
If the output says that you have a "Valid License", then you will be able to perform the revocation with no issues. If the license is invalid because of a host name mismatch, then you still will be allowed to perform a revocation. If the license is invalid for other reasons, then you won't be able to perform the --revoke action.
So, after verifying that your licese is valid or just the hostname changed, you can proceed with the revocation with this command:
/usr/local/fop2/fop2_server --revoke
You will be prompted for your activation code. Type it and hit ENTER
if everything is ok it will say that the license was revoked. At this point your activation code is now released and can be used to activate another installation/server.
Be sure to activate the same FOP2 version you had installed before to avoid issues, because version upgrades are available for one year upon purchase. Attempting a version upgrade by doing a revoke/register is not advisable and it will fail.