odoo-cloud-platform icon indicating copy to clipboard operation
odoo-cloud-platform copied to clipboard

odoo15 dump the attachments to the minio,can not be access attachments in odoo.

Open caesar168 opened this issue 2 years ago • 1 comments

In the odoo15 version, the attachments originally stored in the database are transferred out to the filtere, and then the env['ir.attachment'] .force_storage() command is executed to dump the attachments to the minio, and then the folder directory is removed (no longer needed). When entering the system, odoo has an error with the following message: Traceback (most recent call last): File "/home/vcs/vcs/vcs/addons/base/models/ir_attachment.py", line 119, in _file_read with open(full_path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/vcs/vcs/share/filestore/RCB/74/74fb750898f19dc963c14b85fab3b9c734a5b655'。 Since we imported the attachment information into the minio, of course we want to be able to access these attachments in odoo.

caesar168 avatar May 20 '22 10:05 caesar168

@p-tombez @vrenaville might be related to double attachement during migration

nbessi avatar Jun 08 '22 14:06 nbessi

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Jun 18 '23 12:06 github-actions[bot]