Website logo
⌘K
Technical documentation
Installation manuals
Technical requirements
Standard installation on Linux
Standard installation on Windows Server
Manual installation on Linux
Manual installation on Windows Server
Administration
Migration to Passwork 6
How to update Passwork
Configuring background tasks
Mapping LDAP security groups with roles in Passwork
Mobile applications
Configuring SMTP for Windows Server
What to do in case of errors
About config.ini
Emergency mode
Import from Bitwarden via API
API 4.0
Linux
MongoDB
Legacy
Updates
Help center
Docs powered by Archbee
Website logo
Help center
Administration
...
Migration to Passwork 6
Confirmation of migration and ...

Upgrade Passwork 5→6 on Linux

4min

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:

  • standard installation with Docker — /server/sites/prod
  • manual installation — /var/www

For standard Docker installation

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


For manual Linux installation

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


The system will automatically upload the changes.

If you see this error:

Shell
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

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


For manual Linux installation

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


And try to update one more time.

Updated 22 Nov 2023
Did this page help you?
PREVIOUS
Confirmation of migration and upgrade to Passwork 6
NEXT
Rollback Passwork 6→5 on Linux
Docs powered by Archbee
TABLE OF CONTENTS
Preparing for the update
If you see this error:
Docs powered by Archbee