Update MailDesk on your server
This page shows how to update MailDesk on a server you manage: on-premise, a VPS or Docker.
Who this is for: the person who manages your Odoo server. You need: shell access, permission to restart Odoo, and administrator access to the Odoo database. If you only have the Odoo web interface, ask your server administrator to do steps 1 to 3.
Before you begin
- Read Update MailDesk safely: backup first, and test on a staging copy first.
- Download the new MailDesk files for your Odoo version from your account (the /my/modules page).
Steps
1. Replace the module files
- Stop the Odoo service.
- Replace the existing MailDesk module folders with the new ones.
What you should see: each module folder is in the same place as before and contains __manifest__.py.
2. Update the Python packages if needed
If the new version changes its packages, run this in the Python environment that Odoo uses:
pip install -r requirements.txt
Use the requirements.txt file inside the new MailDesk Basic module folder. For MailDesk Pro AI libraries, use the requirements.txt inside the Pro folder.
What you should see: pip ends without errors.
3. Update the module
Choose one way.
From the command line (recommended for production): run the command below for the modules you have installed. Add the Pro and bridge module names to the -u list.
./odoo-bin -c /etc/odoo.conf -d <DATABASE_NAME> -u maildesk_mail_client --stop-after-init
Then start the Odoo service.
From the Odoo web interface:
- Start Odoo and turn on developer mode.
- Go to Apps and search for MailDesk.
- Click Upgrade on each installed MailDesk module.
What you should see: the update finishes without errors in the log, and MailDesk opens as before. Check one mailbox with a test email.
If it does not work
- The update shows a Python error. A package is missing or has the wrong version. Repeat step 2 in the right environment.
- A module is not updated. Add its technical name to the
-ulist. See the names in Install MailDesk: choose your setup. - An error appears during the module update. Do not continue on production. See Fix common MailDesk problems, or restore the backup.
Prefer not to do this yourself?
Metzler IT offers update execution as a service that is quoted separately on request. It is not included with the licence.