odoo / docker

Other
955 stars 1.54k forks source link

After building the oodo images using dockerfile 16.0 when i try to run image using docker-compose i am facing error #430

Open basavarajbhavi opened 1 year ago

basavarajbhavi commented 1 year ago

ERROR: for myportal_odoo_1 Cannot start service odoo: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint.sh": permission denied: unknown

ERROR: for odoo Cannot start service odoo: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/entrypoint.sh": permission denied: unknown ERROR: Encountered errors while bringing up the project.

my docker-compose file version: '3' services:

nginx proxy container

nginx-proxy: image: jwilder/nginx-proxy network_mode: bridge container_name: nginx-proxy restart: always ports:

andrewdhastings commented 1 year ago

I've also had massive issues with the latest docker build for v16 that was pushed 3 days ago. Getting all kinds of weird behavior out of odoo .

andrewdhastings commented 1 year ago

The latest v16 build has issues: DIGEST:sha256:81d8fa6a60a0959d17eea2f112b33742d30022fb8b4d5d1478b985cb3f8eea4d

It crashed our system and would only load a blank white screen on any back-office URL. We reverted to an older digest and the issue went away.

anhvu-sg commented 1 year ago

same problem with the latest v16 build (20221216)

odoo-web_1        | 2022-12-21 03:18:28,245 17 INFO ? odoo: Odoo version 16.0-20221216
odoo-web_1        | 2022-12-21 03:18:28,245 17 INFO ? odoo: Using configuration file at /etc/odoo/odoo.conf
odoo-web_1        | 2022-12-21 03:18:28,246 17 INFO ? odoo: addons paths: ['/usr/lib/python3/dist-packages/odoo/addons', '/var/lib/odoo/addons/16.0', '/mnt/extra-addons']
odoo-web_1        | 2022-12-21 03:18:28,247 17 INFO ? odoo: database: odoo@postgres-db:5432
odoo-web_1        | 2022-12-21 03:18:28,638 17 INFO ? odoo.addons.base.models.ir_actions_report: Will use the Wkhtmltopdf binary at /usr/local/bin/wkhtmltopdf
odoo-web_1        | 2022-12-21 03:18:29,279 17 INFO ? odoo.service.server: Evented Service (longpolling) running on 0.0.0.0:8072
odoo-web_1        | 2022-12-21 03:18:42,406 14 DEBUG ? odoo.http: HTTP sessions stored in: /var/lib/odoo/sessions
odoo-web_1        | 2022-12-21 03:18:42,440 14 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:18:42,443 14 INFO odoo_db odoo.addons.base.models.ir_http: Generating routing map for key None
odoo-web_1        | 2022-12-21 03:18:44,415 14 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:18:44] "GET /web HTTP/1.1" 200 - 84 0.134 1.879
odoo-web_1        | 2022-12-21 03:18:45,272 15 DEBUG ? odoo.http: HTTP sessions stored in: /var/lib/odoo/sessions
odoo-web_1        | 2022-12-21 03:18:45,306 15 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:18:45,310 15 INFO odoo_db odoo.addons.base.models.ir_http: Generating routing map for key None
odoo-web_1        | 2022-12-21 03:18:45,936 15 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:18:45] "GET /bus/websocket_worker_bundle?v=1.0.0 HTTP/1.1" 304 - 10 0.030 0.638
odoo-web_1        | 2022-12-21 03:18:50,718 14 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:18:50,723 14 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:18:50] "GET /websocket HTTP/1.1" 400 - 1 0.001 0.007
odoo-web_1        | 2022-12-21 03:18:54,785 15 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:18:54,799 15 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:18:54] "GET /websocket HTTP/1.1" 400 - 3 0.005 0.021
odoo-web_1        | 2022-12-21 03:18:55,281 15 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:18:55,294 15 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:18:55] "GET /websocket HTTP/1.1" 400 - 1 0.002 0.018
odoo-web_1        | 2022-12-21 03:18:56,490 14 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:18:56,498 14 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:18:56] "GET /websocket HTTP/1.1" 400 - 1 0.001 0.012
odoo-web_1        | 2022-12-21 03:19:01,852 15 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:19:01,857 15 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:19:01] "GET /websocket HTTP/1.1" 400 - 1 0.002 0.008
odoo-web_1        | 2022-12-21 03:19:05,804 15 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:19:05,812 15 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:19:05] "GET /websocket HTTP/1.1" 400 - 1 0.002 0.012
odoo-web_1        | 2022-12-21 03:19:14,460 15 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:19:14,466 15 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:19:14] "GET /websocket HTTP/1.1" 400 - 1 0.001 0.010
odoo-web_1        | 2022-12-21 03:19:23,478 14 DEBUG odoo_db odoo.modules.registry: Multiprocess signaling check: [Registry - 4 -> 4] [Cache - 13 -> 13]
odoo-web_1        | 2022-12-21 03:19:23,482 14 INFO odoo_db werkzeug: 192.168.160.1 - - [21/Dec/2022 03:19:23] "GET /websocket HTTP/1.1" 400 - 1 0.001 0.006

I reverted to the previous version 20221202 and it works well

trinhanhngoc commented 1 year ago

I also have assets related issues with the release 20221216. As a workaround, I went into the Attachments setting and removed all attachments ending with .js, .css to force Odoo to recreate them.

andrewdhastings commented 1 year ago

I did the same thing, but only removed the websocket js file. That worked, but then as soon as I updated the base module (update all mosules) it errored again. I think there is an issues with the websocket system on that build. Hopefully they get it fixed soon as there are other bug fixes that we need in that push but can because of this issue.

mm86133 commented 1 year ago

Is it an abandoned project by Odoo ???