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 on Linux

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

  • Manual Linux installation — /var/www
  • Old Docker build — /server/sites/prod

For manual installation

cd /var/www
git fetch
git reset --hard origin/v5
git pull --force

For old Docker build

cd /server/sites/prod
git fetch
git reset --hard origin/v5
git pull --force

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 manual installation

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

For standard Docker installation

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

And try to update one more time with git pull

The system will automatically upload the changes.