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

See documentation for version 7.0.
Version: 5.0

Update Passwork 5→6 on Linux

Preparing for the update

Make a copy of the folder with the Passwork files. In case of any problems, you will be able to roll back to your version. Files are located in the directory:

  • old Docker build — /server/sites/prod
  • manual installation — /var/www

For old Docker build

cd /server/sites/prod
git fetch
git checkout v6
git reset --hard origin/v6
git pull

For manual installation

cd /var/www
git fetch
git checkout v6
git reset --hard origin/v6
git pull

If you see this error:

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

For old Docker build

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

For manual installation

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

And one more time perform git pull

The system will automatically upload the changes.