Cache rebuild not delete cached twig files

Created on 22 August 2024, 11 months ago
Updated 10 September 2024, 10 months ago

Hi All,

In my Drupal setup, we have integrated and mounted Azure file sharing for public and private directories.
And after implementing this, we are facing an issue where, after running drush cr, cached twig files are not deleted.

Due to this, the number of cached files in the Twig folder has increased exponentially.

Any suggestions will be a great  help.

💬 Support request
Status

Closed: outdated

Version

9.5

Component
Cache 

Last updated 12 days ago

Created by

🇮🇳India pratikshad Mumbai

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

Comments & Activities

  • Issue created by @pratikshad
  • Is the mount SMB or NFS? What is the operating system? What is the web server type? Are errors logged? Does this happen with Drush only or also from the web UI? What is the Drush version?

    Unfortunately Drupal 9 is no longer supported here.

  • 🇮🇳India pratikshad Mumbai

    Hi @cilefen,

    Thanks for reply even for non support version.

    Please find below requested details:
    Mount – Azure SMB Fileshare
    OS - RHEL 9.4
    Web server type - Apache with php-fpm version 8.1.29
    Errors - no but warnings
    Drush version - 11.6.0
    Drupal version - 9.5.8

    For drush only or from web ui too - We generally did the cache rebuild only from CMD but from interface also we are getting error 504.

    Regards,
    Pratiksha

  • Well, there it is. The file share doesn't allow the process executing the cache clear the level of permissions to execute chmod or touch. I assume that's a permissions problem on your end.

    Why are you using SMB on Linux when you could use NFS?

  • 🇮🇳India pratikshad Mumbai

    thanks it will help

  • Status changed to Closed: outdated 10 months ago
  • 🇳🇿New Zealand quietone

    It seems to me that #5 has resolved this, therefore closing.

    The Drupal Core issue queue is not the ideal place for support requests. The 'support request' option is there for filing support issues for contributed modules and themes. There are several support options listed on our support page (Community > Support at the top of Drupal.org) and there is Drupal Slack . You may get better replies in one of those places.

Production build 0.71.5 2024