Issue
- Followed the steps mentioned in the article:
https://help.liferay.com/hc/en-us/articles/360029115352-How-to-migrate-to-DBStore - After initiating the process, receiving the following logs:
Caused by: com.liferay.document.library.kernel.exception.NoSuchFileException: {companyId=<companyId>, repositoryId=<repositoryId>, fileName=<fileName>, cause=java.io.FileNotFoundException: /liferay/bundles/liferay-version/data/document_library/<companyId>/<repositoryId>/<fileName>/<XXX> (No such file or directory)}
at com.liferay.portal.store.file.system.FileSystemStore.getFileAsStream(FileSystemStore.java:304)
at com.liferay.document.library.kernel.store.BaseStore._transfer(BaseStore.java:629)
... 21 more
Caused by: java.io.FileNotFoundException: /liferay/bundles/liferay-version/data/document_library/<companyId>/<repositoryId>/<fileName>/<XXX> (No such file or directory)
Environment
- Liferay DXP 7.1
Resolution
- Check and confirm the value that is stored in the System Settings of the environment, is the correct value that you would like to migrate from. (Document Repository Configuration)