Passwork update
Manual updates

Linux

12min

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 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 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:

Shell


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

Code update

Rename the root directory with the Passwork code:

Shell


Create a www directory:

Shell


Extract the latest version of the Passwork code to /var/www/:

Shell


Check the extracted Passwork version:

Shell


Move the config.ini configuration file and license key from the old version:

Shell


Creating an archive of an old version

Create a Passwork archive with the version name in .zip format in the /opt/ directory:

Shell


Delete the renamed directory with the old version of Passwork:

Shell


Assigning an owner and setting rights

After creating the /var/www/ directory, you need to change the directory owner and set permissions for the Apache web server.

DEB-based Linux (Debian, Ubuntu, etc.)

Shell


RPM-based Linux (Centos, RedHat, etc.)

Shell