Problem with clearing cache

dear all
on a couple of pages i experience that clearing cache is not working, i always get a failure:

Whoops\Exception\ErrorException thrown with message "include(/home/zweifelg/www/domain.ch/application/files/cache/expensive/0fea6a13c52b4d47/25368f24b045ca84/38a865804f8fdcb6/57cd99682e939275/3e7d68124ace5663/5a578007c2573b03/180116bc695d1de8/f1bf999b4d1f1453.php) [<a href='https://secure.php.net/manual/en/function.include.php'>function.include.php</a>]: Failed to open stream: No such file or directory"

Stacktrace:
#37 Whoops\Exception\ErrorException in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Driver/FileSystem/NativeEncoder.php:26
#36 include in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Driver/FileSystem/NativeEncoder.php:26
#35 Stash\Driver\FileSystem\NativeEncoder:deserialize in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Driver/FileSystem.php:201
#34 Stash\Driver\FileSystem:getData in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Item.php:631
#33 Stash\Item:getRecord in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Item.php:321
#32 Stash\Item:executeGet in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Item.php:252
#31 Stash\Item:get in /home/foldername/www/domain.com/concrete/vendor/tedivm/stash/src/Stash/Item.php:346
#30 Stash\Item:isMiss in /home/foldername/www/domain.com/concrete/src/Cache/Adapter/LaminasCacheDriver.php:67
#29 Concrete\Core\Cache\Adapter\LaminasCacheDriver:internalGetItem in /home/foldername/www/domain.com/concrete/vendor/laminas/laminas-cache/src/Storage/Adapter/AbstractAdapter.php:356
#28 Laminas\Cache\Storage\Adapter\AbstractAdapter:getItem in /home/foldername/www/domain.com/concrete/vendor/laminas/laminas-i18n/src/Translator/Translator.php:601
#27 Laminas\I18n\Translator\Translator:loadMessages in /home/foldername/www/domain.com/concrete/vendor/laminas/laminas-i18n/src/Translator/Translator.php:434
#26 Laminas\I18n\Translator\Translator:getTranslatedMessage in /home/foldername/www/domain.com/concrete/vendor/laminas/laminas-i18n/src/Translator/Translator.php:349
#25 Laminas\I18n\Translator\Translator:translate in /home/foldername/www/domain.com/concrete/src/Localization/Translator/Adapter/Laminas/TranslatorAdapter.php:69
#24 Concrete\Core\Localization\Translator\Adapter\Laminas\TranslatorAdapter:translate in /home/foldername/www/domain.com/concrete/bootstrap/helpers.php:27
#23 t in /home/foldername/www/domain.com/concrete/controllers/single_page/dashboard/system/optimization/clearcache.php:32
#22 Concrete\Controller\SinglePage\Dashboard\System\Optimization\Clearcache:do_clear in /home/foldername/www/domain.com/concrete/src/Controller/AbstractController.php:318
#21 call_user_func_array in /home/foldername/www/domain.com/concrete/src/Controller/AbstractController.php:318
#20 Concrete\Core\Controller\AbstractController:runAction in /home/foldername/www/domain.com/concrete/src/Http/ResponseFactory.php:193
#19 Concrete\Core\Http\ResponseFactory:controller in /home/foldername/www/domain.com/concrete/src/Http/ResponseFactory.php:372
#18 Concrete\Core\Http\ResponseFactory:collection in /home/foldername/www/domain.com/concrete/src/Http/DefaultDispatcher.php:132
#17 Concrete\Core\Http\DefaultDispatcher:handleDispatch in /home/foldername/www/domain.com/concrete/src/Http/DefaultDispatcher.php:60
#16 Concrete\Core\Http\DefaultDispatcher:dispatch in /home/foldername/www/domain.com/concrete/src/Http/Middleware/DispatcherDelegate.php:39
#15 Concrete\Core\Http\Middleware\DispatcherDelegate:next in /home/foldername/www/domain.com/concrete/src/Http/Middleware/FrameOptionsMiddleware.php:39
#14 Concrete\Core\Http\Middleware\FrameOptionsMiddleware:process in /home/foldername/www/domain.com/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#13 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/foldername/www/domain.com/concrete/src/Http/Middleware/StrictTransportSecurityMiddleware.php:36
#12 Concrete\Core\Http\Middleware\StrictTransportSecurityMiddleware:process in /home/foldername/www/domain.com/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#11 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/foldername/www/domain.com/concrete/src/Http/Middleware/ContentSecurityPolicyMiddleware.php:36
#10 Concrete\Core\Http\Middleware\ContentSecurityPolicyMiddleware:process in /home/foldername/www/domain.com/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#9 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/foldername/www/domain.com/concrete/src/Http/Middleware/CookieMiddleware.php:35
#8 Concrete\Core\Http\Middleware\CookieMiddleware:process in /home/foldername/www/domain.com/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#7 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/foldername/www/domain.com/concrete/src/Http/Middleware/ApplicationMiddleware.php:29
#6 Concrete\Core\Http\Middleware\ApplicationMiddleware:process in /home/foldername/www/domain.com/concrete/src/Http/Middleware/MiddlewareDelegate.php:50
#5 Concrete\Core\Http\Middleware\MiddlewareDelegate:next in /home/foldername/www/domain.com/concrete/src/Http/Middleware/MiddlewareStack.php:86
#4 Concrete\Core\Http\Middleware\MiddlewareStack:process in /home/foldername/www/domain.com/concrete/src/Http/DefaultServer.php:85
#3 Concrete\Core\Http\DefaultServer:handleRequest in /home/foldername/www/domain.com/concrete/src/Foundation/Runtime/Run/DefaultRunner.php:128
#2 Concrete\Core\Foundation\Runtime\Run\DefaultRunner:run in /home/foldername/www/domain.com/concrete/src/Foundation/Runtime/DefaultRuntime.php:102
#1 Concrete\Core\Foundation\Runtime\DefaultRuntime:run in /home/foldername/www/domain.com/concrete/dispatcher.php:45
#0 require in /home/foldername/www/domain.com/index.php:2

