Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-253

Existing folder collision when running jumpstart

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • 3.1.0
    • None

    Description

      Reproduce

      • Run the command "mgnl jumpstart"
      • When it completes run it again.

      Customer error:

      My error:

      % mgnl jumpstart                                                                                                                                         ~/Downloads/jumpstart
      info Using configuration at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json
      info Using prototypes at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes
      ? What Magnolia would you like to install? magnolia-dx-core-webapp
      ? Username: rgange
      ? Password: [hidden]
      info No magnolia-version option provided. Will use the latest stable version.
      info No path option provided. Will use the default light-modules in the current directory
      info /Users/rich.gange/Downloads/jumpstart/light-modules does not seem to exist. Path will be created automatically.
      info Starting download from: https://nexus.magnolia-cms.com/service/local/artifact/maven/content?r=magnolia.public.releases&g=info.magnolia.tomcat.barebone&a=magnolia-tomcat-barebone&e=zip&v=LATEST
      Downloading [====================] 100% 0.0s
      info Starting download from: https://nexus.magnolia-cms.com/service/local/artifact/maven/content?r=magnolia.enterprise.releases&g=info.magnolia.dx&a=magnolia-dx-core-webapp&e=war&v=LATEST
      Downloading [====================] 100% 0.0s
      info Extracting...
      info /Users/rich.gange/Downloads/jumpstart/Users/rich.gange/Downloads/jumpstart/downloads/magnolia-dx-core-webapp-6.2.6.war to /Users/rich.gange/Downloads/jumpstart/apache-tomcat/webapps/magnoliaAuthor
      info Extraction completed
      info Replacing Magnolia properties to prepare it for light development...
      info Changing magnolia.properties at apache-tomcat/webapps/magnoliaAuthor/WEB-INF/config/default/magnolia.properties
      info magnolia.develop=true
      info magnolia.update.auto=true
      info magnolia.resources.dir=${magnolia.home}/../../../light-modules
      info Magnolia has been successfully setup for light development!
      info You can now open a new terminal tab or window and start it up with the CLI command 'mgnl start'
      info Magnolia will be ready after a few seconds at localhost:8080/magnoliaAuthor. Username and password is superuser
      % mgnl jumpstart                                                                                                                                         ~/Downloads/jumpstart
      info Using configuration at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli.json
      info Using prototypes at /usr/local/lib/node_modules/@magnolia/cli/lib/config/mgnl-cli-prototypes
      ? What Magnolia would you like to install? magnolia-dx-core-webapp
      ? Username: rgange
      ? Password: [hidden]
      info No magnolia-version option provided. Will use the latest stable version.
      info No path option provided. Will use the default light-modules in the current directory
      info /Users/rich.gange/Downloads/jumpstart/downloads/magnolia-tomcat-barebone-1.2.3.zip already exists. It won't be downloaded again.
      info /Users/rich.gange/Downloads/jumpstart/downloads/magnolia-dx-core-webapp-6.2.6.war already exists. It won't be downloaded again.
      info /Users/rich.gange/Downloads/jumpstart/apache-tomcat already exists. We won't extract it again.
      ERR! ERROR: /Users/rich.gange/Downloads/jumpstart/apache-tomcat already contains an extracted webapp. The jumpstart command will not extract a new webapp when one is already present.
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD