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

Hello there

I try to restore database from 15 version to 16 version I got this error

Database restore error: operator does not exist: character varying ->> unknown LINE 1: SELECT *, name->>'en_US' AS name FROM ir_model WHERE state =... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts. Database restore error: operator does not exist: character varying ->> unknown LINE 1: SELECT *, name->>'en_US' AS name FROM ir_model WHERE state =... ^ HINT: No operator matches the given name and argument types. You might need to add explicit type casts.


can you advice please

頭像
捨棄
最佳答案

You cannot restore V 15 DB to V16 because there is many changes in the DB table structure between the versions, To do that you need to upgrade the DB from 15 to 16. If you have Enterprise subscription you can do use it to upgrade your DB and you will find more details in the below links: 

Upgrade Homepage | Odoo Upgrade

Upgrade — Odoo 16.0 documentation

If you don't have Enterprise subscription, you can use OCA  OpenUpgrade but unfortunately the version 16 is not available yet.


Note: The Odoo Enterprise upgrade to Odoo 16 is not available for production. 

頭像
捨棄

Also - if you are running into this error when trying to import a v15 database to your v15 Instance like me. Double check if there is no v16 running concurrently that is blocking the server-ports - that had cost me a lot of time to figure out ;-).

最佳答案

here is video reference  you should try this 


頭像
捨棄
最佳答案

if I'm on version 14 community , can I upgrade to version 16 community ( not enterprise ) is that possible to jump from 14 to 16 or do I have to go through (by 15) 14->15->16 ?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
8月 24
4290
2
2月 24
4114
1
11月 24
1807
2
8月 24
10269
1
6月 24
1894