legacy-knowledge-base
公開されました Sep. 10, 2025

File Upload Fails in Forms on Remote Live Site

written-by

Balázs Létai

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

Issue

  • When uploading files using a form upload field on Remote Live site, files do not upload, and the following error message appears: "An unexpected error occurred while uploading your file." This only occurs in Remote Live site and not on the Staging site.

Environment

  • Liferay DXP 7.4
  • Liferay Quarterly releases

Resolution

  • The issue occurs because the property staging.live.group.locking.enabled is set to true by default. This property is intended to prevent direct modifications to the live site when Staging is enabled. 
    To resolve this, add the following to your portal-ext.properties file:
    staging.live.group.locking.enabled=false
    However, this allows modifications to bypass the staging review process for Local Live staging, so exercise caution when applying this setting and ensure it aligns with your change management process.

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base