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

Can someone guide me to the terminal command to update modules for Odoo running the latest docker build V13?


Also, i would like to install MidnightCommander via apt-get, but cant without sudo access, sudo is not enabled on Odoo docker release. Can someone guide me please?

아바타
취소
베스트 답변

Hi jesse
you can simply update you module with help of following command in docker.
1)You have to access docker with following command

docker exec -it container_id bash

2) now just run odoo instance with another port and arguments


/usr/bin/container_name -p 8015 -d db_name -u module_name

Here container_id is your odoo container_id and container_name is you odoo container name
Hope this will be helpful.


아바타
취소
베스트 답변

try

docker run -v [your volumes] odoo:version odoo -u all -d DATABASENAME

-u all #updates all

-u module_name #update specific module

아바타
취소
베스트 답변

Hi Jesse:

For the second part of your question, you do not need sudo access. You can access the root user in the Odoo container and use apt-get to install packages using the following command.

docker exec -u root your_odoo_container_name apt-get install name_of_package_to_install -y

For the first part of your question, need some more clarity. Do you want to update Odoo to a newer version or are you trying to install/upgrade a 3rd party/custom module ?


아바타
취소