grep: /etc/odoo/odoo.conf: Permission denied
version: '2'
services:
db:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
db10:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=odoo
- POSTGRES_PASSWORD=odoo
odoo11:
image: odoo:11.0
environment:
- HOST=db
- PORT=5432
- USER=odoo
- PASSWORD=odoo
depends_on:
- db
ports:
- "8011:8069"
tty: true
volumes:
- ./addons/11:/mnt/extra-addons
- ./config/11:/etc/odoo
volumes:
odoo11:
Error:
I used the official configuration, but I could not load the configuration file correctly in operation.
[root@localhost docker-odoo]# docker version
Client:
Version: 1.13.1
API version: 1.26
Package version: docker-1.13.1-63.git94f4240.el7.centos.x86_64
Go version: go1.9.4
Git commit: 94f4240/1.13.1
Built: Fri May 18 15:44:33 2018
OS/Arch: linux/amd64
Server:
Version: 1.13.1
API version: 1.26 (minimum version 1.12)
Package version: docker-1.13.1-63.git94f4240.el7.centos.x86_64
Go version: go1.9.4
Git commit: 94f4240/1.13.1
Built: Fri May 18 15:44:33 2018
OS/Arch: linux/amd64
Experimental: false
[root@localhost docker-odoo]# docker-compose version
docker-compose version 1.9.0, build 2585387
docker-py version: 1.10.6
CPython version: 2.7.5
OpenSSL version: OpenSSL 1.0.2k-fips 26 Jan 2017
2018-06-25 07:36:05,120 1 INFO ? odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
grep: /etc/odoo/odoo.conf: Permission denied
grep: /etc/odoo/odoo.conf: Permission denied
grep: /etc/odoo/odoo.conf: Permission denied
grep: /etc/odoo/odoo.conf: Permission denied
2018-06-25 07:36:07,299 1 INFO ? odoo: Odoo version 11.0-20180122
2018-06-25 07:36:07,300 1 INFO ? odoo: addons paths: ['/var/lib/odoo/.local/share/Odoo/addons/11.0', '/usr/lib/python3/dist-packages/odoo/addons']
2018-06-25 07:36:07,300 1 INFO ? odoo: database: odoo@db:5432
2018-06-25 07:36:07,312 1 INFO ? odoo.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
Have you checked the file permission in your local ./config/11 that is mounted to /etc/odoo/ ?
@lastalfriday Why should I set this permissions?
@jalena didnt you say its Permission denied? its denied because of permission. I am afraid you have set the local folder ./config/11 as special restricted.
I have the same problem, the files are shared via git, on a machine I don't have any problems while in another machine I see this output. I don't see also my addons listed into Apps List
Closing this old issue as it's a permission problem.