8 min read

Fixes for the Enhance problems we see most often. Each section starts with the checks any website owner can make in the panel, then the server-level steps for whoever runs the server.

Who Can Fix What

Some fixes are per website and some need root on the server.

FixWebsite ownerServer administrator
Request an SSL certificate again✓✓
Change a site’s PHP version✓✓
Edit php.ini for a siteIf the package allows it✓
Update OpenLiteSpeed or switch web server✓
Upgrade MariaDB or MySQL✓

On a managed VPS with Enhance or a reseller plan, we run the server for you, so open a ticket for anything in the right-hand column. If you run Enhance on a server you manage yourself, the commands are below. They’re for Enhance 12, which runs on Ubuntu.

SSL Certificate Not Issuing

Enhance requests a Let’s Encrypt certificate for every domain on a website, including mail.yourdomain.com, as soon as the domain’s DNS points at a server in your Enhance cluster. It usually takes under five minutes. Until then the site serves a self-signed certificate, so browsers show a warning.

Let’s Encrypt checks the domain by fetching a file from it over plain HTTP on port 80. Almost every failure is something stopping that request from reaching your server.

Check These First

  1. The A record. dig +short A yourdomain.com must return your Enhance server’s IP and nothing else. If a second A record still points at an old host, the check can land there and fail.
  2. The AAAA record. dig +short AAAA yourdomain.com must return nothing, or your server’s IPv6 address. Let’s Encrypt prefers IPv6 when a domain has one, so a stale AAAA record at the old host breaks it even when the A record is right.
  3. www. If www had no DNS record when the certificate was first issued, it was left out. Add the record, then request the certificate again (below).
  4. Cloudflare. With the orange-cloud proxy on, Cloudflare answers for your server and can block the check. Set the record to DNS only until the certificate is issued, or use a Cloudflare Origin Certificate instead. See Cloudflare Setup.
  5. CAA records. If the domain has CAA records, one must allow letsencrypt.org. Check with dig +short CAA yourdomain.com. No output means no restriction.
  6. Recent DNS changes. Enhance looks the domain up through the server’s own resolver, which may still hold the old answer for a while. Give it the TTL of the old record.

Our DNS Inspector shows the A, AAAA and CAA records from outside your network in one go.

Request the Certificate Again

Enhance retries on its own, but after each failure it waits longer before the next attempt. Once you’ve fixed the cause, ask for a new certificate straight away:

  1. Go to Websites and open the site
  2. Go to Advanced > Security > SSL certificates
  3. Open the menu (⋮) next to the domain and choose Request Let’s Encrypt certificate

If you’ve tried many times in a short while, Let’s Encrypt’s own limit may have kicked in: five certificates for the same set of names in seven days. Wait, and the limit clears.

Still Failing on One Server?

If no site on a particular server gets a certificate, check that the server can reach Let’s Encrypt at all:

  curl -I https://acme-v02.api.letsencrypt.org/directory
  

You should get HTTP/2 200. A timeout points at an outbound firewall or routing problem on that server. Also make sure port 80 is open to the internet: Let’s Encrypt always starts its check on port 80, even for a site that redirects everything to HTTPS.

To use a certificate you bought instead, open the same SSL certificates page and click Install SSL. SSL Certificates on Enhance covers the rest.

Change the PHP Version for One Site

Each website in Enhance has its own PHP version, so changing one site doesn’t affect the others.

  1. Go to Websites and open the site
  2. Go to Advanced and find the PHP version setting (under PHP or Developer Tools, depending on your Enhance version)
  3. Pick the version and save

The change applies within seconds. Enhance offers PHP 5.6 up to 8.6 on current releases. Switching versions also turns off any PHP extension the new version doesn’t have, so check the extension list afterwards if a plugin stops working. Upgrading Your PHP Version explains how to test a newer version safely.

Change php.ini Settings

To raise memory_limit, upload_max_filesize or similar for one site, go to Advanced > Developer Tools > php.ini editor.

If there’s no php.ini editor, the site’s package doesn’t allow it. On a GoZen plan, ask us. If you run the server, turn on Allow php.ini editor in the package’s settings, or change the value for every site on the server under Servers > your server > Roles > Application > Settings.

Restart PHP for a Site

There’s no restart button. Switch the site to another PHP version and straight back. That restarts its PHP processes, which clears a stuck process or picks up a change that hasn’t taken effect.

Update OpenLiteSpeed and the Web Server

