Passwork Update
Manual updates

Windows Server

15min

Obtaining the latest Passwork version

  • Go to the Customer portal;
  • Authorise on the customer portal with your email address;
  • In the bottom left corner, click on the Update → Manual tab and download the latest Passwork version in .zip format:
Document image

  • Move the .zip archive to the 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 recommend creating a restore point so that you can quickly roll back in case of errors

Creating a copy of the configuration file

The main Passwork parameters are specified in the config.ini configuration file. 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 the temporary files of the old version:

PowerShell


Create a copy of the config.ini configuration file and the license 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


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

PowerShell


Move the configuration file and license 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 license 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 23 Dec 2024
Doc contributor
Doc contributor
Doc contributor
Did this page help you?