Debian
- If a replication suite is used, please contact Passwork technical support to update and save data correctly
- If Passwork is installed on a virtual server, we recommend creating a snapshot before updating
This page uses switchable code blocks to provide instructions for different operating systems
Create a directory:
Create a backup:
Stop the service:
Move the configuration file:
Remove the database with configuration files:
Delete directory with log files:
Delete MongoDB data files:
Remove deprecated repository for MongoDB 4.x:
Update the list of available packages:
Download and add the MongoDB GPG key:
Add MongoDB repository to the file:
Update the list of available packages:
Install the database and administration utilities:
Start the mongod.service:
Enable autostart of the service:
Perform a shell connection check:
If the connection to the shell is up, restore the databases from the backup:
If any parameter changes were made to the MongoDB configuration file (mongod.conf), you must replace the new file with the old one:
Restart the mongod.service:
And open Passwork to verify that everything was done correctly.