#I need help

1 messages · Page 1 of 1 (latest)

ebon thicket
#

Hello, i tried to install the ctrl pannel and it failed now The ptreodactyl panel and the dash is offline what can i do now?

Error while running nginx -c /etc/nginx/nginx.conf -t.

nginx: [emerg] open() "/etc/nginx/sites-enabled/ctrlpanel.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:60
nginx: configuration file /etc/nginx/nginx.conf test failed

The nginx plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] open() "/etc/nginx/sites-enabled/ctrlpanel.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:60\nnginx: configuration file /etc/nginx/nginx.conf test failed\n')

Edit: I cannot send a log idk why

ebon thicket
half dirgeBOT
#

:warning: Do not ping staff members for support! :warning:
A staff member will try to help you as soon as possible but be patient!

half dirgeBOT
#

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.

stone fern
#

Are you finished web install?

ebon thicket
#

The web dont load

stone fern
#

can you please show your nginx confinguration

ebon thicket
stone fern
#

/etc/nginx/sites-enabled/ctrlpanel.conf

ebon thicket
stone fern
#

Are you sure you created the configuration?

ebon thicket
#

I connot open the file

stone fern
#

You need to create it first

ebon thicket
stone fern
#

try this

ebon thicket
#

Not working for me

stone fern
#

tail -n 200 /var/log/nginx/error.log | nc pteropaste.com 99

ebon thicket
half dirgeBOT
ebon thicket
stone fern
#

Does your pass contain any special symbol like # ?

ebon thicket
#

no only letters

stone fern
#

hm

stone fern
#

this is hidden file

ebon thicket
half dirgeBOT
ebon thicket
elder bloom
#

2024-03-10 14:49:04] production.ERROR: SQLSTATE[HY000] [1045] Access denied for user 'dashboarduser'@'localhost' (using password: YES) {"exception":"[object] (PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'dashboarduser'@'localhost' (using password: YES) at /var/www/controlpanel/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)
[stacktrace]
#0

ebon thicket
#

It is not localhost it is 127.0.0.1 i guess

ebon thicket