I am getting this error in the log when duplicating my database
2023-08-10 11:08:14,760 4279 INFO test odoo.addons.base.models.ir_attachment: _read_file reaing /odoo/.local/share/Odoo/filestore/test/e9/e9719b3f37339b59b1279ba0b429892c0cfbd58b
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 13350
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/odoo/odoo-server/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('ir.attachment(13350,).datas', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/addons/base/models/ir_attachment.py", line 103, in _file_read
with open(full_path,'rb') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/odoo/.local/share/Odoo/filestore/tst/e9/e9719b3f37339b59b1279ba0b429892c0cfbd58b'
2023-08-10 11:08:14,769 4279 INFO test odoo.addons.base.models.ir_attachment: _read_file reaing /odoo/.local/share/Odoo/filestore/test/f1/f1fdbf620eeae3c8e72fbf28fa94ba084bf79765
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 13348
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/odoo/odoo-server/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('ir.attachment(13348,).datas', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/addons/base/models/ir_attachment.py", line 103, in _file_read
with open(full_path,'rb') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/odoo/.local/share/Odoo/filestore/tst/f1/f1fdbf620eeae3c8e72fbf28fa94ba084bf79765'
2023-08-10 11:08:14,838 4279 INFO test werkzeug: 46.251.141.44 - - [10/Aug/2023 11:08:14] "GT /web/content/13350-66ca88b/web.assets_common.js HTTP/1.0" 404 - 5 0.076 0.150
2023-08-10 11:08:14,854 4279 INFO test odoo.addons.base.models.ir_attachment: _read_file reaing /odoo/.local/share/Odoo/filestore/test/91/9103cb91734eb12ea6479ffa0410acd8d1e73b34
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/api.py", line 748, in get
value = self._data[field][record._ids[0]]
KeyError: 37016
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/fields.py", line 1038, in __get__
value = env.cache.get(record, self)
File "/odoo/odoo-server/odoo/api.py", line 754, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('ir.attachment(37016,).datas', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/addons/base/models/ir_attachment.py", line 103, in _file_read
with open(full_path,'rb') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/odoo/.local/share/Odoo/filestore/tst/91/9103cb91734eb12ea6479ffa0410acd8d1e73b34'