Debian
Note to self:
- If a replication suite is used, please contact Passwork technical support for correct updating and saving of data;
- If Passwork is installed on a virtual server, we also recommend creating a virtual snapshot of the operating system state before performing the upgrade.
The instruction uses switchable code blocks to separate the instructions depending on the operating system version.
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 correct, 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:
Open Passwork to verify correct operation.