[UPD] doc production: add information to update all database and show log
This commit is contained in:
parent
7ddefe4d2a
commit
5d40711427
1 changed files with 16 additions and 0 deletions
|
|
@ -190,3 +190,19 @@ You can validate in log the update, you need to find `odoo.modules.loading: upda
|
||||||
```bash
|
```bash
|
||||||
docker-compose logs -f
|
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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue