legacy-knowledge-base
公開されました Jun. 30, 2025

ディレクトリエラーを作成できません

written-by

Pooja Bhambani

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • コンソールに次のエラーが表示されます。
    ERROR [Start Level: Equinox Container: 10106855-d66b-001d-184e-d6958ecd00e8][comliferayportalstorefilesystem:97] [com.liferay.portal.store.file.system.FileSystemStore(1871)] The activate method has thrown an exception com.liferay.portal.kernel.exception.SystemException: java.io.IOException: Unable to create directory /portaldata/corp/documentlibrary
    at com.liferay.portal.store.file.system.FileSystemStore.initializeRootDir(FileSystemStore.java:658)
    at com.liferay.portal.store.file.system.FileSystemStore.activate(FileSystemStore.java:497)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Environment

  • Liferay DXP 7.2
  • Liferay DXP 7.3
  • Liferay DXP 7.4

解決策

  • このエラーは、Liferay/app サーバーを実行しているユーザーまたはサービスがディレクトリ /portaldata/corp/documentlibraryへの書き込み権限を持っていないため、Liferay がディレクトリを作成できないことを意味します。
  • ユーザーは、ユーザーまたはサービスが、Liferay が変更するように構成されているディレクトリへの完全な読み取りおよび書き込みアクセス権を持っていることを確認する必要があります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base