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

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

投稿者

Pooja Bhambani

knowledge-article-header-disclaimer-how-to

knowledge-article-header-disclaimer

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