From Enhance 12, the web server is an ordinary system package. One upgrade updates Enhance itself, OpenLiteSpeed, Apache or Nginx, Enhance’s PHP versions, MySQL or MariaDB, and the mail server:

  sudo apt update
sudo apt upgrade
  

Run it on every server in the cluster, starting with the one that runs the control panel. Reboot afterwards if the kernel was updated. The Servers page shows the Enhance version on each server. Don’t run OpenLiteSpeed’s own install or update script on an Enhance server: Enhance manages the package and its configuration.

To see which OpenLiteSpeed version is installed:

  dpkg -l openlitespeed
  

Don’t edit OpenLiteSpeed’s configuration by hand, either through its WebAdmin console or the files in /usr/local/lsws/conf. Enhance rewrites it whenever a website changes, and your edits are lost.

LiteSpeed Enterprise Is the Exception

apt upgrade doesn’t update the paid LiteSpeed Enterprise web server. Check its version, then update it with LiteSpeed’s own tool, replacing the version number with the release you want:

  /usr/local/lsws/bin/lshttpd -v
sudo /usr/local/lsws/admin/misc/lsup.sh -f -v 6.3.7
sudo /usr/local/lsws/bin/lswsctrl restart
  

Take a server snapshot first, since the update replaces the web server’s binaries in place.

Switch to a Different Web Server

The web server applies to every site on a server. To change it, go to Servers, open the server, then Roles > Application > Web Server > Edit, pick the new one and save. Sites are down for between 30 seconds and 10 minutes while it switches.

Check how the new one handles .htaccess before you switch:

Web server.htaccess support
ApacheFull
LiteSpeed EnterpriseFull (needs a paid licence)
OpenLiteSpeedPartial: rewrite rules work, some access rules don’t
NginxNone

If the new web server won’t start, switch back to Apache from the command line:

  sudo appcd-cli change-webserver apache
  

Upgrade MariaDB or MySQL

The database server is chosen when the database role is installed: MySQL 8.0 or 8.4, or MariaDB 11. Minor updates (security and bug fixes within the same version) come with the same apt upgrade as above.

Major version upgrades are a different matter. Enhance has no button for them, and replacing the database packages in place isn’t supported. The supported route is to add a server with a Database role on the version you want, then move each website’s databases to it:

  1. Back up first. For each site, use the menu (…) on the Websites page and choose Download website data, or dump a database as root with sudo mysqldump dbname > /root/dbname.sql
  2. Add the new database server to your cluster and install the Database role with the target version
  3. On the Websites page, select a site, choose Move server, and pick the new server as the Database role destination
  4. Test the site, then move the next one

You can’t switch a server between MySQL and MariaDB once websites use it. If you move sites from MySQL to MariaDB this way, database users that log in with caching_sha2_password have to be recreated with mysql_native_password first.

Don’t set a password for the database root user. Enhance logs in as root through the server’s local socket, and a password breaks that.

If apt Fails on the MariaDB Repository

ErrorFix
404 Not Found from the MariaDB repositoryClear the cached lists with sudo rm /var/lib/apt/lists/*mariadb*, then run apt update again
A GPG key error for MaxScaleYou don’t need MaxScale. Comment out its line in /etc/apt/sources.list.d/mariadb.list and run apt update again

Other Common Problems

ProblemCause and fix
No phpMyAdmin buttonEnhance shows it only once a phpMyAdmin domain is set. The server admin sets it under Settings > Platform > Control panel website domains
PHP sites can’t reach the internet (WordPress updates fail, payment or API calls time out)Enhance relies on UFW to route the sites’ outbound traffic. Run sudo ufw status. If it’s inactive, allow your SSH port first (sudo ufw allow 22/tcp if you haven’t changed it), then run sudo ufw enable
403 errors on symlinked files after an OpenLiteSpeed updateOpenLiteSpeed 1.9.5 blocks symlinks that point outside the web root. Enhance 12.29.1 fixes it, so update with apt upgrade as above
Every site returns 404 on LiteSpeed EnterpriseThe LiteSpeed licence’s domain limit is exceeded. Look for “over the domain limit” in /usr/local/lsws/logs/error.log, and upgrade the licence or switch web server
503 errors on LiteSpeed EnterpriseUsually the site has hit its memory or process limit. Raise the limits in the site’s package. LiteSpeed’s own “auto fix 503” setting has no effect on Enhance
A site still shows “Not secure” after a few minutesSee SSL Certificate Not Issuing

What to Do Next

Last updated 03 Dec 2026, 00:00 +0200. history

Was this page helpful?