Skip to content

Troubleshooting ​

This page lists the most common problems as symptom → cause → fix, plus where the logs are for tracing other problems.

Where the logs are ​

LogHow to open it
Control plane (panel)GUI: Logs & Audit › Control plane log. Holds the last 5,000 entries since the panel restarted. Admins only.
Control plane, full historyjournalctl -u moorcp-shared on the panel server
AgentGUI: Servers › server › Services › moorcp-agent › log. Or journalctl -u moorcp-agent on the hosting server.
Server services (nginx, php-fpm, postfix, mariadb, …)GUI: the Services tab on the server detail page, with line, time range, priority, and text filters
Failed logins (admin, client, API key)/var/log/moorcp-shared/auth.log on the panel server
Audit (who did what)GUI: Logs & Audit, or GET /v1/audit
JobsGUI: Jobs, then open the job's details
Website logs (access, error, PHP)Website details › logs tab, or GET /v1/websites/{id}/logs

Useful journal commands:

bash
journalctl -u moorcp-shared --since "1 hour ago"
bash
journalctl -u moorcp-agent -p warning --since today
bash
journalctl -u moorcp-shared -f

TIP

When you open a ticket, include the job ID, the errorCode from the job or API response, and a log excerpt around the time of the problem. Do not include the contents of /etc/moorcp-shared/env, because it holds secret keys.

Diagnostic commands ​

