From 3b3a6f4ea92bd66cb90e36747e2fd2560f4c5a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Mon, 20 Dec 2021 22:55:06 +0100 Subject: [PATCH] Use template1 db Odoo uses template0 by default but the postgres docs says it must not be modified. --- src/runboat/kubefiles/runboat-initialize.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runboat/kubefiles/runboat-initialize.sh b/src/runboat/kubefiles/runboat-initialize.sh index 54cf098..9d8eba5 100755 --- a/src/runboat/kubefiles/runboat-initialize.sh +++ b/src/runboat/kubefiles/runboat-initialize.sh @@ -17,6 +17,7 @@ ADDONS=$(addons --addons-dir ${ADDONS_DIR} --include "${INCLUDE}" --exclude "${E unbuffer $(which odoo || which openerp-server) \ --data-dir=/mnt/data/odoo-data-dir \ + --db-template=template1 \ -d ${PGDATABASE} \ -i ${ADDONS:-base} \ --stop-after-init