Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
后台显示的错误
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
web-1 | 2025-04-01 13:30:10,775 1 ERROR ? odoo.http: Exception during request handling. web-1 | Traceback (most recent call last): web-1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 2206, in __call__ web-1 | request._post_init() web-1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 1391, in _post_init web-1 | self.session, self.db = self._get_session_and_dbname() web-1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 1397, in _get_session_and_dbname web-1 | session = root.session_store.new() web-1 | File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 28, in __get__ web-1 | value = self.fget(obj) web-1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 2132, in session_store web-1 | path = odoo.tools.config.session_dir web-1 | File "/usr/lib/python3/dist-packages/odoo/tools/config.py", line 766, in session_dir web-1 | os.makedirs(d, 0o700) web-1 | File "/usr/lib/python3.10/os.py", line 225, in makedirs web-1 | mkdir(name, mode) web-1 | PermissionError: [Errno 13] Permission denied: '/var/lib/odoo/sessions' web-1 | 2025-04-01 13:30:10,776 1 INFO ? werkzeug: 192.168.6.221 - - [01/Apr/2025 13:30:10] "GET /fav icon.ico HTTP/1.1" 500 - 0 0.000 0.001