upgrade odoo

This commit is contained in:
Janik von Rotz committed 2021-01-27 19:15:29 +01:00
1 parent 63f7160366
commit 0fcfbafaff
2 files changed
+33 -1

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
# Odoo Upgrade
## From 13.0 to 14.0
**Test**
Steps to upgrade a databse.
* Export remote database to local folder
* Start local development environment
* Restore database
* Run the upgrade script
```
export PGHOST=localhost
export PGUSER=odoo
export PGPASSWORD=odoo
python <(curl -s https://upgrade.odoo.com/upgrade) test -d erp -t 14.0
```
It should automatically resote the database.
* Swich local development environment to targeted version
If connection has been lost proceed with this:
* Store the token `export TOKEN=...`
* Check the status `python <(curl -s https://upgrade.odoo.com/upgrade) status -t $TOKEN`
* Restore the database `python <(curl -s https://upgrade.odoo.com/upgrade) restore -d erp -r erp-14.0 -t $TOKEN`
**Production**
+2 -1
View File
@@ -41,4 +41,5 @@ Mint System GmbH bietet ein [[Odoo Hosting]] und ein [[Odoo Handbuch]].
* [[Odoo Troubleshooting]]
* [[Odoo Offene Fragen]]
* [[Odoo Business Flow]]
* [[Odoo 13]]
* [[Odoo 13]]
* [[Odoo Upgrade]]