-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8
-
Fix Version/s: 8.10
-
Component/s: nuxeoctl start/stop/admin
-
Epic Link:
-
Tags:
-
Sprint:NOS-29
-
Story Points:10
Issue was raising during NXP-13427, mp-upgrade doesn't work with Studio packages:
# Check upgrade # Add new compliant package jcarsique-SANDBOX-0.0.4 $ ./bin/nuxeoctl mp-show "jcarsique-SANDBOX-0.0.4" |grep "Target platforms" Target platforms: {cap-5.8,cap-5.8*HF*} $ ./bin/nuxeoctl mp-list studio downloaded jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.0-SNAPSHOT) studio downloaded jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.2) studio started jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.3) studio downloaded jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.4) # Upgrade from not compliant jcarsique-SANDBOX-0.0.3 $ ./bin/nuxeoctl mp-upgrade --relax=false --accept=true -s # => KO; jcarsique-SANDBOX-0.0.4 should be installed # SNAPSHOT package upgrade $ ./bin/nuxeoctl mp-list studio started jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.0-SNAPSHOT) studio downloaded jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.2) studio downloaded jcarsique-SANDBOX (id: jcarsique-SANDBOX-0.0.3) $ find nxserver/data/packages/store/jcarsique-SANDBOX-0.0.0-SNAPSHOT -exec touch {} \; $ ./bin/nuxeoctl mp-upgrade --relax=true --accept=true -s # => KO; jcarsique-SANDBOX-0.0.0-SNAPSHOT should be reinstalled