Hi,
I am new to espo, and i have setup some objects and some workflows. Now sometimes it is giving me the error given below
"Error 500 Error while clearing cache".
When i checked the logs here is the log
[2024-09-02 10:56:11] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 10:56:14] ERROR: (500) Error while clearing cache :: POST /Admin/rebuild :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 10:57:35] WARNING: E_WARNING: rmdir(data/cache/application/acl): Directory not empty
[2024-09-02 10:57:35] ERROR: (500) Error while clearing cache :: POST /EntityManager/action/removeEntity :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 10:59:08] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/acl/66727b2c53ad49c27.php because No such file or directory
[2024-09-02 10:59:08] CRITICAL: (0) Permission denied for data/cache/application/acl/66727b2c53ad49c27.php :: GET /Notification/action/notReadCount :: /var/www/html/application/Espo/Core/Utils/File/Manager.php(321)
[2024-09-02 10:59:08] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/acl/66727b2c53ad49c27.php because No such file or directory
[2024-09-02 10:59:08] CRITICAL: (0) Permission denied for data/cache/application/acl/66727b2c53ad49c27.php :: GET /Notification/action/notReadCount :: /var/www/html/application/Espo/Core/Utils/File/Manager.php(321)
[2024-09-02 10:59:08] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 10:59:08] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cDateTimeClosed :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:01:10] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:01:12] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cSLALeftInSeconds :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:08:05] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:08:05] ERROR: (500) Error while clearing cache :: POST /EntityManager/action/removeEntity :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:08:34] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:08:34] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cSLALeftInSeconds :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:11:02] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:11:02] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cSLALeftInSeconds :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:12:54] WARNING: E_WARNING: mkdir(): File exists
[2024-09-02 11:13:10] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because No such file or directory
[2024-09-02 11:13:10] ERROR: (0) Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 142 :: /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php(142)
[2024-09-02 11:13:10] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because No such file or directory
[2024-09-02 11:13:10] ERROR: (0) Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 142 :: /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php(142)
can anyone help how to fix this issue . I am using aws linux hosting.
I am new to espo, and i have setup some objects and some workflows. Now sometimes it is giving me the error given below
"Error 500 Error while clearing cache".
When i checked the logs here is the log
[2024-09-02 10:56:11] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 10:56:14] ERROR: (500) Error while clearing cache :: POST /Admin/rebuild :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 10:57:35] WARNING: E_WARNING: rmdir(data/cache/application/acl): Directory not empty
[2024-09-02 10:57:35] ERROR: (500) Error while clearing cache :: POST /EntityManager/action/removeEntity :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 10:59:08] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/acl/66727b2c53ad49c27.php because No such file or directory
[2024-09-02 10:59:08] CRITICAL: (0) Permission denied for data/cache/application/acl/66727b2c53ad49c27.php :: GET /Notification/action/notReadCount :: /var/www/html/application/Espo/Core/Utils/File/Manager.php(321)
[2024-09-02 10:59:08] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/acl/66727b2c53ad49c27.php because No such file or directory
[2024-09-02 10:59:08] CRITICAL: (0) Permission denied for data/cache/application/acl/66727b2c53ad49c27.php :: GET /Notification/action/notReadCount :: /var/www/html/application/Espo/Core/Utils/File/Manager.php(321)
[2024-09-02 10:59:08] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 10:59:08] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cDateTimeClosed :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:01:10] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:01:12] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cSLALeftInSeconds :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:08:05] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:08:05] ERROR: (500) Error while clearing cache :: POST /EntityManager/action/removeEntity :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:08:34] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:08:34] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cSLALeftInSeconds :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:11:02] WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty
[2024-09-02 11:11:02] ERROR: (500) Error while clearing cache :: PUT /Admin/fieldManager/Case/cSLALeftInSeconds :: /var/www/html/application/Espo/Core/DataManager.php(106)
[2024-09-02 11:12:54] WARNING: E_WARNING: mkdir(): File exists
[2024-09-02 11:13:10] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because No such file or directory
[2024-09-02 11:13:10] ERROR: (0) Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 142 :: /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php(142)
[2024-09-02 11:13:10] WARNING: E_WARNING: touch(): Unable to create file data/cache/application/autoload.php because No such file or directory
[2024-09-02 11:13:10] ERROR: (0) Uncaught Exception RuntimeException: "Route collector cache file directory `data/cache/application` is not writable" at /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php line 142 :: /var/www/html/vendor/slim/slim/Slim/Routing/RouteCollector.php(142)
can anyone help how to fix this issue . I am using aws linux hosting.
Comment