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

learn-legacy-article-disclaimer-text

問題

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