Release candidate
...
Administration
Passwork update

Linux

12min

This instruction assumes the following Passwork location — /var/www/

Preparation

  • Before upgrading, if Passwork is installed in a cloud/virtual environment, create a snapshot of the virtual state of the OS to restore functionality in case of an incorrect upgrade;
  • Obtain root permissions:
shell


Obtaining the latest version of the Passwork

Create a temporary directory to receive the Passwork:

shell


Go to the Passwork customer portal and copy the API key to get the current version:

Document image


Create an API_KEY variable with the certificate number:

shell


Get version 7 of Passwork using the prompt:

shell


Clear the API_KEY variable with the certificate number:

shell


Update to the latest version

Get the current version of Passwork into a variable:

shell


Copy the Passwork configuration files to a temporary directory:

shell


Create an archive of the current version of Passwork to be able to roll back to a previous version:

shell


Delete all contents from the Passwork directory:

shell


Unzip Passwork version 7 to a physical location:

shell


Move the copied Passwork configuration files to the new version:

shell


Delete the update_passwork temporary directory:

shell


Set permissions for the physical location of the Passwork:

DEB
RPM


Restart the web server and PHP:

DEB
RPM


Clear Passwork temporary cache:

DEB
RPM


Perform a cache warmup:

DEB
RPM


Go to the Passwork root location and update the Passwork version in the database:

DEB
RPM




Updated 11 Mar 2025
Doc contributor
Did this page help you?