legacy-knowledge-base
Publicado Jun. 25, 2030

Running gw initBundle fails at the verifyBundle task

written-by

Marco Abamonga

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

  • Running gw initBundle fails at the verifyBundle task stating an invalid checksum, even though liferay.workspace.bundle.checksum.md5 is not in use in gradle.properties. Despite setting that value explicitly in gradle.properties to match your desired bundle file, the error still persists.
    • > Task :verifyBundle FAILED
      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':verifyBundle'.
      > Invalid checksum for file 'liferay-dxp-tomcat-7.3.10.u20-20230201145854021.tar.gz'. Expected 4b2h01628e242cc9727behf70a8b532z but got 231za126n30a7421h24dwn212hew612k.

Environment

  • DXP 7.3, 7.4

Resolution

    1. Ensure that you are using the latest version for com.liferay.gradle.plugins.workspace
    2. Remove or empty ~/.liferay/bundles directory
    3. ran gradlew initBundle again
did-this-article-resolve-your-issue

legacy-knowledge-base