Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2755 Prikazi

Hello,


Could you please help me to migrate from Odoo 13.0alpha1 to Odoo 13.0 Stable? I used the following git command to install odoo when it was in alpha.

git clone https://www.github.com/odoo/odoo --depth 1 --branch master /opt/odoo/odoo13

What I did was, stopped odoo and renamed the existing directory /opt/odoo/odoo13 to /opt/odoo/odoo13-bak. Then I cloned the stable branch using

git clone https://www.github.com/odoo/odoo --depth 1 --branch 13.0 /opt/odoo/odoo13

After that, I issued the following command,

/opt/odoo/odoo13/venv/bin/python3 /opt/odoo/odoo13/odoo-bin --update all --database odoo

Then I received 500 error when I try to browse the dashboard. In the log, I can see the following.

2019-11-23 03:58:53,875 5881 ERROR odoo odoo.sql_db: bad query: ALTER TABLE "res_lang" ALTER COLUMN "url_code" SET NOT NULL
ERROR: column "url_code" contains null values

2019-11-23 03:58:53,875 5881 WARNING odoo odoo.schema: Table 'res_lang': unable to set NOT NULL on column 'url_code'!
If you want to have it, you should update the records and execute manually:
ALTER TABLE "res_lang" ALTER COLUMN "url_code" SET NOT NULL

I tried to ALTER the database table but wasn't able to do so. 

Your help highly appreciated. Thank you!


Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 25
2576
0
maj 23
2318
3
mar. 25
24027
1
nov. 22
2262
1
maj 22
5748