Skip to Content
Menu
This question has been flagged
2637 Views

Hi all,


we are testing self-hosted odoo 16ce.

After the installation of some modules everything went down with a 500 server error. We tried to recover the whole situation but was impossible to. It was a test server so not a problem. Erased the database, we are trying to restart it, but everytime we launch on our Debian the command and access the webpage, this is the error that pop out on terminal.

Really unable to understand this, can anyone help/give an hint on how to proceed?

Thanks


Traceback (most recent call last):
File "<469>", line 1431, in template_469
File "<469>", line 1053, in template_469_content
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb\.py",\ line\ 2443,\ in\ _load_values
\ \ \ \ return\ get_value\(\)
\ \ File\ "<469>",\ line\ 1043,\ in\ template_469_t_cache_0_cache
\ \ File\ "<469>",\ line\ 368,\ in\ template_469_t_cache_0
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website/models/website\.py",\ line\ 877,\ in\ _get_alternate_languages
\ \ \ \ if\ not\ self\._is_canonical_url\(canonical_params=canonical_params\):
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website/models/website\.py",\ line\ 1323,\ in\ _is_canonical_url
\ \ \ \ current_url\ =\ request\.httprequest\.url_root\[:\-1\]\ \+\ request.httprequest.environ['REQUEST_URI']
KeyError: 'REQUEST_URI'

Avatar
Discard

I solved the issue by upgrading Werkzeug && downgrading markupsafe (v16 EE) :
pip3 install -U Werkzeug
pip3 install markupsafe==2.0.1

Author

Didn't work, but dropped everything and reinstalled, same operations... now it's working... dunno!