The WSO2 in-place updates tool allows you to update your currently used product by fetching updates from the server and merging all configurations and files. The tool also gives backup and restore capability.
Given below is how to get in-place updates to your product.
Before you begin,
- Make sure you are already using a WSO2 product. (Let's call this
<PRODUCT_HOME>
). - Make sure you have an active Internet connection.
- Get a valid WSO2 subscription.
Do you have a proxy server/firewall? Then, grant access to the endpoints mentioned below.
- If there are any soft links that reside inside your product distribution, please delete and recreate them once the update process is completed.
Let's begin.
Stop the WSO2 product server if it is running.
Go to the
<PRODUCT_HOME>/bin
directory and run the in-place updates tool that is appropriate to your OS:Supported Windows versions are Windows 7, 10, and Windows Server 2012 R2, 2016.
./update_linux (On Linux) ./update_windows (On Windows) ./update_darwin (On OS X)
- When prompted, give the following:
- WSO2 subscription's user credentials.
- The channel that you subscribed to (e.g., full or security) when getting a WSO2 subscription.
Note that the tool starts to update your product.
Restart the server.
If you want to revert the updates and restore the previous state, run the following command:
./update_linux --revert (On Linux) ./update_darwin --revert (On OS X) Currently not supported on Windows due to file restrictions.
You have now updated your product using the WSO2 in-place update tool.