Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6026 Improve Update Center
  3. NXP-6027

Reinstall packages after Nuxeo upgrade

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.5
    • Component/s: Update Center
    • Upgrade notes:
      Hide

      Added a reset method - that can be called from Nuxeo launcher.
      After a manual upgrade you may want yo reset all previously installed packages (if you removed them from bundles/plugins but kept the ancient data folder) - to put them in DOWNLOADED state. This way you can re-install or remove them from the admin center UI.

      Show
      Added a reset method - that can be called from Nuxeo launcher. After a manual upgrade you may want yo reset all previously installed packages (if you removed them from bundles/plugins but kept the ancient data folder) - to put them in DOWNLOADED state. This way you can re-install or remove them from the admin center UI.

      Description

      User Story :
      On a 5.4.0 instance, I install packageA-1.0.0.
      Then I manually upgrade Nuxeo to 5.4.0.1 => I keep data directory and DB.
      After upgrade I see that packageA-1.0.0 is reported as installed whereas it is not true (since the bundles directory was completely replaced).

      Technical background :
      The packages directory contains meta-data on all installed packages.
      => After an upgrade or any manual changes we should be able to do a check on installed packages
      ==> mark some packages as broken / need to reinstall

      Sub tasks :

      • generate a check.xml at install time (bundle name + digest)
      • add a check API on update manager
      • add a blocken state for packages
      • add a remove / reinstall action

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: