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.

WhatWhereHow to read it
Service state and versionsThe serverscalpanelctl status
A platform serviceThe serverscalpanelctl logs <service> (follows the last 200 lines)
A website's visits and errorsHosting panelLogs (the last 14 days of visits under Access, History)
A website's own log filesThe website's logs/ folderFile manager, SSH or SFTP
Mail deliveryHosting panelEmail → Track delivery
Mail waiting to be sentAdmin panelAdmin → Mail queue
Who changed whatBoth panelsAdmin → Audit log, or Activity log in the hosting panel
UpdatesAdmin panelAdmin → 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;
  • api and worker: the control plane;
  • panel: the panels' web server;
  • mail: Postfix, Dovecot and Rspamd;
  • pdns: the DNS server;
  • sshgw: the SSH gateway;
  • mariadb and postgres: the databases.

A website's logs/ folder holds:

FileWritten by
access.logThe website's web server
nginx-error.lognginx (the default web server)
apache-error.logApache
ols-error.logOpenLiteSpeed
php-error.logPHP
php-fpm.logPHP-FPM
app.logA Node.js, Python or Ruby application
mail.logMail sent by the website

Installation fails

The installer stops at the first problem with an error: line.

MessageCauseFix
run as root (sudo bash)Not run as rootRun the installer with sudo bash, as shown in the install command.
ScalPanel needs an x86_64 serverARM or another architectureUse an x86_64 server. ARM is not supported.
supported: Ubuntu 22.04/24.04, Debian 12/13 (this is ...)Another operating system or releaseReinstall the server with a supported release.
systemd is requiredNo systemd (some containers and minimal images)Use a full virtual or physical server.
ScalPanel ... is already installed; update it with: scalpanelctl updateIt is installedRun scalpanelctl update instead.
at least 20 GB of free disk space is needed in /var/libSmall diskGrow 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 runsRemove it (for example Apache, nginx, Postfix, Exim) or use a fresh server.
... is not a DNS nameThe host name is not a full nameUse a name such as server.example.com.
... is not an IPv4 addressThe public address is wrong or IPv6Give the server's public IPv4 address.
the signature of ... does not verify: refusing to installThe download was changed or damagedTry again. If it repeats, do not continue, and report it to [email protected].
cannot download ...No outgoing HTTPS, or a DNS problemCheck that the server can reach the internet on port 443.
the databases did not startUsually memory or diskCheck scalpanelctl logs postgres and scalpanelctl logs mariadb, and free memory or disk.
ScalPanel did not become healthy; see: scalpanelctl statusA service failed to startRun 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:

MessageCauseFix
... does not resolve in public DNS.No DNS record yet, or it has not propagatedAdd an A record pointing at the server, then wait.
... has no A record.Only other record types existAdd an A record.
... does not point at this platform (AAAA record ...)An AAAA record points at an address that is not a ScalPanel server'sRemove 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 CloudflarePoint 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 addressesKeep 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 answersOpen 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.

  1. Look the message up in the hosting panel at Email → Track delivery. It shows each message's status (sent, deferred, bounced, expired or rejected) and the receiving server's answer. Delivery events are kept for 14 days.
  2. Check the queue in Admin → Mail queue. Deferred mail shows why it waits. From there you can retry, hold, release or delete messages.
  3. 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:

CauseFix
Your hosting or cloud provider blocks outgoing port 25Ask 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 nameAsk the owner of the IP address to set it. ScalPanel cannot.
SPF does not include this server, or DKIM is not publishedPublish the records the deliverability page shows.
The receiver blocklisted the server's IP addressFind the spam source (often a hacked website), stop it, then request delisting.
A website exceeded its hourly mail limitRaise 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 accountAdd 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 seeCauseFix
502 Bad GatewayThe website's container is not running or not answering, for example after it ran out of memoryIn 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 pageThe account is suspendedUnsuspend 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 answeringRead logs/app.log.
509The account used its monthly data transferRaise limit.bandwidth_mb_month or wait for the next month.
A blank page or 500A PHP errorRead logs/php-error.log.
Slow pages, or 502 under loadThe website hits its CPU, memory or process limitCheck 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:

  1. In the hosting panel, open Domains, choose the website and open its .htaccess dialog. It lists each problem with its line, column and code.
  2. 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 as Satisfy or 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).
  3. 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:

  1. See the usage per website in the hosting panel at Resource usage.
  2. Delete what is not needed. Deleting is never refused. Common culprits are old backups or archives in the website folder, logs and cache folders.
  3. 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.

MessageCauseFix
not enough free disk space for ... MiB free, ... MiB needed; nothing was changedThe 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 firstThe release skips too far aheadUpdate to the named release first.
the new images cannot be pulled from the local registry; ... keeps runningDownload or registry problemRun scalpanelctl logs registry, then try again. The current version keeps running.
the control plane did not start with ...; the previous state was restoredThe new version failed its startNothing changed. Collect scalpanelctl logs api worker and report it.
the pre-upgrade database dump failedUsually a full diskFree space and try again.
the signature of ... does not verify: refusing to continueThe download was changed or damagedTry again later. If it repeats, report it to [email protected].
  • scalpanelctl cleanup removes 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.

  1. 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 pdns service is not running (scalpanelctl status).
    • An answer: the server is fine; the problem is the delegation.
  2. 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.
  3. 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.
  4. Wait for caches. Resolvers keep old answers until the record's TTL expires.

Cannot sign in to the panel

Message or situationCauseFix
INVALID_CREDENTIALSWrong user name or passwordUse Forgot your password? on the sign-in page. It needs a confirmed email address.
RATE_LIMITED5 failed sign-ins for the user, or 50 from the address, within 15 minutesWait 15 minutes.
WRONG_PANELThe user signed in on the other panelCustomers use the hosting panel (port 2083). Providers and resellers use the admin panel (port 2087).
PASSKEY_REQUIREDThe user has a passkey and no authenticator appSign in with the passkey, or with the password and a recovery code.
Lost the authenticator app or passkeySign 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 arrivesEmail confirmation or alert email is not set upA 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 addressAdmin access limits staff sign-ins to listed networksOn 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.