From 5d40711427588d66b6d819f54e2b577e27bac6bb Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Mon, 2 Jan 2023 01:57:18 -0500 Subject: [PATCH] [UPD] doc production: add information to update all database and show log --- doc/PRODUCTION.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/PRODUCTION.md b/doc/PRODUCTION.md index 7b82741..85eeed8 100644 --- a/doc/PRODUCTION.md +++ b/doc/PRODUCTION.md @@ -190,3 +190,19 @@ You can validate in log the update, you need to find `odoo.modules.loading: upda ```bash docker-compose logs -f ``` + +## Update all + +Do a backup on url https://HOST/web/database/manager + +Edit the docker-compose.yml and update the command line (change DATABASE) to : + +```yaml + command: odoo --workers 2 -u all -d DATABASE +``` + +Watch log to see error, if you got error, you need to do some code to migrate your data, depend the case. + +```bash +make docker_show_logs_live +```