Patch the server
To ensure you have the latest fixes, we recommend that you install the latest patch available for your release at the Software Release Index. Patch installation is quick, but does involve Helix Core Server being stopped briefly.
See the instructions below for your type of installation.
Linux package
No need to manually stop and restart the Helix Core Server.
Version management
If the server has been installed using a package, and you want to prevent unintended upgrades to a higher version, consider pinning or locking the version:
APT policy with Pin | more /etc/apt/preferences.d/p4d Package: helix-p4d Pin: version 2019.2.* Pin-Priority: 1000 |
Yum with versionlock |
See https://www.cyberciti.biz/faq/centos-redhat-fedora-yum-lock-package-version-command/ The --exclude directive allows for wildcards, whereas the yum versionlock command will not allow patch upgrades. |
Alternatively, you can install a specific base package in a way that allows the package manager to automatically install the latest patch. For example,
apt-get install helix-p4d-base-r19.2 sudo update-alternatives --config helix-p4d
If you want to allow for version differences between the p4d servers running on the same Linux host, you can use Helix Core Server Control (p4dctl) and set the version for each specific server. For example,
- on server1, you might update the execute parameter in the p4dctl config to point to /opt/perforce/sbin/p4d.23.1
- on server2, you might update the execute parameter in the p4dctl config to point to /opt/perforce/sbin/p4d.22.2
Use apt update, then apt upgrade, and the server will restart with the latest patch.
Linux (or macOS) manual installation
Download the patched version of the P4D executable from the Perforce filehost server.
Stop Helix Core Server.
Overwrite the existing P4D executable with the patch version.
Start Helix Core Server.
Windows
Stop Helix Core Server.
Go to the filehost server for Perforce and do one of the following:
- download the installer, then run it
-
download the patched version of the P4D executable, overwrite the existing P4D executable and copy that to p4s.exe
Start the Helix Core Server.
Perforce Workshop Server Deployment Package (SDP)
See the SDP project.