#accidentally messed with redis config

15 messages · Page 1 of 1 (latest)

livid iron
#

Hey, messaged with Redis config on the server as I started using it for something else, not realizing that Pterodactyl also uses redis (whoops),
Now the panel won't connect to the servers within, and there's an error (attached as error.txt)

Any ideas on how I can revert back to a working config file for redis, please?

I tried undoing the redis-cli commands I did, but it's still not working :(

#

was working perfectly fine prior to messing with the config

misty folio
#

Just post the error from the text file in here instead of attaching it, I don’t think anyone is going to open that file

livid iron
#

i mean discord shows you the preview but sure lemme get the link

long emberBOT
#

I have found the following for: https://pteropaste.com/o4pi7x
🇫🇷 🥖 Bienvenue sur Internet, @livid iron 🥖 🇫🇷

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

late crater
#

@livid iron If you're not using redis for anything except Pterodactyl Panel, you can go ahead and apt -y purge redis && apt -y install redis.

The Redis database is not used for persistent data, only cache; you won't lose anything by purging the config files and reinstalling.

#

Again that's assuming you're only using Redis for the panel.

livid iron
#

thank you! so there's no special configs required for pterodactyl to work with redis?

#

or does the default work fine

late crater
#

Nope, everything is default.

livid iron
#

ah, perfect!

#

yep working now

#

thank you so much lmao