EspoCRM was up and running beautifully. Suddenly, it returned a "Bad Server Response" error and stopped working completely for everybody. No one can even get to the login screen.
The log report shows the following two error notices, repeating endlessly:
[2018-07-03 04:53:45] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/routes.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/routes.php because Permission denied","file":"/opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php","line":502,"context":{"filePath":"dat a/cache/application/routes.php","defaultPermissions":{"dir":"0775","fi le":"0664","user":2,"group":2},"pathParts":{"dirna me":"data/cache/application","basename":"routes.php","extension":" php","filename":"routes"}}} []
[2018-07-03 04:53:45] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Permission denied for data/cache/application/routes.php" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php line 204 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Permission denied for data/cache/application/routes.php at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php:204)"} []
[2018-07-03 04:53:46] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/routes.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/routes.php because Permission denied","file":"/opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php","line":502,"context":{"filePath":"dat a/cache/application/routes.php","defaultPermissions":{"dir":"0775","fi le":"0664","user":2,"group":2},"pathParts":{"dirna me":"data/cache/application","basename":"routes.php","extension":" php","filename":"routes"}}} []
[2018-07-03 04:53:46] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Permission denied for data/cache/application/routes.php" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php line 204 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Permission denied for data/cache/application/routes.php at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php:204)"} []
The log report shows the following two error notices, repeating endlessly:
[2018-07-03 04:53:45] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/routes.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/routes.php because Permission denied","file":"/opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php","line":502,"context":{"filePath":"dat a/cache/application/routes.php","defaultPermissions":{"dir":"0775","fi le":"0664","user":2,"group":2},"pathParts":{"dirna me":"data/cache/application","basename":"routes.php","extension":" php","filename":"routes"}}} []
[2018-07-03 04:53:45] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Permission denied for data/cache/application/routes.php" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php line 204 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Permission denied for data/cache/application/routes.php at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php:204)"} []
[2018-07-03 04:53:46] Espo.WARNING: E_WARNING: touch(): Unable to create file data/cache/application/routes.php because Permission denied {"code":2,"message":"touch(): Unable to create file data/cache/application/routes.php because Permission denied","file":"/opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php","line":502,"context":{"filePath":"dat a/cache/application/routes.php","defaultPermissions":{"dir":"0775","fi le":"0664","user":2,"group":2},"pathParts":{"dirna me":"data/cache/application","basename":"routes.php","extension":" php","filename":"routes"}}} []
[2018-07-03 04:53:46] Espo.ERROR: Uncaught Exception Espo\Core\Exceptions\Error: "Permission denied for data/cache/application/routes.php" at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php line 204 {"exception":"[object] (Espo\\Core\\Exceptions\\Error(code: 500): Permission denied for data/cache/application/routes.php at /opt/bitnami/apps/espocrm/htdocs/application/Espo/Core/Utils/File/Manager.php:204)"} []
Comment