Read-only check commands collect the usual facts in one go, like the /scripts/* tools of cPanel. Their output is English; set MOORCP_LANG=id for Indonesian.

On the hosting server, as root:

CommandWhat it shows
moorcp-agent mail check <address>The owning account, the mail folder and its format (Maildir or cPanel mdbox), message and subfolder counts, size, owner and SELinux label, what doveadm sees, and a suggested fix
moorcp-agent mail convert-mdbox <user> [address] [--dry-run]Lists the account's mdbox mailboxes (--dry-run) or converts them to Maildir, the same conversion the cPanel import runs. This command changes mailboxes and is logged in the agent log.
moorcp-agent app check <user> [directory]The account's Node.js, Python, and Ruby apps: URL, version, port, unit status, the startup file (missing or empty), node_modules, an HTTP test to the app port, and the last 15 log lines
moorcp-agent website check <domain>Whether DNS points to this server, the local HTTP and HTTPS answers for the domain, the certificate (names, expiry, whether it covers the domain), the OpenLiteSpeed vhost and its latest errors or the Nginx server block, and the same for webmail.<domain>

From anywhere, through the API with moorctl (MOORCTL_URL and MOORCTL_API_KEY set):

CommandWhat it shows
moorctl migrate wave-report <wave-id> [cpuser] [--json]A migration wave summary (status, import time, failing stages per account), or every import stage of one account with counts, durations, errors, manual steps, warnings, and the last sync, test, and cutover
moorctl audit <username> [--since 2h] [--action prefix] [--limit 100]An account's audit entries: time, action, result, actor, details

See CLI.

Agent offline ​

A server is marked offline and the server_offline alert appears when the panel receives no heartbeat for more than 180 seconds.

SymptomCauseFix
Server offline after a reboot or outageThe agent service is downOn the hosting server: systemctl status moorcp-agent, then systemctl restart moorcp-agent
Agent running but still offlineThe agent cannot reach the panel on port 8443From the hosting server: curl -sS https://panel.example.com:8443/v1/health. Check DNS, the outgoing firewall, and the panel server's firewall.
Heartbeats arrive, but panel actions fail with cp.agent_unreachableThe panel cannot reach the agent on port 7443Open port 7443/tcp on the hosting server for the panel IP. Check the agent address on the server detail page.
Agent log: certificate refused, cp.agent_cert_supersededThe agent uses an old certificate (for example from a backup)Put the latest certificate back, or re-enroll with a token for that server (POST /v1/servers/enroll-tokens with serverId)
agent_cert_expiring alertAutomatic certificate renewal failedClick certificate rotation on the server detail page, or POST /v1/servers/{id}/cert/rotate; check the agent log if it fails
Large clock difference on the server detail pageNTP is off on the hosting serverOpen the time settings on the server detail page, then sync the clock (NTP). TLS and dated commands can be refused when the clock is too far off.
Some features answer 501 cp.agent_outdatedThe agent version is older than the feature needsUpgrade the agent from Settings › Updates, or with the upgrade command on that server. See Updates and releases.

Server stuck in verifying ​

SymptomCauseFix
A new server does not become active; the filesystem_quota check failsDisk quota is not active on /home or /XFS root: the installer adds the rootflags=uquota,gquota boot option and exits with code 10. Reboot the server, then run the same installer command again. Other filesystems: add usrquota,grpquota in /etc/fstab for /home, then remount or reboot.
Account quotas do not apply, disk usage 0Same: filesystem quota not activeAs above, then run Verify on the server detail page and reapply limits (POST /v1/servers/{id}/accounts/reapply-limits)
Driver check failsThe cloudlinux driver was chosen on a server without LVE/CageFSUse the generic driver, or convert to CloudLinux. See CloudLinux.

Check XFS quota on the hosting server:

bash
xfs_quota -x -c "state" /

Failed jobs ​

SymptomCauseFix
Job failed with an errorCodeThe operation on the agent failedOpen the job details under Jobs, read errorCode and errorMessage. Fix the cause, then click Retry.
A job retries itself a few timesTemporary error (for example the agent was briefly unreachable); the worker tries up to 3 timesWait. If it still fails, check that server's agent.
Retry refused with cp.job_not_retryableThe job is not failed/cancelled yetWait until the job ends
Retry refused with cp.job_retry_conflictA job of the same kind for the same target is still runningWait for that job to finish
No Retry button for server move, migration, web server switchThese job kinds have their own recovery flow (dry-run, rollback)Repeat from the Move server, Migration, or Switch web server page
A cPanel backup restore fails at the startThe new username already exists, or /home has less free space than the archive sizeChoose another username, or free up space on /home, then restore again. See Importing from cPanel.
A backup file does not appear in Restore cPanel backupThe file is not owned by root, is a symlink, is outside /root, /home, and /var/lib/moorcp/import, or is more than two folders deepCopy it as root into one of those folders, then click Scan again
Old jobs pile up as queuedThe panel just restarted or the worker is busyCheck journalctl -u moorcp-shared. Jobs are processed in order per target.
A job hangs in runningThe agent operation takes long or no longer answersClick Stop on the job. If it still does not end, Kill appears. Check the result on the server before you retry. See Jobs.
Job failed with cp.job_abandonedThe control plane restarted or was upgraded while the job ran, so its heartbeat stopped for more than 3 minutesCheck what the job already did on the server, then click Retry
Stopping is refused with 409 cp.job_not_cancellableServer moves, web server switches, migration cutovers, and database profile changes have their own rollback and cannot be stopped while runningWait for the job to finish or roll back

Retry creates a new job with the same payload; the old job stays as history. See Jobs.

SSL issuing fails ​

SymptomCauseFix
ssl.issue job fails for an ordinary domainHTTP-01 validation failed: the domain does not point to the server IP yet, or port 80 is closedMake sure the A/AAAA record points to the server's main IP and port 80 is open. Run Website health to see the DNS and HTTP results.
Domain behind the Cloudflare proxyThe proxy changes or blocks the HTTP-01 challengeTurn the proxy off for a while, or make sure HTTP to /.well-known/acme-challenge/ is passed through unchanged
AAAA points elsewhereLet's Encrypt validates over IPv6 against another serverRemove or fix the AAAA record
Wildcard refused with 400 cp.ssl_invalidWildcards use DNS-01, and the primary domain's zone is not hosted on panel DNSMove the domain's nameservers to panel DNS, or issue without a wildcard
409 when issuingThe website is not active yetWait for the website creation job to finish
Repeated failures for the same domainLet's Encrypt rate limitsWait a few hours before trying again; fix the cause first
ssl_renew_failed alertAutomatic renewal (30 days before expiry) failedRead the error on the website detail page. Usually DNS was moved elsewhere. Fix it, then issue again.
The panel shows an old expiry dateSSL status is not synced yetSync runs every hour; force it with POST /v1/ssl/sync
Certificate issued without some aliases (for example www.<subdomain>)Those aliases have no DNS record (NXDOMAIN), so they were skipped so the primary domain still gets a certificateSee the skipped aliases in the website's SSL column (sslJob.skipped). Create their DNS records, then issue again.
You want to know why the latest SSL request failedThe SSL column in the admin and client website lists shows the status and ACME error of the latest request, also available as the sslJob field in GET /v1/websites/{id}

After a migration from cPanel, issue SSL again after DNS points to the new server.

Upgrading from the panel ​

SymptomCauseFix
The Upgrade button only shows a command, or the API answers 501 cp.upgrade_unsupportedThe panel was installed before v0.9.0-rc.22, so the moorcp-shared-upgrade.path unit does not exist yetRun one upgrade from the command line on the panel server. After that, upgrades work from the panel.
The panel upgrade is recorded as failedRelease verification or the installer failedRead the Installer log under Settings › Updates. The status and full log are in /var/lib/moorcp-shared/upgrade-state/ on the panel server.
The upgrade stays at Waiting for the upgrade serviceThe path unit is not activeOn the panel server: systemctl status moorcp-shared-upgrade.path, then systemctl enable --now moorcp-shared-upgrade.path
Agent rollout Stopped: first server failedThe trial server failed to upgrade, so the other servers were not triedCheck that server's agent log (journalctl -u moorcp-agent), fix it, then run Upgrade agents again
One server skipped or failed during the rolloutThe server is offline, or its agent is older than v0.9.0-rc.22Start the agent, or upgrade once from the command line on that server
Settings › Updates shows the stable channel, but the server used rcInstalls from before v0.9.0 that recorded rc are moved to stable once on their next upgradeNormal. To stay on release candidates, run upgrade --channel rc on the server. See Updates and releases.
501 cp.rollout_unavailableNo target agent version yet, or the agent binaries are missing on the panel serverClick Check now, or run the installer in upgrade mode on the panel server
The installer upgrade prints "moorcp-shared terpasang tetapi dimatikan (disabled dan tidak berjalan); panel di server ini dilewati" (installed but turned off, panel on this server skipped)The panel on this server was turned off, for example after a moveNormal. Only the agent is upgraded.

Email not delivered or going to spam ​

SymptomCauseFix
The mail client fails SMTP login on port 25SMTP login is only on 587 (STARTTLS) and 465 (SSL)Change the client settings to 587 or 465
The server rejects mail because the sender does not matchThe From address does not match the login accountSend with the mailbox address used to log in
Mail from PHP mail() goes to spamLocal mail is not DKIM-signedSend through SMTP 587 with a mailbox login (for example a WordPress SMTP plugin)
Goes to spam at Gmail/OutlookSPF, DKIM, or DMARC is not rightRun the email domain check (GET /v1/accounts/{id}/email/domains/{domain}/check) and fix the flagged records
mail_send_blocked alertThe mailbox was blocked for a send spike, outgoing spam, or by an adminCheck the mailbox (it may be compromised), change its password, then unblock it on the account's Email tab
mail_queue_large alertThe queue is deferred because recipients reject mail or the server is blacklistedLook at the queue on the server detail page and check the rejection reasons
ip_blacklisted alertThe server IP is listed on a DNSBLFind the account sending spam, stop it, then request delisting through the links on the IP blacklist (DNSBL) card
Spamhaus always errorsSpamhaus refuses queries through public resolversSet MOORCP_RBL_RESOLVER to your own recursive resolver
Every mailbox login refusedThe account's emailLogin toggle is off or the account is suspendedCheck the account's access controls. Incoming mail is still accepted while the toggle is off.
New email settings do not apply yetThe mail server setup has not been run againRun Repair email stack on the server detail page (POST /v1/servers/{id}/mail/setup)
A migrated mailbox is empty in webmail although its quota is usedThe mail is still in cPanel's mdbox formatOn the hosting server: moorcp-agent mail check <address>, then moorcp-agent mail convert-mdbox <user>

See Mail server and Monitoring and alerts.

Database connections from outside the server ​

SymptomCauseFix
An app on another computer cannot connect to MariaDBThe account's remote access is offTurn on the remoteDb toggle in the account's access controls (and the package's RemoteDB feature)
Creating a user with a host other than localhost is refusedThe account's remote access is offSame as above
Login refused from a certain IPThe database user was created with host localhostCreate the user with host % or the client's IP
Connection timeoutPort 3306 is not open in the hosting server's firewall (the installer does not open it)Open 3306/tcp only for the client's IP, for example with a firewalld rich rule
Connection info in the client panel does not show a remote hostThe remote toggle is offremoteHost only shows when the account's remote access is on

External database servers ​

SymptomCauseFix
Test connection fails at the network stepDatabase server firewallAllow the hosting server address shown in the test result
Fails at the TLS stepTLS mode does not matchUse preferred, or verify with the right CA
Fails at the admin rights stepThe admin user lacks rightsMariaDB: ALL PRIVILEGES ON *.* WITH GRANT OPTION. PostgreSQL: SUPERUSER, or CREATEROLE + CREATEDB.
Profile job fails with cp.db_profile_has_databasesThe account still has databases on the old endpointRepeat with the option to move the existing databases
A non-WordPress app errors after its database was movedThe database host in the app config is still the old oneChange the host in the app config; the new host shows on the client Databases page

See Databases and optimizer.

Locked logins ​

SymptomCauseFix
Admin or client login answers 429 cp.auth_locked, even with the right passwordToo many failed attempts from that IPWait for Retry-After, or an admin unlocks it under Security › Login protection
Every staff member at the office is locked outThe per-IP rule (10 failures / 15 minutes) hits the office NATUnlock, then add the office IP to the login protection allowlist
An integration answers 429 cp.auth_lockedA wrong API key was tried repeatedly from that IPFix the API key. Valid API keys are never held back.
An integration answers 429 cp.rate_limitedThe per-key or per-account rate limit was exceededWait for Retry-After, lower the frequency, use bulk endpoints
An admin forgot their passwordOn the panel server: moorcp-shared staff passwd --email ops@example.com (password from stdin)
A staff member lost their authenticator phoneOn the panel server: moorcp-shared staff reset-2fa --email ops@example.com
A client lost their authenticator phoneAn admin or billing: DELETE /v1/accounts/{id}/client-totp
The GUI answers 403 cp.ip_not_allowedThe IP is not in MOORCP_ADMIN_ALLOWED_CIDRSConnect from an allowed IP, or change the env on the panel server and restart

The staff commands run with the panel environment, for example:

bash
set -a; . /etc/moorcp-shared/env; set +a
bash
echo 'NEW_PASSWORD' | runuser -u moorcp --preserve-environment -- /usr/local/bin/moorcp-shared staff passwd --email ops@example.com

Panel and API ​

SymptomCauseFix
The GUI does not open, /v1/health does not answerThe panel service is downsystemctl status moorcp-shared, then journalctl -u moorcp-shared -n 100
The browser warns about the certificateThe panel uses a self-signed certificateInstall Let's Encrypt once the panel DNS points to the server. See Installing the panel.
Creating an account or server is refused with 402 cp.license_limitThe plan limit is reached, or the license is not activeCheck Settings › License. Existing hosting keeps running. See License.
The admin panel only shows Panel locked: license expired, clients see Hosting panel unavailable, the API answers 402 cp.license_lockedThe license expired and its grace period is over, or the license server refused the trialRenew at member.moorcp.com, then click Activate or Check now on the lock page. The panel unlocks right away. See License.
Settings › License shows an error under Last checkThe panel cannot reach license.moorcp.com, or the license server refused the requestCheck outbound HTTPS from the panel server. The current token stays valid until it expires, followed by the offline grace period
Creating an account is refused with 409 cp.capacity_exceededNo server passes the capacity rulesAdd a server, raise the capacity limits, or pick a specific server
A billing key always gets 404 for a certain accountThe account does not belong to that key's ownerAn admin binds the account to the owner with PUT /v1/accounts/{id}/billing
Client operations get 403 cp.billing_management_disabledThe admin turned off "manage from billing"Turn it back on in the account's access controls
The client panel answers "panel client belum dikonfigurasi" (client panel is not configured)MOORCP_CLIENT_LISTEN and MOORCP_CLIENT_PUBLIC_URL are not setSet them in the panel env, open port 2083, then restart the panel
Webhooks do not arriveThe receiving endpoint errors, redirects, or times out (10 seconds)Check the delivery history under Settings › Integrations & webhooks, fix it, then Redeliver
Deleting a package is refused with 409 cp.package_in_useAccounts that are not terminated still use the packageMove the accounts to another package or terminate them first
Changing a package does not change existing accounts' limitsThe package was saved without reapplying (?apply=0, or the update-accounts option was off in the GUI)Edit the package again with Also update accounts on this package now on
Changing the primary domain is refused with 409 cp.domain_conflictThe new domain is used by another account or another website of this accountDelete that website first, or pick another domain
Closing a firewall port is refused with 409 firewall.protectedSSH, web, panel, and agent ports are protectedThese ports cannot be closed from the panel
Opening or closing a port is refused with 409 firewall.inactivefirewalld is not running on that serverThe panel does not start firewalld by itself. Start it on the server if you use it.
Installing Softaculous is refused with 409 cp.softaculous_install_unsupportedSoftaculous is already installed, or the agent is too oldUpgrade that server's agent first
The Softaculous license shows "Free" after installationThe server's public IP is not registered on a Softaculous licenseRegister the IP with Softaculous, then click Check license

Website errors ​

For a website that errors or is slow, start with Website health. It checks DNS, HTTP, HTTPS, the certificate, PHP errors from the last 24 hours, today's share of 5xx responses, and the account's limits, with fix steps. See Website health.

SymptomCauseFix
Error 500 after a migration.htaccess uses Options +FollowSymLinks, +ExecCGI, or +IncludesReplace +FollowSymLinks with +SymLinksIfOwnerMatch and remove the other options
The suspension page showsThe account is suspendedUnsuspend from the panel or billing
The site is slow, limit faults go upThe account hits its CPU, RAM, or process limitCheck the account's Resource tab and the Limit Explainer; upgrade the package if needed
A domain does not open, or shows the wrong site or certificateDNS points elsewhere, the vhost is missing, or the certificate does not cover the domainOn the hosting server: moorcp-agent website check <domain>
A Node.js, Python, or Ruby app does not respond or shows an errorThe app unit is stopped, the startup file is missing or empty, or node_modules is brokenOn the hosting server: moorcp-agent app check <user>

See also ​

MoorCP Shared, a shared hosting panel for server fleets.