<aside> 💡 If you are using the 3rd version of Passwork, then you need to update by following this manual.

</aside>

<aside> 💡 If you are using the 4th version of Passwork, then you need to update by following this manual.

</aside>

Passwork customer portal

https://portal.passwork.pro

Here, you'll find your license keys, update instructions, technical support certificates and repository access. Also, via the portal, you can download the current version of our software, renew your subscription and get access to a range of technical specialists.

Preparing for the update

Make a copy of the folder with the Passwork files.In case of any problems, you can roll back to your version.Files are located in the directory:For Windows: С:\\inetpub\\wwwroot\\For Linux: /var/www/

Updating with Git

This method is suitable if Passwork was installed using the command git clone

Open a command prompt in the Passwork folder. Run the command:

git reset --hard origin/v5
git pull

If you see an error after doing git pull:

git pull
fatal: unsafe repository ('/server/sites/prod' is owned by someone else)
To add an exception for this directory, call:

Run the following command:

For Linux installations:

git config --global --add safe.directory /var/www 

For Docker installations:

git config --global --add safe.directory /server/sites/prod

The system will automatically upload the changes.