# Troubleshooting

> Fix common Zopanel for Windows problems: services, logs, panel unreachable, servers offline, stuck jobs, SSL, PHP errors, mail, disk, updates.

Source: https://zopanel.net/windows/docs/troubleshooting  
Updated: 2026-11-27

Start with the services and the logs; most problems show up there.

## Services

| Service | Present on | Role |
|---|---|---|
| `ZopanelServer` | panel server | Web UI, API, agent channel |
| `ZopanelAgent` | every server with sites | Jobs, monitoring, FTPS/SFTP |
| `ZopanelBroker` | every server with sites | Privileged work, signed jobs only |
| `ZopanelWaf` | servers with a WAF-enabled site | Web application firewall |
| `ZopanelApp-*`, `ZopanelCache-*` | per app | Node/.NET/Python/Java/Go apps, caches |

```powershell
Get-Service Zopanel* | Sort-Object Name | Format-Table Name, Status, StartType
```

## Logs

| Log | Path |
|---|---|
| Panel | `C:\ProgramData\Zopanel\server\panel.log` |
| Agent | `C:\ProgramData\Zopanel\agent\agent.log` |
| Broker | `C:\ProgramData\Zopanel\broker\broker.log` |
| In-panel updates | `C:\ProgramData\Zopanel\panel-update-<version>.log` |
| MSI | the file passed to `/l*v` |
| WAF | `C:\ProgramData\Zopanel\waf\log\waf.log` |
| Who did what | **Activity** page |

## The panel does not open

| Check | Fix |
|---|---|
| `ZopanelServer` not running | `Start-Service ZopanelServer`; if it stops again, read the end of `panel.log`, then `zopanel-setup repair` |
| `panel.log` says `unprotect keyring` | The keyring belongs to another Windows installation; restore from your disaster recovery export |
| 200 locally, not from outside | `Get-NetFirewallRule -DisplayName 'Zopanel panel'` must be enabled; check your provider's firewall |
| Certificate error by name | Open `https://<IP>:8443`, compare the fingerprint with `README-FIRST.txt`, fix **Security** → **The panel's certificate** |
| "Your IP is not allowed" | `zopanel-setup admin-login -clear-allow-list` |
| One IP refused, others fine | `zopanel-setup unban <ip>` |
| Forgot password or lost 2FA | `zopanel-setup admin-login` (add `-reset-mfa`) |

Run `zopanel-setup` from `C:\Program Files\Zopanel\installer\` as Administrator. Test health locally with `https://localhost:8443/healthz`.

## A server is offline

Its sites keep running; only management pauses.

- `Get-Service ZopanelAgent, ZopanelBroker`; start them or run `zopanel-setup repair`.
- `Test-NetConnection <panel name> -Port 8443` from that server.
- TLS or fingerprint errors in `agent.log`: the panel certificate was replaced without a restore; enroll the server again.
- 401 in `agent.log`: the agent was revoked.
- Clock far off: jobs are refused. `w32tm /query /status`, `w32tm /resync`. Some providers block UDP 123.
- Right after a panel restart, the panel server's own agent has twice paused for 4–5 minutes in old test rounds. Wait 5 minutes, then `Restart-Service ZopanelAgent`.

## Jobs stuck or failing

- Waiting on one server: that server is offline (above).
- Many waiting after creating many sites: the IIS queue on that server runs one job at a time. Wait.
- `retryable` errors ("busy", `FILES_TIMEOUT`): try again in a few minutes.
- Signature or payload errors in `broker.log`: send them to support; do not fix by hand.

## SSL does not issue

See the table in [SSL certificates](/windows/docs/ssl): usually DNS not pointing yet, port 80 closed, a CDN proxy, a CAA record or a stray AAAA record.

## PHP site returns 404.3 or 500

- **404.3** on every `.php`: the PHP handler is missing; pick the PHP version again in the **Runtime** tab and check **Tasks**.
- **500** after changing a directive: put the old value back.
- **500** when writing files: give **Read and write** on that folder.
- Slow first request after idle: PHP processes are recycled after ~6–7.5 minutes; turn on **Always ready**.

## Mail does not send

- `Test-NetConnection gmail-smtp-in.l.google.com -Port 25` fails: the provider blocks port 25; ask them or set a smarthost.
- Mail goes to spam: add the PTR record; check SPF, DKIM and DMARC.
- MailEnable services stopped: restart them on the **Services** page.

## Disk full

Look at `C:\ProgramData\Zopanel\backups` (lower "Keep on the server"), `server\pre-update` (never delete the copy named in `setup.json`), `C:\Program Files\Zopanel\releases`, IIS logs, and deleted sites in `C:\inetpub\zopanel`. When the system drive is full the panel cannot save; free space, then `Restart-Service ZopanelServer`.

## Update failed

**Rolled back** is the safe outcome: the old version and database run. Send `panel-update-<version>.log` to support. Check the real version with `zopanel-setup version`. See [Upgrading](/windows/docs/upgrading).

## Wrongly blocked

- A customer cannot use FTP or mail from their office: unban their IP in **Automatic IP bans**.
- The WAF blocks a legitimate feature: site → **Firewall** → blocked visits → add an exception, or switch to detection only for a while.

## Support bundle

Make a bundle with secrets removed and attach it to a [support ticket](/windows/support):

```powershell
& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' support-bundle -out C:\support.zip -since 24h
```

The bundle includes the panel, agent, broker and WAF logs, update and installer logs, service state and a machine summary. Passwords, tokens, keys and connection strings are removed, and the panel database, keyring and backups are never copied. Read it through before sending. Add `-incident <id>` if support gave you one. One customer's data is added only with `-tenant <id> -consent-tenant-data`, when that customer agreed. The panel can also build a bundle from the **License** page (**Technical support** card).
