Preparing for the 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:

For standard Docker installation

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

For manual Linux installation

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

The system will automatically upload 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 standard Docker installation

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

For manual Linux installation

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

And try to update one more time.