File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ Run the upgrade script:
2525
2626``` bash
2727docker run -it \
28+ --name odoo-upgrade \
2829 -e PGHOST=" $PGHOST " -e PGUSER=" $PGUSER " -e PGPASSWORD=" $PGPASSWORD " \
2930 --network=" $NETWORK " mintsystem/odoo-upgrade \
3031 test -d " $DATABASE " -t " $TARGET_VERSION " -r " $TARGET_DATABASE "
@@ -45,4 +46,24 @@ Update the upgrade script:
4546
4647``` bash
4748wget https://upgrade.odoo.com/upgrade -O images/odoo-upgrade/bin/upgrade
48- ```
49+ ```
50+
51+ ## Troubleshooting
52+
53+ ### Server version mismatch
54+
55+ ** Problem**
56+
57+ The generating dump step failed with this message:
58+
59+ ``` bash
60+ 2025-11-12 09:54:54 ERROR: Generating the dump of your database has failed. The ' pg_dump' command has failed with the following output:
61+ pg_dump: error: aborting because of server version mismatch
62+ pg_dump: detail: server version: 16.9; pg_dump version: 15.12 (Debian 15.12-0+deb12u2)
63+ ```
64+
65+ ** Solution**
66+
67+ Ensure that the local postgres server does not have a never version than the remote server.
68+
69+ If necessary downgrade the local postgres server.
Original file line number Diff line number Diff line change @@ -2019,7 +2019,7 @@ test-modules() {
20192019 find " $1 " -type f -name " test-requirements.txt" -exec uv pip install -r {} \;
20202020
20212021 depends_modules=$( manifestoo --select-addons-dir " $1 " list-depends --separator=,)
2022- echo " Setup test database with depends modules: $depends_modules "
2022+ echo " Setup test database with " $ODOO_LANGUAGE " lang and depends modules: $depends_modules "
20232023 odoo -d " $ODOO_DATABASE " -i " $depends_modules " --config " $ODOO_RC " --addons-path=" $ADDONS_PATH " --stop-after-init --no-http --load-language " $ODOO_LANGUAGE "
20242024
20252025 echo " Testing modules: $modules "
You can’t perform that action at this time.
0 commit comments