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

Hello, Odoo community,


I'm relatively new to Odoo and I recently deploy my odoo server to AWS using the Docker image. 

When I try to deploy a new addon to the server, I can't find the way. 

According to the offical docker page, I should execute the command 

$ docker run -v /path/to/addons:/mnt/extra-addons -p 8069:8069 --name odoo --link db:db -t odoo

But I get the message

docker: Error response from daemon: invalid mode: /mnt/extra-addons.

I also try to find the folder /mnt/extra-addons using filezilla, the sub folder "extra-addons" doesn't exist and I create one and put the unzipped addon to the folder. Yet, I still can't find the addon in my module list. 


If anyone has experience this before, would you help me how can I deploy the addon? 


Thanks for your help!

아바타
취소
베스트 답변

Hi,
Refer to the following blog
https://www.cybrosys.com/blog/how-to-deploy-odoo-15-using-docker

Hope it helps

아바타
취소
베스트 답변

Does the path /path/to/addons​ exist, is it an absolute path, and do you have permission? What does $ ls -la /path/to/addons​ output? 

Alternatively, you could create docker volumes: 

$ docker volume create extra-addons​ and use this volume $ docker run -v extra-addons:/mnt/extra-addons -p 8069:8069 --name odoo --link db:db -t odoo​. 

The content of this volume can usually be found at /var/lib/docker/volumes/​ or run $ docker volume inspect extra-addons​ to find the mount point. If you run $ docker volume ls​ you will get a list of all volumes that Docker uses.

If you want to know more about the deployment of Odoo using Docker, perhaps my blog post can help as well:

Dock, Stack & Launch: Odoo deployment with Docker and Portainer

I hope this helps!

아바타
취소
관련 게시물 답글 화면 활동
1
3월 21
2570
0
8월 24
1208
2
12월 20
20075
2
11월 22
6906
4
7월 25
404