Troubleshooting
Common ScalPanel problems with their symptoms, causes and fixes, and where to find the logs.
Each problem below lists the symptom you see, the usual cause and the fix. Messages in code are the exact text ScalPanel prints.
Where the logs are
Start here for any problem.
| What | Where | How to read it |
|---|---|---|
| Service state and versions | The server | scalpanelctl status |
| A platform service | The server | scalpanelctl logs <service> (follows the last 200 lines) |
| A website's visits and errors | Hosting panel | Logs (the last 14 days of visits under Access, History) |
| A website's own log files | The website's logs/ folder | File manager, SSH or SFTP |
| Mail delivery | Hosting panel | Email → Track delivery |
| Mail waiting to be sent | Admin panel | Admin → Mail queue |
| Who changed what | Both panels | Admin → Audit log, or Activity log in the hosting panel |
| Updates | Admin panel | Admin → Updates |
The service names for scalpanelctl logs are the containers of the installation. The ones you will use most:
node: the website host, its agent, the edge nginx and the FTP server;apiandworker: the control plane;panel: the panels' web server;mail: Postfix, Dovecot and Rspamd;pdns: the DNS server;sshgw: the SSH gateway;mariadbandpostgres: the databases.
A website's logs/ folder holds:
| File | Written by |
|---|---|
access.log | The website's web server |
nginx-error.log | nginx (the default web server) |
apache-error.log | Apache |
ols-error.log | OpenLiteSpeed |
php-error.log | PHP |
php-fpm.log | PHP-FPM |
app.log | A Node.js, Python or Ruby application |
mail.log | Mail sent by the website |
Installation fails
The installer stops at the first problem with an error: line.
| Message | Cause | Fix |
|---|---|---|
run as root (sudo bash) | Not run as root | Run the installer with sudo bash, as shown in the install command. |
ScalPanel needs an x86_64 server | ARM or another architecture | Use an x86_64 server. ARM is not supported. |
supported: Ubuntu 22.04/24.04, Debian 12/13 (this is ...) | Another operating system or release | Reinstall the server with a supported release. |
systemd is required | No systemd (some containers and minimal images) | Use a full virtual or physical server. |
ScalPanel ... is already installed; update it with: scalpanelctl update | It is installed | Run scalpanelctl update instead. |
at least 20 GB of free disk space is needed in /var/lib | Small disk | Grow the disk or free space. |
these ports are in use: ... (ScalPanel needs a server without other web or mail services) | Another web, mail or FTP server runs | Remove it (for example Apache, nginx, Postfix, Exim) or use a fresh server. |
... is not a DNS name | The host name is not a full name | Use a name such as server.example.com. |
... is not an IPv4 address | The public address is wrong or IPv6 | Give the server's public IPv4 address. |
the signature of ... does not verify: refusing to install | The download was changed or damaged | Try again. If it repeats, do not continue, and report it to [email protected]. |
cannot download ... | No outgoing HTTPS, or a DNS problem | Check that the server can reach the internet on port 443. |
the databases did not start | Usually memory or disk | Check scalpanelctl logs postgres and scalpanelctl logs mariadb, and free memory or disk. |
ScalPanel did not become healthy; see: scalpanelctl status | A service failed to start | Run scalpanelctl status, then scalpanelctl logs <service> for the failed one. |
Notes:
- The installer checks the TCP ports 21, 25, 80, 110, 443, 465, 587, 993, 995, 2078, 2080, 2083, 2087, 2092, 2096, 2222, 13306–13315, 15432–15441, 37017–37026 and 30000–30049. It does not check UDP 443 or port 53.
- Less than about 3.5 GB of memory gives only a warning. 4 GB or more is recommended.
- If Docker and its Compose plugin are missing, the installer installs Docker CE from Docker's own repository.
Certificates are not issued
Symptom: a domain stays on HTTP, or SSL/TLS shows an error for it.
ScalPanel uses Let's Encrypt. For names in a DNS zone that the same account hosts and verified, it uses the DNS-01 challenge. For other names it uses HTTP-01, and checks the name itself before asking the certificate authority:
| Message | Cause | Fix |
|---|---|---|
... does not resolve in public DNS. | No DNS record yet, or it has not propagated | Add an A record pointing at the server, then wait. |
... has no A record. | Only other record types exist | Add an A record. |
... does not point at this platform (AAAA record ...) | An AAAA record points at an address that is not a ScalPanel server's | Remove the AAAA record, or add that IPv6 address to the server (SCALPANEL_PUBLIC_IPV6, or the node under Servers → IP addresses). Certificate authorities try IPv6 first. |
... does not point at this platform (A record ...). | The A record points at another server, or at a proxy such as Cloudflare | Point it at the server's public address. With Cloudflare, use DNS-only mode until the certificate is issued, or host the zone on ScalPanel to use DNS-01. |
... has more than 4 A records. | Too many addresses | Keep at most four, all on this platform. |
... is not reachable over HTTP through the node that hosts the website. | Port 80 is blocked by a firewall, or another server answers | Open port 80 to the server, including in your cloud provider's firewall. |
- After a failure, ScalPanel waits before trying again, from 5 minutes up to 6 hours. Fixing DNS does not make it try at once.
- Each account may place 30 orders per hour and have 10 failed ones, so one account cannot exhaust the platform's Let's Encrypt limits.
- Suspended accounts and domains with a custom certificate get no automatic certificate.
- Check the platform's view in Admin → AutoSSL.
Mail is not delivered
Symptom: messages bounce, arrive in spam or never arrive.
- Look the message up in the hosting panel at Email → Track delivery. It shows each message's status (
sent,deferred,bounced,expiredorrejected) and the receiving server's answer. Delivery events are kept for 14 days. - Check the queue in Admin → Mail queue. Deferred mail shows why it waits. From there you can retry, hold, release or delete messages.
- Check the domain's DNS at Email → Email deliverability (hosting panel) or Admin → Email deliverability. It checks MX, SPF, DKIM, DMARC and reverse DNS, and shows the record to publish for each problem.
Common causes:
| Cause | Fix |
|---|---|
| Your hosting or cloud provider blocks outgoing port 25 | Ask the provider to open it. Many block it by default. |
| No reverse DNS (PTR) for the server's address, or it does not match the mail host name | Ask the owner of the IP address to set it. ScalPanel cannot. |
| SPF does not include this server, or DKIM is not published | Publish the records the deliverability page shows. |
| The receiver blocklisted the server's IP address | Find the spam source (often a hacked website), stop it, then request delisting. |
| A website exceeded its hourly mail limit | Raise limit.site_mail_per_hour if the volume is legitimate. The default is 100 per website. |
| A mail domain needs a DNS zone hosted by the same account | Add the zone to the account first. |
Mail clients cannot sign in with Too many failed logins from your network; try again later.: the client's network was blocked after repeated wrong passwords. Fix the password in the client, then remove the block in Admin → Brute force protection or wait for it to expire.
A website shows 502, 503 or 509
| What you see | Cause | Fix |
|---|---|---|
502 Bad Gateway | The website's container is not running or not answering, for example after it ran out of memory | In the hosting panel's Domains list, check the website's status and error. Read logs/nginx-error.log (or the error log of your web server) and logs/php-fpm.log. |
This website is temporarily suspended. (503), or the provider's suspended page | The account is suspended | Unsuspend the account in the admin panel. |
The application is starting or has stopped. See logs/app.log. (503) | A Node.js, Python or Ruby application is not answering | Read logs/app.log. |
| 509 | The account used its monthly data transfer | Raise limit.bandwidth_mb_month or wait for the next month. |
| A blank page or 500 | A PHP error | Read logs/php-error.log. |
| Slow pages, or 502 under load | The website hits its CPU, memory or process limit | Check Resource usage in the hosting panel, and raise the package's limits if needed. |
A website whose status is failed shows the reason in the Domains list.
An .htaccess rule is rejected
Symptom: under nginx, the website's .htaccess shows rejected, or a rule seems to have no effect.
Cause: with the default nginx web server, ScalPanel translates .htaccess into nginx rules. A file that cannot be translated is rejected as a whole. The website then keeps its previous working rules, or runs without rules if it never had any. The website stays online.
Fix:
- In the hosting panel, open Domains, choose the website and open its .htaccess dialog. It lists each problem with its line, column and code.
- Correct the file. The codes mean:
SYNTAX: the line cannot be parsed;UNSUPPORTED: the directive or option is not translated. If ignoring it is safe, it is a warning and the rest applies;FAIL_CLOSED: a directive that controls access (such asSatisfyor some authentication options) cannot be translated, so the file is refused rather than leaving the folder open;REGEX,REGEX_SLOW: a pattern is invalid or could be very slow;LIMIT: the file is over a limit (256 KiB, 2 000 rules, 4 KiB per pattern, nesting depth 8).
- Choose Apply .htaccess now.
If customers need full Apache .htaccess support, choose Apache or nginx + Apache in Admin → Web server. Apache reads .htaccess itself. Changing the web server restarts every PHP website once.
Disk quota exceeded
Symptoms:
- the panel refuses an upload, a new folder or a restore with
QUOTA_EXCEEDED; - applications log
Disk quota exceeded(only on nodes with project quotas, where the limit is hard).
Cause: the account is over limit.disk_mb. The account's usage counts its websites and its databases. Mailboxes have their own quotas and are not counted. On nodes with project quotas, the number of files is limited too.
Fix:
- See the usage per website in the hosting panel at Resource usage.
- Delete what is not needed. Deleting is never refused. Common culprits are old backups or archives in the website folder, logs and cache folders.
- Or raise the limit in the account's package.
Usage is measured every 10 minutes by default, so the panel can take that long to notice space you freed.
An update fails
Symptom: Admin → Updates shows an error, or scalpanelctl update stops.
| Message | Cause | Fix |
|---|---|---|
not enough free disk space for ... MiB free, ... MiB needed; nothing was changed | The update needs twice its download size plus 1 GiB free. Old images were already removed and it is still short. | Free space on the disk holding /var/lib/docker and /var/lib/scalpanel, then try again. |
... needs ... or newer installed first | The release skips too far ahead | Update to the named release first. |
the new images cannot be pulled from the local registry; ... keeps running | Download or registry problem | Run scalpanelctl logs registry, then try again. The current version keeps running. |
the control plane did not start with ...; the previous state was restored | The new version failed its start | Nothing changed. Collect scalpanelctl logs api worker and report it. |
the pre-upgrade database dump failed | Usually a full disk | Free space and try again. |
the signature of ... does not verify: refusing to continue | The download was changed or damaged | Try again later. If it repeats, report it to [email protected]. |
scalpanelctl cleanupremoves images of old releases that no container uses.- The updater keeps the last three pre-upgrade database dumps in
/var/lib/scalpanel/backups. - A failed update leaves the installed version running.
DNS does not resolve
Symptom: a domain hosted on ScalPanel does not resolve, or resolves to old addresses.
- Ask the server directly with
dig @<server public IP> example.com SOA.- No answer: port 53 (UDP and TCP) is blocked by a firewall, or the
pdnsservice is not running (scalpanelctl status). - An answer: the server is fine; the problem is the delegation.
- No answer: port 53 (UDP and TCP) is blocked by a firewall, or the
- Check the delegation at the domain's registrar. The domain's nameservers must be the ones set in Admin → Basic setup. For nameservers inside your own domain (such as
ns1.example.com), create glue records at the registrar. - Check the records in the hosting panel's DNS zones. Web addresses come from the platform's settings; until they are set, template records that use them are skipped.
- Wait for caches. Resolvers keep old answers until the record's TTL expires.
Cannot sign in to the panel
| Message or situation | Cause | Fix |
|---|---|---|
INVALID_CREDENTIALS | Wrong user name or password | Use Forgot your password? on the sign-in page. It needs a confirmed email address. |
RATE_LIMITED | 5 failed sign-ins for the user, or 50 from the address, within 15 minutes | Wait 15 minutes. |
WRONG_PANEL | The user signed in on the other panel | Customers use the hosting panel (port 2083). Providers and resellers use the admin panel (port 2087). |
PASSKEY_REQUIRED | The user has a passkey and no authenticator app | Sign in with the passkey, or with the password and a recovery code. |
| Lost the authenticator app or passkey | Sign in with one of the ten recovery codes. Otherwise the user's reseller or provider uses the account's Users tab: Reset two-factor authentication. | |
| No reset email arrives | Email confirmation or alert email is not set up | A reseller or the provider uses Set a temporary password on the account's Users tab. |
| A staff user cannot reach the admin panel from a new address | Admin access limits staff sign-ins to listed networks | On the server, run scalpanelctl admin admin-access-off, sign in, fix the list and turn it on again. |
Warning: Resetting a password or second factor for someone else hands over their account. Confirm who is asking before you do it. Every reset is recorded in the audit log.
Getting help
If none of this helps, collect scalpanelctl status, the output of scalpanelctl logs <service> for the failing service and the ScalPanel version, and write to [email protected]. Remove passwords and customer data from logs before you send them.