تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2662 أدوات العرض

Hi I'm upgrading from 14 to 16. The environment is Kubernetes. Can you help?
There is error about file not found.

FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/odoo/filestore/sentrex_odoo16_production/c7/c7d1c191c4ad624bfd75c39a31613a3c1c481582'

However, I've checked the table "ir_attachment". There is no such data existing.


SELECT id, name, res_model, res_id, file_size, checksum, store_fname
FROM ir_attachment
WHERE store_fname = 'c7d1c191c4ad624bfd75c39a31613a3c1c481582';

Another issue is "KeyError": socket


2023-12-19 23:02:37,816 26 ERROR sentrex_odoo16_production odoo.http: Exception during request handling. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/odoo/http.py", line 1998, in __call__ response = request._serve_db() File "/usr/lib/python3/dist-packages/odoo/http.py", line 1584, in _serve_db return service_model.retrying(self._serve_ir_http, self.env) File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 133, in retrying result = func() File "/usr/lib/python3/dist-packages/odoo/http.py", line 1611, in _serve_ir_http response = self.dispatcher.dispatch(rule.endpoint, args) File "/usr/lib/python3/dist-packages/odoo/http.py", line 1725, in dispatch return self.request.registry['ir.http']._dispatch(endpoint) File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_http.py", line 154, in _dispatch result = endpoint(**request.params) File "/usr/lib/python3/dist-packages/odoo/http.py", line 697, in route_wrapper result = endpoint(self, *args, **params_ok) File "/usr/lib/python3/dist-packages/odoo/addons/bus/controllers/websocket.py", line 23, in websocket return WebsocketConnectionHandler.open_connection(request) File "/usr/lib/python3/dist-packages/odoo/addons/bus/websocket.py", line 817, in open_connection Websocket(request.httprequest.environ['socket'], request.session), KeyError: 'socket'

الصورة الرمزية
إهمال

Hello,

This file is missing in odoo16 your odoo16 filestore.

أفضل إجابة

Hello,

The upgraded database in TEST do not contain all the filestore.

You can generate the  missing files with a upgrad all : 

In parameters : -c /my_file_conf_path/odoo.conf -d my_test_db -u all

Regards,

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 24
1555
2
أبريل 24
17455
0
نوفمبر 23
1260
1
مارس 24
1728
1
يناير 24
3092