Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8237

Cannot bootstrap licence from webapp folders

XMLWordPrintable

    • Global Maintenance 2
    • 8

      Put a licence (config.modules.enterprise.license.xml) into one of these folders:

      • /WEB-INF/bootstrap/common
      • /WEB-INF/bootstrap/author
      • /WEB-INF/bootstrap/public
      2021-09-27 08:39:54,783 DEBUG info.magnolia.module.webapp.WebappBootstrap       : Will bootstrap config.modules.enterprise.license.xml
      2021-09-27 08:39:54,784 INFO  info.magnolia.importexport.Bootstrapper           : Trying to import content from 1 files into repository [config]
      2021-09-27 08:39:54,784 DEBUG info.magnolia.importexport.DataTransporter        : Importing content into repository: [config] from: [/Users/rich.gange/magnolia/magnolia-dx-core-demo-6.2.11/apache-tomcat-9.0.43/webapps/magnoliaAuthor/WEB-INF/bootstrap/common/config.modules.enterprise.license.xml] into path: [/modules/enterprise]
      2021-09-27 08:39:54,792 ERROR info.magnolia.module.InstallContextImpl           : [1301/1302 tasks - Magnolia Webapp Module (version 6.2.11)]> Error while installing or updating webapp module. Task 'Webapp bootstrap' failed. (ItemExistsException: Same name sibling not allowed for node /modules/enterprise/license by definition * (declaring type mgnl:content))
      java.lang.RuntimeException: Error importing /Users/rich.gange/magnolia/magnolia-dx-core-demo-6.2.11/apache-tomcat-9.0.43/webapps/magnoliaAuthor/WEB-INF/bootstrap/common/config.modules.enterprise.license.xml: Same name sibling not allowed for node /modules/enterprise/license by definition * (declaring type mgnl:content)
      

      Notes
      I think somehow the import behavior changed. We should delete the already existing node for bootstrapping.

      Workaround
      Use the same UUID in the webapp bootstrap file. Copy the file from Git and add your credentials to it in owner/key.

        Acceptance criteria

              thuy.to Thuy To
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 11d 5.75h
                    11d 5.75h