Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

database migration from v16 to v17

形象
odoo
形象
丢弃
3 答案
0
形象
odoo
最佳答案
形象
丢弃
0
形象
odoo
最佳答案

Hi,

Use the OpenUpgrade project; it has migration scripts for Odoo 16 → 17.It will automatically drop old columns (like social_tiktok) and adapt data where needed.


Steps:

Clone OpenUpgrade for v17.

Run it with your v16 DB dump.

Let the migration scripts update your schema and data.

Launch Odoo 17 with the migrated DB.


Refer: https://github.com/OCA/OpenUpgrade


Hope it helps

形象
丢弃
0
形象
odoo
最佳答案

Hello Najikethus T,



  The error you're encountering typically occurs when the database schema in your current version (v16) includes columns or tables that do not exist in the version you're migrating to (v17). This specific error is because the 'social_tiktok' column does not exist in the website module of Odoo v17. Here's how to approach this issue:

  1. Backup your database before attempting any migration steps to ensure you have a recovery point.

  2. Use the Odoo Database Upgrade service or a similar tool designed for migrating between versions. This service is specifically designed to handle schema changes and data migrations.

  3. If you're handling the migration manually, you'll need to review the custom modules or fields added in v16 and assess their compatibility with v17. For the 'social_tiktok' field, you may need to remove or adapt this field in your database or custom modules before migration.

  4. Test the migration on a staging environment before applying it to your production database. This will allow you to identify and resolve any issues without affecting your live data.


For personalized assistance:
https://www.pragtech.co.in/contact-us-mql.html

形象
丢弃