Images inserted in Forum expire after 7 days!

Running Redwood
tutor, version 18.2.2

The problem occurs when adding a post with an image in the Open edX forum because the platform automatically generates temporary, signed URLs for files stored in MinIO.

These URLs expire after seven days, causing the images in forum posts to disappear and display an “Access Denied: Request has expired” error.

Even though the MinIO bucket is public, Open edX continues to use time-limited links instead of permanent ones, so the images stop loading once the signatures expire.

Please help…i am running the instance in production

Thank you

BA2025/root/331c6e55-6f45-4a2b-a535-279a589edabf.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=openedx%2F20250930%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250930T212737Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=44b3de263dbe436ea30ff747ec250a070931f0c872017831bda1ed81a7613348

It seems that edx is generating signed urls for forum images that are getting expired, even when the bucket is public. Could you change your config and check:

# In edx-platform/lms/envs/production.py and cms/envs/production.py

STORAGES['default']['OPTIONS'] = {

'querystring_auth': False,

}

Thank you Ahmed

Should i change that value directly in the file? (i hope No plugin would be required as i am running a live instance)
After changing querystring_auth to False, what command should i run so that the change takes effect (launch,restart)?

Thank you for you help
Hamid

Creating a new plugin would be ideal since tutor config save will override it again if done manually.

Example plugin snippet:

from tutor import hooks

hooks.Filters.CONFIG_DEFAULTS.add_item(
    ("UNSIGNED_URLS_ENABLED", True)
)

hooks.Filters.ENV_PATCHES.add_item(
    (
        "openedx-auth",
        """
STORAGES:
  default:
    OPTIONS:
      querystring_auth: false
"""
    )
)

Thank you Ahmed

Should a “tutor build” be necessary after adding the plugin ? or just a “tutor launch”

Thank you