跳至內容
選單
此問題已被標幟
1 回覆
1610 瀏覽次數

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


頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
5月 23
1894
1
8月 19
4177
1
3月 15
5165
1
4月 25
1760
0
3月 25
1311