• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Cannot issue Let's Encrypt

cipcip

Basic Pleskian
Hi guys,

I have just purchased a domain today and want to add a certificate for it in my plesk. The other ones work fine, renew fine.
Issue is when adding new ones.

I got the error below:

Could not issue an SSL/TLS certificate for imigi.xyz
Details
Could not install mail certificate: PHP Warning: Error while sending QUERY packet. PID=8954; File: /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php, Line: 307

PHP Warning: Error while sending QUERY packet. PID=8954 in /opt/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php on line 307
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Please help me in troubleshooting this.

EDIT: It seems that despite the warning, the certificate was added. What was the cause here ?!

Thanks,
Cristian
 
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
Usually, it is caused by insufficient 'max_connections' value for mysql. Try to fix it with following steps:

Back up /etc/my.cnf file and open it with a text editor:

# cp -p /etc/my.cnf{,.backup}
# vi /etc/my.cnf

Increase the parameter value under [mysqld] section, for example:

max_connections = 600

Restart MySQL:

# systemctl restart mysql || systemctl restart mysqld || systemctl restart mariadb
 
Back
Top