Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19923

Fix mp-remove command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.3-SNAPSHOT
    • Fix Version/s: 8.3

      Description

      It fails with the following stack

      m3 guillaume@guillaume-laptop:/opt/tomcat/bin$ ./nuxeoctl mp-list
      Detected Tomcat server.
      Nuxeo home:          /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat
      Nuxeo configuration: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/bin/nuxeo.conf
      Include template: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/templates/common-base
      Include template: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/templates/common
      Include template: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/templates/default
      Local packages:
       addon  downloaded	nuxeo-drive (id: nuxeo-drive-1.6.2-SNAPSHOT)
       addon     started	nuxeo-web-ui (id: nuxeo-web-ui-1.0.0-SNAPSHOT)
      
      m3 guillaume@guillaume-laptop:/opt/tomcat/bin$ ./nuxeoctl mp-remove nuxeo-drive
      Detected Tomcat server.
      Nuxeo home:          /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat
      Nuxeo configuration: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/bin/nuxeo.conf
      Include template: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/templates/common-base
      Include template: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/templates/common
      Include template: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/templates/default
      
      Removed nuxeo-drive-1.6.2-SNAPSHOT
      Could not parse install file for nuxeo-drive
      java.io.FileNotFoundException: /opt/nuxeo-cap-8.3-SNAPSHOT-tomcat/packages/store/nuxeo-drive-1.6.2-SNAPSHOT/install.xml (No such file or directory)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at java.io.FileInputStream.<init>(FileInputStream.java:93)
      	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
      	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
      	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
      	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
      	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
      	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
      	at org.nuxeo.launcher.info.PackageInfo.templates(PackageInfo.java:149)
      	at org.nuxeo.launcher.info.PackageInfo.<init>(PackageInfo.java:137)
      	at org.nuxeo.launcher.connect.ConnectBroker.newPackageInfo(ConnectBroker.java:1502)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgRemove(ConnectBroker.java:661)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgRemove(ConnectBroker.java:618)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1316)
      	at org.nuxeo.launcher.NuxeoLauncher.pkgRequest(NuxeoLauncher.java:2976)
      	at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1312)
      	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1188)
      

      EDIT

      Note that the package is removed despite the error

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: