تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1542 أدوات العرض

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
مايو 23
1857
1
أغسطس 19
4134
1
مارس 15
5110
1
أبريل 25
1729
0
مارس 25
1265