Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-10385

Unable to update IDM from 5.5.0.1 to 5.5.0.2

    Details

      Description

       

      Update from 5.5.0 to 5.5.0.2 works correctly. Only update from 5.5.0.1 to 5.5.0.2 is affected. 

      Steps to reproduce: 

      1. install OpenIDM 5.5.0 with a JDBC repo (tested on MySQL)
      2. start OpenIDM
      3. cp IDM-5.5.0.1-patch.zip openidm/bin/update/
      4. ./openidm/cli.sh update  --skipRepoUpdatePreview --acceptLicense  --user openidm-admin:openidm-admin  --url http://localhost:8080/openidm IDM-5.5.0.1-patch.zip
      5. restart OpenIDM
      6. cp IDM-5.5.0.2-RC1-patch.zip openidm/bin/update/
      7. ./openidm/cli.sh update  --skipRepoUpdatePreview --acceptLicense  --user openidm-admin:openidm-admin  --url http://localhost:8080/openidm IDM-5.5.0.2-RC1-patch.zip

      Expected result: IDM is updated;

      Actual result: IDM is not updated, please look at output below.

       

      Executing ./openidm/cli.sh...
      Starting shell in /home/kuba/Documents/idm5502/rc1/openidm
      Mar 07, 2018 4:45:34 PM org.forgerock.openidm.core.FilePropertyAccessor loadProps
      INFO: Using properties at /home/kuba/Documents/idm5502/rc1/openidm/conf/boot/boot.properties
      A valid archive was not found in the bin/update directory. Requested filename was = IDM-5.5.0.2-RC1-patch.zip
      Invalid archive(s) were found:
      IDM-5.5.0.1-patch.zip: The archive IDM-5.5.0.1-patch.zip can be used only to update version '[5.5.0]' and you are running version 5.5.0.1 
      IDM-5.5.0.2-RC1-patch.zip: The archive IDM-5.5.0.2-RC1-patch.zip can be used only to update version '[5.5.0]' and you are running version 5.5.0.1 
      ERROR: Error during execution. The state of OpenIDM is now unknown. Last Attempted step was PREVIEW_ARCHIVE. Now attempting recovery steps.
      Exiting maintenance mode...
      No longer in maintenance mode.
      Resuming the job scheduler.
      Scheduler has been resumed.
      

      Tested build: IDM-5.5.0.2-RC1-patch

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.offutt Mark Offutt [X] (Inactive)
                Reporter:
                jakub.janoska Jakub Janoska [X] (Inactive)
                QA Assignee:
                Jakub Janoska [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: