Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Search Documentation | 2025.2

# Upgrade P4 Search

This section describes how to upgrade a P4 Search installation to a newer release.

Before upgrading P4 Search:

- Check the requirements for your current version of P4 Search and for the version you are upgrading to.

- Consider backing up your existing P4 Search installation.

## Version requirements

If you have P4 Search 2024.2 or earlier:

- When you upgrade, P4 Search automatically migrates your index to the new index structure. The time taken for the migration depends on the size of your index. It can be as short as a few minutes for a small index and several hours for a large index. You can check the migration by going to the Elasticsearch Hosts service status on the P4 Search Service Status page. See View status.

When upgrading P4 Search:

- If you are upgrading Elasticsearch, you must upgrade the P4 Plugin Filter to the same version and then restart Elasticsearch. See Upgrade Elasticsearch.

- If you are upgrading to P4 Search 2025.1, you must also upgrade to P4 Render 2025.1.

- If you are upgrading to P4 Search 2024.3, you must also upgrade to P4 DAM 2024.5 or later.

- If you are upgrading to P4 Search 2024.2 or earlier, only P4 DAM 2024.4 or earlier is supported.

- During the upgrade, if you have added a self-signed certificate into the Java Runtime Environment (JRE), the following JRE directory gets overwritten:

  /opt/perforce/helix-p4search/jre

## Linux

To upgrade P4 Search for Linux:

1. Install the P4 Search package on the server hosting P4 Search.

   Follow the instructions for your OS distribution:

   Ubuntu

   sudo apt-get update
   sudo apt-get install helix-p4search

   RHEL (run these commands as root):

   sudo yum update helix-p4search

2. Restart the P4 Search service.

   Follow the instructions for your OS distribution:

   Ubuntu

   sudo service p4search restart

   RHEL (run these commands as root):

   sudo systemctl restart p4search.service

3. Check that everything is green by navigating to the service status page. You might need to log in to view the page:

   http://myhelixsearch.mydomain.com:1601/p4search/settings/status

   For more information about the service status page, see Check service status.

   If the service status page fails to open, see Service status page fails to open.

## Windows

To upgrade the P4 Search, P4 Server, and Elasticsearch services:

1. Download the P4 Search installer from the P4 Search download page on the Perforce website.
2. Double click the installer to start it and confirm that you want the installer to make changes to your computer when prompted.
3. To start the upgrade, select the option to update the existing installation and click Next >.

4. Accept the License Agreement to continue with the upgrade and click Next >.
5. The upgrade overwrites the existing setup files and retains your existing configuration. Click Yes to All when prompted.
6. To complete the upgrade, click Finish.

7. Check that everything is green by navigating to the service status page. You might need to log in to view the page:

   http://myhelixsearch.mydomain.com:1601/p4search/settings/status

   For more information about the service status page, see Check service status.

   If the service status page fails to open, see Service status page fails to open.

Your search for returned results