This article describes how to get a Social Office instance up and running for the Liferay Portal.
Resolution
Activation key
In order to use Social Office EE, users will require an activation key. Users can check if they have one by going to liferay.com > Account > License > App. If there is a Social Office entry here, then they have an activation key for Social Office. However if there is no entry, users can either:
- Request an activation key
- Use a trial license (see below)
Download
To download the latest Social Office from Liferay Marketplace, users must first purchase it. To do so:
- Go to Liferay Marketplace > Social Office EE > 30-day trial > download
- Register with trial activation key.
- Note that the hostname is all that is required for registration.
- Go to liferay.com > User Profile > Apps > Personal Use > Social Office EE
- The App button downloads the latest versions, however, users can reach the previous versions by clicking the Find Past Versions link. If users cannot find the app in the list, it means users do not have an activation yet. See the Activation Key section.
Deploy & Register
Once users have downloaded the Social Office .lpkg
file, they should copy it to the deploy folder.
If the activation key file is not included in the .lpkg
- Go to Admin > Control Panel > License Manager
- Paste the Order Id
- Navigate to Marketplace > Apps > Social Office EE
- Then Next, Next, Finish
- Restart the portal
If the activation key file is included in the .lpkg
(3.0.1+)
- It will be hot deployed, which registers the plugin automatically.
- Activation keys also come in XML files which can be hot deployed.
The result of the registration may be checked in the log and on the portal's License Manager page.
Setup
To have access to Social Office, users need to grant the "Social Office User" role to the user in question. In Liferay Portal 6.2, there will be an alert when users click the "+" sign on the left.
Upgrading Social Office
To upgrade Social Office (SO), simply deploy the newer version to the hot deploy folder. If SO has been registered earlier, there is no need to register the newer version.
There is an upgrade issue with some portal versions which leaves junk files in the webapps folder. These can cause issues such as an unstable SO and Liferay. To prevent this from happening, set hot.undeploy.on.redeploy=true
in the portal-ext.properties
before deploying the newer version. Remember to shut down the application server, then restart.