Secret local files cache does not update for public users

Created on 3 October 2024, about 1 month ago

Problem/Motivation

I have installed open social on a live domain to test it.
Any images I post "public" breaks after a few hours and the only way to fix it is to clear all caches.

Below is an image of a public post.
On the right is the post with images that show.
On the left is what happens to the images after a few hours
Then to make it look like the image on the right again you need to clear all caches.

Below is the secret file system link of an image that works but then stops working after a few hours.

<img loading="lazy" src="/system/file/EuUHxCzzFgY0M5OMT0pxC5qAAXzb9dMWsAv4hCNJZVQ/1727776800/styles/social_post_photo/secret/post/552289.jpg?itok=QHKtznVE" width="714" height="536" alt="" class="img-responsive">

Then after clearing the cache a new secret file image link is generated and works for a few hours before it will break
<img loading="lazy" src="/system/file/i-Ev8URv_iE-SOoowytseyXAM1FlEb4PEy3RZ9vcFb0/1727953200/styles/social_post_photo/secret/post/552289.jpg?itok=QHKtznVE" width="714" height="536" alt="" class="img-responsive">

Steps to reproduce

  • Do a default install of open social
  • create a post in the community, add images and set it to "public"
  • Logout and view your post with images
  • Wait a few hours and return to site to find images broken.

I have cron set to run every 15min
All cron jobs is set to default settings as open social installs it.

Is there any settings for the secret file system that I must set.

πŸ› Bug report
Status

Active

Version

13.0

Component

Other

Created by

πŸ‡ΏπŸ‡¦South Africa vlooi vlerke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024