From 178605b84c6c162552b9c5c3a5be7eae67354a2c Mon Sep 17 00:00:00 2001 From: kaz-49 <119045873+kaz-49@users.noreply.github.com> Date: Thu, 1 May 2025 15:57:25 +0900 Subject: [PATCH 1/3] Change the "::: tip" at the bottom to a "::: warn" Because it is quite important for the user to know this. "Tip" feels much less important than "Warning". --- community/installation-guides/panel/centos8.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community/installation-guides/panel/centos8.md b/community/installation-guides/panel/centos8.md index 8a6cfff7c..92cb33677 100644 --- a/community/installation-guides/panel/centos8.md +++ b/community/installation-guides/panel/centos8.md @@ -79,6 +79,6 @@ sudo systemctl enable --now php-fpm Excellent, we now have all of the required dependencies installed and configured. From here, follow the [official Panel installation documentation](/panel/1.0/getting_started.md#download-files). -::: tip +::: warn You will need to change the fastcgi_pass path in the Nginx configuration to `/var/run/php-fpm/pterodactyl.sock` -::: \ No newline at end of file +::: From f09af29255b3a97253700100118e3e3cb0670e6c Mon Sep 17 00:00:00 2001 From: kaz-49 <119045873+kaz-49@users.noreply.github.com> Date: Thu, 1 May 2025 16:01:06 +0900 Subject: [PATCH 2/3] Change "::: warn" to "::: warning" Because I am an idiot. --- community/installation-guides/panel/centos8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/installation-guides/panel/centos8.md b/community/installation-guides/panel/centos8.md index 92cb33677..319c66988 100644 --- a/community/installation-guides/panel/centos8.md +++ b/community/installation-guides/panel/centos8.md @@ -79,6 +79,6 @@ sudo systemctl enable --now php-fpm Excellent, we now have all of the required dependencies installed and configured. From here, follow the [official Panel installation documentation](/panel/1.0/getting_started.md#download-files). -::: warn +::: warning You will need to change the fastcgi_pass path in the Nginx configuration to `/var/run/php-fpm/pterodactyl.sock` ::: From 8543e9b2e08e097789a92b24c24e40ca229c84d6 Mon Sep 17 00:00:00 2001 From: kaz-49 <119045873+kaz-49@users.noreply.github.com> Date: Thu, 1 May 2025 16:12:22 +0900 Subject: [PATCH 3/3] Added two "::: warning"s for two problems that I encountered and their solutions I'm quite sure that these problems are specific to RHEL/Fedora-based distros, but I'm afraid I haven't tested installing the Panel on other distros. --- community/installation-guides/panel/centos8.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/community/installation-guides/panel/centos8.md b/community/installation-guides/panel/centos8.md index 319c66988..a02f92807 100644 --- a/community/installation-guides/panel/centos8.md +++ b/community/installation-guides/panel/centos8.md @@ -82,3 +82,20 @@ Excellent, we now have all of the required dependencies installed and configured ::: warning You will need to change the fastcgi_pass path in the Nginx configuration to `/var/run/php-fpm/pterodactyl.sock` ::: + +::: warning +If you complete the [official Panel installation documentation](/panel/1.0/getting_started.md#download-files) but get a HTTP 500 error code and "Permission Denied" errors in `/var/log/nginx/pterodactyl.app-error.log`, you may need to run the following commands: + +``` bash +sudo chcon -R -t httpd_sys_rw_content_t storage +sudo chcon -R -t httpd_sys_rw_content_t bootstrap/cache +``` +::: + +::: warning +If you get "Permission denied \[tcp://127.0.0.1:6379\]" in your laravel log (`/var/www/pterodactyl/storage/logs/laravel-TODAYS-DATE.log`), you may need to run the following commands: + +``` bash +sudo setsebool httpd_can_network_connect=1 +``` +:::