-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10, 11.x
-
Fix Version/s: 2021.0
-
Component/s: Nuxeo Package Management
-
Tags:
-
Backlog priority:400
nuxeoctl incorrectly installs packages that contain install/bundles-jsf-ui before package nuxeo-jsf-ui is installed. In particular, the files in the install/bundles-jsf-ui are excluded from the installation which corrupts the integrity of the server startup.
Steps to reproduce:
mkdir /tmp/staging
Download hotfix 01 through 23 to /tmp/staging
Download nuxeo-jsf-ui-10.10.0.zip to /tmp/staging
Download nuxeo-spreadsheet.1.4.3.zip to /tmp/staging
$NUXEO_HOME/bin/nuxeoctl stop $NUXEO_HOME/bin/nuxeoctl --offline -q --accept true --relax true mp-purge $NUXEO_HOME/bin/nuxeoctl mp-list # ensure nothing is installed find /tmp/staging -name '*HF*' | while read hf; do\ $NUXEO_HOME/bin/nuxeoctl --offline --nodeps --accept true --relax true mp-add $hf;\ $NUXEO_HOME/bin/nuxeoctl --accept true mp-install $hf;\ done $NUXEO_HOME/bin/nuxeoctl --offline --nodeps --accept true --relax true mp-install\ /tmp/staging/nuxeo-jsf-ui-10.10.0.zip\ /tmp/staging/nuxeo-spreadsheet.1.4.3.zip $NUXEO_HOME/bin/nuxeoctl start grep $NUXEO_HOME/nxserver/bundles/nuxeo-platform-spreadsheet-jsf-10.10.jar # JAR exists # Repeat except substitute this marketplace installation - note the order is reversed: $NUXEO_HOME/bin/nuxeoctl --offline --nodeps --accept true --relax true mp-install\ /tmp/staging/nuxeo-spreadsheet.1.4.3.zip\ /tmp/staging/nuxeo-jsf-ui-10.10.0.zip grep $NUXEO_HOME/nxserver/bundles/nuxeo-platform-spreadsheet-jsf-10.10.jar # JAR missing