highly appreciated every help!
thank you!

I’d manually find the /home/zweifelg/www/aquagreen.ch/application/files/cache/expensive folder on your server and clear its contents.

does unfortunately not work – same error

Wie is the script looking for the cache files in this location?

sorry, i dont get what you want? where can i find this script?

This what your error message shows. concreteCMS looks for cache files in that path. The path that you are quoting (/home/zweifelg/www/aquagreen.ch) is different. So why would concreteCMS look in that other path? If it does not exists, it cannot find the files.

@Cahueya I assume OP has tried to sanitize / anonymize the error message but missed the path and domain on the first line.

@eivissa89 do you have access to the command line? If so, try regenerating the proxies (./concrete/bin/concrete orm:generate-proxies) and then clearing the cache (./concrete/bin/concrete c5:clear-cache)

you are right, i missed that line… :slight_smile:
hmm will try that! thank you very much!

also does not help…, :smiling_face_with_tear:
another developer mentioned it could be the hoster but i cannot really believe this?!

Are you sure you have set the permission to the folders all correct, so that concreteCMS can actually make modifications to the files?

it’s 777, thats right, no?

i just saw that the website is on prod.domain.com maybe this has an impact?

@eivissa89 what’s the output of the following command (run from the web root):

grep -Hoir f1bf999b4d1f1453.php .

@Myq maybe you meant this?

grep -Hoir

Al my folder permissions are 755 and files are 644 on cPanel.

I did indeed! Thanks for catching that

sorry, where do i have to put that?
we still have this error but somehow live with it… :frowning:

This is a Linux Console command that “grabs” Files that contain a specific string and shows where they are.

SSH to your server, cd to the webroot directory, and then run that command