• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Force expire old guest image uploads

mkerala

👽 Chevereto Freak
I am trying to get rid of guest image upload older than 2 years by forcing the image expire date.

Code:
update db1.images set image_expiration_date_gmt='2017-12-16 13:10:00' WHERE image_date <= '2014-07-05 00:00:00' and image_user_id is NULL;

This set expiration date on 5 images uploaded 3 years back. But even after one week of expiry the images are sill there.

Eg: https://gifyu.com/image/S

Anyone able to throw some light into how image expiration works. So I could further troubleshoot this.
 
It should work, I don't think that your steps are wrong. Maybe there's something else? Like an old external storage without access?
 
Only this year I moved to external storage. Before that all images are locally stored and I can also delete them manually using the delete button. I thought this problem was due to expire date being too close. So I tried a new date with 3 days time to reach. Still no luck.

I tested uploading a new image with 5 mins expire time and turns out the whole expire image thing is not working on my site.
 
Just tested the demo and works fine. It deletes the database row and it removes the files (it needs CF recache).

Maybe your custom editing broke that thing or you need to refresh your file cache.
 
Back
Top