Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1919 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ค. 23
2169
How to set up 2 OpenUpgrade Servers แก้ไขแล้ว
1
ส.ค. 19
4471
1
มี.ค. 15
5515
1
เม.ย. 25
2083
0
มี.ค. 25
1576