Issue
- When trying to publish content (like staging or exporting pages) a message appears that there is no space left in the storage device
- Cleaning temporary app server files doesn't help
Environment
- Liferay DXP 7.1
Resolution
- LAR files generated by previous export processes are stored in the document library and use disk space the same way a regular document library file does
- Deleting the background tasks using a Groovy script may help recover most of the space (see file
DeleteBackgroundTasks_71x.groovy
) - If there are still LAR files remaining after running the script, another Groovy script may be used to eliminate leftovers (see file
DeleteStaleLarFiles_71x.groovy
)
Additional Information
- Always test the changes in a test environment and before testing the changes in production, create a backup of the database and document library folder to mitigate risk