S3fs module is not working properly until I save settings form

Created on 13 October 2023, over 1 year ago
Updated 16 October 2023, over 1 year ago

Drupal10 | S3fs is not working until I have to save settings form link: admin/config/media/s3fs

Hello friends please help me to fix below issue:-

1. In settings.php I have set all the required variables for s3
2. Clear s3 cache \Drupal::service("s3fs")->refreshCache($config); not working at this time
2. Clear Drupal cache all but not working at this time
3. When I go to admin/config/media/s3fs form manually and save (Our client have more than 2000 websites)
Now all the s3 functionality is working fine

We have upgraded to Drupal10

But in our old release use have used s3fs version: '8.x-3.0-alpha17' where do not need to save this form manually because our client have more then 2000 websites
and we cannot got to the form manually and save.

Your help is highly appreciated!
Thanks in advance.
Debraj

💬 Support request
Status

Fixed

Version

3.3

Component

Miscellaneous

Created by

🇮🇳India debrajn

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

Comments & Activities

  • Issue created by @debrajn
  • Status changed to Postponed: needs info over 1 year ago
  • 🇺🇸United States cmlara

    Reducing priority as Support Requests on D.O. are never critical unless other arrangements have been made with the project.

    3. When I go to admin/config/media/s3fs form manually and save ...
    Now all the s3 functionality is working fine... But in our old release use have used s3fs version: '8.x-3.0-alpha17' where do not need to save...

    This sounds like you may not actually have all the settings in your settings.php, there is both settings.php only items, and configuration which can (but isn't recommended) to be in settings.php or can be in configuration files.

    This could be that the site have not run the database update tasks after upgrading It is also possible that a config field that is required was not migrated during Alpha, though I believe I did try and maintain backwards compatibility as s3fs had been in alpha for an extended period of time.

    I suggest researching Configuration Management as one solution for managing site config instead of settings.php, doing so might also help you determine what configuration is missing that should be apart of your rollout process.

  • 🇮🇳India debrajn

    Thank you cmlara,

    Your help is really appreciated. I got the issue and fixed. It was the configuration issue. Now sites are working fine.

  • Status changed to Fixed over 1 year ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024