#Web

1 messages · Page 1 of 1 (latest)

outer aspen
timid coral
#

Not related to controlpanel

#

Update your nginx config it seems

outer aspen
#

i reinstalled nginx

prime pastureBOT
#

Can you please fetch the error logs, so we can assist you better regarding this error.
tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99

outer aspen
#

DB error?

#

what i need to do if i have new ip of server

prime pastureBOT
#

Your database is refusing the dashboard'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
  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://CtrlPanel.gg/docs/Installation/getting-started#database-setup

——————————-
credits to pterodactyl team for making this good message

It is recommended that you have some sort of Linux and MariaDB experience before installing this.

outer aspen
autumn widget
#

a tip, if you changed your IP then the IP in that username might need changing, or a firewall rule needs to be changed so you can access it. focus on being able to manually login to that user and database, then when you google and figure it out, get back to cpgg. Trying to figure it out through the installer may be time consuming.

outer aspen
#

@autumn widget can u help me? because i dont know how to fix i tried everything

outer aspen
#

reinstalled

outer aspen
#

??