#Panel databank deleted

13 messages · Page 1 of 1 (latest)

flint star
#

I accidentely deleted the database of my panel my wings are on diffrent servers can i still recover all my game servers

brittle wren
#

the data is safe, but you have to wipe the OS of the panel and reinstall the panel. relink the wings machine and import the data manual

flint star
#

how do i import them manually

brittle wren
flint star
#

but i have a 500 error on the website

grave summitBOT
#

You'll need to grab the error logs from the Panel. The following command uploads the last 150 lines of this day's log to our pastebin and provides a link you can share.
tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

flint star
grave summitBOT
#

I have found the following for: https://pteropaste.com/6evxz64kvb2g
🇫🇷 🥖 Bienvenue sur Internet, @flint star 🥖 🇫🇷

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

flint star
#

ok so i have found what seems to be the panel database how do i get it to work with the panel again

paper pilot
#

I think what he's saying is recreate everything as you had it before then upload your game files to the new servers

flint star
#

Where are they stored

#

In the var/www/pterodactyl?