Skip to content

Added two "::: warning"s for two problems that I encountered while installing + One other minor edit #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kaz-49
Copy link

@kaz-49 kaz-49 commented May 1, 2025

I encountered some problems while installing Pterodactyl Panel on Fedora Server 41, so I figured I'd add the solutions I found here.
I'm quite sure that these apply to more RHEL/Fedora-based distros, but I'm afraid I haven't tested installing the Panel on other distros so I don't know.

I also changed the preexisting "::: tip" to a "::: warning", because I think that the information in that "::: tip" block sounds much more important than your average (potentially optional) tip.

kaz-49 added 3 commits May 1, 2025 15:57
Because it is quite important for the user to know this. "Tip" feels much less important than "Warning".
Because I am an idiot.
…r 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.
@Jcodeerd
Copy link
Contributor

Jcodeerd commented May 1, 2025

I wonder whether its better to add these commands to the troubleshooting page?

@kaz-49
Copy link
Author

kaz-49 commented May 5, 2025

I think with this one (below), it should be fine to just add it to the troubleshooting page as you said (with some formatting edits of course).

::: warning
If you complete the official Panel installation documentation 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:

sudo chcon -R -t httpd_sys_rw_content_t storage
sudo chcon -R -t httpd_sys_rw_content_t bootstrap/cache

:::

With this one (below), though, the command that I have and the commands that are on the troubleshooting page both appear to be solutions for similar (or perhaps even the same) problems. I don't know which of these solutions are better security-wise, so it would be great to get some input from someone who actually knows SELinux. If we can't get ahold of that person though, I think it'd be fine to remove mine because I think (based on nothing but gut feeling) that the pre-existing one looks more secure.

::: 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:

sudo setsebool httpd_can_network_connect=1

:::

I want to keep the edit from ::: tip to ::: warning as-is because of the aforementioned reason.

::: warning
You will need to change the fastcgi_pass path in the Nginx configuration to /var/run/php-fpm/pterodactyl.sock
:::

Should I edit the PR to make these changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants