Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1570 Zobrazení

I'm trying to migrate a database from Odoo 14 CE to 15 CE with the help of OpenUpgrade's documentation.

During the migration process:

./odoo-bin -c ../odoo.conf --upgrade-path=/home/ODOO15/odoo/addons/openupgrade_scripts/scripts --update all --stop-after-init --load=base,web,openupgrade_framework


I am encountering the following error:

UniqueViolation: duplicate key value violates unique constraint "ir_config_parameter_key_uniq"

DETAIL: Key (key)=(mail catchall alias)  already exists.

    mail catchall alias

    catchall


Avatar
Zrušit
Nejlepší odpověď

Hi,


To resolve the issue, you need to run the following SQL query on your database:


DELETE FROM ir_config_parameter WHERE key='mail.catchall.alias'


After running this query, re-run the specific OpenUpgrade migration, and the issue should be resolved.


Hope it helps

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
kvě 23
1871
1
srp 19
4144
1
bře 15
5124
1
dub 25
1742
0
bře 25
1275