#error 500
1 messages · Page 1 of 1 (latest)
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
Please, send logs
It seems that you haven't set up discord 0auth correctly, but fear not, the docs come to the rescue! https://CtrlPanel.gg/docs/Installation/additional-configuration#discord-auth
Extra information about URL Formatting
Any URL saved in your settings should never end with a /slash; CtrlPanel adds this / automatically to any URL, adding an extra
/ will break the URL!
GOOD Example:
https://CtrlPanel.gg
BAD EXAMPLE:
https://CtrlPanel.gg/
When configuring discord-auth, we will automatically use your APP_URL to create the appropriate URLs needed for discord-0auth. Make sure your URLs are correct!
When using SSL-Encryption (https://) double-check that all your URLs start with https:// instead of http://
After editing the .env File you have to clear the Cache:
php artisan cache:clear
php artisan config:clear
It seems that you haven't set up discord 0auth correctly, but fear not, the docs come to the rescue! https://CtrlPanel.gg/docs/Installation/additional-configuration#discord-auth
Extra information about URL Formatting
Any URL saved in your settings should never end with a /slash; CtrlPanel adds this / automatically to any URL, adding an extra
/ will break the URL!
GOOD Example:
https://CtrlPanel.gg
BAD EXAMPLE:
https://CtrlPanel.gg/
When configuring discord-auth, we will automatically use your APP_URL to create the appropriate URLs needed for discord-0auth. Make sure your URLs are correct!
When using SSL-Encryption (https://) double-check that all your URLs start with https:// instead of http://
After editing the .env File you have to clear the Cache:
php artisan cache:clear
php artisan config:clear
[2023-07-26 23:06:04] production.ERROR: Client error: POST https://discord.com/api/oauth2/token resulted in a 401 Unauthorized response:
{"error": "invalid_client"}
{"userId":2,"exception":"[object] (GuzzleHttp\Exception\ClientException(code: 401): Client error: POST https://discord.com/api/oauth2/token resulted in a 401 Unauthorized response:
{"error": "invalid_client"}
at /var/www/controlpanel/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113)
[stacktrace]
It looks like you forgot to enter the password for your database in the .env
If the password contains any special characters sure to put it in 'quotes'
in which file?
/var/www/controlpanel/.env
There is no