#The problem says error 500 | Server Error

1 messages · Page 1 of 1 (latest)

shell slate
#

Hello, I'm doing a ptero for the first time and it says this on the website, what should I do?

hearty fog
#

thats also my problem. at a random time its give this error

#

when do this pop up

#

you can look in your logs in var/www/pterodactyl/storage/logs for logs

small shard
#

i suggest for both of you to write the error out in text

#

support bot has a response for it but while it technically can read images it's not very good at it

#

500 server error

pale heathBOT
#

Hey @small shard! Post your Panel logs to find out more information about the cause of your 500 server errors tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

small shard
hearty fog
#

thanks

#

can i post the link here

small shard
#

yea

#

support bot will crawl it and look if it can find any trigger phrases in it

hearty fog
pale heathBOT
#

I have found the following for: https://ptero.co/olijinidac
@hearty fog; Your database has reached the limit of maximum concurrent connections (150). You can increase the limit to 300 (or any number) by adding the following text to the bottom of your my.cnf file

[mysqld]
max_connections=300

Type find /etc -iname my.cnf to find the location of the file. Restart your mysql systemctl restart mysql to apply the changes and voilà!

shell slate
#

500 server error

pale heathBOT
#

Hey @shell slate! Post your Panel logs to find out more information about the cause of your 500 server errors tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

shell slate
pale heathBOT
#

I have found the following for: https://ptero.co/ijuziyoqaf
🇫🇷 🥖 Bienvenue sur Internet, @shell slate 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

pale heathBOT
#

I have found the following for: https://ptero.co/ovocajofad
@hearty fog; Your database has reached the limit of maximum concurrent connections (150). You can increase the limit to 300 (or any number) by adding the following text to the bottom of your my.cnf file

[mysqld]
max_connections=300

Type find /etc -iname my.cnf to find the location of the file. Restart your mysql systemctl restart mysql to apply the changes and voilà!

shell slate
#

500 server error

pale heathBOT
#

Hey @shell slate! Post your Panel logs to find out more information about the cause of your 500 server errors tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

shell slate
pale heathBOT
#

I have found the following for: https://ptero.co/exejiwowik
🇫🇷 🥖 Bienvenue sur Internet, @shell slate 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

shell slate
#

500 server error

pale heathBOT
#

Hey @shell slate! Post your Panel logs to find out more information about the cause of your 500 server errors tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

shell slate
pale heathBOT
#

I have found the following for: https://ptero.co/lecacezaju
🇫🇷 🥖 Bienvenue sur Internet, @shell slate 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

shell slate
#

500 Internal Server Error

brave cedar
pale heathBOT
#

I have found the following for: https://ptero.co/xoyupokiwi
@brave cedar; You appear to be missing PHP extensions that are listed in the documentation dependencies list. They should have been installed if you followed the documentation.

Worry not, follow the PHP upgrade guide to install the required extensions for PHP 8.3 https://pterodactyl.io/guides/php_upgrade.html