Skip to main content
This documentation is for Passwork version 5.0, no longer supported.

See documentation for version 7.0.
Version: 5.0

Rollback Passwork 6→5 on Linux

Preparing for the Update

Make a copy of the Passwork files folder. In case of any problems, you can roll back to your version. The files are located in the directory:

  • old Docker build — /server/sites/prod
  • manual installation — /var/www
cd /server/sites/prod
git fetch
git checkout v5
git reset --hard origin/v5
git pull

If you see an error after executing git pull

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

Execute the following command:

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

And repeat git pull

The system will automatically download the updates.

Please note that the instructions provided are for informational purposes only and it is recommended to have a backup of all important files before making any updates.