Se rendre au contenu
Menu
Cette question a été signalée

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'

Avatar
Ignorer

Hello,

This file is missing in odoo16 your odoo16 filestore.

Meilleure réponse

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,

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
janv. 24
1447
2
avr. 24
17293
0
nov. 23
1170
1
mars 24
1664
1
janv. 24
3031