Open maartenbusstra opened 7 years ago
Added the import log entries.
I set uploads_use_yearmonth_folders
to 0
, and it seems to work now. This might be a good edge case to consider/test!
Thanks for reporting the issue. I'll find time within the next days to investigate it in detail.
Hi, I have the following problem:
I'm trying to import attachments, but for some reason the imports aren't referenced correctly in the corresponding posts, or the directory in which they end up is incorrect. I'm getting this error:
WPOS3: File /app/web/app/uploads/Casper-van-Eijck-in-actie-0115-007.jpg does not exist.
WP Offload S3 is looking for the file, but can't find where it's supposed to be. Neither are they showing up correctly in wp-admin.
Example:
/wp-content/uploads/Casper-van-Eijck-in-actie-0115-007.jpg
/app/uploads/2017/02/Casper-van-Eijck-in-actie-0115-007.jpg
_w2m_origin_link
: http://domain/en/2017/02/15/foo-post/casper-van-eijck-in-actie-0115-007-2/_w2m_origin_post_id
: 65328_w2m_remote_guid
: http://domain/wp-content/uploads/Casper-van-Eijck-in-actie-0115-007.jpg_wp_attached_file
: Casper-van-Eijck-in-actie-0115-007.jpgwpml_media_processed
: 1_wp_attachment_metadata
(unserialized to YAML):It seems like
_wp_attached_file
(and thefile
keys insizes
?) is being set incorrectly.Import log: