the-djmaze / snappymail

Simple, modern & fast web-based email client
https://snappymail.eu
GNU Affero General Public License v3.0
977 stars 114 forks source link

Deletion of CACHE folder causing 'No such file or directory' error #1660

Closed xTGHHx closed 1 month ago

xTGHHx commented 1 month ago

Describe the bug The following error is popping up in the logs everyday again:

file_put_contents(/export/data/nextcloud/appdata_snappymail/_data_/_default_/cache/CACHEDIR.TAG): Failed to open stream: No such file or directory at /var/www/nextcloud/apps/snappymail/app/snappymail/v/2.36.4/app/libraries/MailSo/Cache/Drivers/File.php#31

Even though I create the cache folder this message pops up the next day again.

To Reproduce Steps to reproduce the behavior:

  1. fix missing folder by creating it
  2. wait
  3. error is back again with same missing folder

Expected behavior The application is handling the creation of the folder properly.

Please complete the following information: