[NPMCLI-253] Existing folder collision when running jumpstart Created: 22/Feb/21  Updated: 24/Mar/21  Resolved: 24/Mar/21

Status: Closed
Project: Magnolia CLI
Component/s: None
Affects Version/s: 3.1.0
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File error.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 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.


 Comments   
Comment by Richard Gange [ 24/Mar/21 ]

It seems to have only happened to this one customer. It's unclear why. Closing as not an issue.

Generated at Mon Feb 12 04:48:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.