LinuxAIXWindows

Removing a maintenance package from an instance interactively

Complete the following steps to remove a maintenance package from your WebSphere Commerce instance.

Before you begin

  • Identify the WebSphere Commerce instance that contains the maintenance package that you want to remove. If you created the instance after you applied the maintenance package, you cannot uninstall the maintenance package from that instance. Because the instance was created after the maintenance package was applied, the instance was never updated. UPDI does not know that the maintenance package is applied on the instance and the metadata does not indicate an update. In such a case, instead of removing the maintenance package from the instance, you must delete the instance so that you can complete the steps to uninstall the maintenance package.
LinuxAIXNote: Maintenance packages that were installed by the root user must be uninstalled by the root user.

Procedure

  1. Windows Log on with a user ID that is a member of the Windows Administration group.
  2. LinuxAIX Log on.
    • Log on as the root user
      • If you are already signed onto the system, issue the command su - root. Do not use the command su root. This command does not load the necessary root user's profile and environment.
    • Or log on as a non-root user that owns WC_installdir.
  3. Ensure that your WebSphere Commerce administrative server is started.
    For example,
    • If WebSphere Commerce is managed by WebSphere Application Server Deployment Manager (dmgr), start the deployment manager and all node agents. Your cluster can also be started.
    • If WebSphere Commerce is not managed by WebSphere Application Server Deployment Manager (dmgr), start the WebSphere Application Server server1.
    Note: During the removal of maintenance from the WebSphere Commerce instance, the Update Installer stops the WebSphere Commerce application automatically.
  4. Using the command line, navigate to the UPDI_installdir directory and type the following command:
    • LinuxAIX./update.sh
    • Windowsupdate.bat
    The WebSphere Commerce Update Installer wizard is launched.
  5. Complete the following steps.
    1. On the Welcome panel, review the information and click Next to continue.
    2. On the Product Selection panel, ensure that the directory name is correct.
      This directory is the WebSphere Commerce installation directory.
    3. Click Next to accept the WebSphere Commerce product found on your computer.
    4. When prompted, specify the WebSphere Commerce instance that you want to remove the maintenance package from.
    5. Select Uninstall Maintenance package. Click Next.
    6. Select the appropriate maintenance package file and click Next.
      You are prompted to export the WebSphere Commerce Enterprise application you selected.
    7. Click OK to start the exporting.
      This action takes several minutes.
    8. On the Summary page, review the information and click Next to begin the uninstall process.
  6. When the uninstall completes, ensure that the installer displays the message: Success:The following maintenance package was uninstalled. Review the information and click Relaunch to start the Update Installer wizard again or Finish to close the Update Installer.
    If you do not see a success message, the installer indicates which log files to check.
  7. Check the log files for errors.
    The log files are in: WC_installdir/logs/update/actions/uninstall.
  8. Restore the database backup to the point where it was before you applied the maintenance package on the instance.
  9. Complete one of the following steps.
    • If you have a WebSphere Commerce instance, restart the WebSphere Commerce application.

What to do next

If you applied the maintenance package to multiple WebSphere Commerce instances, repeat this process for each instance.