Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep: /etc/odoo/odoo.conf: Permission denied #192

Closed
jalena opened this issue Jun 25, 2018 · 5 comments
Closed

grep: /etc/odoo/odoo.conf: Permission denied #192

jalena opened this issue Jun 25, 2018 · 5 comments

Comments

@jalena
Copy link

jalena commented Jun 25, 2018

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
@lastalfriday
Copy link

Have you checked the file permission in your local ./config/11 that is mounted to /etc/odoo/ ?

@jalena
Copy link
Author

jalena commented Jul 9, 2018

@lastalfriday Why should I set this permissions?

@my1649
Copy link

my1649 commented Jul 11, 2018

@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.

@mastrobirraio
Copy link

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

@d-fence
Copy link
Contributor

d-fence commented Jan 22, 2020

Closing this old issue as it's a permission problem.

@d-fence d-fence closed this as completed Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants