#SERVER ERROR

1 messages · Page 1 of 1 (latest)

spice quartz
#

Hi, a few days ago I changed the link of my pterodactyl and ctrl panel, only now when I change something for example a user's credits it gives me "SERVER ERROR" and the changes in the settings are not applied, can you help me?

brave abyss
#

Have you changed the APP_URL in the .env file?

spice quartz
#

what is the directory?

brave abyss
#

.env located in the cpgg directory (default: /var/www/controlpanel/)

spice quartz
spice quartz
brave abyss
#

Send logs

stone iceBOT
# brave abyss Send logs

Can you please fetch the error logs, so we can assist you better regarding this error. tail -n 100 /var/www/controlpanel/storage/logs/laravel.log | nc pteropaste.com 99

brave abyss
#
[2023-12-24 13:08:59] production.ERROR: No permission on pterodactyl, check pterodactyl token and permissions - Failed to get user from pterodactyl -  {"userId":1,"exception":"[object] (Exception(code: 403): No permission on pterodactyl, check pterodactyl token and permissions - Failed to get user from pterodactyl -  at /var/www/controlpanel/app/Classes/Pterodactyl.php:51)
[stacktrace]```

1. Check pterodactyl API keys permissions
2. If u use Cloudflare, setup exceptions
spice quartz
#

i have cloudflare, but what are Cloudflare exceptions?

#

how i can setup exceptions?

brave abyss
spice quartz
#

here? i dont know where they are in the dash

#

@brave abyss this?

brave abyss
#

Yes

spice quartz
brave abyss
spice quartz
brave abyss
#

As an IP address, you must specify the IP of your web server hosting CPGG

spice quartz
#

@brave abyss ok right?

#

ok it fixed

brave abyss
#

You don't need to specify the same IP multiple times, I have it done because I have several web servers

spice quartz
#

ok but now there is another problem

#

@brave abyss i changed like the names but it still says "MicroPix"

brave abyss