From c53825acc3741fc3c7e92a618f79894019c89a04 Mon Sep 17 00:00:00 2001 From: Ivan Kolodrivskiy Date: Thu, 17 Oct 2019 23:40:44 +0300 Subject: [PATCH 1/3] fix chmod command for writable files and directories --- docs/setup/installation.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/setup/installation.md b/docs/setup/installation.md index 139cfe90..49f6a211 100644 --- a/docs/setup/installation.md +++ b/docs/setup/installation.md @@ -79,9 +79,7 @@ php artisan cachet:install > **Getting a 500 - Internal Server Error?** > If you get a 500 error when visiting your status page, you may need to -> run `chmod -R 777 storage/` for it to work or `rm -rf bootstrap/cache/*` - -You can also try to give permissions to cache chmod -R 777 bootstrap/ +> run `chmod -R 777 .env bootstrap/cache storage` for it to work or `rm -rf bootstrap/cache/*` ## Running Cachet on Apache From b126d940f3f8279319f8446a6759938d13f9c3c9 Mon Sep 17 00:00:00 2001 From: Ivan Kolodrivskiy Date: Fri, 18 Oct 2019 00:34:32 +0300 Subject: [PATCH 2/3] add chmod command if set value file for CACHE_DRIVER and SESSION_DRIVER parameters on .env --- docs/setup/installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/setup/installation.md b/docs/setup/installation.md index 49f6a211..0e53be8b 100644 --- a/docs/setup/installation.md +++ b/docs/setup/installation.md @@ -79,7 +79,9 @@ php artisan cachet:install > **Getting a 500 - Internal Server Error?** > If you get a 500 error when visiting your status page, you may need to -> run `chmod -R 777 .env bootstrap/cache storage` for it to work or `rm -rf bootstrap/cache/*` +> run `chmod -R 777 .env bootstrap/cache storage`. +> Also if you set value `file` for `CACHE_DRIVER` and `SESSION_DRIVER` parameters in `.env` file run `chmod -R 777 bootstrap/cachet`. +> Finally run `rm -rf bootstrap/cache/*` for delete old cache. ## Running Cachet on Apache From 5dba13f909f9215321c939421382c50dcfabd58c Mon Sep 17 00:00:00 2001 From: Ivan Kolodrivskiy Date: Mon, 4 Nov 2019 03:10:00 +0200 Subject: [PATCH 3/3] fix chmod --- docs/setup/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup/installation.md b/docs/setup/installation.md index 0e53be8b..154c2ca3 100644 --- a/docs/setup/installation.md +++ b/docs/setup/installation.md @@ -79,8 +79,8 @@ php artisan cachet:install > **Getting a 500 - Internal Server Error?** > If you get a 500 error when visiting your status page, you may need to -> run `chmod -R 777 .env bootstrap/cache storage`. -> Also if you set value `file` for `CACHE_DRIVER` and `SESSION_DRIVER` parameters in `.env` file run `chmod -R 777 bootstrap/cachet`. +> run `chmod -R 755 .env bootstrap/cache storage`. +> Also if you set value `file` for `CACHE_DRIVER` and `SESSION_DRIVER` parameters in `.env` file run `chmod -R 755 bootstrap/cachet`. > Finally run `rm -rf bootstrap/cache/*` for delete old cache. ## Running Cachet on Apache