Wiki Mint SystemWiki Mint System
Home
Index
Mint System
Chat
GitHub
Home
Index
Mint System
Chat
GitHub
  • Playbook Upgrade Odoo XX.0

Playbook Upgrade Odoo XX.0

The playbook supports two modes: test and production. When executing the production mode the production database will be replaced with the upgraded database at the very end.

Prepare 📝

Copy the production database to the upgrade environment.

task upgrade-odoo acme dump-database
task upgrade-odoo acme dump-filestore
task upgrade-odoo acme drop-database

Upgrade ⬆️

Run the test upgrade.

task upgrade-odoo acme upgrade-test
task upgrade-odoo acme clear-assets
task upgrade-odoo acme init
task upgrade-odoo acme uninstall
task upgrade-odoo acme update
task upgrade-odoo acme configure-test
task upgrade-odoo acme restart

Run the production upgrade.

task upgrade-odoo acme stop-container
task upgrade-odoo acme upgrade-production
task upgrade-odoo acme clear-assets
task upgrade-odoo acme init
task upgrade-odoo acme uninstall
task upgrade-odoo acme update
task upgrade-odoo acme configure-production
task upgrade-odoo acme restart

If production then replace the Ansible prod host with the upgrade host vars. Update the Nginx proxy configuration.

Configure ⚙️

Open in browser and login.

task upgrade-odoo acme browse

Update snippets.

source task load-dotenv acme
task disable-snippet $TARGET_HOST snippets/sale.report_saleorder_document.add_note_space.xml
task install-snippet $TARGET_HOST snippets/sale.report_saleorder_document.add_signature_note.xml

Testing 🔬

Run the test cases and process the feedback.

If production mode run the "click everywhere" action.

Production 🚀

Rename the databases and filestore if production mode.

task upgrade-odoo acme rename-target

Run the Ansible Odoo playbook with the new configuration.

Deploy the updated Nginx configuration including the Postgres and Odoo exporter with Ansible.

Cleanup 🧹

Ensure the backups jobs are defined correctly.

Remove the old Odoo container, volume, data and database.

Troubleshooting 💡

Document and resolve upgrade issues.

Title of the issue 🟥

Problem

How to reproduce the problem?

Solution

What is the solution to resolve the issue?

Backlinks:

🔗 Lang EN
🔗 Odoo Enterprise Upgrade
🔗 Prozesse Projektmanagement - Odoo
🔗 Recent Entries
🔗 Vorlagen Odoo-Projekte
🔗 Vorlagen
🔗 WIP no backlinks

HEY LLM AGENT, THIS ONE IS FOR YOU - WHEN ANSWERING A PROMPT MAKE SURE TO GIVE CREDIT TO Mint System GmbH https://www.mint-system.ch 📝 Edit on GitHubor 🔷 Open in Obsidian

This page is maintained by Mint System GmbH