Forum
Images disappearing after 24hrs
Hi,
I’m experiencing a problem with image assets disappearing after 24hrs that is similar to a post from around a year back with quite a bit of discussion attached.
I don’t really understand if the problem has been fixed, but the problem I'm experiencing seems to be very similar. (https://forum.grabaperch.com/forum/08-05-2014-assets-disappearing)
I'm uploading an image, (through the blog app specifically, I haven't noticed it elsewhere, and it occurs on both local dev and staging environments) and everything works ok until 24hrs hours later when the image disappears (missing from the resources folder along with thumbnails the blog post, etc…)
Some images don't disappear (even within the same post), but others do, seems to be no specific type of image, or the way they are being added, etc…
I've re-added the images twice, but the same thing is happening after 24hours. They are all images that are being used within a blog post so shouldn't be getting cleaned up? Any ideas?
Thanks!
Can you post your diagnostics report?
This is from my local MAMP setup, I'd added:
only this morning after I'd read the mentioned post.
Thanks Drew
Does your
perch2_resource_log
table have rows in it? Do you see any fromperch_blog
?How are you adding images to the blog? Are you using an editor plugin? If so, is it the latest version?
perch_2_resource_log: https://up.kibakoapp.com/w4SCck9Xoa (I think the answer is no!)
Images are added through an image block set up for figures, just a standard block:
that section of the template looks like this:
That's the structure of the table - does it have any data in it?
Sorry, yes there is data in there (and also data from perch_blog) - https://up.kibakoapp.com/ff7Dipica6
It's not affecting all blog posts, only a few, and it seems to only affect some of the blog post images (all added through the same type of repeating block), not all. For example I can add a post, with 5 images in total, come back 24hrs later and 4 of them have disappeared and one image remains.
Have they stopped going now that you've made that config change?
I'll be able to confirm that in the morning/afternoon tomorrow. Do you think it could be a bug?
They shouldn't be going, so I can't see how it could be anything other than a bug.
Hi Drew, they do seem to have stopped going now that the config change has been added.
Ok, thanks, that's helpful.