Skip to Content
Menu
This question has been flagged
8863 Views

I received errors after change data_dir path to /var/lib/odoo (Odoo 13 docker)

How can I clean cache ?

2020-06-25 15:19:04,648 1 INFO odoo odoo.addons.base.models.ir_attachment: _read_file reading /var/lib/odoo/filestore/odoo/2f/2f7028932480cdcb927f83b0165d577669e620fa
web_1  | Traceback (most recent call last):
web_1  |   File "/usr/lib/python3/dist-packages/odoo/api.py", line 745, in get
web_1  |     value = self._data[field][record._ids[0]]
web_1  | KeyError: 273
web_1  |
web_1  | During handling of the above exception, another exception occurred:
web_1  |
web_1  | Traceback (most recent call last):
web_1  |   File "/usr/lib/python3/dist-packages/odoo/fields.py", line 996, in __get__
web_1  |     value = env.cache.get(record, self)
web_1  |   File "/usr/lib/python3/dist-packages/odoo/api.py", line 751, in get
web_1  |     raise CacheMiss(record, field)
web_1  | odoo.exceptions.CacheMiss: ('ir.attachment(273,).datas', None)
web_1  |
web_1  | During handling of the above exception, another exception occurred:
web_1  |
web_1  | Traceback (most recent call last):
web_1  |   File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_attachment.py", line 103, in _file_read
web_1  |     with open(full_path,'rb') as fd:
web_1  | FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/odoo/filestore/odoo/2f/2f7028932480cdcb927f83b0165d577669e620fa'

Avatar
Discard

Did you find a solution?

Related Posts Replies Views Activity
1
Nov 22
2470
1
Nov 20
4595
6
Jun 20
19665
2
Dec 24
99
2
Oct 23
4281