#Database Error
1 messages · Page 1 of 1 (latest)
Check if your default php version is 8.1
No, its php 8.3 beacuse the pterodactyl need 8.3
So, what to do?
Pterodactyl 11.x requres 8.1
Same as CtrlPanel
Huh, they updated their docs
And how to downgrade my php version?
My bad
Np, but how we fix that?
Lemme think about it
Okay
The problem has been found, here is a quick solution:
- Install
intlextension for php 8.3
apt install php8.3-intl
- Change PHP-FPM version in your CtrlPanel nginx configuration
sudo nano /etc/nginx/sites-available/ctrlpanel.conf- Find
fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; - Change
php8.1-fpm.socktophp8.3-fpm.sock - Save file
- Run
nginx -t && systemctl restart nginx
- Check if your default php version is 8.3
php -v
If it differs from the required 8.3, install php 8.3 by default using the command below
sudo update-alternatives --set php /usr/bin/php8.3
Now, check if the default version changed to 8.3
php -v
Okay, done but now the ssl expired, how to fix that?
There are many ways to add SSL to your site. A simple solution is to use certbot from let’s encrypt. cerbot will automatically install the certificates for you and keep your SSL certs up to date!
sudo apt-get update
sudo apt-get install python-certbot-nginx
sudo certbot --nginx -d yourdomain.com```
Okay, thats succesfully creates but now in my ctrlpanel domain show up the pterodactyl panel?How to fix that?
My panel domain: https://dash.lighthosting.hu/
My ctrlpanel domain: https://ugyfelkapu.lighthosting.hu/
Check your nginx configuration
I don't need your confirmation, you need to have basic skills to fix such issues
But, probably my nginx conf maybe good
Thats problem show up after my 00:00 restart
Have you configured ssl?
Yes, i do in the panel and the ctrlpanel too with certbot
So what to do?
This is ok, hotfix will be released soon. Just ignore it.
Send installer logs
Can you please fetch the error logs, so we can assist you better regarding this error.
tail -n 100 /var/www/controlpanel/public/install/logs/installer.log | nc pteropaste.com 99
Okay
1 sec
Check your Default php version
php 8.3.11
It looks like you are missing some important files in /vendor.
Please run composer install --no-dev --optimize-autoloader
Okay, but
The error:
Install composer?
But maybe installed
Run in CtrlPanel dir
But my composer locate /usr/local/bin/composer
You need run composer install command in CtrlPanel directory
Not in root folder
Okay. 1 sec
But i use cd /var/www/controlpanel, and after that use the docs composer installer command, but thats the message:
Our installation guide can be found at: https://CtrlPanel.gg
ControlPanel's Dashboard is a free and open-source management panel for pterodactyl with credit based billing and lots of customization.
Okay, done
Where you find this command? Read message that bot send
.
Succesfuly installed the vendor
But already have the error
Ohh, permission
1 sec, fix that
Your panel does not have the right permissions, try giving it some :)
sudo chmod -R 755 /var/www/controlpanel
and
sudo chown -R www-data:www-data /var/www/controlpanel
If you're using the installer, make sure to go back to the beginning and start the installer from step 1
You're welcome