콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3410 화면

python3 odoo-bin --upgrade-path=/home/desktop/workspace/OpenUpgrade/16.0/openupgrade_scripts/scripts/ -d test_23_dec_id --update all --stop-after-init


Usage: odoo-bin [options]

odoo-bin: error: option --upgrade-path: the path '/home/desktop

/workspace/OpenUpgrade/16.0/openupgrade_scripts/scripts/' is not a valid upgrade directory


How to fix this type of error?

아바타
취소

Tried changing / for \ ?

베스트 답변

I think you lack info here:

--database=DB-NAME

-c your\path\to\odoo.conf

--load=base,web,openupgrade_framework

--addons-path=path\to\addons

---EDIT---

From: https://oca.github.io/OpenUpgrade/migration_details.html

Edit the configuration files and command line parameters to point to the database you are going to upgrade. The recommended command line parameters are the "--update all --stop-after-init --load=base,web,openupgrade_framework" flags. 

You are missing those, and by the way I'm not sure migration to 16.0 is completed (doesn't seem to be available to me):

https://github.com/OCA/OpenUpgrade

https://oca.github.io/OpenUpgrade/status.html

아바타
취소
작성자

in v16?

Check edit

작성자 베스트 답변

python3 odoo-bin --upgrade-path=/home/desktop/workspace/OpenUpgrade/16.0/openupgrade_scripts/scripts/ -d test_23_dec_id --update all --stop-after-init

work in odoo 15 but not work as odoo 16 using openupgrade

아바타
취소
관련 게시물 답글 화면 활동
0
9월 23
996
3
6월 24
1742
1
1월 23
13673
0
1월 24
666
1
6월 23
3284