Legacy Knowledge Base
公開されました Sep. 10, 2025

docker起動時にfile:/opt/liferay/osgi/modulesからコピーできないエラー

Written By

Tamas Kovacs

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

Liferayのdocker環境を起動すると、次のようなエラーが発生します:

ERROR [main][ModuleReadHookImpl:88] Unable to copy from file:/opt/liferay/osgi/modules

環境

  • Docker
  • Liferay 四半期リリース 2023.Q3

解像度

  • 2023.Q3では、 osgi/modulesディレクトリにもLiferayモジュールが含まれているからです。 これは、あなたの開発に対するDocker独自のボリュームと衝突する可能性がある。

    LPS-200065 は Liferay モジュールを osgi/portalの代わりに osgi/modulesというディレクトリに移動します。 この修正は、2023.Q4 四半期版に含まれる予定です。

    2023.Q3バージョンに代わる解決方法は、 portal-ext.properties のフォームを使用して、独自のディレクトリを定義することです:
    module.framework.auto.deploy.dirs=\
    ${module.framework.client.extensions.dir},\
    ${module.framework.configs.dir},\
    ${module.framework.marketplace.dir},\
    ${module.framework.modules.dir},\
    ${module.framework.portal.dir},\
    ${module.framework.war.dir},\
    ${module.framework.base.dir}/custom

Did this article resolve your issue ?

Legacy Knowledge Base