To resolve this issue, read/write permissions must be configured.
Linux
1. Navigate to the data folder and use the "ls -l" command to see what permissions files have.
2. To change permissions, enter command "chmod -R 777 file/folder" or "chmod -R a+rwx file/folder".
These commands open up all relevant permissions for the
If a license error message is still received, please proceed with opening a Help Center ticket and provide the following information:
- screenshot of the error on the license manager page
- logs generated during the deployment process
Windows
If you’re deploying on Windows OS, please not that even though your user may have read/write permissions on the directory and file, they may have the Windows “read only” flag set in place. This setting will cause Java to think that the file cannot be written to.
If this is the case, simply clear the inaccurate Windows flag by right clicking the data folder, selecting "Properties" and de-selecting the "read-only" checkbox in the "General" tab or by re-configuring permissions in the "Security" tab.
Re-deploying
Once the permissioning changes have been made, re-deploy the license by following these steps:
- Stop the server
- Delete the
$LIFERAY.HOME/data/ee directory
- Copy the
xml file to the deploy directory
- Restart the application server
- Portal should startup automatically