Skip to main content
Version: 7.0

Linux (git)

Preparation for update

Make a copy of the Passwork files. In case of any issues, you will be able to roll back to the previous version. The files are located in the directory:

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

For manual installation:

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

If you are using the old Docker build, please contact Passwork technical support for further instructions.

If after running git pull you see an error

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 the old Docker build:

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

For manual installation:

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

Then run git pull again. The system will automatically download the updates.