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

See documentation for version 7.0.
Version: 6.0

Preparing for the update

Make a copy of the Passwork In case of any problems, you can roll back to the previous version. Files are located in the directory:

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

For old Docker builds:

Execute the following commands:

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

For manual Linux installation

Execute the following commands:

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

The system will automatically sync the changes.

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 builds

Execute the following command:

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

For manual Linux installation

Execute the following command and try updating again:

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