Passwork Update
Manual updates

Windows Server

15min

Obtaining the latest version of the Passwire

  • Open a web browser and go to the customer portal — portal.passwork.pro;
  • Authorise on the customer portal by specifying the user's postal address;
  • In the bottom left corner, click on the "Update" → "Manual" tab and download it the current version of Passwork in .zip format:
Document image

  • Move the .zip archive to a physical/virtual server with Passwork.

Creating a backup and configuration file

Creating a backup

To create a MongoDB backup, you can use the following instructions — Examples of creating and restoring MongoDB backups

If Passwork is installed on a virtual or cloud-based operating system, we also recommend that you create a snapshot of the operating system state so that you can quickly restore Passwork functionality in case of errors.

Creating a copy of the configuration file

The main Passwork parameters are specified in the config.ini configuration file, you should create a copy of the file and save it in a separate or root directory of the user:

PowerShell


Updating the Passwork code and creating an archive of the old version

Create a directory to store temporary files from the old version:

PowerShell


Create a copy of the config.ini configuration file and the licence key:

PowerShell


Create an archive of the old version of Passwork in C:\inetpub\:

PowerShell


Remove the old version from the physical location of the code:

PowerShell


Unzip the new version of Passwork to C:\inetpub\wwwroot\passwork\:

PowerShell


Move the configuration file and licence key to the new version:

PowerShell


After the steps are completed, you can delete the temporary directory with the location of the configuration file and licence key:

PowerShell


Create overwrite rules and assign permissions to Passwork code

Create rules that modify URL requests in IIS

Create a web.config for the "URL Rewrite" module:

PowerShell


Assign rights to Passwork physical location

After that you need to change the system permissions of the directories and set permissions for the IIS web server:

PowerShell


Register the PHP version and restart the web server

Register PHP for the new version of Passwork

Import modules for IIS and PHP Manager:

PowerShell


Unlock the IIS configuration file for PHP registration:

PowerShell


Register the PHP version for the updated version of Passwork:

PowerShell


Restart the IIS web server

To activate changes in IIS, you must restart the IIS web server:

PowerShell




Updated 09 Oct 2024
Doc contributor
Doc contributor
Did this page help you?