odoo / odoo/docker

odoo:16.0-20250819 - incorrect version of werkzeug is used in the image

Open
#558 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dockerfile
Stars
1.2k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Latest image odoo:16.0-20250819 is broken - incorrect version of werkzeug is used (1.0.1) while expected 2.x., it breaks modules:

odoo-web  | 2025-09-06 11:14:32,629 24 ERROR odoo-db werkzeug: Error on request:
odoo-web  | Traceback (most recent call last):
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 2258, in __call__
odoo-web  |     response = request._serve_db()
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 1845, in _serve_db
odoo-web  |     return service_model.retrying(self._serve_ir_http, self.env)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 152, in retrying
odoo-web  |     result = func()
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 1872, in _serve_ir_http
odoo-web  |     ir_http._pre_dispatch(rule, args)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_http.py", line 180, in _pre_dispatch
odoo-web  |     super()._pre_dispatch(rule, arguments)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/ir_http.py", line 13, in _pre_dispatch
odoo-web  |     super()._pre_dispatch(rule, args)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_http.py", line 24, in _pre_dispatch
odoo-web  |     super()._pre_dispatch(rule, args)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/addons/http_routing/models/ir_http.py", line 576, in _pre_dispatch
odoo-web  |     werkzeug.exceptions.abort(redirect)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 1374, in abort
odoo-web  |     werkzeug_abort(status, *args, **kwargs)
odoo-web  |   File "/usr/lib/python3/dist-packages/werkzeug/exceptions.py", line 822, in abort
odoo-web  |     return _aborter(status, *args, **kwargs)
odoo-web  |   File "/usr/lib/python3/dist-packages/werkzeug/exceptions.py", line 804, in __call__
odoo-web  |     raise HTTPException(response=code)
odoo-web  | werkzeug.exceptions.HTTPException: ??? Unknown Error: None
odoo-web  | 
odoo-web  | During handling of the above exception, another exception occurred:
odoo-web  | 
odoo-web  | Traceback (most recent call last):
odoo-web  |   File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 323, in run_wsgi
odoo-web  |     execute(self.server.app)
odoo-web  |   File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 312, in execute
odoo-web  |     application_iter = app(environ, start_response)
odoo-web  |   File "/usr/lib/python3/dist-packages/odoo/http.py", line 2266, in __call__

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the odoo:16.0-20250819 image and inspect how its Python dependencies select Werkzeug 1.0.1 instead of the expected 2.x release. Verify the resulting image uses the compatible Werkzeug version and no longer produces the reported request error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.