Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
7430 Представления

Hi, I'm trying to get a docker container up and running runbot but am having some permissions issues.

I took the base Odoo 8 image and am installing the extra pip dep needed:

matplotlib

The image is building fine, and i'm starting the container up with a mountpoint (from docker-compose.yml):

volumes:
  - ./addons:/mnt/extra-addons

In my local `./addons` folder resides the module `runbot` from \odoo-extra:8.0

Adding a public repo to the odoo instance and cilcking `Update` results in:

OSError: [Errno 2] No such file or directory.

I ran the following:

chown -R odoo.odoo /mnt/extra-addons/runbot/static/

from inside the container and still got the error.
Thus - I double checked which user the particular file was running as:

(Pdb) print "Effective user is [%s]" % (getpass.getuser());
Effective user is [odoo]

I even tried

chmod -R 777 /mnt/extra-addons/runbot/static/

and still can't get it to work.

Am I missing something?




EDIT:

Solved by adding git as a system dependency to my Dockerfile. Oops

Аватар
Отменить
Лучший ответ

Hello

I am facing an issue during my config of runbot

I get blocked on this step with this log in my runbot

2020-10-31 23:58:31 INFO runbot Build created 2020-10-31 23:58:31 INFO runbot Rebuild initiated by Administrator (default) 2020-11-01 00:00:14 INFO runbot Init build environment with config Default 2020-11-01 00:00:14 INFO runbot Building docker image 2020-11-01 00:00:14

Starting step base from config Default
Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 15
8862
0
мая 21
1915
2
июн. 17
8669
1
окт. 23
2252
0
февр. 21
3607