#Problems with /install

1 messages · Page 1 of 1 (latest)

long slateBOT
#

How to get support?

  • Search for similar posts first!
  • What have you tried already?
  • Where the error has happened?
  • Provide logs!

Dont's (will get you muted):

  • Post some image or text without context.
  • Post a command you ran without the output,
  • Post just the output.
  • Reply with "i already did that" (See: How to get Support)
  • Post every word as a new message.
  • Ping Staff.
  • Post the same message in multiple channels.

Get Logs:
Laravel / CP.GG: tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99
Installer: tail -n 100 /var/www/controlpanel/public/install/logs/installer.log | nc pteropaste.com 99
(NGINX: Are usually in /var/log/nginx/ and got the (sub)domain in the name. There are error and access logs)

stark topaz
#

I have the same thing. Most likely, this is a problem with connecting to the database

wispy hound
#

Check your MySQL password

earnest salmon
#

i have the same problem and my password is correct

#

i dont understand

quasi copper
#

i have same problem...

stark topaz
quasi copper
#

@wispy hound

long slateBOT
potent kindle
#

Me too

wispy hound
#

Send logs

sage elbow
#

Me too

spice plover
sage elbow
spice plover
thick citrus
#

make sure its 'dashboarduser'@'localhost' not 'dashboarduser'@'127.0.0.1'

thick citrus
#

you might have to make a new user and delete that one

#

maybe you could google it idk

#

wait change which one

#

did you do this or localhost

tiny pulsar
wispy hound
#

127.0.0.1 = localhost

thick citrus
#

but it does affect what user you use

#

iirc

wispy hound
#

no

#

localhost is a local domain

thick citrus
#

CREATE USER 'controlpaneluser'@'127.0.0.1' IDENTIFIED BY 'USE_YOUR_OWN_PASSWORD';
GRANT ALL PRIVILEGES ON controlpanel.* TO 'controlpaneluser'@'localhost';

#

so would this work

#

it doesnt thats what im saying

tiny pulsar
#

why would it be localhost

#

when 127.0.0.1 is local host and he said and i said

#

if that command was a thing that would be in the docs

#

try this

wispy hound
tiny pulsar
#

his user is diffrent i belive

sage elbow
#

But how to change?

tiny pulsar
#

hmmmm it says

#

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

#

dashboarduser

sage elbow
#

Can i give you perms that you can show for me?

#

So i mean host and password in dms

tiny pulsar
#

dms

potent kindle
potent kindle
#

Okey

potent kindle
# tiny pulsar run

ERROR 1044 (42000): Access denied for user 'root'@'localhost' to database 'controlpanel'

oak coral
#

dont use root to login to your db

#

you are supposed to create a new user

long slateBOT
#

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.

potent kindle
long slateBOT
# potent kindle https://pteropaste.com/prkp8k4wd6s2/

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.

potent kindle
#

[Warning] Aborted connection 79 to db: 'unconnected' user: 'unauthenticated' host: 'localhost'

tiny pulsar
oak coral
#

yeah well your mysql installation seems to be configured incorectly

potent kindle
#

yea the same bug i have 30 process on nginx with port 443 and 80

#

but i cant fix this