Docker
If the update is not performed as root, then you need to make sure that the user is a member of the docker group.
Verify the user in the docker group:
Add a user to the docker group:
The script uses curl. If your network uses a proxy server, you need to add environment variables: export http_proxy=http://proxy.example.com:8080 export https_proxy=http://proxy.example.com:8080
Run the Passwork update script:
Before updating Passwork, the script will create a backup of the database in the ./backup/mongo-xxxxxx-xxxx-xxxx-xx-xx-xx:xx:xx.dump directory and a copy of the configuration files in the root directory ./conf-20240201-xxxxxxxx.tar.gz.
After running the script, the passwork_nginx and passwork_php containers must be restarted:
If the upgrade is not performed as root — you need to make sure that the user is a member of the docker group.
Verify the user in the docker group:
Add a user to the docker group:
Go to the customer portal and download the latest version of Passwork:
Move the downloaded archive to the server in the root directory of the installation and run the update script:
The script searches for an archive or directory named — Passwork-*, if the name of the directory or archive is different, the update will fail with an error
Before updating Passwork, the script will create a backup of the database in the ./backup/mongo-xxxxxx-xxxx-xxxx-xx-xx-xx:xx:xx.dump directory and a copy of the configuration files in the root directory ./conf-20240201-xxxxxxxx.tar.gz.
After running the script, the passwork_nginx and passwork_php containers must be restarted: