This article describes known issues that have been encountered when publishing large files using Remote Staging.
Resolution
Affected Products
Liferay Portal 6.2 EE SP5-SP10
Known Issue: Invalid checksum for LAR file error
When the Staging server transfers the LAR file in smaller chunks to the Live environment, the assemble order is not guaranteed there, and this will cause errors in the Staging process: LPS-47637
Affected Products
Liferay Portal 6.2 EE SP5, SP6
Steps to Reproduce
- Enable Remote Staging on a test Site.
- Upload lots of files with the Documents and Media portlet (approximately 800 megabytes of documents are enough).
- Publish the whole Site to the Live environment.
Result
The process fails with the following error message: The publication process did not start due to validation errors. Invalid checksum for LAR file
Solution
The process will mark the "chunks" when splitting the LAR so it can be assembled in the correct order. This issue has been fixed and is already available on the Portal Downloads page (also in Liferay Portal 6.2 EE SP7 and above).
Known Issue: Cannot publish to remote site if LAR is over 2.15 GB
When the Staging process encounters a file that is bigger than 2.15 GB, it will break the file into chunks to make the transfer work as expected. However, the position value isn't being updated correctly during the process, which creates a corrupted zip file (see LPS-52303 for more information)
Affected Products
Liferay Portal 6.2 EE SP7, SP8, SP9, SP10
Steps to Reproduce
- Enable Remote Staging on a test Site
- Upload more than 2.15 GB of data to the Documents and Media portlet (this can be done with a lot of smaller files, or just a few big ones)
- Publish the whole Site to the Live environment.
Result
The process fails with the following error message: The publication process did not start due to validation errors. Please specify a LAR file to import.
Solution
The solution which updates the position value correctly only exists on the master branch currently. While a fix pack is not available, please submit a Help Center Ticket and ask for a temporary hotfix that contains the fix for LPS-52303.