Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
12866 Widoki

Hello all,


I need to migrate on odoo 13 database to odoo 14.


I have created one database (migration-v13-14), in this I have installed only web module and then I just run the OpenUpgrade scrip such a this way:


./odoo-bin --addons-path=1addons,OpenUpgrade-14.0 -d migration-v13-14 --db-filter=migration-v13-14 --upgrade-path=OpenUpgrade-14.0/openupgrade_scripts/scripts/ --load=web,openupgrade_framework -u all


When I hit this command, I got log:


2021-02-22 06:57:41,218 17459 ERROR migration-v13-14 odoo.modules.loading: Some modules have inconsistent states, some dependencies may be missing: ['web_diagram'] 


And when open the browser I got below error.


You can see this in below screenshot.




Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

How did you manage to use the "odoo-bin" file of open upgrade knowing that there is no more in version 14.0?

However, it seems that a module called "web_diagram" is missing, you have to add it and it should work better.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Jainesh, 

can you tell what tools and scripts did you use for migration?


Awatar
Odrzuć
Najlepsza odpowiedź

hello bro,
when i want to run "./openerp-server --addons-path="/home/ayoub/odoo/addons" -d mydata_3 --db-filter=mydata_3 --upgrade-path="/home/ayoub/odoo/addons/openupgrade_scripts/scripts/" --load=web,openupgrade_framework
" i have this error
"Usage: openerp-server [options]

openerp-server: error: no such option: --upgrade-path"

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Jainesh,

Could you give me the name of the other tools that you used to done migrations please?

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Jainesh,

Not sure if you're aware but OpenUpgrade V14 is not ready yet. There are many modules that have not reached completion. Also web_diagram is a module that has been deleted (deprecated) in V14 so will not be migrated.
You should uninstall it as it's been superseded elsewhere.
The OpenUpgrade branches are usually a couple of versions behind as it takes a lot of effort and generous contribution. V13 is still nearing completion!

You can see here the status of the V14 project.
Migrations scripts for v14 · Issue #2190 · OCA/OpenUpgrade (github.com)

Awatar
Odrzuć
Autor

Hi Chris,

Thank you for the information.
We are watching the PR that are being in progress.
We have done migration successfully using other tools and custom scripts.

Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 23
3393
1
mar 23
2964
2
lis 22
2597
1
cze 21
2183
1
cze 21
1986