Updating the installation directory interactively
Applying the maintenance package interactively, updates the WebSphere Commerce product to a new maintenance level.
Before you begin
- Download and install the WebSphere Commerce Update Installer.
- If you limited the size of your /tmp directory, you might encounter an insufficient free disk space on the system error. To avoid the error, update UPDI to use a different directory that does not have a limit. For more information, see Prerequisite checking has failed because 'There is insufficient free disk space on the system'.
- Stop the IBM Knowledge Center by issuing one of the following commands:
- WC_installdir/CommerceHelpSystem/bin/stopKC.sh
- WC_installdir/CommerceHelpSystem/bin/stopKC.bat
- If you are using a staging server, run the stagingprop utility before you install the maintenance package.
Note: If you are a non-root user, you can apply the maintenance package only if
you installed WebSphere Commerce Update Installer as a non-root user.
Procedure
Complete the following steps to apply the maintenance package to the WebSphere Commerce product directory.
-
Download the maintenance package that you want to install.
For a list of available packages, see List of available maintenance packages.
- Save the maintenance package to the maintenance directory: UPDI_installdir/maintenance
- Ensure that the Configuration Manager server is stopped.
- Log on with a user ID that is a member of the Windows Administration group.
-
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.
- Log on as the
-
Using the command line, go to the UPDI_installdir
directory and type the following command:
- ./update.sh
- update.bat or update.exe
-
Complete the following steps in the Update Installer wizard.
- On the Welcome panel, review the information and click Next to continue.
- Specify the WebSphere Commerce installation directory. If the correct directory is not listed, enter the name of the correct directory and click Next.
- If you configured WebSphere Commerce instances on the system, select Product Only from the list and click OK.
- Select Install maintenance package. Click Next.
- Select the UPDI_installdir/maintenance directory and click Next.
- On the Available Maintenance Package to Install page, select the appropriate maintenance and click Next.
- Review the installation summary page, and then click Next to begin the installation.
-
Ensure that the installer displays the message:
Success:The following maintenance package was installed.
If you do not see this message, the installer indicates which log files to check. Click Finish. to exit the Update Installer wizard. -
Check the log files for errors.
The log files are in the following directory, where X is number of the maintenance package installed.For example,
- WC_installdir/logs/update/8.0.0-WS-WCServer-FP00X.install