Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4 Antwoorden
20197 Weergaven

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?

Avatar
Annuleer
Beste antwoord

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.


Avatar
Annuleer
Beste antwoord

try

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

-u all #updates all

-u module_name #update specific module

Avatar
Annuleer
Beste antwoord

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 ?


Avatar
Annuleer