#Decrypt exception

11 messages · Page 1 of 1 (latest)

misty wraith
#

So I was messing around with themes and plugins on the panel. It was all fine with Blueprint but then I tried installing the NookTheme which is a big modification. I accidentally unzipped the archive into the panel directory and everything stopped working. I may have also forced a database migration in my haste but I haven't regenerated the key. I also kept the APP_KEY base64 code of the original panel.

It sort of recovered, I can login with email and password
but application api and nodes as well as servers don't connect, I get an error 500. The .env file does contain my APP_KEY so I don't understand why it is not reconnecting. I am using Ubuntu 25.04 headless and Apache2.

kind basinBOT
#

The env file can be found at /var/www/pterodactyl/.env. Files starting with a . in Linux are hidden so it may not show up in file browsers by default. You can open it directly with nano /var/www/pterodactyl/.env

misty wraith
#

yes, the .env file is fine. The node reports error 500

kind basinBOT
#

The env file can be found at /var/www/pterodactyl/.env. Files starting with a . in Linux are hidden so it may not show up in file browsers by default. You can open it directly with nano /var/www/pterodactyl/.env

#

We need some logs from you in order to help debug this issue.
Panel: tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
Wings: sudo wings diagnostics
Please see .plogs and .wlogs respectively for more information.

misty wraith
kind basinBOT
#

I have found the following for: https://ptero.co/ugojamizuq
Oh dear, @misty wraith. It looks like you've probably edited the Panel's encryption keys. This is not a good thing... :/

If you have a backup of your Panel, please locate and restore the .env file from that backup. However, if you do not have a backup, your information is — unfortunately — toast, and cannot be recovered.

Please check out the following resource for more information on this: https://pterodactyl.io/panel/1.0/troubleshooting.html#invalid-mac-exception

misty wraith
#

I do have the encryption key

kind basinBOT
#

I have found the following for: https://ptero.co/duregejeju
@misty wraith; Your Panel is returning error messages to Wings. Make sure that Panel is running and can be reached. Generate Panel logs and post the link to find out more

tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99
misty wraith
#

i will see if I can find another key, hopefully its not an old one