# ZoPanel > ZoPanel is a fast, secure hosting control panel for Ubuntu and Debian: websites, WordPress, email, DNS, databases, backups and resellers. Free for 10 websites. Pricing: Free for 10 websites and 10 databases; paid plans unlimited (see https://zopanel.net/pricing). Supported systems: Ubuntu 22.04/24.04/26.04, Debian 12/13 (x86-64, ARM64). Install: `curl -fsSL https://get.zopanel.net | sudo bash`. ## Getting started ### System requirements Source: https://zopanel.net/docs/requirements ZoPanel installs on a **fresh** Linux server: one without another control panel or web server already configured. This page lists what to prepare before you run the installer, so the installation goes through in one pass. ## Operating systems | System | Versions | Notes | | --- | --- | --- | | Ubuntu | 22.04 LTS, 24.04 LTS, 26.04 LTS | On 22.04 the installer adds Ubuntu's 6.8 HWE kernel; on 26.04 only PHP 8.5 until the multi-PHP repository publishes 26.04 packages | | Debian | 12, 13 | On 12 the 6.12 backports kernel is optional | **Recommended: Ubuntu 24.04 or Debian 12/13.** Ubuntu 22.04 is supported, with two differences: it has no ModSecurity module for nginx, so the **web application firewall (WAF) is not available** there; and its Redis and restic are too old, so ZoPanel installs Redis from Redis' own repository and the restic release binary instead (done for you). For a new server, choose Ubuntu 24.04 or Debian. Ubuntu 26.04 is supported with one limit for now: PHP comes from Ubuntu itself, which ships **PHP 8.5 only**, because the multi-PHP repository (Ondřej Surý's) has no 26.04 packages yet. Applications that need an older PHP (PrestaShop, for example) cannot be installed there. When the repository publishes 26.04 packages, the panel offers the other PHP versions by itself (checked every 6 hours), without updating ZoPanel. Both **x86-64 (amd64)** and **ARM64 (aarch64)** are supported. The installer stops on any other system or architecture. A kernel of Linux 6.8 or newer lets ZoPanel compress customers' idle memory in RAM without ever writing it to disk. Ubuntu 24.04 and Debian 13 already have one; see [Install ZoPanel](/docs/install) for how the installer handles Ubuntu 22.04 and Debian 12, and [PHP performance](/docs/php-performance) for what the feature does. ## Memory and CPU | Use | RAM | | --- | --- | | Trying ZoPanel | 1 GB | | Small production server | 2 GB or more | The installer warns when the server has less than about 1 GB, but continues. ZoPanel sizes itself to the machine: - MariaDB's buffer pool is set to 20% of RAM. - On servers with less than 4 GB of RAM and no swap, the installer creates a swap file of 1 to 4 GB. - The memory customers' websites and apps may use together is planned from the server's RAM and re-planned every 10 minutes. ### Measured capacity These figures were measured on test servers. Your results depend on the sites you host. | Server | WordPress sites without page cache | WordPress sites with page cache | | --- | --- | --- | | Ubuntu 24.04, 4 GB RAM, 4 vCPU | 100 (plus 30 apps) | 250 (plus 30 apps) | | Debian 12, 3 GB RAM | 50 (plus 30 apps) | 200 (plus 30 apps) | After a heavy overload, these servers went back to normal within 2 to 5 minutes once the load stopped. ## Disk The installer does not enforce a minimum disk size. Plan for: - the system, ZoPanel, PHP, MariaDB and the optional components you install; - a swap file of 1 to 4 GB on servers under 4 GB of RAM; - your customers' websites, databases and mail; - local backups, which are stored on the same server unless you also send them to S3 storage. The installer turns on disk quotas so each package's disk and file (inode) limits are enforced by the kernel. On most filesystems this works at once; on XFS it takes effect after the next restart. If quotas cannot be enabled, usage is still measured but not enforced. ## A fresh server Use a newly installed server. The installer refuses to continue when it finds: - an Apache web server it did not install itself; - cPanel, DirectAdmin or aaPanel. If you pass `--force`, the installer continues anyway, at your own risk. Inside a container, the host's kernel is used, so the installer skips the kernel upgrade. ## Root access Run the installer as **root** or with `sudo`. ZoPanel itself runs as an unprivileged user (`zopanel`), with a separate privileged agent for system changes. ## Network and ports The installer enables the UFW firewall and opens: | Port | Used for | | --- | --- | | Your SSH port (detected, usually 22) | SSH and SFTP | | 80/tcp | HTTP and Let's Encrypt validation | | 443/tcp | HTTPS websites | | 8888/tcp | The ZoPanel web interface | If your provider also has a cloud firewall or security group, open the same ports there. Optional components open their own ports in UFW when you install them: | Component | Ports | | --- | --- | | Mail server | 25, 465, 587, 143, 993, 110, 995 | | Webmail | 2096 | | Calendars & contacts (CalDAV/CardDAV) | 2080 | | DNS server | 53 (TCP and UDP) | | FTP server | 21 and passive ports 18000-18100 | | Adminer | 8889 | The server also needs outbound HTTPS to download ZoPanel, system packages and PHP. If you plan to run mail, check that your provider allows outbound port 25. ## Hostname and DNS ZoPanel works on the server's IP address straight after installation (`https://YOUR-IP:8888`, with a self-signed certificate). For production, prepare: - **A hostname** for the server, for example `srv1.example.com`. Pass it with `--hostname`. - **A panel domain**, for example `panel.example.com`, with an A record pointing to the server. You set it later in **Settings** to get a trusted Let's Encrypt certificate for the panel. - **A mail hostname** such as `mail.example.com`, if you will host email. Set its reverse DNS (PTR) at your VPS provider for good deliverability. - **Nameservers** such as `ns1.example.com` and `ns2.example.com`, with glue records at your registrar, if you will host DNS zones. ## Checklist 1. Fresh Ubuntu 22.04/24.04/26.04 or Debian 12/13, amd64 or arm64. 2. At least 1 GB of RAM (2 GB or more for production). 3. Root or sudo access over SSH. 4. Ports for SSH, 80, 443 and 8888 open in any provider firewall. 5. A hostname and, ideally, a panel domain pointing to the server. Next: [Install ZoPanel](/docs/install). ### Install ZoPanel Source: https://zopanel.net/docs/install ZoPanel installs with a single command on a fresh Ubuntu or Debian server. The installer brings the system up to date, sets up the web stack and starts the panel. Check the [system requirements](/docs/requirements) first. ## Install (verified, recommended) The installer runs as root, so check that it is the one ZoPanel signed before running it. Every release signs `install.sh` with the ZoPanel release key (Ed25519); the signature is `install.sh.sig`, next to it. Connect to the server over SSH as root (or a sudo user) and run: ```bash # 1. The ZoPanel release public key cat > zopanel-release.pem <<'EOF' -----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAXitZpY6gmHkZfPC0eIgXnZSEP+tPpPa9fLeG8qffFPA= -----END PUBLIC KEY----- EOF openssl pkey -pubin -in zopanel-release.pem -outform DER | tail -c 32 | sha256sum # must print d4c4627386074287116cfe7028a8a32b1c632303f1a3157b23e1e1def574a6a4 # 2. The installer and its signature curl --proto =https --tlsv1.2 -fsSLO https://update.zopanel.net/install.sh curl --proto =https --tlsv1.2 -fsSLO https://update.zopanel.net/install.sh.sig # 3. Verify, and run only if the signature is good base64 -d < install.sh.sig > install.sh.sig.bin openssl pkeyutl -verify -pubin -inkey zopanel-release.pem -rawin -in install.sh -sigfile install.sh.sig.bin \ && sudo bash install.sh ``` `openssl` must print `Signature Verified Successfully`; on anything else the installer does not run. To pass options, put them after `install.sh`: ```bash sudo bash install.sh --php 8.3,8.2 --admin-email you@example.com ``` The check is only as good as the key you check with: compare the fingerprint `d4c4627386074287116cfe7028a8a32b1c632303f1a3157b23e1e1def574a6a4` with a copy you got some other way than this page (the ZoPanel README, or a copy you saved earlier), then keep `zopanel-release.pem` and reuse it for every server instead of copying it again. The same key is built into every ZoPanel binary and the installer, which then checks the signed release manifest, the binary's SHA-256 and size, installs `/usr/local/zopanel/bin/zopanel` and runs `zopanel setup` with your options. `openssl pkeyutl -rawin` needs OpenSSL 3, which every supported system (Ubuntu 22.04+, Debian 12+) has. ### Quick install (one line, unverified) ```bash curl -fsSL https://get.zopanel.net | sudo bash ``` This runs whatever the download server sends as root, before anything is checked: if that server or its TLS certificate were compromised, a modified script would run unnoticed. The steps the installer takes afterwards (signed manifest, binary checksum) are only as trustworthy as the script itself. Use it on throwaway test servers; for anything else use the verified install above. The examples below use `sudo bash install.sh` after that check; with the one-line form, put the options after `sudo bash -s --`. ## What the installer does The installer prints each step as it runs: 1. **Checking system**: supported OS and architecture, RAM, and no other web server or control panel. 2. **Updating the system**: `apt update` and a full upgrade of all packages, retried up to 3 times. It then turns on **automatic security updates** (unattended-upgrades) and handles the kernel (see below). 3. **Installing packages**: nginx, MariaDB, UFW, Fail2ban, quota tools, OpenSSH and the PHP repository (ondrej PPA on Ubuntu, packages.sury.org on Debian). 4. **Installing PHP**: the versions from `--php`, plus wp-cli. 5. **Installing language runtimes**: Node.js 22, Composer and Python by default. 6. **Creating users and directories**: the `zopanel` system user and the hosting groups. 7. **Configuring nginx**, **MariaDB** (buffer pool at 20% of RAM, swap on small servers) and **SFTP** (chrooted). 8. **Configuring firewall and fail2ban**: UFW with your SSH port, 80, 443 and 8888 open; Fail2ban for SSH and the panel login. 9. **Enabling disk quotas** and **hiding processes between accounts**. 10. **Installing ZoPanel**: configuration, a self-signed certificate, the first administrator, the `Basic`, `Business` and `Pro` packages and the `zopanel` and `zopanel-agent` services. Optional components and a license key are then queued for the panel, which installs or activates them in the background after it starts. The installer is safe to run again: it repairs the configuration without touching your data, and keeps existing administrator accounts. ### Kernel handling ZoPanel can compress customers' idle memory in RAM on Linux 6.8 or newer. If the running kernel is older: | System | What happens | | --- | --- | | Ubuntu 22.04 | Ubuntu's HWE kernel (`linux-generic-hwe-22.04`) is installed by default | | Debian 12 | The installer asks whether to install the 6.12 backports kernel (default: no). It is outside Debian's security support. | | Ubuntu 24.04, Debian 13 | Already on a 6.8+ kernel: nothing to do | | Containers | The host's kernel is used: nothing to do | You can change your mind later: the **Tuning** page shows the command to install a newer kernel. ### The restart question When a new kernel or system libraries need a restart, the installer asks **once, near the start**: ```text A restart is needed to finish (new kernel or system libraries). Restart automatically when the installation is done? [Y/n] ``` If you answer yes, the server restarts 15 seconds after the installer finishes and ZoPanel starts by itself. Queued components are installed after the restart. If you answer no, restart later with `reboot` to finish the update. ## Installer options | Flag | Default | What it does | | --- | --- | --- | | `--profile web\|full` | `web` | `web`: the web stack only. `full`: also mail, webmail, calendars & contacts, DNS, WAF, Apache (.htaccess), FTP, PostgreSQL, Adminer and Docker. | | `--with LIST` | none | Extra components, comma separated: `mail`, `webmail`, `dav`, `dns`, `waf`, `apache`, `ftp`, `postgres`, `mongo`, `adminer`, `docker`, `storage`. | | `--php VERSIONS` | `8.3` | PHP versions to install, comma separated (7.4 to 8.4). The first becomes the default. | | `--admin-user NAME` | `admin` | Login name of the first administrator. | | `--admin-email EMAIL` | none | Administrator email, used for Let's Encrypt and notifications. | | `--hostname HOST` | system hostname | Server hostname. | | `--mail-hostname HOST` | none | Mail server hostname, needed for `mail` and `webmail`. If omitted and `--hostname` has at least three labels (like `srv1.example.com`), that hostname is used. | | `--nameservers LIST` | none | Nameservers for the DNS server, needed for `dns`. | | `--license KEY` | none | License key to activate once the panel runs. | | `--runtimes LIST` | `node22,composer,python` | Language runtimes to install (`node`, `python`, `composer`). Go and other runtimes are installed later from **Runtimes** in the panel. | | `--yes` | off | Ask nothing; defaults apply. No restart unless `--reboot` is also given. | | `--reboot` | off | Restart automatically at the end when a restart is needed. | | `--no-reboot` | off | Never restart; just say when a restart is needed. | | `--keep-kernel` | off | Never install a newer kernel. | | `--kernel-backports` | off | Debian 12: install the 6.12 backports kernel without asking. | | `--no-os-upgrade` | off | Leave the system packages as they are (also skips automatic security updates and the kernel). | | `--allow-no-firewall` | off | Continue when the firewall (UFW) cannot be enabled. Without it the setup stops there, since databases, Redis and apps that listen on every address would be reachable from the internet. Use it only when another firewall (your provider's) filters the traffic; the Security Center then reports the firewall off. Also `ZOPANEL_ALLOW_NO_FIREWALL=1`. | | `--force` | off | Continue on an unsupported system or one with another web server. On an operating system other than Ubuntu 22.04/24.04/26.04 or Debian 12/13, also set `ZOPANEL_FORCE=1` (see the notes). | Notes: - `--reboot` and `--no-reboot` cannot be used together. - If `mail`/`webmail` is chosen without a mail hostname, or `dns` without nameservers, that component is skipped with a message; install it later from **Components**. - To keep secrets out of the process list, pass the license as `ZOPANEL_LICENSE_KEY` and a chosen admin password as `ZOPANEL_ADMIN_PASSWORD` instead of flags. Without a password, a random one is generated. - Without a terminal, questions take their default answer. - The download script stops on an unsupported operating system before it reads any flag, so `--force` alone does not get past that check. Set `ZOPANEL_FORCE=1` as well: `sudo ZOPANEL_FORCE=1 bash install.sh --force`. ### Examples A full server with mail and DNS: ```bash sudo bash install.sh \ --profile full \ --hostname srv1.example.com \ --admin-email admin@example.com \ --mail-hostname mail.example.com \ --nameservers ns1.example.com,ns2.example.com ``` Two PHP versions and a license: ```bash sudo bash install.sh --php 8.3,8.2 --license ZP-XXXX-XXXX-XXXX ``` ## Unattended install (cloud-init) Use `--yes` so nothing is asked, and decide the restart with `--reboot` or `--no-reboot`: ```yaml #cloud-config write_files: - path: /root/zopanel-release.pem content: | -----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAXitZpY6gmHkZfPC0eIgXnZSEP+tPpPa9fLeG8qffFPA= -----END PUBLIC KEY----- runcmd: - | set -e cd /root curl --proto =https --tlsv1.2 -fsSLO https://update.zopanel.net/install.sh curl --proto =https --tlsv1.2 -fsSLO https://update.zopanel.net/install.sh.sig base64 -d < install.sh.sig > install.sh.sig.bin openssl pkeyutl -verify -pubin -inkey zopanel-release.pem -rawin -in install.sh -sigfile install.sh.sig.bin ZOPANEL_LICENSE_KEY=ZP-XXXX-XXXX-XXXX bash install.sh --yes --reboot --admin-email admin@example.com ``` cloud-init already runs as root, so `sudo` is not needed. The generated admin password is printed in the installer output, which cloud-init writes to its log (usually `/var/log/cloud-init-output.log`). Reset it at any time with `zopanel ctl reset-password admin`. ## When it finishes The installer prints the address and the first login: ```text ZoPanel is ready! URL: https://203.0.113.10:8888 Username: admin Password: •••••••••••••••• Save this password now — it is not stored anywhere in plain text. The certificate is self-signed until you set a panel domain in Settings. Before typing the password, check that your browser shows this certificate fingerprint (SHA-256): 3A:9F:…:C2 or sign in through an SSH tunnel, which needs no certificate check: ssh -L 8888:127.0.0.1:8888 root@203.0.113.10 then open https://127.0.0.1:8888 ``` Before you type the admin password, make sure you are talking to your server and not to someone in between. Either open the certificate details in your browser's warning page and compare its SHA-256 fingerprint with the one the installer printed, or use the SSH tunnel shown (the connection then goes through SSH, which you already trust). Then sign in, set a panel domain under **Settings → General → Panel domain & SSL** so the panel gets a real certificate, and follow the [Quick start](/docs/quick-start). ### If something goes wrong - Run `zopanel ctl doctor` to check the server and see how to fix what is wrong. - Lost the password: `zopanel ctl reset-password admin`. - Locked out by the panel IP restriction: `zopanel ctl allow-ip --clear`. - A failed step can be retried by running the installer again. ### Install on cloud providers Source: https://zopanel.net/docs/install-cloud-providers ZoPanel installs the same way on every provider: a fresh Ubuntu or Debian server and one command. What differs is the provider's network around the server: cloud firewalls, blocked mail ports, reverse DNS and, on Oracle Cloud, a host firewall that is already in place. This page lists what to prepare on each provider before you follow [Install ZoPanel](/docs/install). ## Checklist for every provider 1. **Image:** a fresh Ubuntu 22.04/24.04 or Debian 12/13 image, amd64 or arm64, with nothing else installed. Avoid marketplace images that ship a web server or another panel: the installer stops when it finds Apache, cPanel, DirectAdmin or aaPanel. See [System requirements](/docs/requirements). 2. **Size:** at least 1 GB of RAM, 2 GB or more for production. Prefer a full virtual machine (KVM) to a container VPS: in a container the host's kernel is used, and disk quotas may not be available. 3. **Access:** an SSH key for root, or for the image's default user with `sudo`. Many cloud images log in as `ubuntu`, `admin` or a user you chose, not as root; run the installer with `sudo`. 4. **Provider firewall:** open the ports below in the provider's firewall or security group *before* you install, or you will not reach the panel. 5. **Mail:** if you will host email, check that outbound port 25 is open and that you can set reverse DNS (PTR) for the server's IP. 6. **DNS:** a hostname for the server (for example `srv1.example.com`) and, ideally, a panel domain pointing to the server's IP. ## Ports to open The installer turns on UFW on the server and opens the base ports. Your provider's firewall sits in front of UFW and must allow the same traffic. | Port | Protocol | Needed for | | --- | --- | --- | | Your SSH port (usually 22) | TCP | SSH and SFTP | | 80 | TCP | Websites and Let's Encrypt validation | | 443 | TCP | Websites over HTTPS | | 8888 | TCP | The ZoPanel interface (`https://IP:8888`) and [fleet](/docs/fleet) connections | Open these only when you install the matching component (ZoPanel opens them in UFW by itself): | Component | Ports | | --- | --- | | Mail server | 25, 465, 587, 143, 993, 110, 995 (TCP) | | Webmail | 2096 (TCP) | | Calendars & contacts | 2080 (TCP) | | DNS server | 53 (TCP and UDP) | | FTP server | 21 and 18000-18100 (TCP) | | Adminer | 8889 (TCP) | Remote access to a database is opened in UFW only for the addresses you allow (see [Databases](/docs/databases)); open the database port for the same addresses in the provider firewall. The server also needs outbound HTTPS to download ZoPanel, system packages, PHP and certificates. ## Mail: port 25 and reverse DNS Most cloud providers block **outbound** port 25 on new servers to stop spam. Incoming mail still arrives, but your server cannot deliver mail to other servers. You have two options: - **Ask the provider to unblock port 25.** Each provider has its own process (see below). Approval is usually case by case. - **Send through a relay** with **Outgoing mail relay (smarthost)** on the Email page (SendGrid, Mailgun, Amazon SES, Brevo…). It uses port 587 unless you set another port. See [Email](/docs/email). Set the **reverse DNS (PTR)** of the server's IPv4 address (and IPv6, if you send over it) to your mail hostname, for example `mail.example.com`, and make sure that name has an A record pointing back to the same IP. Without it, much of your mail lands in spam. After installing, **Run check** in **Mail delivery check** tests PTR and outbound port 25 for you. ## IPv6 ZoPanel's web server and panel listen on IPv6 as well as IPv4, and UFW applies its rules to both. If the provider gives the server an IPv6 address (some need you to enable it when creating the server), you can add AAAA records for your domains. Only publish an AAAA record when IPv6 really reaches the server through the provider's firewall: Let's Encrypt and many visitors connect over IPv6 when an AAAA record exists, and certificate issuance fails if that path is closed. ## ARM64 servers ZoPanel runs on arm64 (Ampere, Graviton and similar) as well as amd64; the installer downloads the matching build. Keep in mind: - The [.NET SDK](/docs/dotnet) cannot be installed on Debian arm64. Use Ubuntu if you need .NET on ARM. - Docker images you deploy yourself must be published for arm64. ## Unattended install with cloud-init Most providers accept a **cloud-init** script ("user data") when you create a server. Install ZoPanel from it so the server is ready when you first log in. The script checks the installer's signature with the ZoPanel release key before running it (see [Install](/docs/install)): ```yaml #cloud-config write_files: - path: /root/zopanel-release.pem content: | -----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAXitZpY6gmHkZfPC0eIgXnZSEP+tPpPa9fLeG8qffFPA= -----END PUBLIC KEY----- runcmd: - | set -e cd /root curl --proto =https --tlsv1.2 -fsSLO https://update.zopanel.net/install.sh curl --proto =https --tlsv1.2 -fsSLO https://update.zopanel.net/install.sh.sig base64 -d < install.sh.sig > install.sh.sig.bin openssl pkeyutl -verify -pubin -inkey zopanel-release.pem -rawin -in install.sh -sigfile install.sh.sig.bin ZOPANEL_LICENSE_KEY=ZP-XXXX-XXXX-XXXX bash install.sh --yes --reboot --hostname srv1.example.com --admin-email admin@example.com ``` - `--yes` answers every question with its default; `--reboot` restarts the server at the end when a new kernel or libraries need it (`--no-reboot` never restarts). - Add any other installer flag, for example `--profile full`, `--php 8.3,8.2`, `--mail-hostname mail.example.com` or `--nameservers ns1.example.com,ns2.example.com`. See the full list in [Install ZoPanel](/docs/install#installer-options). - Pass secrets as environment variables, not flags: `ZOPANEL_LICENSE_KEY` for the license and `ZOPANEL_ADMIN_PASSWORD` for a chosen admin password. - cloud-init runs as root, so `sudo` is not needed. Without `ZOPANEL_ADMIN_PASSWORD`, the generated password is in the cloud-init log (usually `/var/log/cloud-init-output.log`). Reset it any time with `zopanel ctl reset-password admin`. To create many servers without waiting for the installation, use a [VM template](/docs/vm-templates). **Important:** cloud-init cannot open the provider's firewall for you. Create the server with a firewall or security group that already allows the ports above. ## Provider notes Each provider's policies change. The notes below follow the providers' own documentation at the time of writing; check the linked pages before you rely on them. ### DigitalOcean - SMTP ports 25, 465 and 587 are blocked on Droplets by default. DigitalOcean recommends a third-party email service. Since 587 is blocked too, configure the ZoPanel relay with another port your relay provider offers (many offer 2525). [Why is SMTP blocked?](https://docs.digitalocean.com/support/why-is-smtp-blocked/) - The PTR record is created from the Droplet's name: name the Droplet with the fully qualified mail hostname (for example `mail.example.com`). [PTR records](https://docs.digitalocean.com/glossary/ptr-record/) - If you use a DigitalOcean Cloud Firewall, add the ports above to its inbound rules. ### Vultr - Outbound port 25 is blocked on new instances; ports 465 and 587 remain open. Request unblocking with a support ticket that describes your use case, your anti-spam measures (SPF, DKIM, rate limits) and your expected volume. [Why is SMTP blocked?](https://docs.vultr.com/support/products/compute/why-is-smtp-blocked) - Set reverse DNS in the instance's **IPv4** section by replacing the default reverse DNS value. [IPv4 networking](https://docs.vultr.com/products/compute/cloud-compute/networking/ipv4) ### Hetzner Cloud - Ports 25 and 465 are blocked by default on all cloud servers; port 587 is not. After you have been a customer for a month and paid your first invoice, you can send a limit request to unblock them for a valid use case. [Cloud server FAQ](https://docs.hetzner.com/cloud/servers/faq/) - Reverse DNS can be set per IP address of the server. - If you attach a Hetzner Cloud Firewall, add the ports above to it. ### AWS EC2 - Outbound port 25 is blocked by default. Submit the "Request to remove email sending limitations" form yourself (AWS Support cannot file it for you), once per Region; it can take up to 48 hours. Reverse DNS for an Elastic IP is requested in the same process, and the A record must already point to that IP. [EC2 port 25](https://repost.aws/knowledge-center/ec2-port-25-throttle) - Open the ports in the instance's **security group**. - Official Ubuntu images log in as `ubuntu`, Debian images as `admin`. Install with `sudo`. - Use an **Elastic IP**: the public IP of an instance changes when it is stopped and started, which breaks DNS and SSL. ### AWS Lightsail - Outbound port 25 is blocked on all Lightsail instances by default. Request removal from the Lightsail console as the root user; include the instance name, Region and a static IP for the reverse DNS record. [Lightsail port 25](https://repost.aws/knowledge-center/lightsail-port-25-throttle) - Attach a **static IP** and add the ports above to the instance's firewall on its **Networking** tab. ### Google Cloud (Compute Engine) - Connections to external port 25 are blocked (some older projects are exempt). Ports 465 and 587 are not restricted, so use a relay on 587. [Sending email from an instance](https://docs.cloud.google.com/compute/docs/tutorials/sending-mail) - A PTR record can be set on the VM's primary network interface; the A record must point to the same reserved external IP. [Create a PTR record](https://docs.cloud.google.com/compute/docs/instances/create-ptr-record) - Add VPC firewall rules for the ports above (8888 in particular), and reserve a static external IP. ### Microsoft Azure - Outbound port 25 is not blocked for Enterprise Agreement and MCA-E subscriptions. Enterprise Dev/Test subscriptions can request an exemption under **Diagnose and solve problems** of the virtual network. Other subscription types are blocked: send through an authenticated relay on port 587. [Troubleshoot outbound SMTP](https://learn.microsoft.com/azure/virtual-network/troubleshoot-outbound-smtp-connectivity) - Add inbound rules for the ports above to the VM's **network security group**. ### Oracle Cloud (OCI) Oracle's Ubuntu images come with their own **iptables rules**, saved in `/etc/iptables/rules.v4`. They accept SSH and end with a `REJECT` rule, so other ports are refused on the server itself even after you open them in the cloud. Oracle documents that new rules must go **above** that `REJECT` line. 1. In the VCN **security list** (or network security group) of the instance's subnet, add ingress rules for the ports above. 2. On the server, edit `/etc/iptables/rules.v4`. Below the existing SSH line, add one line per port, above the `REJECT` line: ```text -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 8888 -j ACCEPT ``` 3. Apply the file: ```bash sudo iptables-restore < /etc/iptables/rules.v4 ``` 4. Install ZoPanel. When you add a component later (mail, DNS, FTP…), add its ports to this file as well. Do not delete Oracle's other rules: some are needed by the instance's own services. Also on Oracle Cloud: - Tenancies created after June 23, 2021 cannot send to port 25 on the internet by default; request an exemption through a service limit request, or use a relay on 587. [Release note](https://docs.oracle.com/en-us/iaas/releasenotes/changes/f7e95770-9844-43db-916c-6ccbaf2cfe24) - Ampere A1 instances are arm64 and supported (see [ARM64 servers](#arm64-servers)). ### Linode (Akamai) - On accounts created since November 5, 2019, outbound ports 25, 465 and 587 are restricted. Set up the A record and reverse DNS for the Linode, then open a support ticket. [A new policy to help fight spam](https://www.linode.com/blog/linode/a-new-policy-to-help-fight-spam/) - If you use a Cloud Firewall, add the ports above. ### Vietnamese and other local providers Policies vary by provider and by plan, so ask before you order: - Is the VPS a full virtual machine (KVM) with a fresh Ubuntu or Debian image, or a container? - Is outbound port 25 open, and how do you request it? - Can they set reverse DNS (PTR) for the IP, and is it done by ticket? - Does the IP come with IPv6? - Is there a network firewall in front of the VPS whose ports you must open? Some local templates add software or custom repositories to the image. If the installer reports another web server or panel, reinstall the VPS from a clean image rather than using `--force`. ## After installing - Open `https://YOUR-IP:8888`. If it does not load, the provider's firewall is the usual cause: check that 8888/TCP is open there, and on Oracle Cloud in `/etc/iptables/rules.v4` too. - Run `zopanel ctl doctor` on the server to check services and configuration. - Follow the [Quick start](/docs/quick-start). ## Related - [System requirements](/docs/requirements) - [Install ZoPanel](/docs/install) - [Quick start](/docs/quick-start) - [Email](/docs/email) - [Security](/docs/security) - [Troubleshooting](/docs/troubleshooting) ### Quick start Source: https://zopanel.net/docs/quick-start This guide takes you from a freshly installed server to a first hosted website. It assumes the installer has finished and printed the panel URL and admin password (see [Install ZoPanel](/docs/install)). ## 1. Sign in 1. Open `https://YOUR-SERVER-IP:8888` in your browser. 2. The panel uses a self-signed certificate until you set a panel domain, so the browser shows a warning. Continue to the site. 3. Sign in with the username (`admin` unless you chose another) and the password printed by the installer. If you lost the password, reset it on the server: ```bash zopanel ctl reset-password admin ``` ## 2. Secure the administrator login Open **My account** from the user menu at the top right. ### Change the password Under **Change password**, enter the current password and a new one of at least 8 characters, then click **Update password**. ### Choose your own login name Bots try `admin` first. Under **Login name**, enter a hard-to-guess name and click **Change login name**. Use the new name the next time you sign in. ### Turn on two-factor authentication 1. Under **Two-factor authentication**, click **Enable 2FA**. 2. Scan the QR code with Google Authenticator, Authy, 1Password or a similar app. 3. Enter the 6-digit code and click **Verify & enable**. 4. Save the **recovery codes** somewhere safe. Each one signs you in once if you lose your phone, and they are shown only now. If you ever lose both your phone and the recovery codes, an administrator with root access can run `zopanel ctl disable-2fa USER`. To make 2FA mandatory for others, go to **Settings → General → Require two-factor authentication** and choose **Administrators and resellers** or **Everyone**. ## 3. Give the panel a domain and SSL 1. Create an A record for a domain such as `panel.example.com` pointing to the server's IP. 2. Go to **Settings → General**. 3. Fill in **Administrator email** (used for Let's Encrypt registration and notifications) and click **Save**. The certificate cannot be requested without it. 4. In **Panel domain & SSL**, enter the domain in **Panel domain**. 5. Click **Issue certificate**. A task requests a Let's Encrypt certificate. 6. Open the panel at `https://panel.example.com:8888`. The browser warning is gone, and the certificate renews automatically. You can also limit who can open the panel in **Restrict panel access**; see [Panel settings](/docs/panel-settings). ## 4. Create a package A package is a resource plan that you assign to hosting accounts. A new install starts with three: `Basic` (1 website, 2 GB disk), `Business` (5 websites, 10 GB) and `Pro` (20 websites, 30 GB). Edit them to match what you sell, or create your own: 1. Go to **Packages** and click **New package**. 2. Enter a **Package name**, for example `Starter`. 3. Set the limits: websites, databases, **Disk (MB)**, **CPU (%)** (100 = one full core), **RAM (MB)**, **PHP memory_limit (MB)**, **PHP workers** and the others. For most limits `0` means unlimited. 4. Turn **SFTP** on so the customer can upload files. 5. Click **Save**. See [Packages and limits](/docs/packages-limits) for every field. ## 5. Create a hosting account Each account gets its own Linux user, home directory, PHP and resource limits. 1. Go to **Accounts** and click **New account**. 2. Enter a **Username** (3-16 lowercase letters and digits; it cannot be changed later), an **Email** and a **Password**. The password is used for both the panel and SFTP. 3. Keep the **Role** as **Customer**. (**Reseller** needs a Pro license.) 4. Choose the **Package** you created. 5. Click **Create**. The panel shows the details to send to your customer, including the **Panel URL**. You can also point the customer to the [Guide for hosting customers](/docs/customer-guide), which explains the panel from their side. The Free plan allows up to 3 hosting accounts, 10 websites and 10 databases on the server. See [Licensing](/docs/licensing). ## 6. Add a website 1. Point the domain's A record to the server's IP (do this first so SSL can be issued straight away). 2. Go to **Websites** and click **New website**. 3. Choose the **Owner**: the account you just created. 4. Enter the **Domain** without `http://`, for example `example.com`. 5. Choose the **Website type**: WordPress, PHP, Laravel, HTML, Node / Proxy or Git deploy. 6. Pick a **PHP version** and keep **Free SSL (Let's Encrypt)** on. 7. Click **Create website**. For WordPress, ZoPanel creates the database and installs WordPress for you (details and admin login: [Install WordPress](/docs/wordpress-install)). The full walkthrough, including DNS and file uploads, is in [Your first website](/docs/first-website). ## What to do next - Install the optional components you need (mail, DNS, WAF and more) from **Components**: see [Optional components](/docs/components). - Set up alerts by Telegram, email or webhook in **Settings → Alerts**. - Review the **Security Center** on the **Security** page and the suggestions on the **Tuning** page; many come with a one-click fix. - Turn on **Automatic updates** in **Settings → Updates**: see [Updating ZoPanel](/docs/updating). ### Your first website Source: https://zopanel.net/docs/first-website This page walks through hosting one website from start to finish. You need a hosting account to own the website; if you have not created one yet, see the [Quick start](/docs/quick-start). If you are a hosting customer, the [Guide for hosting customers](/docs/customer-guide) covers the panel from your side. ## 1. Point the domain to the server Do this first: Let's Encrypt can only issue a certificate once the domain resolves to your server. At your DNS provider, create these records (replace the IP with your server's): | Type | Name | Value | | --- | --- | --- | | A | `example.com` | `203.0.113.10` | | A | `www` | `203.0.113.10` | Add AAAA records too if the server has IPv6. DNS changes can take from a few minutes to a few hours to reach everyone. You can check from your computer: ```bash dig +short example.com ``` If you host DNS on ZoPanel itself (the DNS server component), create the zone under **DNS** and set your nameservers at the registrar instead. ## 2. Create the website 1. Go to **Websites** and click **New website**. 2. **Owner**: choose the hosting account. (Customers signed in to their own account skip this.) 3. **Domain**: enter the domain without `http://`, for example `example.com`. 4. Keep **Also serve www.example.com** checked if you want both addresses to work. It is ticked for a domain and not for a subdomain such as `shop.example.com`, whose `www.` rarely has DNS; if you tick it, create the `www.shop` record too, or the certificate leaves that name out. 5. **Website type**: | Type | Use it for | | --- | --- | | WordPress | Installs WordPress automatically | | PHP | Any PHP application | | Laravel | PHP with the document root at `/public` | | HTML | Static HTML files | | Node / Proxy | A Node.js, Python or Go app listening on `127.0.0.1` at a port you choose | | Git deploy | Next.js, Node, Python, Go, Laravel and more, built from a repository | 6. **PHP version**: choose one of the installed versions. 7. Keep **Free SSL (Let's Encrypt)** on. 8. Click **Create website**. The website's files live in the account's home directory: ```text /home/USERNAME/domains/example.com/public_html ``` Until you upload your own files, visitors see a placeholder page. ## 3. Get the SSL certificate With **Free SSL (Let's Encrypt)** on and DNS already pointing to the server, the certificate is issued when the website is created. If DNS was not ready yet, you do not need to do anything: ZoPanel checks every hour and requests the certificate as soon as the domain resolves to the server. To issue it right away: 1. Open the website and go to the **SSL** tab. 2. Click **Issue certificate**. 3. Turn on **Redirect HTTP to HTTPS** so every visitor uses the secure address. Certificates renew automatically 30 days before they expire. If you have a certificate from another provider, paste it under **Custom certificate** in the same tab. ## 4. Upload your files ### With the File Manager 1. Go to **File Manager** (or open it from the website). 2. Open `domains/example.com/public_html`. 3. Drag and drop files onto the page, or click **Upload**. 4. To upload a whole site quickly, upload a `.zip` or `.tar.gz` archive, then select it and click **Extract**. The File Manager also edits files, changes permissions (**Permissions (chmod)**), compresses and renames. ### With SFTP SFTP is available when the account's package has **SFTP** turned on. Use any SFTP client (FileZilla, WinSCP, Cyberduck or `sftp`): | Setting | Value | | --- | --- | | Protocol | SFTP | | Host | Your server's IP or hostname | | Port | The server's SSH port (usually 22) | | Username | The hosting account's username | | Password | The account's password, as set when the account was created | The connection is restricted (chrooted) to the account's home directory; upload into `domains/example.com/public_html`. The **FTP / SFTP** page shows the connection details. Changing the panel password under **My account** does not change the SFTP password. To sign in with a key instead of a password, add your public key under **My account → SFTP & SSH keys** (signed in as the account). For classic FTP, install the FTP server component and create FTP accounts restricted to one folder. ## 5. Install WordPress ### When you create the website Choose **WordPress** as the website type and fill in **WordPress settings**: **Site title**, **Admin email**, **Admin username** and **Admin password**. ZoPanel creates a database and installs WordPress with wp-cli. The progress is shown as a task. ### On an existing website 1. Open the website's **Overview** tab. 2. Under **Applications**, click **Install WordPress**. 3. Enter the details and click **Install**. A database is created and WordPress is installed with wp-cli. ### After installation The website's **WordPress** tab lets you sign in to wp-admin without a password (**Log in to WordPress**), update core, plugins and themes, apply security hardening, and create a staging copy. For every installation option and how to sign in to wp-admin, see [Install WordPress](/docs/wordpress-install). For speed, turn on the **Page cache** in the **PHP & config** tab. Logged-in users, admin pages, carts and POST requests always bypass it. On our test servers, page cache raised capacity from 100 to 250 WordPress sites on a 4 GB VPS. ## 6. Check that it works - Visit `https://example.com`: the padlock should show a valid certificate. - The **Logs** tab shows the access and error logs if something fails. - The **Analytics** tab shows visitors and requests, computed from the web server logs. ## Troubleshooting | Problem | What to check | | --- | --- | | Certificate not issued | The domain's A record must point to this server, and port 80 must be open. Wait for DNS, then click **Issue certificate**. | | Placeholder page still shown | Files must be inside `public_html`, with an `index.php` or `index.html`. | | Creating the website is refused | The account's package or the server's license limits the number of websites; the error message says which. See [Packages and limits](/docs/packages-limits) and [Licensing](/docs/licensing). | ### Licensing Source: https://zopanel.net/docs/licensing ZoPanel runs on the Free plan out of the box, with no key and no time limit. A paid license raises the limits and unlocks extra features. This page explains what each plan includes and how to activate, move and renew a license. ## Free and paid plans | | Free | Paid plans | | --- | --- | --- | | Hosting accounts | 3 | Set by your plan | | Websites on the server | 10 | Set by your plan | | Databases on the server | 10 | Set by your plan | | Reseller accounts | No | Pro | | Remote backups to S3 storage | No | Pro | | API tokens | No | Pro | | S3 object storage component | 1 bucket | Unlimited buckets (Pro) | | White-label: the server's own panel name for everyone | No | Business | | A reseller's own brand for its customers (panel name, nameservers) | No | Pro (comes with reseller accounts) | The limits count everything on the server, across all accounts. Everything else in the panel, such as websites, SSL, the File Manager, backups on the server's disk, WordPress tools, the firewall and the other components, works on Free. To see what your server has, go to **Settings → License**. The card shows the plan, the license key, the expiry date, the number of accounts and websites in use against the limits, and a badge for each feature: **Resellers**, **Remote backup**, **Multi PHP**, **API** and **White-label**. It also shows the **Server ID**, which identifies this machine. ## Buy a license In **Settings → License**, the **Buy a license** card lists the available plans. Enter your email and pay by card, Apple Pay or Google Pay through OnePay, or with PayPal. After payment, the license is activated on this server automatically. You can also buy on the website and receive the key by email. Your licenses are listed in your customer account at [https://zopanel.net/account](https://zopanel.net/account). ## Activate a license key ### In the panel 1. Sign in as an administrator. 2. Go to **Settings → License**. 3. In **Activate license**, enter the key (it looks like `ZP-XXXX-XXXX-XXXX`). 4. Click **Activate license**. The panel contacts the license server, which binds the license to this server and returns a signed token. The new plan applies at once. ### During installation Pass the key to the installer (`install.sh`, downloaded and verified as shown in [Install](/docs/install)): ```bash sudo bash install.sh --license ZP-XXXX-XXXX-XXXX ``` To keep the key out of the process list, use the environment variable instead: ```bash sudo ZOPANEL_LICENSE_KEY=ZP-XXXX-XXXX-XXXX bash install.sh ``` The panel activates the key within a minute of starting. If the license server cannot be reached yet, it keeps retrying. If the key is refused, the panel sends an alert and you can enter a valid key under **Settings → License**. ### Offline activation For a server without internet access, use **Offline activation** in **Settings → License**: 1. Note the **Server ID** shown on the License card. 2. Contact ZoPanel support with your license key and the Server ID to get a signed license token for that server. 3. Paste the token (it starts with `ZPL1.`) into **Offline activation** and click **Install token**. An offline token is checked on the server itself and is only valid for the Server ID it was issued for. ## How the license stays valid An online license is bound to one server and verified with the license server regularly. If the server cannot reach the license server, the panel keeps the license during a **14-day offline grace period** and shows an **Offline grace** badge. After that, it falls back to the Free plan until verification succeeds again. Keep the server clock correct (NTP). A clock set back by more than a day makes the license invalid until it is fixed. ## Move a license to another server A license works on one server at a time. To move it, for example when you replace a VPS: 1. Sign in to your customer account at [https://zopanel.net/account](https://zopanel.net/account). 2. Open the license. 3. Click **Move to another server** and confirm. This releases the license from its current server. 4. On the new server, activate the key in **Settings → License**, or install with `--license`. You can move a license **3 times per year**. The page shows how many moves you have left. The old server does not need to be reachable. If you have used all moves this year, open a support ticket. The old server stops refreshing the license and drops to Free after its grace period. To remove a license from a server yourself, use **Remove license** in **Settings → License**. ## When a yearly license expires When a license with an end date expires and is not renewed: - The panel falls back to the **Free plan** limits: 3 accounts, 10 websites and 10 databases. - **Nothing is deleted.** Existing accounts, websites, databases, mail and files keep running. - New accounts, websites or databases cannot be created while the server is over the Free limits. - Paid features stop: reseller accounts can no longer manage customers, remote backups to S3 stop, API tokens no longer work, and the white-label panel name is not used. Renew or activate a new key, and the full plan comes back immediately. ## Check from the command line On the server, `zopanel ctl info` shows the version, Server ID, plan and whether it is valid, and the number of websites and accounts: ```bash zopanel ctl info ``` ## Questions **Do I need a license to try ZoPanel?** No. The Free plan has no time limit. **Can I use one license on a test server and a production server?** No. Each server needs its own license, or runs on Free. ### Updating ZoPanel Source: https://zopanel.net/docs/updating ZoPanel updates itself as one signed binary. Each update is guarded: the panel database is saved first, the new version must pass a health check, and if it does not, the previous version and its database come back automatically. This page covers manual and automatic updates, and how to roll back by hand. ## What an update does 1. **Download and verify.** The release manifest for your channel is downloaded and its Ed25519 signature checked. The binary must match the SHA-256 in that signed manifest. Unsigned or modified releases are refused. 2. **Keep the previous version.** The running binary is copied aside so it can be restored. 3. **Snapshot the database.** The panel database is copied consistently to `/var/lib/zopanel-root/pre-update/`. The last 3 snapshots are kept. If the snapshot fails, the update stops and the services are not restarted on the new version. 4. **Restart on the new version.** Both services, `zopanel-agent` and `zopanel`, restart. The new version migrates the database on start. 5. **Health check.** The guard waits up to 3 minutes for both services to be active, the agent to answer and the panel's health check to pass, then checks again after 20 seconds to make sure it stays up. 6. **Automatic rollback.** If the health check fails, the previous binary and the database snapshot are put back, and the services restart on the old version. The guard runs as its own systemd unit, so a dropped SSH connection or closed browser tab does not stop it halfway. Your websites, databases and mail keep running throughout: only the panel and its agent restart. ## Update from the panel 1. Go to **Settings → Updates**. 2. The card shows the **Installed version** and **Latest version**. Click **Check now** to look again. 3. When a new version is available, its release notes are shown. Click **Update now**. The update runs as a task. The panel is unavailable for a few moments while it restarts. ## Update from the command line As root on the server: ```bash zopanel update ``` It prints each step and ends with `ZoPanel X.Y.Z is up and healthy`, or with the reason it rolled back. If you are already on the latest version, it says so and does nothing. To check the installed version: ```bash zopanel version ``` ## Automatic updates and channels In **Settings → Updates → Update preferences**: | Setting | Options | Effect | | --- | --- | --- | | **Channel** | Stable, Beta | Which releases the server installs | | **Automatic updates** | On / off | Installs every new release at 04:00 server time | | **Install security releases automatically** | On / off | Installs security releases within about an hour, at any time of day | Automatic updates are off until you turn them on. When they are off, the panel checks once a day and sends an **Update available** alert once per new release. ### Security releases A release whose signed manifest marks it as a security release (or a later release that carries such a fix the server does not have yet) can install by itself, without waiting for 04:00 and without turning on every update: - **New servers** (installed with 0.4.29 or later) have it **on**. The installer asks once; `--no-auto-security-updates` (or `ZOPANEL_NO_AUTO_SECURITY_UPDATES=1`) installs with it off. - **Servers installed before 0.4.29** keep it **off**. Full administrators are asked once on the dashboard (**Install ZoPanel security releases automatically?**, **Turn on** or **No thanks**); either answer is kept and can be changed later in **Settings → Updates**. When it is on, the panel checks the update server every hour. A security release is installed at the first 15-minute round once it has been known for 15 minutes, so within about an hour of being published. The install is the same guarded update as **Update now**: the manifest's signature and replay protection are checked again by the root agent, the database is saved, the new version must pass the health check, and a version that does not become healthy is rolled back with its database. It waits while a backup, a restore, an import or an account move runs, and tries at the next round. A download or install that fails is tried again an hour later, at most 3 times per release. A security release that was rolled back, by the guard or by you with `zopanel rollback`, is **never installed again automatically**: install it with **Update now** once you have looked at why. **Settings → Updates** shows what is pending (installs within the hour, waiting for a backup, retrying, or not installed automatically and why). Each step is in the activity log (**Started an automatic security update**, **Security release installed automatically**, **Automatic security update failed**). The **Security release installed automatically** alert (on by default, also on servers whose alerts were saved before it existed) and **Panel update failed or rolled back** tell you what happened. When a newer release is out, full administrators also see it in the panel: **ZoPanel X is available** in **Needs your attention** on the dashboard, with the first lines of the release notes, a **What's new** link to the changelog and an **Update** button that opens **Settings → Updates**, and a dot on the **Settings** menu. A security release is shown as a warning. The panel uses what its last check found (at most every 12 hours, and soon after it starts); opening the dashboard never contacts the update server. Limited administrators, resellers and customers do not see these notices. Automatic updates use the same guard as manual ones. ## Alerts about updates In **Settings → Alerts**, turn on these events to be told about updates by Telegram, email or webhook: - **Panel update failed or rolled back**: the new version did not become healthy and was rolled back, or the update failed. - **Security release installed automatically**: a security release was installed by itself and checked healthy (see above). - **Update available**: a new release is out (when automatic updates are off), with the first lines of its notes and the changelog link. On by default on servers installed with 0.4.26 or later; servers installed earlier keep it off until you turn it on. If the server restarts in the middle of the health check, the panel reports that the update was not checked, and you can decide whether to keep it or roll back. ## Roll back by hand If a new version works but you prefer the previous one, run as root: ```bash zopanel rollback ``` This puts the previous binary back and restarts the services. What happens to the panel database depends on the situation: | Situation | Database | | --- | --- | | The last update failed less than 30 minutes ago | Restored from the snapshot taken before that update | | The update succeeded, or the snapshot is older | **Kept as it is**, so changes made since (accounts, websites, mailboxes) are not lost | The command prints which case applies and how old the snapshot is. ### `--db`: also restore the database ```bash zopanel rollback --db ``` Also restores the database snapshot taken before the last update, whatever its age. Use it when the previous version cannot run on the current database. **Everything changed in the panel since that update is lost**: accounts, websites, databases, mailboxes and settings created or changed after it. Website files and the contents of customer databases are not part of the panel database, but the panel's records of them are. ### `--binary-only`: never touch the database ```bash zopanel rollback --binary-only ``` Puts the previous binary back and always keeps the current database. Rollback fails with `no previous version to roll back to` if no previous binary is saved, for example right after a fresh installation. ## Troubleshooting | Problem | What to do | | --- | --- | | The panel does not open after an update | Wait up to 3 minutes for the guard to finish. Then run `systemctl status zopanel zopanel-agent` and `journalctl -u zopanel`. | | The update rolled back | The alert and the task log give the reason. Run `zopanel ctl doctor`, and send `zopanel ctl support-bundle` to support if needed. | | Websites behave differently after an update | Run `zopanel ctl rebuild` to apply every account and website's configuration again. | ## Updating the operating system ZoPanel updates do not upgrade your system packages. The installer turns on automatic security updates (unattended-upgrades). The **Security Center** on the **Security** page tells you when security updates are pending or a restart is needed after a kernel update. ### PHP updates PHP comes from its own repository: packages.sury.org on Debian and the ondrej/php PPA on Ubuntu (Ubuntu 26.04 uses the distribution's PHP). The distribution's unattended-upgrades settings only include the distribution, so since 0.4.27 ZoPanel adds PHP's repository in a file of its own, `/etc/apt/apt.conf.d/52zopanel-php` (origins `deb.sury.org` and `LP-PPA-ondrej-php`). It is written on new servers and, on existing ones, once when the agent starts, only if automatic security updates are on and only if the file does not exist yet; `50unattended-upgrades` and your own edits are never changed. Delete the file to stop automatic PHP updates: ZoPanel does not write it again unless you press **Fix** on **PHP fixes install automatically** in the Security Center. Check with `unattended-upgrade --dry-run -d`: the allowed origins include `origin=deb.sury.org` or `origin=LP-PPA-ondrej-php`. Installing a fixed PHP package does not restart PHP: every account has its own PHP-FPM master, and so do Adminer and webmail, and a running master keeps the old binary in memory. ZoPanel therefore adds an apt hook (`/etc/apt/apt.conf.d/80zopanel-php-restart`) and checks every 5 minutes as well: after any PHP upgrade, by unattended-upgrades, by **Server → OS updates** or by `apt` by hand, every PHP-FPM master still running a replaced binary is reloaded on the new one (running requests finish) and restarted if a reload is not enough. Stopped pools start on the new binary at the next visit. Each move is recorded in the **Activity Log** ("Moved PHP to the new build"). When the panel is updated to 0.4.27, the agent installs the fixed PHP builds of the installed PHP versions at once (PHP2Shell, CVE-2026-109618 and CVE-2026-109619, fixed in 8.5.12, 8.4.27, 8.3.36 and 8.2.35): only the `php*` packages of those versions, nothing else, then the masters move as above. If apt is busy it tries again every 5 minutes. ### Docker, MongoDB, .NET, Redis and backports ZoPanel adds a few more repositories when you install components: Docker's (`download.docker.com`, on Debian 12), MongoDB's (`repo.mongodb.org`, one series such as 8.0), Microsoft's for .NET on Debian (`packages.microsoft.com`), the .NET backports PPA on Ubuntu (`ppa:dotnet/backports`), Redis' on Ubuntu 22.04 (`packages.redis.io`) and Debian's backports for the 6.12 kernel on Debian 12 when you choose it. PostgreSQL and MariaDB come from the distribution, which unattended-upgrades already covers. Since 0.4.29: - **Their fixes install automatically.** `/etc/apt/apt.conf.d/53zopanel-thirdparty` adds their origins to unattended-upgrades (for example `origin=Docker,label=Docker CE` and `origin=mongodb,archive=${distro_codename}/mongodb-org/8.0`). It follows the repositories present, is kept when you edit it, and stays deleted if you delete it (until you press **Fix** in the Security Center). Check with `unattended-upgrade --dry-run -d`. - **Never a new major version.** `/etc/apt/preferences.d/zopanel-majors` holds Docker's packages, containerd and Redis at the major version installed (`Pin: version 5:29.*`, other versions of that repository at priority -1), so Docker 29 gets 29.x fixes but never 30, also for **Server → OS updates** and `apt upgrade`. MongoDB's repository is one series (8.0 never offers 8.2), and .NET packages carry their major in their name (`dotnet-runtime-8.0`). Microsoft's repository only supplies .NET: its other packages get priority 100, so it never replaces a package of the distribution. To move to a new major on purpose, delete the file (it is not written again unless you press **Fix**), upgrade, and press **Fix** to hold the new major. - **Docker restarts without stopping your apps.** A Docker upgrade restarts `dockerd`. ZoPanel's `daemon.json` has `"live-restore": true`, so containers keep running (measured on Debian 12 with Docker 29.9.0 → 29.9.2 and containerd 2.4.1 → 2.4.2: the same container processes kept running; their published addresses did not answer for about 2 seconds while `dockerd` restarted). If your `daemon.json` has no `live-restore`, every container would restart, so Docker is kept out of the automatic updates (`Package-Blacklist`) and the Security Center offers the update with one click instead. - **Servers come back on the new build.** MongoDB's package does not restart `mongod` after an upgrade, and Debian has no `needrestart`. After every apt run ZoPanel restarts `mongod` (and `redis-server`) if it still runs a replaced binary, and starts again any ZoPanel unit that failed meanwhile; both are recorded in the activity log. On Ubuntu, `needrestart` restarts most services itself; `/etc/needrestart/conf.d/zopanel.conf` tells it to leave `zopanel` and `zopanel-agent` alone, which ZoPanel restarts itself under its update guard. - **Security Center.** Each repository has a check, **No updates waiting from …**, listing the packages with a newer build and a **Fix** that installs them now (only those packages, within the held versions; for Docker it says that apps' addresses pause for a few seconds). **Fixes from the repositories ZoPanel added install automatically** fails when one of them is left out of the automatic updates. ### VM templates Source: https://zopanel.net/docs/vm-templates If you sell virtual servers, you can install ZoPanel once, turn that machine into a template and create your customers' servers from it. They are ready as soon as they start: no installation to wait for. A plain copy of an installed server is not enough. Every copy would share the same admin password, the same keys and the same machine ID. `zopanel ctl prepare-template` removes them, and each new server makes its own at its first boot. ## Make the template 1. Create a virtual machine with a supported system and [install ZoPanel](/docs/install). Do not create customers or websites, and do not activate a license. 2. If you like, adjust **Packages** and **Settings**. Packages, the panel name, the support link, the default PHP version, update and backup schedules are kept. 3. Run, as root: ```bash zopanel ctl prepare-template ``` 4. Shut the machine down (`poweroff`) and make the template from its disk. If you start the prepared machine again, it becomes a server of its own. Run the command again before you make another template from it. ### What can be in a template PHP, Node.js and the other runtimes, Apache, the web application firewall, FTP, PostgreSQL, Adminer and Docker can be installed beforehand. Email, webmail, calendars, the DNS server, MongoDB, Redis and S3 storage cannot: they hold host names and passwords made for one server. Customers install them from **Components**. The command lists anything that has to go first, and changes nothing until then. Check what you added yourself: root's password, `/root/.ssh/authorized_keys`, shell history and copied files stay in the template. ## What the customer does The customer opens `https://SERVER-IP:8888` and signs in as `admin`. There are two ways to give them the password. **Shown on the server (default).** Each server makes a random password at its first boot. It is shown when root signs in over SSH, until it is changed in the panel: ```text ZoPanel: https://203.0.113.10:8888 User: admin Password: (random, different on every server) ``` A user with `sudo` runs `sudo zopanel ctl login-info`. A lost password is replaced with `sudo zopanel ctl reset-password admin`. **Chosen by you.** Your provisioning system writes the password with cloud-init and puts it in the welcome e-mail: ```yaml #cloud-config write_files: - path: /etc/zopanel/first-boot.env permissions: "0600" content: | ZOPANEL_ADMIN_PASSWORD='a-long-random-password' ZOPANEL_ADMIN_EMAIL=customer@example.com ZOPANEL_LICENSE_KEY=ZP-XXXX-XXXX-XXXX ``` Every line is optional. The password needs 8 to 128 characters and no colon; otherwise a random one is made. The file is deleted after it has been read. A license key belongs to one server, so use a different key for each customer. Without a key the server runs on the Free plan. ## What happens at the first boot - New machine ID, SSH host keys, panel certificate, encryption key and admin password, before the panel answers. - The clock is corrected over NTP, or over HTTPS where the provider blocks NTP. A template or host with a wrong date does no harm. - MariaDB's memory is set for the size of the new server. ## If something is wrong | Problem | What to do | |---|---| | The new server has no network | The template's network configuration can name the old network card. Platforms with cloud-init replace it. Without cloud-init, remove the `match: macaddress` lines from the files in `/etc/netplan` before you make the template. | | `this server is prepared as a VM template` | The machine is ready: shut it down, or restart it to use it as a normal server. | | The panel does not open on a new server | Check `journalctl -u zopanel-first-boot`. The step runs again at every boot until it succeeds. | | The password message does not appear | The password was chosen through cloud-init, or it has been changed since. Use `zopanel ctl reset-password admin`. | ## Configuration ### Panel settings Source: https://zopanel.net/docs/panel-settings The **Settings** page holds the server-wide configuration of ZoPanel. Only administrators can open it. It is split into tabs: **General**, **Alerts**, **Remote backups**, **License**, **AI assistant**, **Hooks**, **Updates** and **System**. This page covers the settings you are most likely to change; licensing and updates have their own pages. ## General ### Basic settings | Setting | What it does | | --- | --- | | **Administrator email** | Used for Let's Encrypt registration and notifications. Required before you can issue the panel certificate. | | **Default PHP version** | The PHP version preselected for new websites. | | **Panel name (white-label)** | Shown instead of "ZoPanel". Requires a Business license. | | **Automatic backups** | Off, Daily or Weekly (Sunday). Runs at 02:00 server time. | | **Backups to keep per account** | 1 to 90. | | **Require two-factor authentication** | See below. | | **Send the activity log to** | See below. | | **Keep deleted accounts (days)** | See below. | | **Let resellers oversell** | Off: a reseller's customers together stay within the reseller's own plan (disk and websites). On: each customer is only held to its own package. | Click **Save** after changing them. ### Require two-factor authentication Choose who must use 2FA: | Option | Who | | --- | --- | | **Not required** | Nobody is forced (default) | | **Administrators and resellers** | Every administrator and reseller | | **Everyone** | All users, including customers | Users without 2FA are asked to set it up at their next sign-in, and cannot continue until they do. Each user sets it up under **My account → Two-factor authentication** with an authenticator app, and gets recovery codes. A user who lost their phone can turn 2FA off with a recovery code even while it is required, and must then set it up again with the new phone before doing anything else. If an administrator loses both the phone and the recovery codes, root on the server can turn 2FA off for that user: ```bash zopanel ctl disable-2fa USERNAME ``` ### Send the activity log to (remote syslog) Every entry of the **Activity Log** can also be sent to a syslog server outside this one. Someone who later takes over this server cannot change that copy. Enter the target as `udp://host:port` or `tcp://host:port`: ```text udp://logs.example.com:514 ``` Leave the field empty to turn it off. If the syslog server is slow or unreachable, the panel is not held up; the local activity log and the system journal keep every entry. ### Keep deleted accounts (days) When you delete a hosting account, its websites, databases and mailboxes stay recoverable for this many days (0 to 90, default 7). Set `0` to delete everything at once. ### Panel domain & SSL By default the panel uses a self-signed certificate at `https://SERVER-IP:8888`. To use a trusted certificate: 1. Point a domain such as `panel.example.com` to the server (A record). 2. Make sure **Administrator email** is filled in and saved. 3. Enter the domain in **Panel domain**. 4. Click **Issue certificate**. A task requests a Let's Encrypt certificate. The panel is then available at `https://panel.example.com:8888`, and the certificate renews automatically. The same certificate is also used by the mail server, webmail and calendars when they are installed. When the mail hostname differs from the panel domain and points to this server, the certificate names it too, so mail apps see no warning. Installing the mail server issues the panel certificate again to add it. ### Restrict panel access Limit the panel to your own addresses, such as your office or VPN. 1. In **Restrict panel access**, enter IP addresses or networks in CIDR notation, one per line: ```text 203.0.113.10 198.51.100.0/24 ``` 2. Click **Save**. Leave the list empty to allow everyone. Include the address you are connecting from, or you will lock yourself out. If that happens, run on the server: ```bash zopanel ctl allow-ip --clear ``` You can also replace the list with a single address: `zopanel ctl allow-ip 203.0.113.10`. Both commands restart the panel. If another ZoPanel server manages this one (central management), add that server's IP to the list. ## Alerts The **Alerts** tab sends notifications to administrators. Turn on one or more channels: | Channel | Fields | | --- | --- | | **Telegram** | Bot token (create a bot with @BotFather) and Chat ID (from @userinfobot) | | **Email (SMTP)** | SMTP host, Port, Username, Password, From, To (comma separated) | | **Webhook (Discord / Slack)** | Type (Discord, Slack or JSON) and URL | Then choose the **Events** that trigger an alert, such as: - Website down, Service down or restarted, Fleet server unreachable - SSL expiring soon, SSL renewal failed, Domain expiring soon - High CPU usage, High memory usage, Disk almost full - Failed panel logins, Login from a new IP - Backup failed, Malware detected, Deployment failed - Mail sending limit reached, Mail queue growing, Server IP on a blocklist - Update available, Panel update failed or rolled back Set the thresholds for the resource alerts in **CPU %**, **RAM %** and **Disk %**. Click **Save**, then **Send test** to check the channels. Customers have their own notification settings for their websites, under **My account**. ## Other tabs | Tab | What it holds | | --- | --- | | **Remote backups** | Copy every backup to S3-compatible storage (AWS S3, Cloudflare R2, Backblaze B2, Wasabi, DigitalOcean, MinIO). Requires a Pro license. | | **License** | Plan, limits, activation and offline tokens. See [Licensing](/docs/licensing). | | **AI assistant** | An optional assistant that answers questions about websites and the server using live panel data: website diagnosis, error logs, why mail lands in spam (MX, SPF, DKIM, DMARC), why a site is slow (plan limits and the last 24 hours of CPU and memory), backups and snapshots. It can propose everyday tasks — create a database, mailbox, forwarder, FTP account or cron job, issue SSL, take or restore a backup — which only run after the user confirms; passwords are generated by the panel and never pass through the AI. It needs your own Anthropic API key. Each package sets how many questions a day its accounts may ask (**AI questions per day**: -1 unlimited, 0 not included). | | **Hooks** | Event webhooks to your own HTTPS URLs (signed with HMAC-SHA256), and root-owned hook scripts that run after each event. | | **Updates** | Version, channel and automatic updates. See [Updating ZoPanel](/docs/updating). | | **System** | Hostname, OS, kernel and component versions; **PHP performance**; **Disk quotas**; **IP addresses** for dedicated IPs per account; and **Central management**. | The **PHP performance** card is described in [PHP performance](/docs/php-performance). In **Disk quotas**, click **Enable quotas** if the installer could not turn them on; without quotas, disk and file limits are only measured, not enforced. ## Settings from the command line A few settings can be fixed from the server when the panel is not reachable: | Command | Effect | | --- | --- | | `zopanel ctl reset-password USER` | Sets a new random password (or `--password PASS`) and signs the user out everywhere | | `zopanel ctl disable-2fa USER` | Turns off 2FA for the user | | `zopanel ctl allow-ip IP` / `--clear` | Replaces or clears the panel IP restriction | | `zopanel ctl info` | Version, Server ID, plan, websites and accounts | | `zopanel ctl login-info` | The panel's address, and the first password on a server made from a [template](/docs/vm-templates) | | `zopanel ctl prepare-template` | Makes a clean server a [VM template](/docs/vm-templates) | | `zopanel ctl doctor` | Checks the server and says how to fix what is wrong | ### Packages and limits Source: https://zopanel.net/docs/packages-limits A **package** is a resource plan you assign to hosting accounts. Every account on a package gets the same limits, enforced by the Linux kernel, so one busy or hacked website cannot take the whole server down. Administrators and resellers manage packages under **Packages**. ## Create or edit a package 1. Go to **Packages**. 2. Click **New package**, or the edit button on an existing one. 3. Enter a **Package name** and set the limits (see the tables below). 4. Click **Save**. When you edit a package, the new limits are applied at once to every account that uses it, including the PHP settings. A new install creates three packages: `Basic` (1 website, 2 databases, 5 mailboxes, 2 GB disk, 20 GB bandwidth a month, 50% CPU, 512 MB RAM), `Business` (5 websites, 10 databases, 25 mailboxes, 10 GB disk, 100 GB bandwidth, 100% CPU, 1 GB RAM) and `Pro` (20 websites, 50 databases, 100 mailboxes, 30 GB disk, 500 GB bandwidth, 200% CPU, 2 GB RAM). All three include the file manager, SFTP/FTP, databases, e-mail, SSL, backups and cron; the terminal (shell access), own Docker apps and App Store apps are off until you turn them on. Servers installed before keep their packages: none are added on update. A package made with **New package** starts from 5 websites, 5 databases, 20 cron jobs, 10 FTP accounts, 10 mailboxes and 5 GB disk until you change the fields. ## Counts | Field | Limits | `0` means | | --- | --- | --- | | **Websites** | Websites the account can create | Unlimited | | **Databases** | Databases | Unlimited | | **Cron Jobs** | Scheduled tasks | Unlimited | | **FTP** | Extra FTP accounts | Unlimited | | **Email** | Mailboxes | Unlimited | | **Docker apps** | Apps the customer may install from the App Store (n8n, Uptime Kuma…). Each app is a website of its own; its memory and processes count toward the package (see [Apps](/docs/apps)). | None allowed | | **Sub-accounts (resellers)** | Customer accounts a reseller on this package may create. Only administrators see this field. | Unlimited | ## Resources | Field | Unit | How it is enforced | | --- | --- | --- | | **Disk (MB)** | MB | Filesystem quota: the account cannot write past it | | **Files (inodes)** | Files and folders | Filesystem quota. Needs disk quotas (**Settings → System → Disk quotas**) | | **CPU (%)** | % of one core (100 = one full core, 200 = two cores) | systemd cgroups | | **RAM (MB)** | MB, for all the account's websites, apps and PHP together | systemd cgroups | | **Processes** | Number of processes | systemd cgroups | | **Disk speed (MB/s)** | MB/s of disk throughput | systemd cgroups | | **Database connections** | Per database user | MariaDB | | **Emails per hour** | Outgoing recipients per hour | Mail server sending limit | `0` means unlimited for these fields, with three exceptions that have an **automatic** value when left empty: | Field | Empty (automatic) | `-1` | | --- | --- | --- | | **Disk speed (MB/s)** | About 40 MB/s per GB of package RAM (2 GB ≈ 80 MB/s), between 30 and 300 MB/s. Not capped when RAM is unlimited. | Unlimited | | **Database connections** | 3 × PHP workers, at least 30 | Unlimited | | **Emails per hour** | The server default set in **Email → Sending limits** | Unlimited | Without disk quotas, disk and inode usage is only measured, and one account could fill the whole disk. Check that quotas are **enforced** in **Settings → System → Disk quotas**. ## PHP settings | Field | What it does | | --- | --- | | **PHP memory_limit (MB)** | PHP's `memory_limit` for the account's websites | | **PHP workers** | Maximum PHP processes serving requests at the same time for the account | | **PHP always running** | The account's PHP never sleeps when idle (see below) | Each account runs its own isolated PHP-FPM pool per PHP version, inside the account's limits. A website's diagnostics suggest raising **PHP workers** when too many PHP requests arrive at once; the **Tuning** page warns when all packages together allow more PHP processes than the RAM can hold. Website owners can adjust other PHP options for one website in the website's **Tools** tab, under **PHP settings for this website**: `upload_max_filesize`, `post_max_size`, `max_input_vars`, `max_input_time`, `session.gc_maxlifetime`, `date.timezone`, `short_open_tag` and `output_buffering`. The memory limit always comes from the package. ### PHP always running By default, the PHP of a quiet website stops after an idle time and starts again on the next visit (see [PHP performance](/docs/php-performance)). Turn on **PHP always running** for premium plans: the sites' PHP never sleeps, so every visit is as fast as possible. It costs the pool's memory (about 20-60 MB per site) even when nobody visits. The package list shows each package's PHP mode as **Always running** or **Sleeps when idle**. ## Access | Switch | What it allows | | --- | --- | | **SFTP** | Chrooted SFTP access to the account's home directory | | **Terminal** | A sandboxed shell, limited to the home directory, both in the browser and over SSH. SFTP, scp, rsync and git over SSH run in the same sandbox (see [SSH and terminal](/docs/ssh-terminal)) | ## Assign a package Choose the package when you create an account (**Accounts → New account → Package**), or edit the account later to change it. **No package (unlimited)** leaves the account without limits; use it only for your own trusted accounts. Customers see their limits and current usage on the **Resources** page. Administrators can open the same view for any account from **Accounts**. ## How limits apply - **CPU, RAM, processes and disk speed** are cgroup limits on what the account runs in its slice: PHP, apps, cron jobs and terminal or SSH sessions. A process that goes over the RAM limit is stopped by the kernel inside the account, without touching other accounts. - **Disk and inodes** are kernel quotas on the home folder: files, FTP, uploads and the account's own backups stop at the package's disk space, hard. When an account is full, writes fail for that account only. - **App data and S3 buckets are hard-capped too.** Each app's data (App Store apps, Docker deploys' persistent paths) lives in a volume of its own, and each bucket has a maximum size. Both are sized from one account of the package, counting what it has promised already, not only what is in use: `free = package − measured usage outside those caps (home, mail, databases, app backups) − the volumes' sizes − the other buckets' caps`. A new bucket gets `free` (at least 64 MB, or it is refused); a new app's volume gets `free` (at least 256 MB, or it is refused). So three buckets on a 1 GB package get 1 GB, then nothing, then nothing, never 1 GB each. A bigger package shares the added room out evenly among the existing volumes and buckets. - **Disk space counts everything the account stores**: its home, mail, MariaDB, PostgreSQL and MongoDB databases, apps' data, app backups and buckets. Mailboxes cannot be unlimited on a package with a disk limit, and their sizes together stay within it. Databases and mail have no hard cap of their own (MariaDB, PostgreSQL and MongoDB cannot cap one database), so usage is measured every hour, every 10 minutes for accounts at 80% or more, the databases alone every 2 minutes, and right after every import or restore; an import is stopped once the database has grown past what the package leaves. An account over its disk space is held: its databases become read-only (MariaDB users keep reading and, if they could before, deleting rows and dropping tables to make room; PostgreSQL databases refuse connections; MongoDB users can only read), each database user gets back exactly the privileges it had once the account is under again, its Docker apps are paused and its buckets take nothing more, until it is back under. While held it cannot create databases, apps, buckets or backups, restore or upload. Its owner and the administrator are notified. - **A smaller package deletes nothing.** Volumes and buckets keep their size; the account is measured against the new package at once and held, as above, until it fits. - **Database connections** are set per database user in MariaDB. - **Emails per hour** counts recipients sent through PHP `mail()` and SMTP logins. Messages over the limit are refused, which stops a hacked website from getting the server's IP blocklisted. - **Counts** (websites, databases, mailboxes…) are checked when something is created. The server's license also limits the total number of accounts, websites and databases across all packages: see [Licensing](/docs/licensing). ## Packages for resellers Resellers (Pro license) create their own packages for their customers. These packages are always held within the reseller's own plan: - A reseller cannot save a package that gives more than the reseller's own package allows: any count or resource above the reseller's own (websites, disk, CPU, RAM, PHP memory, PHP workers, apps, disk speed, database connections, emails per hour and so on), or SFTP, terminal access or always-on PHP when the reseller's own package does not include them. The panel refuses the package and lists what is not allowed. - All of a reseller's accounts together stay within the reseller's own websites and disk space, unless the administrator turns on **Let resellers oversell** in **Settings → General**. Then each customer is only held to its own package. - Resellers do not see the **Sub-accounts (resellers)** field. When the administrator edits a reseller's package, the customers' packages of that reseller are held to the new limits too. Resellers cannot use or assign packages that belong to another reseller. ### PHP performance Source: https://zopanel.net/docs/php-performance On a shared hosting server, most websites are quiet most of the time. ZoPanel uses that: PHP of quiet sites goes to sleep, its compiled code stays on disk so it wakes up fast, idle memory is compressed in RAM, and an overloaded server sheds work it can no longer serve. This page explains each mechanism and the settings that control it. On our test servers, this let an Ubuntu 24.04 VPS with 4 GB RAM and 4 vCPU run 100 WordPress sites without page cache, or 250 with page cache, each time plus 30 apps. A Debian 12 server with 3 GB ran 50 and 200. After a heavy overload, they were back to normal 2 to 5 minutes after the load stopped. ## Idle PHP sleeps Each hosting account has its own PHP-FPM pool per PHP version. Even with no visitors, a pool's master process uses about 25 MB, so hundreds of quiet accounts would waste gigabytes. ZoPanel stops a pool once it has had no work for the idle time. The pool's socket stays open, so the next request starts PHP again within a few hundred milliseconds. Visitors do not see an error, only a slightly slower first page. ### Set the idle time 1. Go to **Settings → System**. 2. In the **PHP performance** card, choose **Stop idle PHP after**: 5, 15 or 30 minutes, 1 or 3 hours, or **Never (always running)**. **30 minutes** is recommended and is the default: long enough that a site visited every few minutes is always warm. A shorter time saves memory on crowded servers; **Never** keeps every site's PHP running. The card also shows how many pools are running (and how many are always on), the **Memory used by PHP**, and the size of the **Compiled code cache**. A few details: - Uptime monitoring requests do not count as visits, so monitoring alone does not keep a quiet site awake. - When memory runs short, idle pools are stopped sooner, longest idle first, without waiting for the idle time. Pools that are serving requests are never stopped for this. ## PHP always running For premium plans, turn on **PHP always running** in the package (**Packages → Edit package**). Those accounts' pools are started at boot and never stopped for idleness, so no visitor meets a cold start. Each always-on site keeps its pool's memory (about 20-60 MB) even when nobody visits. See [Packages and limits](/docs/packages-limits). ## OPcache file cache OPcache keeps compiled PHP in memory, which is lost when a pool stops. ZoPanel also keeps each account's compiled scripts on disk, in `/var/cache/zopanel/opcache/USERNAME`. When a sleeping pool starts again, it loads the compiled code from there instead of compiling every script, so the first request is nearly as fast as a warm one. Each account's cache folder is private to that account (mode 0700), so no account can read or plant another's compiled code. Scripts not loaded for 30 days, and the folders of deleted accounts, are cleaned up daily. If the **Tuning** page reports that OPcache is off for a PHP version, install that version's OPcache package as suggested. ## The customer memory plan ZoPanel divides RAM between the system and customers: - The **system** (databases, mail, nginx, the panel and the kernel) keeps a reserve sized to the machine and to what it actually used at its peak over the last day, and never more than half of RAM. - **Customers** (all PHP pools, apps, shells and Docker apps together) may use the rest, as a hard limit. The plan is re-calculated every 10 minutes. The **PHP performance** card shows it: "websites and apps of all customers may use X together; the system keeps Y". Under a burst that wakes hundreds of sites at once, the kernel throttles or ends customer processes, preferably a PHP worker that restarts at once, while SSH, the panel, nginx and the databases keep working. ## Memory compression (zswap) On **Linux 6.8 or newer**, ZoPanel compresses customers' idle memory (sleeping PHP masters, OPcache, idle apps) in RAM with zswap, using zstd (or lz4 as a fallback). Compressed pages are **never written to disk**: what does not fit compressed simply stays in RAM. You get more sites in the same RAM without the disk swapping that makes an overloaded server slow to recover. It turns on automatically when: 1. The kernel is 6.8 or newer: Ubuntu 24.04 and Debian 13 out of the box, Ubuntu 22.04 with the HWE kernel the installer adds, Debian 12 with the backports kernel. 2. The server has a swap device. The installer creates one on servers with less than 4 GB of RAM. If there is none, the **Tuning** page suggests creating a swap file, with a one-click fix. ### Check it on the Tuning page Go to **Tuning** (under **Server** in the menu): - **Memory compression is on** shows the current compression ratio. - **Kernel X cannot compress customers' memory safely** means the kernel is older than 6.8. The suggestion includes the command to install a newer kernel. On Ubuntu 22.04: ```bash apt install --install-recommends linux-generic-hwe-22.04 && reboot ``` On Debian 12 (backports kernel, outside Debian's security support): ```bash echo 'deb http://deb.debian.org/debian bookworm-backports main' > /etc/apt/sources.list.d/backports.list && apt update && apt install -t bookworm-backports linux-image-amd64 && reboot ``` On ARM64 servers, the Debian package is `linux-image-arm64`. Restart the server at a quiet time: websites are offline during the reboot. ## Load shedding When a server is badly overloaded, requests pile up in the PHP sockets faster than PHP can serve them. Most of those visitors have already given up, yet PHP would still run every request, keeping hundreds of pools awake and the server short of memory long after the load is gone. ZoPanel sheds that work, but only when all of these are true: - customers' memory has been badly short for at least a minute (close to the customer limit, or processes waiting for memory 70% of the time); - a pool's queue has been full for at least 30 seconds. The waiting requests of that pool are dropped, at most once per pool per minute. Visitors still waiting get a "This website is very busy right now" page that reloads by itself. The pools can then go idle and free their memory. A server running normally never reaches this point. ## Tips - Turn on the **Page cache** (website → **PHP & config** tab) for WordPress sites: it is the single biggest gain. The **Tuning** page lists WordPress sites without it and can turn it on for them. - Keep the idle time at 30 minutes unless the server is short of memory. - Use **PHP always running** only for the plans that need it. - Watch the **Tuning** page for PHP-FPM that could exhaust the RAM, missing swap and old kernels. ### Optional components Source: https://zopanel.net/docs/components A default ZoPanel install (`--profile web`) contains only the web stack: nginx, PHP, MariaDB, SFTP, the firewall and the panel. Everything else is an optional **component** that you add when you need it, because every component costs memory. You can choose components when you install, or add them at any time from the panel. ## Available components | ID | Component | What it adds | Typical extra RAM | | --- | --- | --- | --- | | `mail` | Mail server | Postfix, Dovecot and Rspamd: mailboxes, forwarders, DKIM, spam filter, Sieve rules | ~300 MB | | `webmail` | Webmail | Read and send mail in the browser (port 2096) | ~40 MB | | `dav` | Calendars & contacts | CalDAV/CardDAV for every mailbox (Radicale), port 2080 | ~40 MB | | `dns` | DNS server | PowerDNS: customers' zones, DNSSEC, wildcard certificates | ~30 MB | | `waf` | Web application firewall | ModSecurity with the OWASP Core Rule Set, enabled per website. Not available on Ubuntu 22.04 | ~130 MB | | `apache` | Apache (.htaccess) | Lets websites switch to Apache mode so `.htaccess` files work | ~40 MB | | `ftp` | FTP server | Pure-FTPd with TLS, for customers who still use FTP | ~10 MB | | `postgres` | PostgreSQL | PostgreSQL databases for applications | ~120 MB | | `mongo` | MongoDB | MongoDB databases for Node.js and other applications | ~250 MB | | `adminer` | Adminer | Web interface for MariaDB, PostgreSQL and MongoDB | ~20 MB | | `docker` | Docker | Runs App Store applications and Dockerfile deploys, isolated per website | ~150 MB | | `storage` | S3 object storage | S3-compatible buckets for customers | ~150 MB | Dependencies are added for you: - `webmail` and `dav` need the mail server, so `mail` is installed with them. - `storage` needs Docker, so `docker` is installed with it. `storage` requires a Pro license; on the Free plan it is skipped. Apache is also installed automatically the first time a website switches to Apache mode, so you rarely need to add it by hand. ## Install components from the panel 1. Sign in as an administrator and go to **Components** (under **Server** in the menu). 2. Components are grouped as **Email**, **Web & security**, **Databases** and **Applications**. Installed ones are marked **installed**. 3. Tick the components you want. The panel shows about how much extra memory they need. 4. If you selected the mail server, enter the **Mail server hostname**, for example `mail.example.com`. It must resolve to this server; set its reverse DNS (PTR) at your VPS provider. 5. If you selected the DNS server, enter the **Nameservers**, for example `ns1.example.com, ns2.example.com`. Create them as glue records (A records pointing to this server's IP) at the registrar of that domain. 6. Click **Install N component(s)**. The installation runs as one background task. You can close the window: follow it under **Tasks**. Components that are already installed are skipped. If one fails, the others continue and the task lists what was not installed; you can retry it. Some pages also offer to install their component directly, for example **Install mail server** on the **Email** page or **Install FTP server** on the **FTP / SFTP** page. ## Choose components at install time The options go after `install.sh`, downloaded and verified as shown in [Install](/docs/install). ### Profiles | Profile | Components | | --- | --- | | `web` (default) | None: the web stack only | | `full` | `mail`, `webmail`, `dav`, `dns`, `waf`, `apache`, `ftp`, `postgres`, `adminer`, `docker` | ```bash sudo bash install.sh --profile full \ --mail-hostname mail.example.com \ --nameservers ns1.example.com,ns2.example.com ``` ### Individual components Add components to any profile with `--with`, comma separated: ```bash sudo bash install.sh --with waf,docker,postgres ``` `mongo` and `storage` are not part of `full`; add them with `--with`. ### What the installer needs | Component | Flag | If missing | | --- | --- | --- | | `mail`, `webmail` | `--mail-hostname mail.example.com` | Skipped with a message. If `--hostname` has at least three labels (for example `srv1.example.com`), it is used as the mail hostname. | | `dns` | `--nameservers ns1.example.com,ns2.example.com` | Skipped with a message | The installer does not install components itself. It queues them, and the panel installs them as a background task right after it starts, visible under **Tasks**. If the installer restarts the server (for a new kernel), the components are installed after the restart. If the server restarts in the middle, the task resumes. ## Ports opened Components open their ports in the UFW firewall when installed. If your provider has its own firewall, open them there too. | Component | Ports | | --- | --- | | Mail server | 25, 465, 587 (SMTP), 143, 993 (IMAP), 110, 995 (POP3) | | Webmail | 2096 | | Calendars & contacts | 2080 | | DNS server | 53 TCP and UDP | | FTP server | 21 and passive ports 18000-18100 | | Adminer | 8889 | ## After installing | Component | Where to use it | | --- | --- | | Mail server, webmail, calendars & contacts | **Email** page: enable email for a domain, create mailboxes, check DNS records and deliverability | | DNS server | **DNS** page: zones, records, DNSSEC, DNS cluster | | Web application firewall | **Security** page for all websites, and each website's **Tools** tab; start with **Detect only (log)** for a few days, then switch to blocking | | Apache (.htaccess) | A website's **Tools** tab: .htaccess support (Apache mode) | | FTP server | **FTP / SFTP** page: FTP accounts restricted to one folder | | PostgreSQL, MongoDB, Adminer | **Databases** page | | Docker | **App Store**, and Docker or Dockerfile deploys for websites | | S3 object storage | **S3 storage** page: buckets and access keys | ## Plan memory before you install Every component uses memory all the time, which is then not available for websites. On a 1-2 GB server, install only what you use. The **Tuning** page and the **PHP performance** card in **Settings → System** show how memory is shared between the system and customers after you add components. ## Websites ### Websites and PHP Source: https://zopanel.net/docs/hosting Every website in ZoPanel belongs to one hosting account and lives in `/home//domains//`. nginx serves it, and PHP runs in the account's own isolated PHP-FPM pool, so one customer's code never shares a PHP process with another's. ## Create a website 1. Open **Websites** and click **New website**. 2. Enter the **Domain** without `http://` (for example `example.com`). Leave **Also serve www.example.com** ticked to add the `www` name as an alias. 3. Choose the **Website type**: | Type | What you get | | --- | --- | | Git deploy | Pulls a repository, detects the framework and deploys it (see [Git deploy](/docs/git-deploy)). | | PHP | A PHP application in `public_html`. | | WordPress | A PHP website with WordPress installed automatically (see [WordPress Toolkit](/docs/wordpress)). | | Laravel | A PHP website whose document root is `public_html/public`. | | HTML | Static files only, no PHP. | | Node / Proxy | nginx forwards requests to an application listening on `127.0.0.1` (see [Node.js and Python apps](/docs/apps-node-python)). | 4. For PHP types, pick the **PHP version**. The list shows the versions installed on the server; ZoPanel supports PHP 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4, and administrators install them under **Runtimes**. 5. Keep **Free SSL (Let's Encrypt)** on. The certificate is issued as soon as the domain points to the server (see [SSL certificates](/docs/ssl)). 6. Click **Create website**. Point the domain's A (and AAAA, if you use IPv6) record to the server's IP before you expect SSL to work. Administrators and resellers can choose the **Owner** account in the same dialog. The account's package limits how many websites it may have. ## Domains and aliases Open the website (**Websites → Manage**) and go to the **Domains** tab to add more names that serve the same files, for example `www.example.com` or a second brand domain. - Up to 20 aliases per website. - A domain can only be used once on the server. A domain related to one owned by another account (for example a subdomain of someone else's domain) is refused. - After you save a change, the Let's Encrypt certificate is re-issued automatically to cover the new list of names. - You cannot remove an alias that still has an email domain with mailboxes: delete its email domain first on the **Email** page. ## PHP version and document root The **PHP & config** tab holds the runtime settings: | Field | Meaning | | --- | --- | | PHP version | Any installed version, or **No PHP (static / proxy)**. You can change it at any time; the account's PHP-FPM pool is updated for you. | | Rewrite rules | **Standard**, **WordPress** or **Laravel**. The WordPress rules also block `xmlrpc.php`, PHP files in `wp-content/uploads` and direct access to `wp-config.php`, `readme.html` and `license.txt`. | | Document root | Relative to the domain folder and always inside `public_html`, for example `public_html` or `public_html/public`. | | Application port | Reverse-proxy port. Set it to `0` to turn proxy mode off. | On websites without PHP, nginx returns 403 for `.php`, `.phtml`, `.phar` and `.inc` files instead of showing their source. On every website, nginx denies hidden files (except `.well-known`) and common backup or dump files such as `.sql`, `.env`, `.bak` and `.log`. The memory limit and maximum execution time come from the account's package. Other options, such as `upload_max_filesize` or `date.timezone`, are set per website in **Tools → PHP settings for this website** (see [Website tools](/docs/website-tools)). Uploads are limited to 256 MB per request by default; raise it per website in **Tools → Upload size** (up to 10 GB). ### PHP versions and their support The PHP project fixes each version for a fixed time. ZoPanel warns about it by the calendar, never switches a website by itself, and keeps older versions installable for websites that need them: | PHP | Security fixes until | In ZoPanel | | --- | --- | --- | | 7.4, 8.0, 8.1 | ended (28 Nov 2022, 26 Nov 2023, 31 Dec 2025) | **End of life**: Security Center check, notice on the website's page | | 8.2 | 31 December 2026 | **Ends soon** from 3 October 2026 (90 days before): Security Center check (low) and a notice with the date on the website's page; end of life from 1 January 2027 | | 8.3 | 31 December 2027 | Supported (ends soon from 2 October 2027) | | 8.4 | 31 December 2028 | Supported | | 8.5 | 31 December 2029 | Supported | Fixes for an installed version keep coming automatically until its end date (see [Updating](/docs/updating#php-updates)). Ondřej Surý's repository backports some fixes after that date, but not all of them. Move a website by changing **PHP version** on this tab after testing it, for example on a staging copy. ## Apache mode for .htaccess ZoPanel serves sites with nginx by default, so `.htaccess` files are ignored. Sites moved from cPanel or DirectAdmin, and applications that ship `.htaccess` rules, can switch to Apache mode: 1. Open the website's **Tools** tab. 2. Turn on **.htaccess support (Apache mode)**. The first time, Apache is installed on the server (about 30 seconds). nginx keeps handling SSL, the firewall, redirects and common static files; Apache on `127.0.0.1` applies `.htaccess` and passes PHP to the account's own PHP-FPM pool. What `.htaccess` may contain in Apache mode: - **Supported:** rewrites, redirects, access rules (`Require`, `Deny`/`Allow`), password protection, `ErrorDocument`, headers, expiry, types and `SetEnv`. - **Ignored for security:** `Options`, `SetHandler`/`AddHandler` and similar lines. They are noted in the site's Apache log instead of breaking the site. - **Ignored:** `php_value` and `php_flag`. Set PHP options in **PHP settings for this website** instead (written to `.user.ini`). The page cache is off in Apache mode. Apache mode is available for PHP and static websites, not for proxy websites. ## Page cache PHP websites can be served from nginx's page cache, which speeds WordPress up many times: 1. Open the **PHP & config** tab. 2. Turn on **Page cache**. Pages are cached for 10 minutes. ZoPanel never caches: - requests other than GET and HEAD (for example POST); - visitors with a WordPress login, password-protected post, comment author, WooCommerce cart or session cookie, or a `laravel_session`, `PHPSESSID` or `XSRF-TOKEN` cookie; - URLs containing `/wp-admin`, `/wp-login.php`, `/wp-json`, `/xmlrpc.php`, `/cart`, `/checkout`, `/my-account`, `/feed` or `sitemap`; - URLs with a query string (search, filters, pagination). A query made only of ad-tracking parameters such as `utm_*`, `fbclid` or `gclid` counts as no query, so campaign visitors still get cached pages. Responses carry an `X-Cache` header (`HIT`, `MISS`, `BYPASS`…) so you can check the cache with: ```bash curl -sI https://example.com/ | grep -i x-cache ``` To clear the cache, click **Purge cache** in the same card. On WordPress websites with the cache on, ZoPanel also installs a small must-use plugin (*ZoPanel page cache*) that purges the site's pages whenever a post, comment, menu, theme or plugin changes, so edits appear at once. The plugin is removed when you turn the cache off. ## Static and proxy websites - **HTML** websites serve files from the document root with long browser caching for images, CSS, JavaScript and fonts. - **Node / Proxy** websites pass every request to `127.0.0.1:`. For customer accounts, ZoPanel assigns the port of each website; only administrators can choose another one. Use the **Deploy** tab to build and run the application (see [Node.js and Python apps](/docs/apps-node-python)). ## Request rate limit The **Request rate limit** card on the **PHP & config** tab stops bots and floods from one IP address. Choose **Off**, **Light (20/s)**, **Medium (8/s)** or **Strict (2/s)**; static files are not counted and excess requests get HTTP 429. ## Custom nginx directives Administrators see an **Advanced** tab where they can add **Custom nginx directives** to the website's server block. The configuration is tested before it is applied (**Test & save**), so a typo never takes nginx down. ### SSL certificates Source: https://zopanel.net/docs/ssl ZoPanel gives every website a free Let's Encrypt certificate and renews it for you. You manage certificates in the website's **SSL** tab (**Websites → Manage → SSL**). ## Before you start - The administrator must set an **Administrator email** in **Settings**. Let's Encrypt registration uses it, and no certificate can be requested without it. - The website's domain must resolve to this server. Aliases that do not resolve yet are left out of the certificate (see below), so they never block it. - Port 80 must be reachable from the Internet: certificates are validated over HTTP, through a challenge path that keeps working even when the site redirects to HTTPS, redirects everything elsewhere or is password-protected. ## Automatic certificates When you create a website with **Free SSL (Let's Encrypt)** on, ZoPanel tries to issue the certificate right away. If the domain does not point to the server yet, the website still works over HTTP and the task log says so. You do not need to come back and retry: every hour, ZoPanel looks for active websites with automatic SSL but no certificate and checks their DNS. As soon as the domain resolves only to this server, the certificate is issued. Aliases that still point elsewhere are left out, so they cannot make the whole order fail; they are added on the next issue. After a failed attempt, the next one for that website waits 2, 4, 8 hours and so on, up to a day, so Let's Encrypt rate limits are never wasted. To issue or re-issue a certificate by hand, click **Issue certificate** (or **Re-issue**) on the **SSL** tab. The task log shows each step and a clear message when validation fails, for example when the domain does not resolve or port 80 is closed. ### Aliases that are not ready (www of a subdomain) A certificate is all or nothing: if Let's Encrypt cannot validate one name, it refuses the whole certificate. The usual culprit is the `www.` of a subdomain: a website `shop.example.com` created with **Also serve www.shop.example.com** also has `www.shop.example.com`, which almost never has a DNS record. So whenever a certificate is issued or renewed (automatically, by hand or at renewal), ZoPanel first checks the DNS of each alias and leaves out: - aliases with **no DNS record** (`NXDOMAIN`); - aliases that **point to another server**, when the website's domain itself points here (an alias still on the old host). The task log names each one, for example `www.shop.example.com has no DNS record: left out of the certificate`. The website's domain is always requested. A left-out alias is added at the next renewal or **Re-issue** once its DNS points here. Until then, `https://` on that alias shows a certificate warning, so create its DNS record, or remove the alias, if visitors use it. When the domain itself does not point straight to this server (behind a CDN or NAT), aliases that resolve elsewhere are kept, because they may validate through the same proxy. The new-website form ticks **Also serve www.…** for a domain (`example.com`, `example.com.vn`) but not for a subdomain (`shop.example.com`); you can still tick it by hand. When a certificate is issued for a website whose WordPress still uses `http://` (or `http://www.`) as its address, for example because it was installed before DNS pointed here, ZoPanel switches WordPress to `https://` automatically, including the links in its content. Other addresses are not touched. ## Redirect HTTP to HTTPS Once a certificate is installed, the **SSL** tab shows the issuer, the expiry date and two switches: | Switch | Effect | | --- | --- | | **Redirect HTTP to HTTPS** | Every HTTP request gets a 301 redirect to HTTPS. ZoPanel also sends `Strict-Transport-Security: max-age=31536000`, so browsers remember to use HTTPS for one year. | | **Auto renew** | Lets ZoPanel renew the certificate (on by default for Let's Encrypt). | Because of the HSTS header, only turn on the redirect when you intend to keep HTTPS on that domain. ## Renewals ZoPanel checks certificates every hour and renews Let's Encrypt certificates that expire within 30 days. If a renewal fails, it is retried after 1, 2, 4 and then 8 days (never more than a week apart), because Let's Encrypt limits failed attempts. You are told when something needs attention: - **SSL renewal failed**: sent to the administrator and to the website's owner, with the error. - **SSL expiring soon**: sent once a day when a certificate expires within 14 days, which catches failing renewals and certificates installed by hand. Customers choose these alerts in **My account → Notifications**. The dashboard also shows **SSL expiring soon** for certificates that expire within 14 days. The most common reason a renewal fails is a domain that no longer points to this server. Fix DNS, then click **Re-issue**. Aliases that stopped resolving are simply left out of the renewed certificate. ## Wildcard certificates A wildcard certificate (`*.example.com`) covers every subdomain. Let's Encrypt only issues wildcards through DNS validation, so ZoPanel needs to control the domain's DNS: 1. The administrator installs the DNS server (see [DNS](/docs/dns)). 2. Create the zone for the domain on the **DNS** page and set this server's nameservers at the registrar. 3. On the website's **SSL** tab, tick **Also \*.example.com (wildcard)** and click **Issue certificate**. The certificate covers `example.com` and `*.example.com`. Aliases already covered by the wildcard (for example `www.example.com`) are dropped from the order, because Let's Encrypt refuses redundant names; other aliases are kept. Renewals keep the wildcard. If the zone is not hosted on this server, ZoPanel refuses the request with a message that points you to the DNS page. ## Upload your own certificate To use a certificate from another provider (for example an EV or OV certificate): 1. On the **SSL** tab, find **Custom certificate**. 2. Paste the **Certificate (incl. chain)** in PEM format: your certificate first, then the intermediate certificates. 3. Paste the **Private key** in PEM format. 4. Click **Install certificate**. ZoPanel checks that the key matches the certificate, that the certificate is valid for the website's domain and that it has not expired. Only the certificates are written to the world-readable chain file; the private key is stored separately with restricted permissions. A custom certificate turns **Auto renew** off, so ZoPanel does not replace it with Let's Encrypt, and the hourly automatic issue skips the website because it already has a certificate. Do not install a self-signed certificate on a public website: browsers reject it. To go back to Let's Encrypt, click **Issue certificate**. Renew it with your provider and install the new one before it expires; the 14-day expiry alert reminds you. If the domain's zone is hosted on this server, note that new zones get a CAA record that allows only Let's Encrypt (`0 issue "letsencrypt.org"`). Add a CAA record for your other certificate authority on the **DNS** page before ordering from it. ## Disable SSL **Disable SSL** removes HTTPS from the website and turns the HTTP-to-HTTPS redirect off. Visitors who already received the HSTS header keep trying HTTPS until it expires, so prefer re-issuing a certificate over disabling SSL on a live site. ## The panel's own certificate The panel itself (port 8888) gets a trusted certificate from **Settings → Panel domain & SSL**. Point the panel domain to the server, then click **Issue certificate**. This certificate is also used by the mail server, webmail and calendars, and it is renewed automatically like website certificates. When the mail hostname (such as `mail.example.com`) is different from the panel domain and points to the server, the certificate covers it too; installing the mail server issues the certificate again to add it. If the mail hostname does not point to the server yet, the certificate covers the panel domain only and the mail hostname is added at the next renewal or the next **Issue certificate**. ### Install WordPress Source: https://zopanel.net/docs/wordpress-install ZoPanel installs WordPress with wp-cli: it creates the database, downloads the latest WordPress, writes `wp-config.php` and creates your administrator in one task. Use this page to get WordPress running. Once it runs, the [WordPress Toolkit](/docs/wordpress) covers updates, staging, security and maintenance. ## Before you start - **Point the domain to the server first.** Create the A (and AAAA) records as described in [Your first website](/docs/first-website). When the domain already resolves to this server, the certificate is issued before WordPress is installed, so WordPress starts on `https://`. - **A PHP version must be installed.** The new-website dialog uses PHP 8.3 when it is installed, otherwise another installed version. - **The package must allow one more database.** Every installation creates its own database. On the Free license, the whole server can have 10 databases (see [Licensing](/docs/licensing)). - **The package must include WordPress.** A package can leave out **App installer & WordPress tools** (see [Packages and limits](/docs/packages-limits)). Its customers then get "this feature is not included in your hosting package". ## Option 1: create a new website with WordPress 1. Open **Websites** and click **New website**. 2. Enter the **Domain** without `http://`, for example `example.com`. Keep **Also serve www.example.com** ticked if you want both names. 3. Administrators and resellers: choose the **Owner** (the hosting account). 4. Under **Website type**, choose **WordPress**. 5. Choose the **PHP version**. 6. Keep **Free SSL (Let's Encrypt)** on. 7. Fill in **WordPress settings** (see the table below). 8. Click **Create website**. A task window shows each step. You can close it: the task keeps running, and **Tasks** keeps its log. ### Installation fields | Field | Default | Rules and effect | | --- | --- | --- | | **Site title** | The domain | The name WordPress shows in the header and browser tab. Up to 200 characters. You can change it later in WordPress under **Settings → General**. | | **Admin email** | The email of your panel login | Required. WordPress sends password resets and admin notices here. | | **Admin username** | `admin` | 3 to 60 characters: letters, digits, `.`, `_`, `@` and `-`. | | **Admin password** | A generated 16-character password | 8 to 128 characters, no colon. Copy it before you click **Create website**: the panel does not show it again. | WordPress is installed in the language of the panel: Vietnamese when you use the panel in Vietnamese, English (`en_US`) otherwise. **Important:** change **Admin username** from `admin` before you create the site. Bots try `admin` first, and the toolkit's security check flags an administrator with that name. A WordPress username cannot be renamed from wp-admin later. ## Option 2: install WordPress on an existing website 1. Open the website and stay on the **Overview** tab. 2. In the **Applications** card, click **Install WordPress**. 3. Check **Site title**, **Admin email**, **Admin username** and **Admin password** (same rules as above). 4. Click **Install**. The **Applications** card appears only when the website runs PHP (not a reverse proxy), has no application installed yet, and its document root is inside `public_html`. WordPress is installed into the document root. Start from an empty document root: ZoPanel removes its own placeholder `index.html`, but leaves your other files in place. WordPress uses `https://` if the website already has a certificate, and `http://` otherwise. Installing also switches the website to the WordPress nginx rules (see below). ## What the installation does The task log shows these steps: 1. **SSL** (new websites with SSL on): the certificate is requested. If the domain does not point to the server yet, the log says "SSL could not be issued" and the installation continues over HTTP. 2. **Database:** a MariaDB database and user named `_wp<4 random characters>` are created with a random 24-character password and linked to the website. The password is only written into `wp-config.php`. 3. **Download:** the latest WordPress is downloaded. A network failure (DNS timeout, reset connection) is retried up to 3 times. 4. **Configuration:** `wp-config.php` is written with `DB_HOST` `localhost` and made readable by the account only (mode 640). 5. **Install:** WordPress is installed with your title and administrator. No welcome email is sent. 6. **Scheduled tasks:** the server takes over WordPress's scheduled tasks and runs them every 5 minutes (see [Server runs scheduled tasks](/docs/wordpress#server-runs-scheduled-tasks)). 7. **Warm-up:** the home page is requested once so the first visitor gets a compiled page. The website uses the WordPress nginx rules: pretty permalinks work without `.htaccess`, and `xmlrpc.php`, PHP files in `wp-content/uploads` and direct access to `wp-config.php`, `readme.html` and `license.txt` are blocked. ## Option 3: bring an existing WordPress site | Where the site is now | Use | | --- | --- | | A cPanel or DirectAdmin server | **Migrate in**. Files, databases (with their users and passwords), email and cron jobs come over together. See [Migrating to ZoPanel](/docs/migration). | | Another ZoPanel server | **Move to another server** on the website's **Overview** tab (administrators). Database names, users and passwords stay the same, so `wp-config.php` needs no change. | | Anywhere else | Copy it by hand, as below. | ### Move a WordPress site by hand 1. On the old host, download a copy of the files (a `.zip` or `.tar.gz` of the WordPress folder) and an SQL dump of the database. 2. Create the website in ZoPanel with the **PHP** type (not **WordPress**, which would install a new copy). 3. Open **File Manager**, go to `domains//public_html`, delete the placeholder `index.html`, upload the archive and click **Extract**. See [File Manager](/docs/file-manager). For large sites, SFTP or rsync is faster (see [SSH access and terminal](/docs/ssh-terminal)). 4. In **Databases**, click **New database**, choose **Link to website**, and store the password. 5. In the database's menu, choose **Import / restore** and upload the dump (`.sql` or `.sql.gz`). 6. Edit `wp-config.php` in the File Manager and set the new values: ```php define( 'DB_NAME', 'alice_shop' ); define( 'DB_USER', 'alice_shop' ); define( 'DB_PASSWORD', 'the password from step 4' ); define( 'DB_HOST', 'localhost' ); ``` 7. If the domain changed, replace the old address in the database from the [terminal](/docs/ssh-terminal), with a dry run first: ```bash cd domains/new-domain.com/public_html wp search-replace 'https://old-domain.com' 'https://new-domain.com' --skip-columns=guid --dry-run wp search-replace 'https://old-domain.com' 'https://new-domain.com' --skip-columns=guid ``` 8. Open the website's **WordPress** tab. ZoPanel reads the installation with wp-cli, so the toolkit works as for a site it installed. 9. In the **Security** card, click **Apply all**. This also switches the website to the WordPress nginx rules. Alternatively, set **PHP & config → Rewrite rules** to **WordPress**. 10. In the **Maintenance** card, turn on **Server runs scheduled tasks (every 5 min, not on visits)**. It is only turned on automatically for installations made by ZoPanel. **Note:** the **Install WordPress** button can still appear on the **Overview** tab of a site you copied by hand. Do not use it: it refuses to run with "WordPress is already installed in this website". ## Sign in to WordPress - **WP Admin** at the top of the website page opens `https:///wp-admin` (shown on websites where ZoPanel installed WordPress, or after **Apply all** in the **Security** card). You can also type that address yourself. - **Log in to WordPress** on the **WordPress** tab signs you in as the first administrator without a password. The panel creates a single-use link that is valid for 60 seconds, and the activity log records it. Allow pop-ups for the panel if nothing opens. If you lose the admin password, use **Reset password** in the **Security** card of the **WordPress** tab. ## First steps after the installation 1. **HTTPS:** on the **SSL** tab, check that a certificate is installed, then turn on **Redirect HTTP to HTTPS**. See [SSL certificates](/docs/ssl). 2. **Page cache:** on **PHP & config**, turn on **Page cache**. Logged-in users, carts, checkout and admin pages are never cached. See [Websites and PHP](/docs/hosting#page-cache). 3. **Permalinks:** in wp-admin, open **Settings → Permalinks** and choose a structure such as **Post name**. No `.htaccess` change is needed. 4. **Security:** on the **WordPress** tab, review the **Security** card and click **Apply all**. 5. **Updates:** in the **Maintenance** card, choose **Safe automatic updates** to update every night with a snapshot and automatic rollback. See [WordPress Toolkit](/docs/wordpress#updates). ## If DNS does not point to the server yet You can install WordPress before switching DNS, but: - WordPress is installed with `http://` as its address, because no certificate can be issued yet. - ZoPanel keeps trying to issue the certificate every hour and installs it as soon as the domain resolves to the server. It then switches WordPress from `http://` to `https://` automatically (a wp-cli search-replace, so links in posts change too; the task log says "WordPress now uses https://…"). If WordPress uses another address (for example a temporary domain), switch it yourself once the certificate is installed, either in wp-admin under **Settings → General** (**WordPress Address (URL)** and **Site Address (URL)**), or in the terminal: ```bash cd domains/example.com/public_html wp search-replace 'http://old-address' 'https://example.com' --skip-columns=guid ``` Once WordPress uses `https://`, turn on **Redirect HTTP to HTTPS** on the **SSL** tab. To preview the site before DNS switches, add a line for the domain to the `hosts` file of your own computer (`/etc/hosts` on macOS and Linux, `C:\Windows\System32\drivers\etc\hosts` on Windows), then remove it when DNS is live: ```text 203.0.113.10 example.com www.example.com ``` ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "the package of alice allows 10 databases" or "database limit reached" | The account's package has no database left. Delete an unused database or raise **Databases** in the package. | | "your Free plan allows 10 databases" | The server's license limit is reached. See [Licensing](/docs/licensing). | | "this feature is not included in your hosting package" | The package leaves out **App installer & WordPress tools**. Ask your provider. | | "WordPress needs a PHP website" | The website is static or a reverse proxy. Set a **PHP version** on **PHP & config** and set **Application port** to 0, or create a new PHP website. | | "WordPress admin username is too short" / "invalid WordPress admin username" | Use 3 to 60 characters: letters, digits, `.`, `_`, `@`, `-`. | | "WordPress admin password: password must be 8-128 characters" or "contains forbidden characters" | Use 8 to 128 characters without a colon. | | "WordPress is already installed in this website" | The document root already has a `wp-config.php`. Use the **WordPress** tab, or remove the old files first. | | "wp core download failed: … cURL error 6/28 …" | The server could not reach wordpress.org after 3 attempts. Check the server's DNS resolver and outgoing HTTPS, then install again from the **Overview** tab. | | "wp-cli is not installed" | The installer could not download wp-cli. Ask the administrator to rerun the installer or install wp-cli to `/usr/local/bin/wp`. | | "SSL could not be issued" in the log | DNS does not point to the server yet, or port 80 is closed. WordPress still works over HTTP: see [If DNS does not point to the server yet](#if-dns-does-not-point-to-the-server-yet). | | The **WordPress** tab says WordPress is not installed | WordPress must be in the website's document root (**PHP & config → Document root**). Reload the page after uploading. | | "no WordPress administrator found" | WordPress has no user with the Administrator role. Create one with `wp user create` in the terminal. | | "This login link has expired." | The one-time link was used or is older than 60 seconds. Click **Log in to WordPress** again. | | "the database of example.com (…) is not one of the account's databases" | Updates and staging need the database to belong to the account. Create the database in **Databases** and point `wp-config.php` to it. | ## Related - [WordPress Toolkit](/docs/wordpress) - [Your first website](/docs/first-website) - [SSL certificates](/docs/ssl) - [Migrating to ZoPanel](/docs/migration) - [File Manager](/docs/file-manager) - [WordPress documentation](https://wordpress.org/documentation/) and [Changing the site URL](https://developer.wordpress.org/advanced-administration/upgrade/migrating/) ### WordPress Toolkit Source: https://zopanel.net/docs/wordpress The **WordPress** tab of a website gathers everything you need to run WordPress: one-click login, safe updates, staging copies, security hardening, plugins and themes. It appears on every PHP website; ZoPanel reads the installation with wp-cli, so it also works for WordPress sites you uploaded or migrated yourself. ## Install WordPress Choose one of these: - **New website:** in **Websites → New website**, pick the **WordPress** type, fill in **Site title**, **Admin email**, **Admin username** and **Admin password**, then **Create website**. - **Existing PHP website:** on the **Overview** tab, under **Applications**, click **Install WordPress**. This card appears while the document root is in `public_html` and no application is installed yet. ZoPanel creates a database and installs the latest WordPress with wp-cli (in Vietnamese when you use the panel in Vietnamese). For a new website with SSL on, the certificate is issued first when the domain already points to the server, so WordPress starts on `https://`; on an existing website, WordPress uses `https://` if the site already has a certificate. A WordPress that started on `http://` is switched to `https://` automatically when its certificate is issued. The account's package must allow one more database. A WordPress installed this way has **Server runs scheduled tasks** turned on automatically (see [below](#server-runs-scheduled-tasks)). For the full installation steps and how to sign in to wp-admin, see [Install WordPress](/docs/wordpress-install). Tip: the admin username defaults to `admin`. Change it before you create the site; the security check flags an administrator named "admin". ## Log in without a password Click **Log in to WordPress**. ZoPanel opens wp-admin as the first administrator, using a one-time link that is valid for 60 seconds and works only once. No password is stored or sent. ## Security hardening The **Security** card checks the recommended settings: | Check | What it means | | --- | --- | | Theme/plugin editor disabled | `DISALLOW_FILE_EDIT` is set, so a stolen admin login cannot edit PHP files. | | Debug mode off | `WP_DEBUG` is off on the live site. | | wp-config.php readable only by the account | The file has mode 600. | | xmlrpc.php, PHP in uploads and wp-config.php blocked | The website uses the WordPress nginx rules. | | No administrator named "admin" | The first name bots try. | | Everything up to date | Core, plugins and themes. | Click **Fix** next to a single item, or **Apply all** to set every recommended option at once (it also rotates the security keys). Note that blocking `xmlrpc.php` disables apps and plugins that rely on XML-RPC. Other buttons on the card: - **Verify file integrity** compares core and plugin files with the official checksums and lists modified files. - **Rotate security keys** generates new salts in `wp-config.php`, which signs every user out. - **Reset password** sets a new password for any WordPress user. ## Updates The header shows whether a core update is available, and the **Plugins** and **Themes** tables show pending updates. - **Update all** runs a *safe* update: ZoPanel takes a snapshot of the files and database, updates, then checks that `/` and `/wp-login.php` still answer without a server error or a PHP "critical error". If the site broke, it is rolled back to the snapshot automatically. - To update only some plugins, select them in the table and click **Update**. - **Automatic updates** in the **Maintenance** card: choose **Safe automatic updates** to run the same snapshot-update-check-rollback cycle every night, or **Off (WordPress defaults)** to leave updates to WordPress. - The **Auto-update** switch on each plugin row controls WordPress's own automatic update for that plugin. If the site already had a problem before the update, ZoPanel notes it in the log and does not roll back for that reason. ## Cores with known vulnerabilities Once a day ZoPanel reads the core version of every WordPress website on the server (from `wp-includes/version.php`, without running PHP) and compares it with WordPress.org's list of releases (`api.wordpress.org/core/stable-check`), which marks every release **latest**, **outdated** (the last release of an older branch) or **insecure** (a release with known vulnerabilities fixed in a later release of its branch). - **Hosting → WordPress** lists the WordPress websites you can see, with their core and its status. A core with known vulnerabilities is shown in red with the release that fixes it, and **Update to X** updates it. **Check now** checks again at once (WordPress.org's list is fetched again when it is over an hour old). - The website's page shows **WordPress X has known vulnerabilities** at the top with the same button. Customers see it on their own websites. - Administrators get **The WordPress of … has known vulnerabilities** under **Needs your attention** on the dashboard. **Update to X** goes to the latest release of the **same branch** (`wp core update --minor`: 7.1.1 to 7.1.3, never 7.2), which is what WordPress's own background updates do, as a safe update: a snapshot of the files and database first, the database update, the health check, and a rollback if the site breaks. A branch without any safe release (very old cores) is offered the newest release instead; update those from the **WordPress** tab after a test on a staging copy. After the update the website is checked again. If WordPress.org cannot be reached, the last list is used; without any list nothing is flagged (no warning, no error). This check is how servers learn about cores installed before a fix, for example those affected by CVE-2026-87902 (listed by CISA as known exploited): their status turns **insecure** as soon as WordPress.org publishes the fixed release. ## Staging copy and publishing to live A staging copy is a full copy of the site (files and database) on another domain, hidden from search engines, where you can test changes. 1. Click **Create staging**. The domain defaults to `staging.`; any domain or subdomain of the account works. 2. Point that name to the server. SSL is issued automatically once DNS resolves. 3. Work on the staging site. Its WordPress tab shows **staging of example.com**. 4. When ready, open the staging site's WordPress tab and click **Publish to live**. Publishing replaces the live site's files (except `wp-config.php`, `.user.ini` and `.maintenance`) and its database with the staging ones. ZoPanel replaces the staging URL with the live URL throughout the database (a wp-cli search-replace), keeps the live site's search-engine visibility setting and flushes caches. A snapshot of the live site is taken first: if the live site breaks after publishing, it is restored automatically. **Clone** makes an independent copy on another domain instead (files, database, URLs replaced), for example to start a new site from an existing one. Staging copies and clones count toward the package's website and database limits. ## Plugins and themes The **Plugins** table lists every plugin with its version, status and pending update. Select plugins to **Update**, **Activate**, **Deactivate** or delete them. The **Themes** list shows the active theme and lets you **Activate** another one. ## Maintenance card | Option | Effect | | --- | --- | | Visible to search engines | WordPress's "Search engine visibility" setting. | | Maintenance mode | Shows WordPress's maintenance page to visitors. | | Debug logging (wp-content/debug.log) | Turns on `WP_DEBUG` and `WP_DEBUG_LOG`, never displaying errors to visitors. Turn it off when you are done. | | Server runs scheduled tasks (every 5 min, not on visits) | See below. | | Flush caches | Runs `wp cache flush` and deletes all transients. | ### Server runs scheduled tasks WordPress normally runs its scheduled tasks (scheduled posts, shop emails, plugin jobs) from visitor requests by calling its own `wp-cron.php`. Quiet sites then run them late or never, busy sites pay for an extra PHP request, and if the domain resolves slowly each call can hold a PHP worker for 10 to 20 seconds. When you turn this option on, ZoPanel: 1. sets `DISABLE_WP_CRON` to `true` in `wp-config.php`; 2. creates a systemd timer that runs the due tasks every 5 minutes with wp-cli (`wp cron event run --due-now`), as the hosting account, inside its resource limits and at low CPU and disk priority. Sites are spread over the interval. Turning it off removes the timer, and removes `DISABLE_WP_CRON` only if ZoPanel added it. A site that had already disabled wp-cron itself keeps its own setting. ## Caching for WordPress Two caches work together. Both are on the **PHP & config** tab: - **Page cache** serves whole pages from nginx to anonymous visitors. Logged-in users, carts, checkout and admin pages are never cached. A small must-use plugin purges the site's cached pages whenever content changes, and **Purge cache** clears them by hand. See [Websites and PHP](/docs/hosting#page-cache). - **Redis object cache** keeps database query results in Redis (with the Redis Object Cache plugin), which helps wp-admin, WooCommerce and logged-in users. Redis must be installed on the server under **Databases**; ZoPanel creates a private Redis database for the site and configures the plugin. ## WordPress not detected? If the tab says WordPress is not installed, check that WordPress is in the website's document root (**PHP & config → Document root**), then reload the page. ### Website tools Source: https://zopanel.net/docs/website-tools The **Tools** tab of a website (**Websites → Manage → Tools**) groups the settings you would otherwise write by hand in `.htaccess` or nginx files. Every change is validated and the nginx configuration is tested before it goes live; if a change is rejected, the previous settings are kept. ## Redirects Send visitors from an old address to a new one. 1. In **Redirects**, click **Add redirect**. 2. Fill in **From path** (for example `/old-page`) and **To URL or path** (for example `https://example.com/new-page` or `/new-page`). 3. Choose the status code: **301** (permanent, the default), **302**, **307** or **308**. 4. Optionally turn on **Whole folder** to redirect everything under the path, and **Keep rest of path** to append the rest of the requested path to the target. 5. Click **Save**. | From path | Whole folder | Keep rest of path | Result | | --- | --- | --- | --- | | `/old-page` | off | – | Only `/old-page` is redirected. | | `/blog` | on | off | `/blog` and everything under it go to the same target. | | `/blog` | on | on | `/blog/post-1` → `/post-1` (query string kept). | | `/` | on | on | The whole site moves to a new domain, keeping paths. | Redirecting the whole site with `/` and **Whole folder** keeps SSL renewal working, because the certificate validation path is never redirected. A website can have up to 500 redirects. ## Password-protected directories Visitors must log in (HTTP basic authentication) to open these folders. PHP keeps running inside them, so you can protect an admin area of an application. 1. In **Password-protected directories**, click **Protect a directory**. 2. Enter the **Directory** as a URL path, for example `/admin` (use `/` for the whole site). 3. Change the **Prompt text** if you like (default `Restricted`). 4. Add one or more users with a **User name** and password (8 to 128 characters). Use **Add user** for more. 5. Click **Save**. When you edit a directory later, leave **Password (empty = keep)** blank to keep a user's current password. Passwords are stored as SHA-512 crypt hashes, never in plain text. Limits: 50 protected directories per website and 100 users per directory. ## Hotlink protection Stop other websites from embedding your images, videos and downloads and using your bandwidth. 1. In **Hotlink protection**, turn on **Enabled**. 2. In **Also allow these domains**, list partner sites or CDNs, separated by commas (for example `partner.com, cdn.example.com`). Their subdomains are allowed too. 3. In **File types**, list the extensions to protect, or leave it empty for the defaults: `jpg, jpeg, png, gif, webp, avif, svg, bmp, mp4, webm, mp3, ogg, pdf, zip`. 4. Click **Save**. Requests from your own domain, its aliases and their subdomains are always allowed, as are direct visits (no referrer). Other referrers get HTTP 403. Page and code files (`php`, `html`, `htm`, `js`, `css`, `json`, `xml`, `txt`) cannot be hotlink-protected, so you cannot break your own site by accident. This card is not shown for proxy websites. ## Custom error pages Show your own page instead of the default error page. Enter a path inside the document root for any of the codes **403**, **404**, **500**, **502** and **503**, for example: ```text 404 → /errors/404.html 503 → /errors/maintenance.html ``` Leave a field empty to keep the default page. Upload the files with the File Manager first. Custom error pages are not available for proxy websites; your application answers its own errors there. ## Upload size The **Upload size** card sets the largest file (or request) the website accepts, in **Maximum upload (MB)**: from 1 MB to 10 GB (10240 MB), 256 MB by default. A larger request is refused with **413 Request Entity Too Large**. Raise it for websites that take big uploads, such as a file-sharing app or large Git pushes. Nextcloud from the App Store is installed with 10 GB. On a PHP website, PHP's own limits apply too: raise `upload_max_filesize` and `post_max_size` in **PHP settings for this website** below. ## PHP settings for this website PHP websites show **PHP settings for this website**. The card reminds you of the limits that come from the package (memory limit and maximum execution time) and the website's upload size (see [Upload size](#upload-size)). | Setting | Accepted values | Example | | --- | --- | --- | | `upload_max_filesize` | 1M up to the website's upload size (256M by default) | `128M` | | `post_max_size` | 1M up to the website's upload size (256M by default) | `128M` | | `max_input_vars` | 100 to 999999 | `5000` | | `max_input_time` | `-1` or 0 to 9999 seconds | `60` | | `session.gc_maxlifetime` | seconds | `1440` | | `date.timezone` | a valid time zone | `Asia/Ho_Chi_Minh` | | `short_open_tag` | default, On or Off | | | `output_buffering` | default, Off or 4096 | | Empty fields keep PHP's default. ZoPanel writes the values to `.user.ini` in the document root, inside a block marked `; BEGIN ZoPanel` … `; END ZoPanel`; lines you added to that file yourself are kept. The account's PHP-FPM pool is reloaded so the change applies at once. `.user.ini` cannot be downloaded by visitors. In Apache mode, `php_value` and `php_flag` lines in `.htaccess` are ignored: use this card instead. ## Web application firewall If the administrator has installed the firewall, each website shows a **Web application firewall** card. It uses ModSecurity with the OWASP Core Rule Set to stop SQL injection, XSS, file inclusion, remote code execution and vulnerability scanners. | Mode | Effect | | --- | --- | | **On (block attacks)** | Matching requests are blocked. | | **Detect only (log)** | Matching requests are logged but allowed. | | **Off** | The firewall does not inspect this website. | Recommended rollout: 1. Set **Detect only (log)** for a few days. 2. Review the events table (time, IP, request and reason). Each event is marked **blocked** or **logged**. 3. If a legitimate request was flagged (a page builder or an import, for example), click **Allow this**. The matching rule IDs are added to **Allowed rules** for this website only. Click a rule in that list to **Remove** the exception. 4. Switch to **On (block attacks)**. Static files such as images, CSS and JavaScript skip the firewall, which saves CPU. **For administrators:** install the firewall in **Security → Web application firewall → Install firewall**, or from **Components**. It is loaded only while at least one website uses it (about 25 MB of RAM per nginx worker). **Apply to all websites** sets one mode on every website at once, and the card shows how many websites block, only log, or have it off. ## .htaccess support (Apache mode) The **.htaccess support (Apache mode)** card on the **Tools** tab switches the website to Apache mode, so `.htaccess` rules work as on cPanel or DirectAdmin. What is supported and what is ignored is described in [Websites and PHP](/docs/hosting#apache-mode-for-htaccess). ### File Manager Source: https://zopanel.net/docs/file-manager The **File Manager** works on a hosting account's home directory from the browser: upload a website, edit a configuration file, unpack an archive or fix permissions without an SFTP client. Every operation runs as the hosting account itself, so files keep the right owner and nothing outside the account's home can be reached. ## Who can use it | You are | What you can open | | --- | --- | | Customer | Your own account. | | Reseller | Your own account and your customers' accounts. | | Administrator | Any hosting account. | | Website member | Not available: members work on shared websites without access to the owner's files. See [Website members](/docs/site-members). | Administrators and resellers choose the account with the account picker at the top right. A package can leave out the **File manager** feature; its customers then get "this feature is not included in your hosting package" (see [Packages and limits](/docs/packages-limits)). While an account is suspended, its files can be browsed and downloaded, but changes are refused with "account is suspended". ## Open the File Manager - Click **File Manager** in the menu. It opens the account's `domains` folder. - Or open a website and click **File Manager** at the top: it opens that website's document root, for example `domains/example.com/public_html`. The breadcrumb at the top shows the current folder. The house icon goes to the top of the home directory; **..** goes up one level. ### What is in the home directory | Folder | Contents | | --- | --- | | `domains//public_html` | Website files (the document root may be a subfolder, such as `public` for Laravel). | | `backups/` | Account backups and database exports (`backups/db`). | | `logs/` | Log files written for the account, such as PHP error logs. | | `tmp/` | Temporary files of the account. | | `.home/` | Private folder for settings and the trash. | The top level of the home directory belongs to the system: you cannot create or delete entries directly in it, only inside its folders. ## Upload files 1. Open the destination folder. 2. Click **Upload** to choose files, **Upload folder** to send a whole folder with its subfolders, or drag files and folders onto the page. | Limit | Value | | --- | --- | | Size of one upload request | 2 GB. The browser sends files in batches of up to 100 files or about 256 MB, so a single file can be up to 2 GB. | | Disk space | An upload that would exceed the package's disk space is refused. | | Server free space | Uploads are refused when the server would have less than 1 GB free. | | Parallel uploads | 2 at a time per account. | | Folder uploads | Up to 32 folder levels. | A file with the same name is overwritten. Uploaded files get permissions 640. **Note:** for larger files or whole sites, upload one `.zip` or `.tar.gz` and extract it on the server, or use [SFTP](/docs/ftp-sftp) or rsync over [SSH](/docs/ssh-terminal). ## Create, edit and view files - **New folder** and **New file** create an entry in the current folder (a new file is suggested as `index.php`). - Click a text file (PHP, HTML, CSS, JavaScript, JSON, `.env`, `.htaccess`, YAML, SQL, logs and similar) to open it in the code editor. Click **Save** or press Ctrl+S (⌘S on macOS). If you close the editor with unsaved changes, the panel asks **Discard unsaved changes?** first. - Files larger than 10 MB cannot be opened in the editor: download them instead. - Click an image to preview it (up to 25 MB). Other files are downloaded when you click them. - Saving keeps the file's existing permissions. ## Manage files Each row's menu (⋯) has: | Action | What it does | | --- | --- | | **Edit** / **View** | Opens a text file in the editor or previews an image. | | **Download** | Downloads the file. Folders cannot be downloaded: compress them first. | | **Extract** | Unpacks an archive (shown for archives). | | **Rename** | Renames the entry in the same folder. | | **Duplicate** | Copies the file or folder under a new name, keeping permissions. | | **Permissions (chmod)** | Opens the permissions dialog. | | **Delete** | Moves the entry to the trash. | Select several entries with the checkboxes to **Compress**, change **Permissions**, **Move** or **Delete** them together. **Move** asks for the destination as a path from the home directory, for example `domains/example.com/public_html`. The destination folder must exist, and an entry of the same name there stops the move. ## Archives **Compress** creates an archive of the selected entries in the current folder. The name defaults to `archive.zip`; a name ending in `.tar.gz` or `.tgz` creates a gzip tarball instead. **Extract** unpacks the archive into the folder that contains it: | Format | Behavior | | --- | --- | | `.zip` | Extracted, existing files with the same name are overwritten. | | `.tar`, `.tar.gz`, `.tgz`, `.tar.bz2`, `.tar.xz` | Extracted; files belong to the account. | | `.gz` (single file) | Decompressed next to the original, which is kept. | Other formats (for example `.rar` or `.7z`) give "unsupported archive format". ## Permissions Websites' PHP runs as the hosting account, so the owner's permissions are what your site uses. The web server reads files through the group. The recommended permissions are **750 for folders and 640 for files**. - **Permissions (chmod)** shows a grid for **Owner**, **Group (web server)** and **Others** with **Read**, **Write** and **Execute / open**, and the numeric mode. - On a folder, tick **Also apply to everything inside** to set separate modes for **Folders** and **Files** below it. **Keep scripts that were executable executable** is on by default. - **Fix permissions** in the toolbar sets 750/640 on the current folder and everything below it, keeping executable scripts executable. Write permission for others (like 777) is never needed here. The dialog warns you if you choose it: installers that ask for 777 work with 750/640. Symbolic links are never followed when changing permissions. ## Search Click **Search** to find entries below the current folder whose name contains the text (at least 2 characters, case-insensitive). Tick **Also search inside files** to search text files up to 2 MB as well. Up to 500 results are shown; click one to open its folder or the file. The trash is not searched. Folders with more than 5,000 entries show only the first 5,000. Use **Search** to reach the others. ## Trash and restore **Delete** outside the trash moves files and folders to the trash, kept in `.home/trash`: 1. Click **Trash** in the toolbar. Each item shows its original path, size and deletion date. 2. Select items and click **Restore** to put them back where they were. If something with the same name exists there, the restore stops with "… already exists: rename or delete it first". 3. To free space, select items and click **Delete … for good**, or click **Empty trash** with nothing selected. Items stay in the trash for 30 days and still count toward the account's disk space. Items older than 30 days are deleted automatically once a day (and whenever the trash is opened). Deleting entries from inside the trash folder removes them permanently. ## Troubleshooting | Message | What to do | | --- | --- | | "not enough disk quota for this upload" | The account's disk space is full. Empty the trash, delete old backups or ask for a larger package. | | "the server is low on disk space" | The server has less than 1 GB free. The administrator must free space. | | "other uploads are still running; wait for them to finish" | Two uploads are already running for the account. Wait for them to finish, then try again. | | "file too large to open in the editor (max 10 MB)" | Download the file, or edit it over SFTP or in the [terminal](/docs/ssh-terminal). | | "cannot download a directory, compress it first" | Select the folder, click **Compress**, then download the archive. | | "cannot delete …" | Entries at the top of the home directory (such as `domains`) cannot be deleted. | | "… cannot go to the trash (…): delete it permanently" | The entry could not be moved into the trash. Remove it permanently over SFTP or in the [terminal](/docs/ssh-terminal). | | "path escapes home directory" | A symbolic link points outside the account. The File Manager does not follow it. | | "target already exists" / "… already exists in the destination" | Choose another name or move the existing entry first. | | Website shows "403 Forbidden" or "permission denied" after an upload | Click **Fix permissions** in the website's folder. | ## Related - [FTP and SFTP](/docs/ftp-sftp) - [SSH access and terminal](/docs/ssh-terminal) - [Your first website](/docs/first-website) - [Install WordPress](/docs/wordpress-install) - [Backups](/docs/backups) - [Packages and limits](/docs/packages-limits) ### Cron jobs Source: https://zopanel.net/docs/cron-jobs **Cron Jobs** run commands on a schedule as the hosting account: a Laravel scheduler every minute, a nightly export, a PHP script that sends reminders. Each account has its own list. The system cron service keeps the schedule (in `/etc/cron.d/zopanel-`) and starts each job as the account, with its permissions, inside the account's slice: the package's CPU, memory and process limits apply to cron jobs as they do to its websites. ## Who can use it Customers manage the cron jobs of their own account. Resellers and administrators choose the account with the picker at the top of the page. Website members do not have access. | Limit | Value | | --- | --- | | Cron jobs per account | Set by the package's **Cron Jobs** limit (0 = unlimited). The installer's packages allow 5 (`Basic`), 20 (`Business`) and 50 (`Pro`). | | Feature | A package can leave out **Cron jobs**; its customers then get "this feature is not included in your hosting package". | | Command length | 1,024 characters, one line. | | Note | 200 characters. | See [Packages and limits](/docs/packages-limits). ## Create a cron job 1. Open **Cron Jobs** in the menu. Administrators and resellers: choose the account. 2. Click **New cron job**. 3. Choose a **Frequency**, or **Custom** to type your own schedule (see below). 4. Check the **Schedule** field. It shows the five-field expression of the chosen frequency. 5. Enter the **Command**, with absolute paths (see [Commands](#commands)). 6. Optionally add a **Note** to remember what the job does. 7. Click **Save**. The schedule is updated at once. To change a job, click the pencil icon, edit it in **Edit cron job** and click **Save**. The **Enabled** switch pauses a job without deleting it. The trash icon deletes it after **Delete this cron job?**. ## Schedule syntax A schedule has five fields separated by single spaces: ```text ┌───────── minute (0-59) │ ┌─────── hour (0-23) │ │ ┌───── day of month (1-31) │ │ │ ┌─── month (1-12) │ │ │ │ ┌─ day of week (0-7, 0 and 7 are Sunday) │ │ │ │ │ * * * * * ``` Each field accepts numbers and `*` (any), `,` (list), `-` (range) and `/` (step). Names such as `MON` or `JAN` are not accepted. | Frequency | Schedule | | --- | --- | | **Every minute** | `* * * * *` | | **Every 5 minutes** | `*/5 * * * *` | | **Every hour** | `0 * * * *` | | **Every day (00:00)** | `0 0 * * *` | | **Every week (Sunday)** | `0 0 * * 0` | | **Every month** | `0 0 1 * *` | | Every 15 minutes | `*/15 * * * *` | | 03:30 every day | `30 3 * * *` | | Every 2 hours on weekdays | `0 */2 * * 1-5` | | 1st and 15th of the month at 06:00 | `0 6 1,15 * *` | The shortcuts `@hourly`, `@daily`, `@weekly`, `@monthly`, `@yearly` and `@reboot` are also accepted. Times are the server's local time zone. **Note:** when both day of month and day of week are restricted (neither is `*`), cron runs the job when either one matches. ## Commands Commands run with `/bin/bash`, as the hosting account, starting in its home directory (`/home/`, which `~` also stands for). The `PATH` is only `/usr/local/bin:/usr/bin:/bin`, so give full paths to programs and files. **Important:** a command cannot contain a line break or the `%` character (cron would treat `%` as a line break). For anything longer, or for `date +%F`, put the commands in a script and run the script: ```bash bash /home/alice/scripts/nightly.sh ``` ### PHP Use the binary of the PHP version your site runs, for example `/usr/bin/php8.3`: ```bash /usr/bin/php8.3 /home/alice/domains/example.com/public_html/cron.php ``` ### WordPress (WP-CLI) wp-cli is installed at `/usr/local/bin/wp`. Run it with your site's PHP version and its folder: ```bash /usr/bin/php8.3 /usr/local/bin/wp --path=/home/alice/domains/example.com/public_html transient delete --expired ``` For WordPress's own scheduled tasks, do not add a cron job: see [WordPress scheduled tasks](#wordpress-scheduled-tasks). ### Laravel scheduler Laravel needs one entry that runs `schedule:run` every minute (schedule `* * * * *`): ```bash cd /home/alice/domains/example.com/public_html && /usr/bin/php8.3 artisan schedule:run >> /dev/null 2>&1 ``` For a Laravel site deployed from Git, use the live release folder `domains//current` instead of `public_html`. See [Git deployments](/docs/git-deploy). ### Node.js Node.js is not on cron's `PATH`. Use the full path of an installed version under `/opt/zopanel/runtimes/node//bin`: ```bash cd /home/alice/scripts && /opt/zopanel/runtimes/node/22/bin/node report.js ``` ### Calling a URL ```bash curl -fsS --max-time 60 https://example.com/tasks/run > /dev/null ``` Running the script directly with PHP is usually better: it is not limited by the web server's timeouts and does not use a PHP worker that visitors need. ## Output and logs The panel does not keep a run history. Choose where the output goes: - **E-mail the output:** at the top of the page, enter an address and click **Save**. Everything a job prints (standard output and errors) is e-mailed to that address after each run. The setting applies to all jobs of the account. Leave it empty to discard output. Sending needs a working mail server on this server (see [Email](/docs/email)). - **Silence a job:** end its command with `> /dev/null 2>&1`. - **Write a log file:** append the output to a file in the account's `logs` folder and read it in the [File Manager](/docs/file-manager): ```bash /usr/bin/php8.3 /home/alice/domains/example.com/public_html/cron.php >> /home/alice/logs/cron-example.log 2>&1 ``` A file you append to keeps growing and counts toward the account's disk space. Use `>` instead of `>>` to keep only the last run. To test a command, run it once in the [terminal](/docs/ssh-terminal) with the same full paths before you schedule it. ## WordPress scheduled tasks WordPress has its own scheduler (wp-cron) for scheduled posts, shop e-mails and plugin jobs. On the website's **WordPress** tab, **Maintenance** card, **Server runs scheduled tasks (every 5 min, not on visits)** makes the server run them every 5 minutes with wp-cli. This is on by default for WordPress installed by ZoPanel. These runs use a separate system timer: they do not appear in **Cron Jobs** and do not count toward the cron job limit. Do not also add a cron job that calls `wp-cron.php`, or the tasks run twice. See [WordPress Toolkit](/docs/wordpress#server-runs-scheduled-tasks). ## Suspension and migration - While an account is suspended, its cron jobs do not run. They are put back when the account is resumed. - Cron jobs in cPanel and DirectAdmin backups are imported with the account (up to 100). See [Migrating to ZoPanel](/docs/migration). ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "cron job limit reached (20)" | The package allows no more jobs. Delete one, combine several in a script, or raise the package's **Cron Jobs** limit. | | "schedule must have 5 fields separated by single spaces" | Use exactly five fields, or one of the `@` shortcuts. | | "invalid schedule field …" | A field contains something other than digits, `*`, `,`, `-` and `/` (for example `MON`). Use numbers. | | "invalid cron command (no newlines or % allowed)" | Remove `%` and line breaks: move the commands into a script. | | "invalid e-mail address" | Enter one plain address, without spaces or quotes. | | "this feature is not included in your hosting package" | The package leaves out **Cron jobs**. Ask your provider. | | The e-mail says "command not found" | Use the full path, for example `/usr/bin/php8.3` or `/opt/zopanel/runtimes/node/22/bin/node`. | | The e-mail says "Permission denied" for a script | Run it through its interpreter (`bash script.sh`, `/usr/bin/php8.3 script.php`) or give it execute permission. | | The job runs at an unexpected hour | Schedules use the server's time zone, not yours. | | No e-mail arrives | The job printed nothing, the address is empty, or the server has no working mail server. Write to a log file instead. | | The job works in the terminal but not in cron | Cron has a minimal `PATH` and no shell profile. Use full paths and `cd` to the right folder first. | | A heavy job is slow or stops halfway ("Killed") | Cron jobs share the package's CPU, memory and process limits with the account's websites. Run heavy jobs at a quiet hour, split them, or raise the package's limits. | ## Related - [WordPress Toolkit](/docs/wordpress) - [SSH access and terminal](/docs/ssh-terminal) - [Git deployments](/docs/git-deploy) - [Laravel](/docs/laravel) - [Packages and limits](/docs/packages-limits) - [Laravel task scheduling](https://laravel.com/docs/scheduling) and [crontab(5) manual](https://manpages.debian.org/bookworm/cron/crontab.5.en.html) ### SSH access and terminal Source: https://zopanel.net/docs/ssh-terminal Hosting accounts can get a command-line shell for git, rsync, Composer, WP-CLI and similar tools, either over SSH from your computer or in the panel's **Terminal**. Both open the same sandbox: the account sees only its own home directory, the rest of the system is read-only, and the package's CPU, memory and process limits apply. Accounts without shell access keep chrooted SFTP for file transfers. ## Enable shell access Shell access is a package option. 1. Open **Packages** and edit the account's package (administrators, or resellers for their own packages). 2. Turn on **Terminal** ("Sandboxed shell in the browser and over SSH (git, rsync, composer); home directory only"). 3. Save. Every account on the package gets SSH shell access and the **Terminal** menu item. | Package options | SSH sign-in gives | | --- | --- | | **SFTP** on, **Terminal** off | SFTP only, chrooted to the home directory. Shell commands are refused. | | **Terminal** on | The sandboxed shell, plus SFTP, scp, rsync and git over SSH in the same sandbox. | | Both off | No SSH access. | A reseller can only turn on **Terminal** in a package when the reseller's own package includes it. See [Packages and limits](/docs/packages-limits). ## Connection details | Setting | Value | | --- | --- | | Host | The panel domain, or the server's IP address | | Port | The server's SSH port (usually 22) | | Username | The hosting account name | | Password | The account's SFTP password, or an SSH key (below) | ```bash ssh alice@server.example.com ``` Signing in to the panel with a new password does not change the SSH password: **My account → Change password** only changes the panel password. ## Add an SSH key Keys are safer than passwords. Add them while signed in to the panel as the hosting account itself: 1. On your computer, create a key if you do not have one: ```bash ssh-keygen -t ed25519 -C "you@laptop" cat ~/.ssh/id_ed25519.pub ``` 2. In the panel, open **My account** and find **SFTP & SSH keys**. 3. Paste the public key (one per line) and click **Add key**. 4. Connect once with the key. Compare the fingerprint your client shows with **Server fingerprints (check on first connection)** on the card. 5. When the key works, turn on **Keys only** to disable password sign-in for the account. Administrators can also add or remove an account's keys and switch **Keys only** for it: open **Accounts**, edit the account, and use the **SFTP & SSH keys** card in the dialog. Accepted keys: Ed25519, ECDSA (P-256, P-384, P-521), RSA of at least 2048 bits and security keys (`sk-ssh-ed25519@openssh.com`, `sk-ecdsa-sha2-nistp256@openssh.com`). An account can have up to 50 keys. Keys are stored by ZoPanel outside the home directory, so `~/.ssh/authorized_keys` in the account has no effect. This way, a hacked website cannot add its own key. Keys added in the panel are restricted: port, agent and X11 forwarding are off. On an account with **Terminal** on, signing in with a key opens the same interactive shell as the password, and keys also work for commands, SFTP, scp, rsync and git. ## What the shell can do The shell starts in `/home/` with bash: | Item | Value | | --- | --- | | Working directory | `/home/` (your `domains/`, `backups/`, `logs/` and `tmp/` are here) | | `$HOME` | `/home//.home`, a private folder for `.ssh`, `.gitconfig` and tool caches. `~` refers to this folder, so use full paths such as `/home/alice/domains/…`. | | `PATH` | The newest installed Node.js, then `/usr/local/bin`, `/usr/bin`, `/bin` | Available tools include: - `git`, `rsync`, `curl`, `zip`, `unzip` and `tar`; - `php` and versioned binaries such as `php8.3`; - `wp` (WP-CLI) and `composer` (when Composer is installed under **Runtimes**); - `node`, `npm`, `pnpm` and `yarn` (when Node.js is installed under **Runtimes**); - the `mysql` client for the account's MariaDB databases. Examples: ```bash # WordPress: list plugins with the site's PHP version cd /home/alice/domains/example.com/public_html php8.3 /usr/local/bin/wp plugin list # Laravel: install dependencies and migrate cd /home/alice/domains/example.com/public_html composer install --no-dev --optimize-autoloader php8.3 artisan migrate --force # Import a database dump mysql -u alice_shop -p alice_shop < /home/alice/backups/db/shop.sql ``` To clone a private repository, create a key in the shell with `ssh-keygen -t ed25519` (it is saved in `~/.ssh`, inside `.home`) and add its public key as a deploy key on GitHub or GitLab. ### Limits of the sandbox - Only the account's own home directory is visible under `/home`. Other accounts do not exist for the shell. - Everything outside the home directory is read-only. `/tmp` is private to the session. - No `sudo`, no setuid programs, no change of user. Packages cannot be installed with `apt`. - No port or agent forwarding: tunnels to the database or other local services are refused. Use [remote access](/docs/databases#remote-access) for databases. - CPU, memory and process limits of the package apply. A command that exceeds the memory limit is stopped inside the account. - Processes end when the session closes. For recurring work use [Cron jobs](/docs/cron-jobs); for a service that keeps running use an app website (see [Node.js and Python apps](/docs/apps-node-python)). - At most 8 SSH sessions per account at once. ## Transfer files over SSH With **Terminal** on, SFTP, scp and rsync run in the same sandbox. Paths are the real ones (`/home/alice/domains/…`), not the chrooted ones (`/domains/…`) that SFTP-only accounts see. ```bash # Upload a folder, deleting files that no longer exist locally rsync -avz --delete ./site/ alice@server.example.com:/home/alice/domains/example.com/public_html/ # Copy a single file scp backup.sql.gz alice@server.example.com:/home/alice/backups/ ``` For SFTP clients such as FileZilla or WinSCP, see [FTP and SFTP](/docs/ftp-sftp). ## Browser terminal 1. Click **Terminal** in the menu. It appears for customers whose package includes **Terminal**, for resellers whose own package includes it, and for full administrators. 2. Administrators and resellers with several accounts: choose the account in the list. 3. Click **Connect**. The badge shows **Connected**. 4. Click **Disconnect** when you are done. Before running a command that looks destructive (for example a recursive delete of the home directory, dropping a whole database or killing every process), the terminal asks for confirmation in **Potentially destructive command**. Click **Run anyway** only if you mean it. Pasted text with several lines is checked the same way. A session closes after 30 minutes without input, after 8 hours in all, when you sign out or change your password, and when the account is suspended. Opening and closing a terminal is recorded in the activity log with the session's duration. Administrators can open the shell of any hosting account, even when its package does not include **Terminal**. ## The server's root shell The panel never opens a root shell, not even for full administrators. A root shell from the web process would turn any bug in the panel into full control of the server. Administrators sign in with SSH: ```bash ssh root@your-server ``` For panel tasks from that shell (reset a password, turn off 2FA, allow an IP), see [Command-line tool](/docs/cli). ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "shell access is not included in this account's package" | The package does not include **Terminal**. Turn it on, or use SFTP. | | "terminal access is not included in this package" | Same, for the browser terminal. | | "the server's root shell is not available in the panel; sign in with SSH" | Expected: use `ssh root@your-server`. | | "account suspended" | The account is suspended. Resume it first. | | "too many SSH sessions at once" | 8 sessions are already open for the account. Close some. | | "The shell service is not available right now." | The ZoPanel agent is not running. Administrators: check `systemctl status zopanel-agent` as root. | | "Permission denied (publickey,password)" | Check the username and password, or that the key is listed under **SFTP & SSH keys**. With **Keys only** on, passwords are refused. After 5 failures in 10 minutes, Fail2ban bans the IP for 1 hour. | | "Read-only file system" | You are writing outside the home directory. Work in `/home/`. | | `~/domains` not found | `~` is `/home//.home` in the shell. Use `/home//domains`. | | "unsupported key type" / "RSA keys must have at least 2048 bits" | Create an Ed25519 key: `ssh-keygen -t ed25519`. | | "add a key before turning password login off" | **Keys only** needs at least one key. | | The **SFTP & SSH keys** card is missing | Sign in as the hosting account itself (administrators: edit the account under **Accounts**). Website members and accounts without hosting space have no keys. | | A background process stopped after logout | Sessions end their processes. Use a cron job or an app website. | ## Related - [FTP and SFTP](/docs/ftp-sftp) - [File Manager](/docs/file-manager) - [Cron jobs](/docs/cron-jobs) - [Packages and limits](/docs/packages-limits) - [Security](/docs/security) - [OpenSSH manual](https://man.openbsd.org/ssh) and [WP-CLI commands](https://developer.wordpress.org/cli/commands/) ### Website members Source: https://zopanel.net/docs/site-members The **Members** tab of a website lets the account owner share that one website with other people. Each member signs in to the panel with their own username and password, sees only the websites shared with them, and never needs the owner's password. Use it for a freelancer who deploys code, an agency that maintains a WordPress site, or a client who only wants to watch traffic. ## Who can add members The **Members** tab appears for the account owner, and for the administrator or reseller who manages the account. Members never see it, so a member cannot invite other people. Each member login belongs to one hosting account. An account can have up to **50** member logins. One login can be given access to several websites of the same account, with a different access level on each. ## Add a member 1. Open **Websites**, click the website and open the **Members** tab. 2. In the **Add member** card, enter a **Username**: 3–16 characters, lowercase letters and digits, starting with a letter. Names starting with `zp` and system names are reserved. 3. Enter an **Email** (optional) and a **Password** of at least 10 characters. 4. Choose the **Access**: **Manage** or **View only** (see below). 5. Click **Add member**. Send the panel address, the username and the password to the person by a safe channel. They sign in on the normal panel sign-in page. ### Give an existing member another website Open the other website's **Members** tab and start typing the username: existing member logins of the account are suggested. When the name matches one, the field shows **Existing team member — just choose the access.** and the email and password fields disappear. Choose the **Access** and click **Add member**. A username that already belongs to another panel user (a customer, a reseller, or a member of another account) is refused with `username already exists`. ## Access levels | | **Manage** | **View only** | | --- | --- | --- | | See the website's tabs, status, uptime, analytics and logs | Yes | Yes | | Issue or remove SSL, change domains, PHP version and settings on the **PHP & config** and **Tools** tabs | Yes | No | | Purge the page cache, block IPs on the **Analytics** tab | Yes | No | | WordPress tab: one-click login, updates, hardening, staging | Yes | No | | Deploy, roll back, start/stop/restart an app on the **Deploy** tab | Yes | No | | See the values of the app's environment variables and the webhook secret | Yes | No (names only, values hidden) | | Change the app's repository and build settings, deploy key or webhook secret | No | No | | Suspend, unsuspend or delete the website | No | No | | Manage the website's members | No | No | | File Manager, databases, email, DNS, FTP, cron, backups of the account | No | No | A view-only member sees the banner **You have view-only access to this website.** Any attempt to change something is refused with `permission denied`. **Note:** members work inside the owner's hosting package. A feature the package leaves out (for example logs or PHP settings) is closed to members too. ## What members see After signing in, a member's menu has only **Websites**, listing the websites shared with them. They can also open **My account** (to change their password, turn on two-factor authentication and sign out other sessions) and **Tasks**. The account menu shows their role as **Team member**. Members do not get the dashboard, the account's resource usage, File Manager, databases, email, backups or any other page of the account. A member cannot create websites. ## Change access or reset a password On the website's **Members** tab, the table lists each member with their email, a **2FA** badge when they use two-factor authentication, and their last sign-in (**Never** if they have not signed in yet). - **Change access:** pick **Manage** or **View only** in the **Access** column. The change applies on the member's next request. - **Reset password:** click the key icon. A random password is proposed; edit it if you like, then click **Save**. The member's current sessions are signed out and their API tokens are revoked. Members change their own password under **My account → Change password**. ## Remove a member 1. On the **Members** tab, click the delete icon on the member's row. 2. Confirm **Remove {name} from this website?** The member loses access to this website at once. If the member has no other website of the account left, the login itself is deleted and its sessions end. Deleting a website also deletes member logins that are left with no website. ## Security notes - **One login per person.** Never share the owner's password: members' actions are recorded under their own name in the activity log (`member.grant`, `member.revoke` and the actions they take). - **Give the least access.** Use **View only** for people who only need to watch traffic or read logs. - **Ask members to turn on 2FA** in **My account → Two-factor authentication**. If the administrator sets **Require two-factor authentication** to **Everyone**, members must set it up at their next sign-in. See [Two-factor authentication and account security](/docs/two-factor). - **Suspension stops members.** While the owner's account is suspended, members cannot open its websites. - **For file access only**, an FTP account limited to the website's folder may fit better than a member. See [FTP and SFTP](/docs/ftp-sftp). ## Troubleshooting | Message or problem | Cause and fix | | --- | --- | | `username already exists` | The name is used by another panel user. Choose a different username. | | `username must be 3-16 chars, lowercase letters/digits, starting with a letter` | Fix the username format. | | `password must be 8-128 characters` | Use a longer password. The form itself asks for at least 10 characters. | | `an account can have at most 50 team members` | Remove member logins that are no longer used. | | `role must be manage or view` | Only the two access levels exist (sent by a script or an old page). | | A member says a website is missing | Check that they are listed on that website's **Members** tab and that the owner's account is not suspended. | | A member gets `permission denied` | They have **View only** access, or the action is reserved for the owner (see the table above). | | A member cannot sign in after a password reset | They must use the new password; all earlier sessions were ended on purpose. | ## Related - [Websites and PHP](/docs/hosting) - [Two-factor authentication and account security](/docs/two-factor) - [Website statistics](/docs/site-statistics) - [Node.js and Python apps](/docs/apps-node-python) - [FTP and SFTP](/docs/ftp-sftp) - [Guide for hosting customers](/docs/customer-guide) ### Website statistics Source: https://zopanel.net/docs/site-statistics ZoPanel shows traffic statistics for every website on its **Analytics** tab, computed from the web server's access logs. There is no tracking script and no cookie, so nothing is added to your pages and visitors are not tracked across sites. The **Resources** page shows what the whole hosting account uses: disk, CPU, memory, monthly bandwidth and the package limits. ## Where the numbers come from nginx writes one line per request to the website's access log, `/var/log/zopanel/sites/.access.log` (standard `combined` format). When you open the **Analytics** tab, ZoPanel reads that log and its rotated copies and counts the lines. Nothing is stored in a separate analytics database. Logs are rotated daily, compressed, and **31 rotated files are kept**, so about a month of history exists at any time and the **30 days** view is complete. On a server updated from an older version, which kept 15 days, the view fills up over the following weeks. Every request is logged, static files included (images, CSS, JS, fonts, videos), so they count in requests and bandwidth. ## Read the Analytics tab 1. Open **Websites**, click the website and open the **Analytics** tab. 2. Choose the period: **Live**, **24h**, **7 days** or **30 days**. **7 days** is the default. ### Summary cards | Card | What it counts | | --- | --- | | **Visitors** | Distinct visitors, where a visitor is one IP address with one browser (user agent). Bots are excluded. | | **Page views** | Successful (2xx or 3xx) requests by people for pages, not for static assets or `/.well-known/` files. The small line shows the total number of requests, bots included. | | **Bandwidth** | Bytes of response bodies sent, for all logged requests (headers are not counted). | | **Errors** | Server errors (5xx) / client errors (4xx), and the number of requests made by bots. | A request counts as a bot when its user agent looks like a crawler or a tool: names containing `bot`, `crawl`, `spider`, `curl`, `wget`, `python-requests`, `Go-http-client`, `headless`, uptime monitors, load-testing tools, or an empty user agent. ### Traffic chart The **Traffic** chart shows **Visitors** (solid) and requests (dashed), per hour for **24h** and per day for **7 days** and **30 days**. ### Top lists | List | Content | | --- | --- | | **Top pages** | The 15 most viewed paths. Query strings are removed, so `/product?id=1` and `/product?id=2` count as `/product`. | | **Referrers** | The 10 most frequent outside sites that sent visitors (host names only). Links from the website's own domain are ignored. | | **Top IPs** | The 10 addresses with the most requests from people, with a block button. | | **Browsers** | Chrome, Safari, Firefox, Edge, Opera, Cốc Cốc, Samsung Internet, Other. | | **Operating systems** | Android, iOS, Windows, macOS, Linux, Other. | | **Status codes** | The 10 most frequent HTTP status codes, bots included. | ### Live view **Live** refreshes every 5 seconds and reads the end of the current log: - **Online now**: distinct visitors (bots excluded) in the last 5 minutes. - **Requests this minute** and **Requests (30 min)**. - **Live traffic**: requests per minute over the last 30 minutes. - **Top IPs (5 minutes)**: the busiest addresses right now, bots included, with a block button. - **Latest requests**: the 50 most recent requests with time, IP, method and path, status, and a **bot** badge. Use it to see a traffic spike, a crawler or an attack as it happens. ## Block an IP address Next to an address in **Top IPs** or **Top IPs (5 minutes)**, click the block icon (**Block this IP on the website**) and confirm. To block an address or range by hand, use the **Blocked IPs on this website** card at the bottom of the tab: enter an IP or a CIDR range such as `198.51.100.0/24` and click **Block**. Click **Unblock** to remove it. nginx answers `403` to every request from a blocked address, on this website only. A website can block up to 500 addresses or ranges. You cannot block the address you are using, and a range that covers every address (`0.0.0.0/0`) is refused. When the administrator has turned on **Websites behind Cloudflare** in **Settings**, ZoPanel sees and blocks the visitor's real IP, not Cloudflare's. Administrators also see **Block this IP on the whole server (firewall)**. It drops every connection from that address to every service (web, SSH, mail); unblock it in **Security → Firewall**. ## Privacy - No script, cookie or fingerprint is added to your pages. The statistics only use what the web server already logs. - Access logs contain visitor IP addresses and user agents, which can be personal data under laws such as the GDPR. They stay on the server and are deleted by the daily rotation after about a month. - Only people who can open the website in the panel see its statistics: the account owner, its administrator or reseller, and members of the website (**View only** members included). See [Website members](/docs/site-members). ## Monthly bandwidth The account's bandwidth is the sum of the **Bandwidth** of all its websites in the current calendar month, from the same access logs, collected every hour. It resets on the 1st of each month. Customers see it as **Bandwidth this month** on the **Resources** page. When the package sets **Monthly bandwidth (MB)**, the customer is warned at 80% and 100%, and the administrator or reseller is told at 100%. What happens past 100% is set by the administrator in **Settings → General → When an account uses up its monthly bandwidth**: **Only notify**, or **Suspend until next month (or a bigger plan)**. A suspension made for bandwidth is lifted automatically on the 1st of the next month or when the package is raised. See [Packages and limits](/docs/packages-limits). ## Account resources **Resources** (in the **Account** menu for customers) shows the package and what the account uses: | Card | Content | | --- | --- | | **Storage and mail** | **Disk space**, **Files (inodes)** when disk quotas are on, and **Emails sent this hour**. Without quotas, disk usage is measured hourly. | | **Right now** | CPU, **Memory** and **Processes** of all websites and apps of the account, plus disk read/write since start and processes stopped for exceeding memory. | | **Plan usage** | Websites, databases, mailboxes, FTP accounts, cron jobs and **Bandwidth this month** against the package limits. | | **Usage history** | CPU (% of one core) and memory over **24 h**, **7 days**, **30 days** or **1 year**: average, and peak (dashed). | | **Disk usage** | Click folders to find what takes space in the home folder. | Bars turn orange at 75% and red at 90% of a limit. Usage history is recorded every 5 minutes; 5-minute points are kept for 3 days, hourly figures for about 400 days. Administrators and resellers open the same page for any account from **Accounts**. **Uptime:** the **Domains** tab of a website shows its availability over 24 hours, 7 and 30 days, and a bar per day for the last 90 days. ZoPanel checks each active website about every 3 minutes. ## Troubleshooting | Problem | Cause and fix | | --- | --- | | **No data yet** | The website has had no logged traffic in the period, or the domain does not point to this server yet. Open the website in a browser and check **Live**. | | Visitors seem low compared with Google Analytics | Bots are excluded, and one IP with one browser counts once (a whole office behind one IP may count as one visitor). JavaScript analytics count differently; neither is "wrong". | | **30 days** shows only about two weeks | The server was updated from a version that kept 15 days of logs; the view fills up within a month (see above). | | Bandwidth looks smaller than expected | Responses cached at a CDN (such as Cloudflare) never reach the server, so they are not counted. | | The tab is slow or times out on a busy website | Reading 30 days of a large log takes time; the panel waits up to 60 seconds. Use **7 days** or **24h**. | | All visitors show Cloudflare addresses | Ask the administrator to turn on **Websites behind Cloudflare** in **Settings**. It applies to new log lines only. | | `this would block your own address (…)` | You tried to block the IP or range you are connected from. | | `invalid IP or range` | Enter one IPv4/IPv6 address or a CIDR range. | | `this feature is not included in your hosting package` on logs | The package leaves out logs; ask your provider. | ## Related - [Websites and PHP](/docs/hosting) - [Website members](/docs/site-members) - [Packages and limits](/docs/packages-limits) - [Performance and capacity](/docs/performance) - [Security](/docs/security) - [Guide for hosting customers](/docs/customer-guide) ## Apps & runtimes ### Node.js and Python apps Source: https://zopanel.net/docs/apps-node-python Server applications (Node.js, Python, Go, Ruby, Java, .NET) run as a service of the hosting account, behind nginx, which handles the domain and SSL. nginx passes every request, static files included, to the app; it serves files from disk by itself only for static and PHP websites, so the app must serve its own CSS, JavaScript and images. ZoPanel builds and starts them through the website's **Deploy** tab, keeps them running, and restarts them if they crash. Step-by-step guides for each language and deployment type: [Node.js](/docs/nodejs), [Python](/docs/python), [Go](/docs/go), [Ruby and Rails](/docs/ruby), [Java](/docs/java), [.NET](/docs/dotnet), [static sites and front-end builds](/docs/static-sites), [Docker deploy](/docs/docker-deploy), [PHP applications](/docs/php-apps) and [Laravel](/docs/laravel). ## Install the runtimes Administrators install language runtimes under **Runtimes**: | Runtime | Versions offered | Used for | | --- | --- | --- | | Node.js | 24, 22, 20, 18 (several side by side) | Next.js, Nuxt, NestJS, Express and front-end builds. pnpm and yarn are included. | | Python | The system Python 3, with virtual environments; other versions (3.10 to 3.14) when uv is installed | Django, Flask, FastAPI | | Go | Latest | Go services | | Composer | Latest | Laravel and Symfony | | Ruby | The system package (one version) | Rails, Rack | | Java | OpenJDK 17, 21 or 25, as packaged for the system (several side by side), with Maven | Spring Boot, Quarkus | | .NET | SDK 8.0, 9.0 and 10.0 (several side by side; only 10.0 on Debian arm64) | ASP.NET Core | If a project asks for a Node.js major version that is not installed (in `.nvmrc`, `.node-version` or `engines.node`), the newest installed version is used. ## Create the website You have two options: - **Git deploy** (recommended): in **Websites → New website**, choose **Git deploy** and enter the repository. See [Git deploy](/docs/git-deploy). - **Node / Proxy**: choose **Node / Proxy** to create a website that forwards every request to an application port, then set up the app on the **Deploy** tab with **Uploaded files (File Manager)**: upload your project to `domains//source` with the File Manager or SFTP and click **Deploy**. ## Ports Your app must listen on `127.0.0.1` at the port given in the `PORT` environment variable. ZoPanel sets it for you: - Each website gets its own base port, shown as **Internal port** on the **Deploy** tab (`127.0.0.1:`). - For blue/green releases, the second slot uses the base port plus 10000. Never hard-code a port: always read `PORT`. - On customer accounts, the proxy port of a website is fixed by ZoPanel and cannot point to another local service. Only administrators can set a different **Application port** on the **PHP & config** tab. Examples: ```js // Node.js (Express) app.listen(process.env.PORT, "127.0.0.1"); ``` ```python # Python: bind the server to $PORT, e.g. in the start command # .venv/bin/gunicorn myproject.wsgi:application --bind 127.0.0.1:$PORT ``` ## Start commands ZoPanel proposes the start command from the project. You can change it in **Build & run → Start command** (one line; chain steps with `&&`). | Framework | Proposed start command | | --- | --- | | Next.js | `npm run start` (or `npx next start`) | | Nuxt | `node .output/server/index.mjs` | | NestJS | `npm run start:prod` or `node dist/main` | | Express, Fastify, Koa, Hono | `npm run start`, or `node
` / `server.js` / `index.js` / `app.js` | | Django | `.venv/bin/gunicorn .wsgi:application --bind 127.0.0.1:$PORT` | | FastAPI | `.venv/bin/uvicorn main:app --host 127.0.0.1 --port $PORT` | | Flask | `.venv/bin/gunicorn app:app --bind 127.0.0.1:$PORT` | | Go | `./bin/` (built with `go build -o bin/…`) | | Any project with a Procfile | the `web:` line | For Python, the install command creates a virtual environment in `.venv` and installs `requirements.txt`, `pyproject.toml` or `Pipfile`; gunicorn or uvicorn is added when it is missing. For Django, add your domain to `ALLOWED_HOSTS` (or read it from an environment variable). Put secrets and settings in **Environment variables**. They are available during the build and at runtime, and members with view-only access cannot see their values. ## Zero-downtime (blue/green) releases Every server app has two slots. A new release: 1. is built in its own release folder; 2. starts in the idle slot, on that slot's port; 3. must answer on the **Health check path** (default `/`) with a status below 500 within 90 seconds; 4. only then receives traffic: nginx is reloaded gracefully to the new slot, and the old slot is stopped. If the new release fails to build, exits during startup or never becomes healthy, the running release is not touched. **Rollback** in the **Releases** card (the last 5 builds are kept) uses the same mechanism. Because two releases briefly run side by side, keep state that must survive a release in the database, Redis or a **Persistent path** (for example `uploads` or `.env`), not inside the release folder. A persistent `.env` receives the panel's **Environment variables** on each deploy; lines you added to it by hand are kept. ## Use every CPU core (Node.js) Node.js runs on a single core. For Node.js server apps, the **Use every CPU core** card can run one process per CPU of the package without code changes, which serves several times more requests. Turn on **One process per CPU core (redeploys to apply)** only if the app keeps no state in memory: keep sessions, cache and websockets in Redis or a database. ## Start, stop and restart The status card on the **Deploy** tab shows the app's state, framework, runtime and internal port, with buttons to **Deploy now**, **Restart**, stop and start the app. The service restarts automatically if the process exits. Resource usage counts toward the account's package: memory, CPU and processes of all websites and apps are shown under **Resources**. ## Logs - **Application output** on the **Deploy** tab shows the latest 400 lines written by the app (stdout and stderr, both slots). Turn on **Live** to follow it. - The build log of every deployment is in **Tasks**. - The **Logs** tab shows nginx's access and error logs. A 502 error there usually means the app is not listening on `$PORT`; **Run diagnostics** detects this and suggests a fix. ## Troubleshooting | Symptom | What to check | | --- | --- | | "The app did not respond on port … within 90s" | The app must listen on `127.0.0.1:$PORT`, not a fixed port. | | "The app exited during startup" | Read **Application output**: usually a missing environment variable or dependency. | | "Node.js is not installed — install it under Runtimes" | Ask the administrator to install a Node.js version. | | Health check returns 404 or a redirect | Any status below 500 passes. A 5xx means the app is broken; set **Health check path** to a route that answers quickly. | ### Git deploy Source: https://zopanel.net/docs/git-deploy Git deploy builds and runs your code straight from a repository. ZoPanel detects the framework, proposes install, build and start commands, builds in a sandbox limited to the account's CPU and memory, and only switches traffic to the new release after it passes a health check. If anything fails, the previous release keeps running. ## Create a website from Git 1. Open **Websites → New website** and choose the **Git deploy** type. 2. Enter the **Repository URL**, the **Branch** (default `main`) and, for monorepos, the **Root directory** (for example `apps/web`). 3. Keep **Free SSL (Let's Encrypt)** on and click **Create website**. The first deployment starts immediately. When it has finished, ZoPanel issues the SSL certificate in the same task, so the two never collide. You can also deploy into an existing website from its **Deploy** tab. ### Repository URLs | Form | Example | | --- | --- | | Public HTTPS | `https://github.com/owner/repo` | | SSH (private repositories) | `git@github.com:owner/repo.git` or `ssh://git@git.example.com:2222/owner/repo` | The repository host must be a public address. For a private repository, open **Deploy → Deploy key (private repositories)**, click **Show deploy key**, add that public key to the repository as a read-only deploy key, and use the `git@…` URL. Other sources in the **Source** list: **Uploaded files (File Manager)**, where you upload the project to `domains//source` with the File Manager or SFTP, and **Ready-made Docker image**. ## Framework detection On every deploy (unless you turn **Auto-detect** off), ZoPanel inspects the repository and fills in the build settings. The first match wins: | Found in the repository | Detected as | | --- | --- | | `composer.json` (and no Node server framework) | Laravel (`artisan` or `laravel/framework`), Symfony, or PHP (Composer). Front-end assets are built with npm when `package.json` has a `build` script. | | `package.json` without a `start` script or Node server framework, plus Python web app markers (`manage.py`, or `django`, `flask`, `fastapi`, `uvicorn` or `gunicorn` in `requirements.txt`, `pyproject.toml` or `Pipfile`) | Django, FastAPI, Flask or Python. Front-end assets are built with npm when `package.json` has a `build` script. | | `package.json` | Next.js, TanStack Start, Nuxt, Remix / React Router, SvelteKit, Astro, NestJS, Gatsby, Angular, Create React App, Docusaurus, VitePress, Vite (React/Vue/Svelte), or a Node.js server (Express, Fastify, Koa, Hono…) | | `wp-config-sample.php` + `wp-login.php` | WordPress | | `Gemfile` | Ruby on Rails, Rack (Sinatra, Hanami…) or Ruby | | `pom.xml`, `build.gradle` | Java, Spring Boot or Quarkus | | `*.csproj` | .NET / ASP.NET Core | | `manage.py`, `requirements.txt`, `pyproject.toml`, `Pipfile` | Django, FastAPI, Flask or Python | | `go.mod` | Go | | `index.php` / `index.html` | PHP / static HTML | | `Dockerfile` only | Dockerfile (container) | A few details worth knowing: - **Package manager:** `pnpm-lock.yaml` → `pnpm install --frozen-lockfile`, `yarn.lock` → `yarn install --frozen-lockfile`, `package-lock.json` → `npm ci`, otherwise `npm install`. - **Node.js version:** taken from `.nvmrc`, `.node-version` or `engines.node`. If that major version is not installed, the newest installed one is used. - **Static exports:** Next.js with `output: 'export'`, Astro without `@astrojs/node`, SvelteKit with `adapter-static`, Vite, Angular and similar builds are served as static sites from their output folder. - **Procfile:** a `web:` line always provides the start command. - **TanStack Start** (the stack of Lovable projects created since May 2026) runs as a server app: the build runs with `NITRO_PRESET=node-server` (unless you set `NITRO_PRESET` yourself) and the app starts with `node .output/server/index.mjs`, or the project's `start` script. The project needs Nitro (`nitro` in `package.json`); without it the detection says so. Before ZoPanel 0.4.35 these projects were taken for static Vite sites. - **Single-page apps:** a new website deployed from Vite, Create React App or Angular gets the [single-page app fallback](/docs/static-sites#single-page-apps-client-side-routing), so its client-side routes load on a direct visit. - **Laravel:** an `APP_KEY` is generated if missing, `storage` and `.env` are kept between releases, and sessions and cache use the account's Redis when it is available. Click **Analyze repository** to see the detection before you deploy, then **Use these settings and customize** if you want to change them. ## Build and run settings The **Build & run** card shows what will run: | Field | Notes | | --- | --- | | Runtime / Version | node, python, go, php, ruby, java, dotnet, static or docker. **Latest installed** uses the newest version on the server. | | Type | **Server app (process)**, **Static site**, **PHP (PHP-FPM)** or **Container (Dockerfile)**. | | Install command | For example `npm ci` or `composer install --no-dev --optimize-autoloader --no-interaction`. | | Build command | For example `npm run build`. Chain several commands with `&&` on a single line. | | Start command | Server apps only. The app must listen on `127.0.0.1:$PORT`. | | Output directory / Document root | Folder served for static and PHP sites, such as `dist` or `public`. | | Persistent paths | Kept between releases, such as `storage`, `uploads` or `.env`. | | Health check path | Must answer with a status below 500 before the release goes live. Default `/`. | **Environment variables** are available during the build and at runtime; `PORT` is set automatically. Use **Paste .env** to add many at once (up to 200 variables, single-line values). When `.env` is a **Persistent path**, each deploy also merges the variables into `shared/.env`: lines that set them are updated, missing ones are added, and lines you added by hand are kept. Container (Dockerfile) mode must first be enabled once on the server by an administrator: ```bash zopanel ctl feature enable custom-docker ``` The account's package must also allow **Own Docker apps** (see [App Store and S3 storage](/docs/apps)). ## How a deployment runs 1. The code is fetched into a new release folder: `domains//releases//`. 2. Install and build commands run as the hosting account through systemd, inside the account's CPU and memory limits, unable to write outside its home. 3. Server apps start in the idle slot on their own port. ZoPanel waits up to 90 seconds for the health check path to answer. 4. nginx switches to the new release (a graceful reload), then the previous process is stopped. `current` points to the live release. Each deployment is listed under **Deployments** with its commit, trigger (**Manual**, **Git push** or **Created**) and status. If a deployment fails, the owner gets a **Deployment failed** notification. ## Automatic deploys on push 1. On the **Deploy** tab, turn on **Deploy when main is pushed** in the **Automatic deploys** card. 2. Copy the **Payload URL** (`https://:8888/api/hooks/deploy/`) and the **Secret**. 3. Add the webhook in your Git host: - **GitHub:** Settings → Webhooks → paste the URL, content type `application/json`, and the secret. - **GitLab / Gitea:** paste the URL and put the secret in **Secret token**. ZoPanel verifies the signature (GitHub's `X-Hub-Signature-256`) or the token header (GitLab, Gitea); the secret is never accepted in the URL. Only pushes to the configured branch deploy. Duplicate deliveries are ignored, and at most one webhook deploy starts per 15 seconds, never while another deployment is running. GitHub's ping event answers `pong`. **Regenerate secret** replaces the secret; update the webhook in your Git host afterwards. ### Deploy from CI with an API token With a Pro license, create an API token in **My account → API tokens** and trigger a deployment from any CI system: ```bash curl -X POST \ -H "Authorization: Bearer zpat_..." \ https://panel.example.com:8888/api/sites//app/deploy ``` ## Rollback The **Releases** card keeps the last 5 builds. Click **Rollback** on any of them: server apps are started in the idle slot and switched over after the health check, exactly like a deployment, so rolling back causes no downtime. ## Logs - **Deploy tab → Application output** shows the latest output of the running app; turn on **Live** to follow it. - Each deployment's build log is kept in **Tasks**. - The website's **Logs** tab shows the nginx access and error logs, and **Run diagnostics** explains recent errors. ### Node.js apps Source: https://zopanel.net/docs/nodejs ZoPanel runs a Node.js server as a systemd service of the hosting account, behind nginx, which handles the domain, SSL and request limits. Use this page when your project has a `package.json` and runs a server process. For front-end builds that produce only static files (Vite, Create React App, Angular, Next.js static export), see [Static sites](/docs/static-sites). For the general deployment pipeline shared by all languages, see [Git deploy](/docs/git-deploy). ## Prerequisites - At least one Node.js version installed on the server (the installer adds Node.js 22 by default). - A website of type **Git deploy**, or any website with its **Deploy** tab (for example **Node / Proxy**). - The account's package must include **Git deploy & apps**. Otherwise the panel answers "this feature is not included in your hosting package". ## Install Node.js versions (administrator) 1. Open **Runtimes** in the admin menu. 2. Under **Other runtimes**, find the **Node.js** card. 3. Click **Node 26**, **Node 24**, **Node 22**, **Node 20** or **Node 18**. Several versions can be installed side by side. ZoPanel downloads the release of that major version pinned in this ZoPanel release from nodejs.org, verifies its SHA-256 checksum, installs it in `/opt/zopanel/runtimes/node/` and adds pnpm and yarn. Installed versions can be removed from the same card. ### Supported versions | Major | Release in ZoPanel 0.4.27 | Status upstream | Security fixes | | --- | --- | --- | --- | | 26 | 26.12.1 | Current, becomes LTS on 28 October 2026 | until April 2029 | | 24 | 24.22.1 | Maintenance LTS | until April 2028 | | 22 | 22.23.4 | Maintenance LTS | until April 2027 | | 20 | 20.20.2 | **End of life** (30 April 2026) | none | | 18 | 18.20.8 | **End of life** (30 April 2025) | none | Dates are from the official [Node.js release schedule](https://github.com/nodejs/Release#release-schedule). Use 24 (or 26 once it is LTS) for new projects. Node.js 18 and 20 stay installable for apps that still need them, but they get no security fixes: the **Runtimes** card marks them *end of life*, an app running one shows "Node.js X has reached end of life and gets no security fixes; switch to 22 or 24" on its **Deploy** tab, and the Security Center lists those websites. ZoPanel never moves an app to another major version by itself. ### Security updates When a ZoPanel update moves the release of a major version (a Node.js security release), every installed major older than its new release is upgraded in place a couple of minutes after the panel restarts: 1. The new build is downloaded and checked against its pinned SHA-256, unpacked beside the installed one and must run and report the expected version; pnpm and yarn are added to it. 2. It replaces the installed one in a single atomic rename, so `/opt/zopanel/runtimes/node/` never points at a half-written tree. If the new `node` does not run from its final place, the previous build is put back. 3. The apps on that major that are running are restarted the way a deploy switches releases: the current release starts in the idle slot on the new build and takes the traffic once its health check passes, so visitors see no error. Stopped and suspended apps start on the new build the next time they start. The task appears under **Tasks** ("Node.js security update") and in the activity log ("Node.js security update installed", "Restarted an app on the patched Node.js"). If the download fails (no access to nodejs.org, for example), the installed version stays and keeps running, the Security Center shows **Node.js has the latest security fixes** as failed with the error, the dashboard lists it under **Needs your attention**, and ZoPanel tries again after a day or at the next restart of the panel. Global npm packages you installed by hand into a runtime (other than pnpm and yarn) are not carried over to the new build: the task log names them so you can install them again. ### Which version an app uses | Source (first found wins) | Example | Result | | --- | --- | --- | | `.nvmrc` | `22` or `v22.11.0` | major 22 | | `.node-version` | `24.1.0` | major 24 | | `engines.node` in `package.json` | `">=20"` | major 20 (the first number) | | none of the above | | the newest installed version | If the requested major version is not installed, the newest installed version is used. You can also pin a version yourself: turn **Auto-detect** off in the **Build & run** card and pick it under **Version** (**Latest installed** = the newest one). **Tip:** `engines.node: ">=18"` selects Node.js 18 when it is installed. Write the major you actually want in `.nvmrc`. ## Detection On every deploy, unless **Auto-detect** is off, ZoPanel reads `package.json` and fills in the build settings. A project with `composer.json` is treated as PHP unless it depends on a Node server framework. Likewise, a Python web app (with `manage.py`, or `django`, `flask`, `fastapi`, `uvicorn` or `gunicorn` in its Python dependency files) is treated as Python when `package.json` has neither a `start` script nor a Node server framework; see [Python apps](/docs/python). **Package manager:** `pnpm-lock.yaml` (or `"packageManager": "pnpm@…"`) → `pnpm install --frozen-lockfile`; `yarn.lock` (or `yarn@…`) → `yarn install --frozen-lockfile`; `package-lock.json` or `npm-shrinkwrap.json` → `npm ci`; otherwise `npm install`. A bun lockfile is installed with `npm install`. The build command is ` run build` when a `build` script exists. | Dependency in package.json | Detected as | Proposed start command | | --- | --- | --- | | `next` | Next.js | `start` script, else `npx next start` | | `nuxt` | Nuxt | `node .output/server/index.mjs` | | `@remix-run/serve`, `@react-router/serve`, `@remix-run/node` | Remix / React Router | `start` script, else `npx remix-serve build/index.js` | | `@sveltejs/kit` with `adapter-node` | SvelteKit | `node build` | | `astro` with `@astrojs/node` | Astro | `node ./dist/server/entry.mjs` | | `@nestjs/core` | NestJS | `npm run start:prod` if that script exists, else `node dist/main` | | `express`, `fastify`, `koa`, `hono`, or anything else | Express / Fastify / Koa / Hono / Node.js | `start` script, else `node
`, `node server.js`, `node index.js` or `node app.js` | Next.js with `output: 'export'`, Astro without `@astrojs/node`, SvelteKit with `adapter-static`, and Vite projects without a `start` script are deployed as static sites. A `Procfile` with a `web:` line always provides the start command. Click **Analyze repository** on the **Deploy** tab to see the result before deploying, then **Use these settings and customize** to edit it. Notes such as "Could not find a start script; set the start command manually" appear under the settings. ## Deploy an app 1. Open **Websites → New website**, choose **Git deploy**, enter the **Repository URL**, **Branch** and, for monorepos, the **Root directory**, then click **Create website**. 2. Wait for the first deployment in the task log. ZoPanel clones the code, runs the install and build commands, starts the app and switches traffic to it once it is healthy. 3. To change commands, open the **Deploy** tab, turn **Auto-detect** off in **Build & run**, edit the fields and click **Save & deploy**. To deploy without Git, choose **Uploaded files (File Manager)** under **Source**, upload the project to `domains//source` and click **Deploy**. ## PORT and HOST The app must listen on `127.0.0.1` at the port in the `PORT` environment variable. ZoPanel sets `PORT` (different for each blue/green slot), `HOST=127.0.0.1` and `HOSTNAME=127.0.0.1`; you cannot override them. ```js // Express const port = process.env.PORT || 3000; app.listen(port, "127.0.0.1"); ``` ```ts // NestJS: main.ts await app.listen(process.env.PORT ?? 3000, "127.0.0.1"); ``` `next start`, Nuxt's server output, SvelteKit's `adapter-node` and Astro's `@astrojs/node` read `PORT` on their own. Never hard-code a port. Next.js with `output: "standalone"` is started with `node .next/standalone/server.js` (copy `public` and `.next/static` into `.next/standalone` in the build command). That `server.js` reads the address from `HOSTNAME`, not `HOST`, which is why ZoPanel sets both. ## Environment variables Add variables in the **Environment variables** card, or click **Paste .env** to paste many at once. Then click **Save & redeploy**. - Up to 200 variables. Names use letters, digits and `_` and cannot start with a digit; values are a single line of up to 8,192 characters. - Variables are available to the install and build commands and at runtime. Members with view-only access see the names, not the values. - `NODE_ENV=production` is set for the running app only. During the build it is not set, so `npm ci` still installs `devDependencies` (TypeScript, Vite…). **Important:** if you add `NODE_ENV=production` yourself, it also applies to the build and npm skips `devDependencies`, which usually breaks the build. - `CI=true` is set during the build. ## Persistent paths Each deployment builds into a new folder under `domains//releases/`, so files the app writes there disappear with the next release. List folders or files to keep in **Persistent paths**, separated by commas, for example `uploads, .env`. - They are stored in `domains//shared/` and linked into every release. On the first deploy, content already in the repository at that path is copied there. - Names starting with `.env` are treated as files, everything else as folders. - **Important:** when `.env` is a persistent path and the website has environment variables, ZoPanel rewrites `shared/.env` from those variables on every deploy. Keep values in one place. ## Cluster mode (every CPU core) A Node.js process uses one CPU core. The **Use every CPU core** card (Node.js server apps only) starts one worker per CPU the package allows, up to 16, without code changes: ZoPanel preloads a small helper with Node's `cluster` module, and the workers share the port. 1. Make sure the app keeps no state in memory: sessions, caches, rate-limit counters and websocket rooms must live in Redis or a database. 2. Turn on **One process per CPU core (redeploys to apply)**. Changing the switch starts a deployment. A crashed worker is restarted after one second; after more than 20 quick crashes the app stops with `[zopanel] workers keep crashing, stopping` in the output. To use fewer workers, set `ZP_CLUSTER_WORKERS` in the environment variables. ## Zero-downtime deploys and rollback Every server app has two slots. A new release starts in the idle slot on its own port and must answer the **Health check path** (default `/`) with an HTTP status below 500 within 90 seconds. Only then does nginx switch to it; the previous process is stopped a few seconds later, so requests in flight finish. A release that fails to build, exits or never becomes healthy is discarded and the live one keeps running. The **Releases** card keeps the last 5 builds. **Rollback** starts the chosen release in the idle slot with the current settings and switches after the health check, without downtime. It does not rebuild. **Note:** during a switch both releases run at the same time for a few seconds, which also doubles memory use for that moment. ## Logs - **Application output** on the **Deploy** tab shows the last 400 lines of stdout and stderr from both slots. Turn on **Live** to follow it. - The build log of each deployment is in **Tasks**, or click **View log** in **Deployments**. - The website's **Logs** tab shows nginx's access and error logs. ## Memory and CPU limits The app runs inside the hosting account's resource group, so the package's RAM, CPU and process limits apply to all its websites together. The status card shows the app's current **RAM**. If the account runs out of memory, the kernel stops the process and systemd restarts it after one second. To give V8 a heap limit below the package's memory, add an environment variable: ```text NODE_OPTIONS=--max-old-space-size=384 ``` ## WebSockets nginx forwards the `Upgrade` and `Connection` headers, so WebSockets and Server-Sent Events work without extra settings. Proxy buffering is off and a connection idle for 300 seconds is closed, so send a ping or heartbeat more often than that. With cluster mode on, use a shared adapter (for example Socket.IO's Redis adapter) and the WebSocket transport, because each worker holds its own connections. ## Troubleshooting | Message or symptom | Cause and fix | | --- | --- | | `the app did not respond on port … within 90s (it must listen on $PORT)` | The app listens on a fixed port or crashed before listening. Read `process.env.PORT`. The last 25 lines of output are printed in the task log. | | `the app exited during startup` | Open **Application output**: usually a missing environment variable, a missing build (`.next` not found) or a module that failed to load. | | `Node.js is not installed — install it under Runtimes` | No Node.js version on the server. An administrator installs one under **Runtimes**. | | `install failed: …` / `build failed: …` | The command failed; the task log shows its output. Check that the lockfile matches `package.json` (`npm ci` refuses a mismatch). | | `a start command is required for server apps` | Set **Start command**, or switch **Type** to **Static site** for a front-end build. | | `start command must be a single line (chain commands with &&)` | Commands are one line, up to 2,000 characters. | | `port … is already in use by another process (uid …); try again in a few seconds` | The previous process is still stopping. Deploy again after a few seconds. | | `a deployment of this app is already running` | Wait for the current deployment to finish. | | 502 or the busy page after a deploy | The process stopped later (for example out of memory). Check **Application output** and the account's memory under **Resources**. | | Build is killed or very slow | Builds share the package's CPU and memory. Raise the package's RAM, or reduce the build's memory with `NODE_OPTIONS`. | ## Related - [Git deploy](/docs/git-deploy) - [Node.js and Python apps](/docs/apps-node-python) - [Static sites and front-end builds](/docs/static-sites) - [Packages and limits](/docs/packages-limits) - [Next.js deployment docs](https://nextjs.org/docs/app/getting-started/deploying) - [Node.js release schedule](https://nodejs.org/en/about/previous-releases) ### Python apps Source: https://zopanel.net/docs/python ZoPanel runs Python web apps as a service of the hosting account, behind nginx. Each release gets its own virtual environment in `.venv`, the app server (gunicorn or uvicorn) is added when it is missing, and the number of workers follows the package's CPU and memory. This page covers what is specific to Python; the deployment pipeline itself is described in [Git deploy](/docs/git-deploy). ## Prerequisites - The Python toolchain on the server. The installer adds it by default; otherwise an administrator opens **Runtimes**, finds the **Python** card under **Other runtimes** and clicks **Install**. This installs `python3`, `python3-venv`, `python3-pip`, `python3-dev`, `build-essential`, `libpq-dev` and `pkg-config`. - A website of type **Git deploy**, or any website with its **Deploy** tab. - The account's package must include **Git deploy & apps**. ### Python version By default apps use the Python 3 that ships with the operating system: | System | Python | | --- | --- | | Ubuntu 22.04 | 3.10 | | Ubuntu 24.04 | 3.12 | | Debian 12 | 3.11 | | Debian 13 | 3.13 | To build apps with another Python, an administrator installs **uv** under **Runtimes** (the **uv (Python versions)** card). ZoPanel downloads the uv release and checks it against the SHA-256 checksum published with it. Then: - The app's **Version** selects the Python. Auto-detect takes it from `.python-version` (`3.12` or `3.12.4` both mean 3.12); with **Auto-detect** off, pick it under **Version** (3.10 to 3.14 are listed). - During the build, uv installs that Python for the hosting account, as that account, in its home folder (about 100 MB per version, downloaded once and reused by later builds). uv checks each download against the checksum recorded in uv itself. The `python3 -m venv .venv` of the install command then creates the virtual environment with it. - The build log says which Python is used, for example "Using Python 3.13 (managed by uv; the system Python is 3.12)" or "Using the system Python 3.12". Without uv, a `.python-version` that asks for another version is ignored, and the build log says so: "Python 3.13 was requested (.python-version or Version), but only the system Python 3.12 is available: building with 3.12…". Values uv cannot install (for example `pypy3.10`) are also ignored with a note. For an interpreter neither option provides, deploy with a Dockerfile (see [Docker deploy](/docs/docker-deploy)). ## Detection A repository is treated as Python when it contains `manage.py`, `requirements.txt`, `pyproject.toml` or `Pipfile`, and none of the files checked earlier: `package.json`, `composer.json`, `Gemfile`, `pom.xml`/`build.gradle` or a `*.csproj`. A Python web app that also has a `package.json` for its front-end tooling (Tailwind, Vite, esbuild) is still detected as Python when both are true: - the repository has `manage.py`, or `requirements.txt`, `pyproject.toml` or `Pipfile` names `django`, `flask`, `fastapi`, `uvicorn` or `gunicorn`; - `package.json` has no `start` script and no Node server framework (Next.js, Nuxt, NestJS, Express, Fastify, Koa, Hono, Remix, SvelteKit, Astro). If `package.json` has a `build` script, the assets are built first: `npm ci && npm run build` (or `npm install && npm run build` without `package-lock.json`) is put in front of the build command, and Node.js must be installed under **Runtimes**. Otherwise the repository is detected as Node.js: turn **Auto-detect** off and set **Runtime** to `python` and the commands below yourself. ### Install command | File found | Install command | | --- | --- | | `requirements.txt` | `python3 -m venv .venv && .venv/bin/pip install --upgrade pip -q && .venv/bin/pip install -r requirements.txt` | | `pyproject.toml` | `python3 -m venv .venv && .venv/bin/pip install --upgrade pip -q && .venv/bin/pip install .` | | `Pipfile` | `python3 -m venv .venv && .venv/bin/pip install pipenv -q && .venv/bin/pipenv install --deploy --system` | When the dependency files do not mention the app server the framework needs, ` && .venv/bin/pip install gunicorn` (Django, Flask) or ` && .venv/bin/pip install uvicorn` (FastAPI) is appended. pip's download cache is kept in the account, so later builds are faster. ### Framework and start command | Detected when | Framework | Proposed start command | | --- | --- | --- | | `manage.py` exists, or `django` is in the dependencies | Django | `.venv/bin/gunicorn .wsgi:application --bind 127.0.0.1:$PORT` | | `fastapi` in the dependencies | FastAPI | `.venv/bin/uvicorn : --host 127.0.0.1 --port $PORT` | | `flask` in the dependencies | Flask | `.venv/bin/gunicorn : --bind 127.0.0.1:$PORT` | | otherwise | Python | `.venv/bin/python main.py` (or `app.py`, `server.py`) | - **Django:** `` is the first folder that contains `wsgi.py` (`config` if none). The build command is `.venv/bin/python manage.py collectstatic --noinput || true`. - **FastAPI and Flask:** ZoPanel looks for a line such as `app = FastAPI(` or `app = Flask(` in `main.py`, `app.py`, `server.py`, `app/main.py`, `src/main.py`, `wsgi.py` or `api.py`, and uses it as `module:variable` (for example `app.main:app`). If none is found, `main:app` is used. - A `Procfile` with a `web:` line always provides the start command. Click **Analyze repository** on the **Deploy** tab to check the result before deploying. ## Deploy an app 1. Open **Websites → New website**, choose **Git deploy**, enter the **Repository URL**, **Branch** and, if the app is in a subfolder, the **Root directory**. Click **Create website**. 2. Add your settings (database URL, secret key, allowed hosts) in **Environment variables** on the **Deploy** tab and click **Save & redeploy**. 3. To change a command, turn **Auto-detect** off in **Build & run**, edit it and click **Save & deploy**. ## Runtime environment The start command runs from the release folder with: | Variable | Value | | --- | --- | | `PORT` | The slot's port. Bind to `127.0.0.1:$PORT`. | | `HOST` | `127.0.0.1` | | `VIRTUAL_ENV`, `PATH` | `.venv` of the release, first in `PATH`, so `gunicorn` and `python` resolve to the virtual environment. | | `PYTHONUNBUFFERED` | `1`, so `print()` and logging appear in the output at once. | | `WEB_CONCURRENCY` | Number of workers, unless you set it: 2 × CPUs the package allows + 1, at most one per 128 MB of the package's memory (minimum 2), maximum 32. | Both [gunicorn](https://docs.gunicorn.org/en/stable/settings.html#workers) and [uvicorn](https://www.uvicorn.dev/settings/) use `WEB_CONCURRENCY` as their default worker count. A `--workers` option in the start command takes precedence. ### Environment variables Variables from the **Environment variables** card are available to the install and build commands and at runtime (up to 200, single-line values). Use **Paste .env** to add many at once. Read them with `os.environ`: ```python import os SECRET_KEY = os.environ["DJANGO_SECRET_KEY"] DEBUG = os.environ.get("DJANGO_DEBUG", "") == "1" ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS", "").split(",") ``` ## Django behind nginx nginx terminates SSL and forwards requests with `X-Forwarded-Proto`. Add to `settings.py`: ```python ALLOWED_HOSTS = ["example.com", "www.example.com"] CSRF_TRUSTED_ORIGINS = ["https://example.com", "https://www.example.com"] SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") ``` Without `CSRF_TRUSTED_ORIGINS`, form posts over HTTPS fail with a 403 CSRF error. ### Static files On a proxied website every request, `/static/` included, goes to the app. Serve static files from the app with [WhiteNoise](https://whitenoise.readthedocs.io/): 1. Add `whitenoise` to `requirements.txt`. 2. Add `"whitenoise.middleware.WhiteNoiseMiddleware"` right after `SecurityMiddleware` in `MIDDLEWARE`. 3. Set `STATIC_ROOT = BASE_DIR / "staticfiles"`. The detected build command runs `collectstatic` on every deploy. It ends with `|| true`, so a failure does not stop the deployment: check the build log in **Tasks** if styles are missing. ### Uploaded media Files written to the release folder are lost at the next deploy. Either add the media folder to **Persistent paths** (for example `media`), or store uploads in S3 with `django-storages` and ZoPanel's [S3 storage](/docs/apps). Django does not serve `MEDIA_ROOT` itself when `DEBUG` is off, so with a persistent folder you also need a view or WhiteNoise configuration that serves it. ## Migrations ZoPanel does not run migrations automatically. Add them to the **Build command**, which runs with your environment variables: ```bash .venv/bin/python manage.py collectstatic --noinput && .venv/bin/python manage.py migrate --noinput ``` For Flask-Migrate use `.venv/bin/flask db upgrade`, for Alembic `.venv/bin/alembic upgrade head`. **Important:** migrations run before the new release passes its health check, while the previous release still serves traffic, and a **Rollback** does not undo them. Keep migrations backward compatible (add columns first, remove them in a later release). ## Zero-downtime releases, rollback and logs Like every server app, a Python release starts in the idle slot and receives traffic only after the **Health check path** (default `/`) answers with a status below 500 within 90 seconds. A 400 or 404 passes; a 500 does not. The **Releases** card keeps the last 5 builds for **Rollback**. - **Application output** on the **Deploy** tab shows the last 400 lines of the app's output; turn on **Live** to follow it. - Build logs are in **Tasks**; nginx logs are on the **Logs** tab. Each release has its own `.venv`, rebuilt on every deploy. Keep data in a database or a persistent path, never inside `.venv` or the release folder. ## Troubleshooting | Message or symptom | Cause and fix | | --- | --- | | `the app did not respond on port … within 90s (it must listen on $PORT)` | The server binds another address or port. Use `--bind 127.0.0.1:$PORT` (gunicorn) or `--host 127.0.0.1 --port $PORT` (uvicorn). | | `the app exited during startup` | Read **Application output**. Typical causes: wrong `module:app` in the start command, a missing environment variable, an import error. | | `install failed: …` with `No module named venv` or `ensurepip is not available` | The Python toolchain is missing. An administrator installs **Python** under **Runtimes**. | | The build log says "only the system Python … is available" | The project asks for another Python in `.python-version`. Ask the administrator to install **uv** under **Runtimes**, or remove `.python-version` if the system Python is fine. | | `could not install Python 3.x with uv` | uv could not download that Python (no network, an unknown version, or the account's disk quota is full). Read the lines above it in the build log. | | `install failed: …` while building `mysqlclient` | The MySQL client headers are not installed. Use `PyMySQL`, or ask the administrator to run `apt-get install -y default-libmysqlclient-dev pkg-config`. | | `Failed to find attribute 'app' in 'main'` | The app object has another name or module. Fix the start command, for example `.venv/bin/gunicorn myapp.wsgi:app --bind 127.0.0.1:$PORT`. | | Django returns `Bad Request (400)` for the domain | Add the domain to `ALLOWED_HOSTS`. | | Pages without CSS | Static files are not served: set up WhiteNoise and check that `collectstatic` succeeded in the build log. | | The app is killed under load | Too many workers for the package's memory. Set `WEB_CONCURRENCY` lower in **Environment variables**. | ## Related - [Git deploy](/docs/git-deploy) - [Node.js and Python apps](/docs/apps-node-python) - [Databases](/docs/databases) - [Packages and limits](/docs/packages-limits) - [Django deployment checklist](https://docs.djangoproject.com/en/stable/howto/deployment/checklist/) - [FastAPI deployment](https://fastapi.tiangolo.com/deployment/) ### PHP applications Source: https://zopanel.net/docs/php-apps ZoPanel installs popular PHP applications into an empty PHP website in one click: it downloads the latest stable release from the official source, creates a MariaDB database and runs the application's own command-line installer as the hosting account. Use it to start a new site quickly; for code you develop in Git, use [Git deploy](/docs/git-deploy) instead, and for WordPress see [WordPress Toolkit](/docs/wordpress). ## Before you start - **An empty PHP website.** Create a website of type **PHP** in **Websites → New website** (see [Websites and PHP](/docs/hosting)). The installer refuses a folder that already holds files; only the default `index.html`, `.well-known` and `.user.ini` are allowed. - **A free database.** Each application gets its own database, which counts toward the package's database limit and the license (Free: 10 databases, see [Licensing](/docs/licensing)). - **A suitable PHP version** installed under **Runtimes** (see the table below). Laravel also needs **Composer**, installed under **Runtimes → Composer**. - The package must include **App installer & WordPress tools**. Without it, the card below is not shown. Point the domain to the server and keep SSL on before you install: the application is configured with `https://` only when the website already has a certificate. ## Supported applications | Application | Category | PHP range in the panel | Web server | Admin area | | --- | --- | --- | --- | --- | | Joomla | Content management | 8.3+ | nginx | `/administrator/` | | OpenCart | Online store | 8.1+ | Apache mode | `/admin/` | | PrestaShop | Online store | 7.4–8.1 | Apache mode | `/admin/` (secret) | | phpBB | Forum | 7.2+ | nginx | `/adm/` | | MediaWiki | Wiki | 8.3+ | nginx | `/index.php/Special:SpecialPages` | | Laravel | PHP framework | 8.2+ | nginx, document root `public` | `/` (no admin area) | The panel checks the range above, which follows the release it installs: | Application | Release installed | Upstream PHP requirement | | --- | --- | --- | | Joomla | Latest stable (Joomla 6) | PHP 8.3 or newer ([requirements](https://manual.joomla.org/docs/next/get-started/technical-requirements/)) | | OpenCart | Latest release package (4.1) | PHP 8.1 or newer | | PrestaShop | Latest release that ships a download package (8.2) | PHP 7.2–8.1 | | phpBB | Latest stable (3.3) | PHP 7.2 or newer | | MediaWiki | Latest stable branch | PHP 8.3 or newer for 1.46 ([compatibility](https://www.mediawiki.org/wiki/Compatibility)) | | Laravel | Newest version Composer can install on the chosen PHP | Laravel 13 needs PHP 8.3; on PHP 8.2 Composer installs an older major | If the website's PHP version is outside the panel range, ZoPanel switches the website to the newest installed version inside the range. If none is installed, the install stops with "** needs PHP **; ask the administrator to install a suitable PHP version". To choose the version yourself, set **PHP version** on the **PHP & config** tab before you install. ## Install an application 1. Open the website (**Websites → Manage**) and stay on the **Overview** tab. 2. In the **Applications** card, click the application. The card is shown while the website runs PHP, its document root is inside `public_html` and no application is installed yet. 3. Check the badges: the PHP range, **Apache mode (.htaccess)** when the app needs it, and a link to the project's website. 4. Fill in the fields: | Field | Applications | Rules | | --- | --- | --- | | Site title | All | 1 to 100 characters. Defaults to the domain. | | Admin email | Joomla, OpenCart, PrestaShop, phpBB | A valid address. Defaults to your account's email. | | Admin username | All except Laravel | 3 to 40 letters, digits, `.`, `_` or `-`. Defaults to `admin`; choose another name. | | Admin password | All except Laravel | 8 to 128 characters, no `:`. A random 16-character password is proposed. | 5. Click **Install**. A task window shows the progress. What the task does: 1. Turns on Apache mode for OpenCart and PrestaShop (Apache is installed on the server the first time, see [Apache mode](/docs/hosting#apache-mode-for-htaccess)). 2. Creates a database and user named `_` with a random 24-character password, linked to the website. 3. Downloads the release over HTTPS (resuming if the connection drops), unpacks it and runs the installer. Passwords never appear on a command line. 4. Removes the `install`/`installation` folder and makes the files holding the database password readable by the account only. 5. Ends with the line `Admin area: https:///`. If any step fails, the half-installed files and the database are removed and the website is restored as it was, so you can fix the cause and try again. **Note:** the database password is not shown in the panel. It is in the application's configuration file (see the next section). Change it under **Databases** only if you also update that file. ## After the install Once an application is installed, the website header shows an **Admin area** button that opens the admin URL (PrestaShop excepted, see below). All applications are installed in English; change the language in each admin area. | Application | Sign in with | Config file | First steps | | --- | --- | --- | --- | | Joomla | Admin username | `configuration.php` | Turn on **Use URL Rewriting** in Global Configuration for clean URLs (nginx already routes them to `index.php`). Install a language pack if needed. | | OpenCart | Admin username | `config.php`, `admin/config.php` | `.htaccess.txt` is already renamed to `.htaccess`, so SEO URLs work in Apache mode. Set up store details, payment and shipping. | | PrestaShop | **Admin email** and password | `app/config/parameters.php` | Copy the admin URL from the task log. The country is preset to Vietnam; change it under International settings. Emails were not sent during install. | | phpBB | Admin username | `config.php` | Email is disabled at install: turn it on in the ACP under Board configuration → Email settings. | | MediaWiki | Admin username (first letter capitalised by MediaWiki) | `LocalSettings.php` | Pages use `/index.php/Title` URLs. Edit `LocalSettings.php` for uploads, skins and permissions. | | Laravel | – | `.env` | See below. | **Important:** PrestaShop's admin folder is renamed to `admin` followed by 8 random characters, as PrestaShop requires. The address appears only in the task log (**Tasks**). Save it; if you lose it, find the folder whose name starts with `admin` in `public_html` with the File Manager. ### Laravel The Laravel installer runs `composer create-project laravel/laravel` with the website's PHP version, then: - writes `.env` from `.env.example` with `APP_NAME` (the site title), `APP_ENV=production`, `APP_DEBUG=false`, `APP_URL` and the MySQL connection (`DB_CONNECTION=mysql`, `DB_HOST=localhost`, the new database and user); - runs `php artisan key:generate --force`, `php artisan migrate --force` and `php artisan storage:link`; - sets the website's document root to `public_html/public` and the **Laravel** rewrite rules. The project lives in `public_html`, outside the document root, so `.env` and `vendor` cannot be downloaded. For scheduler, queue and deployment details, see [Laravel](/docs/laravel). The installer works on a **PHP** website and on a **Laravel** website alike: the project always goes into `public_html`, and the document root becomes `public_html/public`. ## Update an application ZoPanel installs the applications but does not update them: use each project's own updater. Take a backup of the website and its database first (see [Backups](/docs/backups)). | Application | How to update | | --- | --- | | Joomla | System → Update → Joomla in the administrator ([docs](https://docs.joomla.org/)). | | OpenCart | Follow the upgrade guide of your version ([docs](https://docs.opencart.com/)). | | PrestaShop | The Update Assistant module ([docs](https://devdocs.prestashop-project.org/8/basics/keeping-up-to-date/)). | | phpBB | Follow the update instructions in the release package ([docs](https://www.phpbb.com/support/docs/en/3.3/ug/upgradeguide/)). | | MediaWiki | Replace the files, then run `php maintenance/run.php update` ([docs](https://www.mediawiki.org/wiki/Manual:Upgrading)). | | Laravel | `composer update` over SSH, then `php artisan migrate --force`. | Run command-line steps in the [SSH terminal](/docs/ssh-terminal) as the hosting account, with the same PHP version as the website, for example `php8.3 maintenance/run.php update`. ## Other PHP applications Any PHP application that is not in the list can be installed by hand: 1. Create a **PHP** website with the PHP version the application needs. 2. Upload the files to `public_html` with the [File Manager](/docs/file-manager) or [SFTP](/docs/ftp-sftp). 3. Create a database under **Databases** and run the application's web installer. 4. If the application serves from a subfolder (for example `public` or `web`), set **Document root** on the **PHP & config** tab, for example `public_html/public`. It must stay inside `public_html`. 5. If it relies on `.htaccess` rewrites, turn on **.htaccess support (Apache mode)** on the **Tools** tab. With the **Standard** rules, nginx already sends unknown URLs to `index.php`, which is enough for most front controllers. ### Composer When the project has a `composer.json`, install its dependencies over SSH with the website's PHP version (Composer must be installed under **Runtimes**): ```bash cd ~/domains/example.com/public_html php8.3 /usr/local/bin/composer install --no-dev --optimize-autoloader ``` If the project is in a Git repository, [Git deploy](/docs/git-deploy) runs Composer for you on every release and detects Laravel and Symfony. PHP options such as `upload_max_filesize` are set in **Tools → PHP settings for this website**; `php_value` lines in `.htaccess` are ignored. ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "the website folder is not empty: install applications into a new, empty website" | Install into a new PHP website, or empty `public_html` first. | | "this website already runs an application; create a new website for …" | One application per website. Create another website. | | "applications need a PHP website" | The website has no PHP version or is a proxy website. Set a **PHP version** or create a PHP website. | | "… needs PHP …; ask the administrator to install a suitable PHP version" | Install a PHP version in the range under **Runtimes**. | | "database limit reached" | The package allows no more databases. Delete one or ask for a bigger package. | | "cannot find the latest … release" | The server could not reach GitHub or the project's download site. Try again later. | | Laravel: an older major version was installed | The website runs PHP 8.2, so Composer installed the newest Laravel that supports it. For the latest Laravel, use PHP 8.3 or newer. | | Laravel: `composer failed` | Make sure Composer is installed under **Runtimes** and the PHP version is 8.2 or newer. | | The **Applications** card is missing | The website already has an application, has no PHP, its document root is outside `public_html`, or the package does not include **App installer & WordPress tools**. | The full installer output is kept in **Tasks**. ## Related - [Websites and PHP](/docs/hosting) - [Laravel](/docs/laravel) - [Git deploy](/docs/git-deploy) - [Databases](/docs/databases) - [Backups](/docs/backups) - [File Manager](/docs/file-manager) ### Laravel Source: https://zopanel.net/docs/laravel Laravel runs as a PHP website: nginx serves the project's `public` folder and PHP runs in the account's own PHP-FPM pool. ZoPanel offers two ways to set it up: the one-click installer creates a new, empty Laravel project, and Git deploy builds your own repository into releases that go live with no downtime. Use the installer to try Laravel or start a project on the server; use Git deploy for an application you develop elsewhere. ## Prerequisites - A PHP version supported by your Laravel version, installed under **Runtimes**. Laravel 13 needs PHP 8.3 or newer, Laravel 12 PHP 8.2 or newer ([support policy](https://laravel.com/docs/releases#support-policy)). - **Composer**, installed by an administrator under **Runtimes → Composer**. - A free database in the package (MariaDB or PostgreSQL, see [Databases](/docs/databases)). - For Git deploy, the package must include **Git deploy & apps**; for the installer, **App installer & WordPress tools**. ## Choose a setup | | One-click installer | Git deploy | | --- | --- | --- | | Source | New project from `laravel/laravel` | Your repository (or uploaded files) | | Project folder | `domains//public_html` | `domains//releases/`, `current` points to the live one | | Document root | `public_html/public` | `current/public` | | `.env` | Written once, then edited by you | Generated from **Environment variables** on every deploy | | Database | Created and migrated for you | You create it and set the variables | | Updates | By hand (Composer over SSH) | Every push or **Deploy now** | ## One-click install 1. Create a **PHP** or **Laravel** website (**Websites → New website**) with PHP 8.2 or newer. 2. On its **Overview** tab, in the **Applications** card, click **Laravel**. 3. Enter the **Site title** (used as `APP_NAME`) and click **Install**. ZoPanel runs `composer create-project laravel/laravel` with the website's PHP version, creates a MariaDB database, writes `.env` from `.env.example` (`APP_ENV=production`, `APP_DEBUG=false`, `APP_URL`, `DB_CONNECTION=mysql`, `DB_HOST=localhost` and the new database credentials), then runs `php artisan key:generate --force`, `php artisan migrate --force` and `php artisan storage:link`. The document root becomes `public_html/public` with the **Laravel** rewrite rules. Details and errors: [PHP applications](/docs/php-apps). Edit `.env` with the [File Manager](/docs/file-manager) or over SSH. Laravel's default `.env.example` keeps sessions, cache and queued jobs in the database; the tables are created by the first migration. ## Deploy from Git 1. In **Websites → New website**, choose **Git deploy** and enter the **Repository URL** and **Branch**. For an existing website, use its **Deploy** tab. 2. ZoPanel detects Laravel when the repository has `artisan` or requires `laravel/framework` in `composer.json`. 3. Add your settings in **Environment variables** (see below) and click **Save & redeploy**. What detection proposes: | Setting | Value | | --- | --- | | Type | **PHP (PHP-FPM)** | | Version | The PHP version from `require.php` in `composer.json` (the first installed version at least that high), otherwise the website's or the default version | | Install command | `composer install --no-dev --optimize-autoloader --no-interaction` | | Build command | `php artisan storage:link --force 2>/dev/null; php artisan config:cache && php artisan route:cache && php artisan view:cache` | | Document root | `public` | | Persistent paths | `storage`, `.env` | When `package.json` has a `build` script, `npm ci && npm run build` (or `npm install`) is added in front of the build command so Vite assets are compiled. A Node.js version must then be installed under **Runtimes**. To change a command, turn **Auto-detect** off in the **Build & run** card, edit the field and click **Save & deploy**. ### What ZoPanel sets for Laravel On every Git deploy of a Laravel app, ZoPanel fills in these **Environment variables** if you have not set them yourself: | Variable | Value | | --- | --- | | `APP_KEY` | A random `base64:` key, generated once and kept | | `APP_ENV` | `production` | | `APP_DEBUG` | `false` | | `APP_URL` | `https://` (`http://` while the website has no SSL) | | `LOG_CHANNEL` | `daily` | | `QUEUE_CONNECTION` | `sync` | | `SESSION_DRIVER`, `CACHE_STORE` | `redis` when the account's Redis is available, otherwise `file` | | `REDIS_CLIENT`, `REDIS_HOST`, `REDIS_PORT`, `REDIS_PASSWORD`, `REDIS_PREFIX` | Set with the Redis driver: `phpredis`, the account's Redis socket, `0`, `null`, `app_` | The deploy log says "Sessions and cache use the account's Redis" or "Sessions and cache use files (Redis not available: …)". To keep your own drivers, set `SESSION_DRIVER` yourself; ZoPanel then leaves sessions, cache and Redis settings alone. **Important:** keep `APP_KEY` once the app is live. Changing it signs every user out and makes encrypted data unreadable. ## Environment and .env With Git deploy, `.env` is a persistent file in `domains//shared/.env`, linked into every release. On each deploy the **Environment variables** are **merged into it**: a line that sets one of them is updated in place, missing ones are added at the end, and every other line (and comment) you added by hand is kept. So: - set database credentials, mail settings and API keys in **Environment variables**, or paste a whole file with **Paste .env**; - you can also edit `shared/.env` in the **File Manager**: your own lines survive the next deploy, but a variable that is also set in the panel takes the panel's value. Deleting a variable in the panel does not remove its line from `.env`; delete it there too; - the build command runs `php artisan config:cache`, so a changed variable takes effect only after a redeploy. **Save & redeploy** does both. PHP-FPM does not receive the variables directly: Laravel reads them from `.env`, so keep `.env` in **Persistent paths**. Example database settings (MariaDB, the user and database from **Databases**): ```dotenv DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=alice_shop DB_USERNAME=alice_shop DB_PASSWORD=your-password ``` Because the configuration is cached, call `env()` only inside `config/*.php` files, as Laravel's [configuration docs](https://laravel.com/docs/configuration#configuration-caching) require. ## Migrations Git deploy does not run migrations by itself. Add them to the end of the build command (turn **Auto-detect** off first): ```bash php artisan storage:link --force 2>/dev/null; php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force ``` The build runs before the new release goes live, so the old release keeps serving visitors while the migration runs against the same database. Write migrations that the running release can tolerate (add columns before code uses them, remove them in a later release). ## Storage and persistent paths - `storage` is shared between releases: uploads in `storage/app/public`, logs and framework caches survive every deploy. On the first deploy, the repository's `storage` folder is copied to `shared/storage`. - `php artisan storage:link` (in the build command) creates `public/storage`, so files stored on the `public` disk are served by nginx ([filesystem docs](https://laravel.com/docs/filesystem#the-public-disk)). - Add other folders that must survive a release, such as `public/uploads`, to **Persistent paths**. ## How a release goes live 1. The code is fetched into a new folder under `releases/`, with `storage` and `.env` linked in. 2. Install and build commands run as the hosting account, inside its CPU and memory limits. 3. `current` is switched to the new release in one step, the website's document root is `current/public`, and PHP-FPM is reloaded gracefully. If install or build fails, `current` is not changed and the previous release keeps running. **Releases** keeps the last 5 builds; **Rollback** switches back to one of them (the database is not rolled back). See [Git deploy](/docs/git-deploy). ## Scheduler and queues PHP websites have no long-running process, so run Laravel's scheduler from **Cron Jobs** ([scheduling docs](https://laravel.com/docs/scheduling#running-the-scheduler)). Create a job that runs every minute (`* * * * *`): ```bash cd /home/alice/domains/example.com/current && /usr/bin/php8.3 artisan schedule:run >> /dev/null 2>&1 ``` Use `public_html` instead of `current` for a one-click install, and the PHP version of the website. Cron commands may not contain `%`. See [Cron jobs](/docs/cron-jobs). Queued jobs: - **Git deploy** sets `QUEUE_CONNECTION=sync`: jobs run immediately inside the request. This needs no worker and suits light jobs. - For background processing, set `QUEUE_CONNECTION=database` (or `redis`) and process the queue from the scheduler or a cron job, for example every minute: ```bash cd /home/alice/domains/example.com/current && /usr/bin/php8.3 artisan queue:work --stop-when-empty --max-time=55 >> /dev/null 2>&1 ``` `--stop-when-empty` and `--max-time` make the worker exit before the next run starts ([queue docs](https://laravel.com/docs/queues#running-the-queue-worker)). After a deploy, the next cron run uses the new code. ## Troubleshooting | Symptom | What to do | | --- | --- | | 500 error with no details | Read `storage/logs/laravel-*.log` (daily log) in the File Manager. Set `APP_DEBUG=true` briefly only if you must, then set it back. | | "No application encryption key has been specified." | `APP_KEY` is empty. With Git deploy, redeploy: ZoPanel generates a key whenever `APP_KEY` is empty. For a one-click install, run `php artisan key:generate` in the project folder. | | A changed variable has no effect | The configuration is cached at build time: click **Save & redeploy**. | | Manual edits to `.env` disappear | Git deploy rewrites `.env` from **Environment variables** on every deploy. Put the setting there. | | `install failed` with `composer: command not found` | Ask the administrator to install Composer under **Runtimes**. | | Composer reports the PHP version does not satisfy a requirement | Select a newer PHP **Version** in **Build & run** (turn **Auto-detect** off), or raise `require.php` in `composer.json`. | | Uploaded files vanish after a deploy | Store them on the `public` disk (in `storage`) or add their folder to **Persistent paths**. | | `SQLSTATE[HY000] [1045] Access denied` | Check `DB_DATABASE`, `DB_USERNAME` and `DB_PASSWORD` against **Databases**. | | Scheduled tasks never run | Check the cron path (`current` for Git deploy) and that the PHP binary matches an installed version. | ## Related - [Git deploy](/docs/git-deploy) - [PHP applications](/docs/php-apps) - [Websites and PHP](/docs/hosting) - [Cron jobs](/docs/cron-jobs) - [Databases](/docs/databases) - [Laravel deployment docs](https://laravel.com/docs/deployment) ### Go apps Source: https://zopanel.net/docs/go A Go application runs on ZoPanel as a server app: ZoPanel compiles it from source with the official Go toolchain, starts the binary as a service of the hosting account behind nginx, and releases new versions with no downtime. Use this page for HTTP services and APIs written in Go; the general mechanics (ports, blue/green releases, logs) are described in [Node.js and Python apps](/docs/apps-node-python). ## Install Go on the server An administrator installs Go once: 1. Open **Runtimes**. 2. In the **Go** card ("Official Go toolchain."), click **Install latest**. ZoPanel downloads the newest stable release for the server's architecture (amd64 or arm64) from `go.dev`, verifies its SHA-256 checksum and installs it in `/opt/zopanel/runtimes/go/`, for example `1.25`. Installing again later adds the newer minor version next to the old one. Remove a version with the trash icon on its badge. **Version selection:** a deploy uses the installed version that matches the `go` line of `go.mod` (`go 1.24` → `1.24`), otherwise the newest installed version. When `go.mod` asks for a newer Go than the one used, Go 1.21 and later download the required toolchain automatically during the build ([Go toolchains](https://go.dev/doc/toolchain)); installing the latest version avoids that download. ## Prepare your app Your program must listen on `127.0.0.1` at the port in the `PORT` environment variable. ZoPanel sets `PORT` (and `HOST=127.0.0.1`) for every release; the second blue/green slot uses another port, so never hard-code it. ```go package main import ( "net/http" "os" ) func main() { mux := http.NewServeMux() mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("Hello from Go")) }) http.ListenAndServe("127.0.0.1:"+os.Getenv("PORT"), mux) } ``` nginx terminates SSL and forwards every request to the app with `Host`, `X-Real-IP`, `X-Forwarded-For` and `X-Forwarded-Proto` headers. Read the client address from `X-Forwarded-For` or `X-Real-IP`, not from `r.RemoteAddr`, which is always `127.0.0.1`. ## Deploy 1. In **Websites → New website**, choose **Git deploy**, enter the **Repository URL** and **Branch** (and **Root directory** if `go.mod` is in a subfolder), then click **Create website**. For an existing website, use its **Deploy** tab. 2. ZoPanel detects Go from `go.mod` and builds the first release. 3. Add your settings in **Environment variables** and click **Save & redeploy**. You can also upload the source to `domains//source` and choose **Uploaded files (File Manager)** as the **Source** (see [Git deploy](/docs/git-deploy)). ### Detected build and start commands | Repository layout | Build command | Start command | | --- | --- | --- | | `main.go` at the root | `CGO_ENABLED=0 go build -o bin/ .` | `./bin/` | | `cmd//main.go` | `mkdir -p bin && CGO_ENABLED=0 go build -o bin/ ./cmd/...` | `./bin/` | | Neither | `CGO_ENABLED=0 go build -o bin/ .` | `./bin/` | - `` is the last element of the `module` path in `go.mod` (`github.com/acme/api` → `api`), or `app`. - The install command is `go mod download`. - With several commands in `cmd/`, the deploy log notes "Multiple commands found in cmd/, starting …". To start another one, turn **Auto-detect** off and edit **Start command**, for example `./bin/server`. - `bin/` is added to `PATH` when the app starts, so a `Procfile` line such as `web: api` works. A `web:` line in a `Procfile` always provides the start command. To change any command, turn **Auto-detect** off in the **Build & run** card, edit it and click **Save & deploy**. Build steps chained with `&&` stay on one line, for example `go generate ./... && CGO_ENABLED=0 go build -o bin/api .`. ### Build environment - Builds run as the hosting account, inside its CPU and memory limits, with at most 30 minutes for the install command and 30 minutes for the build. - The module cache (`GOPATH`) and build cache (`GOCACHE`) live in the account's home and are kept between deploys, so later builds are faster. - `CGO_ENABLED=0` produces a static binary. Packages that need cgo (for example `github.com/mattn/go-sqlite3`) need `CGO_ENABLED=1` and a C compiler on the server; prefer pure-Go alternatives such as `modernc.org/sqlite`. ## Environment variables Put configuration and secrets in **Environment variables** on the **Deploy** tab. They are available during the build and at runtime; **Paste .env** adds many at once (up to 200 variables, single-line values). Members with view-only access cannot see the values. Example for a MariaDB database created under **Databases**: ```dotenv DATABASE_URL=alice_api:your-password@tcp(127.0.0.1:3306)/alice_api?parseTime=true ``` The format of the connection string depends on the driver you use; the host is `127.0.0.1` (see [Databases](/docs/databases)). Files that must survive a release, such as an upload folder or a SQLite database, go in **Persistent paths** (for example `data`). Everything else in the release folder is replaced on every deploy. ## Releases, logs and restarts - A new release starts in the idle slot and must answer the **Health check path** (default `/`) with a status below 500 within 90 seconds. Only then does nginx switch to it and the old process stop. If the binary exits or never answers, the running release is kept. - **Releases** keeps the last 5 builds for **Rollback**. - **Application output** on the **Deploy** tab shows the last 400 lines your program writes to stdout and stderr; turn on **Live** to follow it. Write logs to stdout instead of files. - The service restarts automatically if the process exits. Stop the program cleanly on `SIGTERM`: during a release the old process gets 20 seconds before it is killed. Memory, CPU and processes count toward the account's package (see [Packages and limits](/docs/packages-limits)). ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "Go is not installed — install it under Runtimes" | Ask the administrator to click **Install latest** in the **Go** card. | | "the app did not respond on port … within 90s (it must listen on $PORT)" | Listen on `127.0.0.1:$PORT`. A fixed port such as `:8080` never receives traffic. | | "the app exited during startup" | Read **Application output**: usually a missing environment variable or a failed database connection. | | `install failed` during `go mod download` | A private module cannot be fetched. Vendor your dependencies (`go mod vendor`), commit `vendor/`, then turn **Auto-detect** off and clear the **Install command**: `go build` uses `vendor/` automatically. | | `go: go.mod requires go >= …` | Install the latest Go under **Runtimes**, or let the toolchain download complete. | | Build fails with cgo errors | Use a pure-Go package, or set `CGO_ENABLED=1` in the build command if a C compiler is installed. | | The repository is detected as Node.js | A `package.json` at the root takes priority over `go.mod`. Turn **Auto-detect** off, set **Runtime** to `go`, **Type** to **Server app (process)** and enter the commands yourself. | | 502 Bad Gateway | The process is not listening. Check **Application output** and **Run diagnostics** on the **Logs** tab. | ## Related - [Node.js and Python apps](/docs/apps-node-python) - [Git deploy](/docs/git-deploy) - [Databases](/docs/databases) - [Packages and limits](/docs/packages-limits) - [Go documentation](https://go.dev/doc/) ### Ruby and Rails apps Source: https://zopanel.net/docs/ruby Ruby applications run on ZoPanel as server apps: ZoPanel installs gems with Bundler, builds the release, starts the app as a service of the hosting account behind nginx and switches to new releases with no downtime. This page covers Ruby on Rails, Rack apps (Sinatra, Hanami…) and plain Ruby servers; ports, blue/green releases and logs work as described in [Node.js and Python apps](/docs/apps-node-python). ## Install Ruby on the server An administrator installs Ruby once: 1. Open **Runtimes**. 2. In the **Ruby** card ("Ruby with Bundler, for Rails and Sinatra."), click **Install**. ZoPanel installs the distribution's Ruby with Bundler and the libraries native gems need: ```text ruby-full ruby-bundler build-essential libyaml-dev zlib1g-dev libssl-dev libpq-dev libsqlite3-dev default-libmysqlclient-dev pkg-config ``` So gems such as `pg`, `mysql2`, `sqlite3`, `psych` and `nokogiri` compile without extra steps. The card then shows the installed version. There is one Ruby per server, the one the operating system ships: | Operating system | Ruby | Newest Rails it runs | | --- | --- | --- | | Ubuntu 22.04 | 3.0 | Rails 7.1 | | Debian 12 | 3.1 | Rails 7.2 | | Ubuntu 24.04 | 3.2 | Rails 8 | | Debian 13 | 3.3 | Rails 8 | Rails 8.0 requires Ruby 3.2 or newer and Rails 7.2 requires Ruby 3.1 or newer ([Rails upgrade guide](https://guides.rubyonrails.org/upgrading_ruby_on_rails.html)). A `ruby "x.y"` line in the `Gemfile` must match the server's Ruby, otherwise Bundler stops. The **Version** field and the `Gemfile` do not select another Ruby. Every build log starts with the Ruby in use, for example "Using the system Ruby 3.2.3", and adds a warning when the `Gemfile` asks for another version. If your app needs another Ruby version, deploy it with a Dockerfile instead (see [Deploy with Docker](/docs/docker-deploy)). ## Deploy 1. In **Websites → New website**, choose **Git deploy**, enter the **Repository URL** and **Branch** (and **Root directory** for monorepos), then click **Create website**. For an existing website, use its **Deploy** tab. 2. ZoPanel detects Ruby from the `Gemfile` and proposes the commands below. 3. Add your settings in **Environment variables** and click **Save & redeploy**. ### Detected commands Every Ruby app gets the same install command. Gems go into the release (`vendor/bundle`), never system-wide, and development and test groups are skipped: ```bash bundle config set --local path vendor/bundle && bundle config set --local without 'development test' && bundle install --jobs 4 ``` | Detected as | When | Build command | Start command | | --- | --- | --- | --- | | Ruby on Rails | `config/application.rb` exists or the `Gemfile` lists `rails` | `RAILS_ENV=production SECRET_KEY_BASE=precompile bundle exec rails assets:precompile`, only when `app/assets/config/manifest.js` or `app/javascript` exists | `RAILS_ENV=production bundle exec rails server -b 127.0.0.1 -p $PORT` | | Rack (Sinatra, Hanami…) | `config.ru` exists | – | `bundle exec rackup -o 127.0.0.1 -p $PORT -E production` | | Ruby | anything else | – | `bundle exec ruby app.rb -o 127.0.0.1 -p $PORT` (check it) | For Rails, **Persistent paths** are set to `storage` and `log`, and the deploy log notes "Set SECRET_KEY_BASE and DATABASE_URL in the environment variables". A `web:` line in a `Procfile` always provides the start command instead. To change a command, turn **Auto-detect** off in the **Build & run** card, edit it and click **Save & deploy**. ### Puma `rails server` starts Puma, the default server of new Rails apps (`gem "puma"` in the `Gemfile`). The `-b` and `-p` options bind it to `127.0.0.1:$PORT`. Puma's thread count comes from `config/puma.rb` (`RAILS_MAX_THREADS`, 3 by default in Rails 8). To start Puma directly, use for example: ```bash bundle exec puma -C config/puma.rb -b tcp://127.0.0.1:$PORT -e production ``` For Rack apps on Rack 3 (Sinatra 4 and later), the `rackup` command is a separate gem: add `gem "rackup"` and `gem "puma"` to the `Gemfile` ([Sinatra README](https://sinatrarb.com/intro.html)). ## Environment variables Set these in **Environment variables** on the **Deploy** tab. They are available during the build and at runtime; `PORT` is set automatically. | Variable | Value | | --- | --- | | `SECRET_KEY_BASE` | A long random secret, for example the output of `bin/rails secret` or `openssl rand -hex 64`. Rails uses it instead of the one in encrypted credentials. | | `RAILS_MASTER_KEY` | Only if the app reads other values from `config/credentials.yml.enc`. | | `DATABASE_URL` | Connection string (see below). | | `RAILS_LOG_TO_STDOUT` | `1` for apps older than Rails 7.1, so logs appear in **Application output**. Rails 7.1 and later log to stdout by default. | | `SOLID_QUEUE_IN_PUMA` | `1` to run Solid Queue jobs inside Puma (Rails 8 default `config/puma.rb`). | The build command sets a placeholder `SECRET_KEY_BASE` for `assets:precompile` only, so the precompile does not need your real secret. ## Database **SQLite (Rails 8 default).** New Rails 8 apps keep their production databases in `storage/` (`storage/production.sqlite3` and the cache, queue and cable databases). `storage` is a persistent path, so the data survives every deploy. Nothing else is needed besides migrations. **MariaDB or PostgreSQL.** Create a database under **Databases** and set `DATABASE_URL`; the host is `127.0.0.1` ([Rails database configuration](https://guides.rubyonrails.org/configuring.html#configuring-a-database)): ```dotenv # MariaDB with the mysql2 gem DATABASE_URL=mysql2://alice_app:your-password@127.0.0.1:3306/alice_app # MariaDB with the trilogy gem (Rails 7.1+) DATABASE_URL=trilogy://alice_app:your-password@127.0.0.1:3306/alice_app # PostgreSQL with the pg gem DATABASE_URL=postgresql://alice_app:your-password@127.0.0.1:5432/alice_app ``` URL-encode special characters in the password (for example `@` as `%40`). ### Migrations Migrations do not run by themselves. Turn **Auto-detect** off and append them to the build command: ```bash RAILS_ENV=production SECRET_KEY_BASE=precompile bundle exec rails assets:precompile && RAILS_ENV=production bundle exec rails db:prepare ``` `db:prepare` creates missing databases and runs pending migrations. The build runs before the new release goes live, while the old one keeps serving, so write migrations the running release can tolerate. ## SSL, static files and uploads - nginx terminates SSL and sends `X-Forwarded-Proto`. Rails 8 sets `config.assume_ssl` and `config.force_ssl` in production, and Rails 7.1 sets `config.force_ssl`: keep **Free SSL (Let's Encrypt)** on, otherwise secure cookies and redirects break sign-in over plain HTTP. - nginx forwards every request to the app, including files in `public/`. Rails 7.1 and later serve them by default; for Rails 7.0 set `RAILS_SERVE_STATIC_FILES=1`. - Active Storage's local disk writes to `storage/`, which is persistent. Add any other folder that must survive a release, such as `public/uploads`, to **Persistent paths**. ## Releases, logs and restarts - A new release starts in the idle slot and must answer the **Health check path** (default `/`) with a status below 500 within 90 seconds; redirects count as healthy. Rails 7.1 and later include a `/up` route you can use. Only then does nginx switch over and the old process stop. - **Releases** keeps the last 5 builds for **Rollback** (the database is not rolled back). - **Application output** shows the last 400 lines the app writes; turn on **Live** to follow it. The `log/` folder is persistent too. - The service restarts automatically if Puma exits. Memory and CPU count toward the account's package. ## Troubleshooting | Message or symptom | What to do | | --- | --- | | `bundle: command not found` in the install step | Ask the administrator to install Ruby under **Runtimes**. | | "Your Ruby version is …, but your Gemfile specified …" | The `Gemfile` asks for another Ruby than the server's (the build log warns about it before the install). Relax the `ruby` line (for example `ruby "~> 3.2"`, or remove it), or deploy with a Dockerfile. | | A gem fails to compile | Read the build log in **Tasks**; the usual headers are installed with Ruby. Other native libraries must be installed by the administrator. | | "the app did not respond on port … within 90s (it must listen on $PORT)" | Bind to `127.0.0.1:$PORT` (`-b 127.0.0.1 -p $PORT`). | | "the app exited during startup" | Read **Application output**: often `SECRET_KEY_BASE` or `DATABASE_URL` is missing, or a migration has not run. | | `ActiveRecord::PendingMigrationError` | Add `bundle exec rails db:prepare` to the build command (see Migrations). | | Sign-in loops or cookies are lost | The site runs without SSL while Rails forces SSL. Issue the certificate (see [SSL certificates](/docs/ssl)). | | The repository is detected as Node.js | A `package.json` at the root (jsbundling, cssbundling) takes priority over the `Gemfile`. Turn **Auto-detect** off, set **Runtime** to `ruby`, **Type** to **Server app (process)** and enter the Rails commands above; put `npm ci &&` in front of the build command if assets need Node.js. | ## Related - [Node.js and Python apps](/docs/apps-node-python) - [Git deploy](/docs/git-deploy) - [Databases](/docs/databases) - [SSL certificates](/docs/ssl) - [Rails guides](https://guides.rubyonrails.org/) ### Java apps Source: https://zopanel.net/docs/java ZoPanel builds Java web applications from a Maven or Gradle project, runs the resulting jar as a service of the hosting account and puts nginx with SSL in front of it. Use it for Spring Boot, Quarkus or any Java HTTP server that can listen on a port given at startup. ## Prerequisites - An administrator has installed the Java versions your apps need under **Runtimes**: the **Java (OpenJDK + Maven)** card has one button per OpenJDK version the system packages (for example **OpenJDK 21**). Maven is installed with the first one. Several versions can be installed side by side: | System | OpenJDK versions offered | | --- | --- | | Ubuntu 22.04, Ubuntu 24.04 | 17, 21, 25 | | Debian 12 | 17 | | Debian 13 | 21, 25 | For other Java versions (for example Java 21 on Debian 12, or Java 8), deploy with a Dockerfile. - Gradle itself is **not** installed: the distributions' `gradle` package is far older than current projects need. Gradle projects must include the Gradle wrapper (`gradlew` and the `gradle/wrapper/` folder) in the repository. - The package has **Git deploy & apps** among its features, and enough **RAM (MB)** for the build and two JVMs (see [Memory](#memory) below). ## What ZoPanel detects ZoPanel treats a project as Java when its root directory contains `pom.xml`, `build.gradle` or `build.gradle.kts`. It proposes these commands: | Project | Build command | Start command | | --- | --- | --- | | Maven | `mvn -B -q -DskipTests package` (or `sh mvnw …` when `mvnw` exists) | `java -Xmx512m -jar ""` | | Gradle | `sh gradlew --no-daemon -q build -x test` (the wrapper is required, see below) | `java -Xmx512m -jar ""` | | Spring Boot (Maven or Gradle) | as above; Gradle uses the `bootJar` task | as above, plus `--server.port=$PORT --server.address=127.0.0.1` | | Quarkus (Maven or Gradle) | as above | `java -Xmx512m -Dquarkus.http.host=127.0.0.1 -Dquarkus.http.port=$PORT -jar target/quarkus-app/quarkus-run.jar` (`build/quarkus-app/…` with Gradle) | The jar is chosen at startup with `ls`, skipping jars whose names end in `-plain.jar` (Gradle's jar without dependencies), `-sources.jar`, `-javadoc.jar`, `-tests.jar` and `-original.jar`. Spring Boot is recognised from `spring-boot` in `pom.xml` or `org.springframework.boot` in the Gradle build file; Quarkus from `quarkus-maven-plugin` or `io.quarkus` in `pom.xml`, or `io.quarkus` in the Gradle build file. Tests are skipped during the build. Without `gradlew`, the proposed build command calls `gradle` and the deployment stops with "this Gradle project has no Gradle wrapper…". Run `gradle wrapper` on your computer, commit `gradlew` and `gradle/wrapper/`, and deploy again. Detection runs in a fixed order, so check the detected framework if your repository mixes languages: - A `package.json` or `composer.json` in the same directory wins: the project is detected as Node.js or PHP. A `Gemfile` is also checked before Java. - A `Procfile` with a `web:` line replaces the start command. - For a multi-module build, set **Root directory** to the module that produces the web app, or turn off **Auto-detect** and write the commands yourself. Other frameworks, such as Micronaut, are detected as plain **Java**. They build normally, but check the start command (see below). ### Java version ZoPanel reads the Java version the project asks for and builds and runs the app with that OpenJDK. `JAVA_HOME` and `PATH` point at it during the build (Maven, the Gradle wrapper) and when the app runs: | Project | Read from | | --- | --- | | Maven | ``, `` or `` in `pom.xml` (`1.8` means 8) | | Gradle | `JavaLanguageVersion.of(…)`, `JavaVersion.VERSION_…` or `sourceCompatibility` in `build.gradle(.kts)` | The build log shows the choice ("Using OpenJDK 21"). If that version is not installed, the oldest newer installed JDK is used, since it can still compile and run older code (Java 8 and 11 projects build with OpenJDK 17). If only older JDKs are installed, the deployment stops with "Java 25 is not installed…": install that version under **Runtimes**. With no version in the build file, the newest installed JDK is used. To choose yourself, turn off **Auto-detect** and pick the **Version**. A `JAVA_HOME` under **Environment variables** overrides the choice. ## Deploy a Java app 1. In **Websites → New website**, choose **Git deploy**, enter the domain and the repository URL. See [Git deploy](/docs/git-deploy) for private repositories and webhooks. 2. Open the website's **Deploy** tab. Check **Framework** and the commands under **Build & run**. 3. To change a command, turn off **Auto-detect**, edit **Build command** or **Start command**, and click **Save & redeploy**. 4. Add settings under **Environment variables** (database URL, secrets, profiles). 5. Click **Deploy now** and follow the build in the task log. The release goes live only after it answers on the **Health check path** (default `/`) with a status below 500 within 90 seconds. Until then, the previous release keeps serving traffic. Install and build commands may each run for up to 30 minutes. ## Port and address Your app must listen on `127.0.0.1` at the port in the `PORT` environment variable. ZoPanel sets `PORT` for every start, and it changes between the two blue/green slots (the second slot uses the base port plus 10000), so never hard-code it. **Spring Boot.** The proposed start command already passes `--server.port=$PORT --server.address=127.0.0.1`. You can also set it in `application.properties`: ```properties server.port=${PORT} server.address=127.0.0.1 # nginx sends X-Forwarded-For and X-Forwarded-Proto: use them for redirects and client IPs server.forward-headers-strategy=native ``` **Quarkus.** A Quarkus build produces `target/quarkus-app/quarkus-run.jar` with its dependencies in `target/quarkus-app/lib/` (`build/quarkus-app/` with Gradle). The proposed start command runs it and passes the address and port: ```bash java -Xmx512m -Dquarkus.http.host=127.0.0.1 -Dquarkus.http.port=$PORT -jar target/quarkus-app/quarkus-run.jar ``` If you package an uber-jar instead (`quarkus.package.jar.type=uber-jar`), turn off **Auto-detect** and point the start command at it. **Any other server.** Read the variable in code, for example: ```java int port = Integer.parseInt(System.getenv("PORT")); ``` ## Memory Everything the account runs shares the package's **RAM (MB)**: PHP, cron jobs, the Maven or Gradle build and your JVMs. A process that goes over the limit is stopped by the kernel, and ZoPanel restarts the app. - The proposed start command sets the heap to 512 MB with `-Xmx512m`. The JVM uses more than the heap (metaspace, thread stacks, code cache), so the process is always larger than `-Xmx`. - During a deployment the build runs while the current release is still serving, and for a short time the new and the old release run side by side. Plan the package RAM for two running JVMs plus headroom. - To change the heap, turn off **Auto-detect** and edit `-Xmx` in **Start command**. Lower it on small packages; raise it only if the package has room for it twice. You can watch the account's memory under **Resources**, and the app's memory in the status card of the **Deploy** tab. See [Packages and limits](/docs/packages-limits). ## Environment variables Variables under **Environment variables** are available during the build and at runtime. ZoPanel also sets `PORT` and `HOST=127.0.0.1`. - Names use letters, digits and `_`, start with a letter or `_`, and are at most 64 characters. Values are one line, up to 8,192 characters. Up to 200 variables. - Values are stored in a file only root can read and are passed to the service by systemd, never on the command line. Spring Boot reads environment variables through relaxed binding, so `SPRING_DATASOURCE_URL` sets `spring.datasource.url` and `SPRING_PROFILES_ACTIVE=prod` selects a profile. Quarkus reads variables such as `QUARKUS_DATASOURCE_JDBC_URL` the same way. Use `127.0.0.1` as the database host for databases created in ZoPanel. See [Databases](/docs/databases). ## Files and persistent data The app runs in a sandbox: it can write inside the account's home directory and to its private `/tmp`, nothing else. Each deployment builds a new release folder, so put uploads and other data that must survive a release in a **Persistent paths** entry (for example `uploads`) or in the database. The last 5 releases are kept for **Rollback**. ## Logs - **Application output** on the **Deploy** tab shows the last 400 lines of stdout and stderr. Turn on **Live** to follow it. - The full Maven or Gradle output of each deployment is in the task log under **Tasks**. - nginx access and error logs are on the website's **Logs** tab. ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "Java is not installed — install it under Runtimes" | No JDK on the server. Ask the administrator to install a version on the **Java (OpenJDK + Maven)** card under **Runtimes**. | | "Java 25 is not installed (installed: …)" | The project asks for a newer Java than the server has. Install it under **Runtimes** if the system offers it, lower the project's Java version, or deploy with a Dockerfile. | | "this Gradle project has no Gradle wrapper…" | Commit the Gradle wrapper (`gradlew`, `gradle/wrapper/`) to the repository. | | "OpenJDK 21 is not packaged for this system" when installing | The system does not ship that version (see the table above). Pick another version or deploy with a Dockerfile. | | `UnsupportedClassVersionError` | The jar was compiled for a newer Java than the JDK that runs it, usually because the version was set by hand. Turn **Auto-detect** back on, or pick the right **Version**. | | `Unable to access jarfile` with an empty name | No runnable jar in `target/` or `build/libs/`: check the build output, or set the jar in the start command. | | "The app did not respond on port … within 90s (it must listen on $PORT)" | The app listens on a fixed port (often 8080) or starts too slowly. Bind to `$PORT`, and reduce startup work or raise the package's CPU. | | "The app exited during startup" | Read **Application output**: usually a missing variable, a database that cannot be reached, or no jar found (`Unable to access jarfile`). | | `java.lang.OutOfMemoryError: Java heap space` | Raise `-Xmx`, within the package RAM. | | The app restarts by itself with no Java error | The account hit its RAM limit. Lower `-Xmx` or raise the package's **RAM (MB)**. | | Redirects go to `http://` or the app sees `127.0.0.1` as the client IP | Make the framework trust the forwarded headers (`server.forward-headers-strategy=native` in Spring Boot). | ## Related - [Node.js and Python apps](/docs/apps-node-python): deployment pipeline, ports and blue/green releases - [Git deploy](/docs/git-deploy) - [Deploy with Docker](/docs/docker-deploy): for a JDK the server does not offer - [Packages and limits](/docs/packages-limits) - [Spring Boot reference: externalized configuration](https://docs.spring.io/spring-boot/reference/features/external-config.html) - [Quarkus: getting started](https://quarkus.io/guides/getting-started) ### .NET apps Source: https://zopanel.net/docs/dotnet ZoPanel builds .NET web applications with `dotnet publish`, runs the published app as a service of the hosting account and puts nginx with SSL in front of it. Use it for ASP.NET Core (MVC, Razor Pages, Blazor Server, minimal APIs) and any other .NET app that serves HTTP. ## Install the .NET SDK An administrator installs it once per server: 1. Open **Runtimes**. 2. On the **.NET SDK** card, click the version to install (**.NET 10.0**, **.NET 9.0** or **.NET 8.0**). The task log shows the progress. Install every version your apps target: they live side by side. ZoPanel offers the SDK versions Microsoft supports: .NET 10 (LTS, supported until November 2028), and .NET 9 and .NET 8, both supported until 10 November 2026. Each package (`dotnet-sdk-10.0`, …) also contains the matching ASP.NET Core runtime: | System | Where the SDK comes from | Architectures | | --- | --- | --- | | Ubuntu 22.04 | 8.0 from Ubuntu's packages; 9.0 and 10.0 from Canonical's .NET backports repository (`ppa:dotnet/backports`), added automatically | amd64 and arm64 | | Ubuntu 24.04 | 8.0 and 10.0 from Ubuntu's packages; 9.0 from the .NET backports repository | amd64 and arm64 | | Debian 12, 13 | Microsoft's package repository, added automatically | amd64: 8.0, 9.0, 10.0. arm64: 10.0 only | **Important:** Microsoft publishes the .NET 8 and .NET 9 packages for Debian only for amd64. On a Debian arm64 server the card offers only .NET 10 and explains why; for an app that targets `net8.0` or `net9.0` there, retarget it to `net10.0`, use an Ubuntu server, or build and run it as a container (see [Deploy with Docker](/docs/docker-deploy)). If Microsoft's repository has no configuration for the Debian release, the install stops with ".NET is not available for Debian … yet: … (deploy with a Dockerfile instead)". ### Which SDK builds the app The app's **Version** selects the SDK. Auto-detect sets it from the project's `` (`net9.0` → 9.0; with ``, the newest one). During the build ZoPanel adds a `global.json` to the release that pins that SDK version, so the build log shows "Using the .NET 9.0 SDK". If the repository has its own `global.json` (in the project folder or above it), that file decides and ZoPanel does not add one. With no version, the newest installed SDK is used. If the SDK for the version is not installed, the deployment stops with "the .NET 9.0 SDK is not installed (installed: …)". Install it under **Runtimes**, or change the project's target framework. ## What ZoPanel detects A project is treated as .NET when its root directory contains a `.csproj` file, a `.sln` file, or a `.csproj` one folder below. ZoPanel then looks for projects up to two folders deep (for example `src/MyApp/MyApp.csproj`), skipping `bin`, `obj` and hidden folders: - A web project (`Microsoft.NET.Sdk.Web`) is preferred and labelled **ASP.NET Core**. Otherwise the first project with `Microsoft.NET.Sdk` is used, labelled **.NET**. - If there are several projects, the build log notes which one is published. For a project `MyApp.csproj`, the proposed commands are: | Field | Command | | --- | --- | | **Install command** | `dotnet restore 'MyApp.csproj'` | | **Build command** | `dotnet publish 'MyApp.csproj' -c Release -o out --no-restore` | | **Start command** | `ASPNETCORE_URLS=http://127.0.0.1:$PORT dotnet out/'MyApp.dll'` | Detection runs in a fixed order: a `package.json`, `composer.json`, `Gemfile` or Java build file in the same directory is matched before .NET. If the wrong framework is detected, set **Root directory** to the project folder or turn off **Auto-detect** and set the commands yourself. A `Procfile` with a `web:` line replaces the start command. ## Deploy a .NET app 1. In **Websites → New website**, choose **Git deploy**, and enter the domain and the repository. See [Git deploy](/docs/git-deploy). 2. Open the website's **Deploy** tab and check **Framework** and the commands under **Build & run**. 3. To change a command, turn off **Auto-detect**, edit it and click **Save & redeploy**. 4. Add your settings under **Environment variables**. 5. Click **Deploy now**. The new release goes live only after it answers on the **Health check path** (default `/`) with a status below 500 within 90 seconds. Until then the previous release keeps running. To build with another SDK, turn off **Auto-detect** and pick the **Version** (see [Which SDK builds the app](#which-sdk-builds-the-app)). To deploy without Git, create the website with **Node / Proxy**, upload the source to `domains//source` and choose **Uploaded files (File Manager)** as the source. Upload the source code, not a `publish` folder: ZoPanel runs the restore and publish itself. ## Port and URL Kestrel must listen on `127.0.0.1` at the port in `PORT`. The proposed start command does this with `ASPNETCORE_URLS=http://127.0.0.1:$PORT`. Keep that prefix if you edit the command, and do not hard-code URLs elsewhere: - Remove `UseUrls(...)` calls and `Kestrel:Endpoints` entries in `appsettings.json`: they override `ASPNETCORE_URLS`. - Do not add an HTTPS endpoint to Kestrel. nginx terminates SSL and talks to the app over plain HTTP. `PORT` changes between the two blue/green slots (the second slot uses the base port plus 10000), so never write the number into your configuration. ### Behind nginx nginx passes `X-Forwarded-For` and `X-Forwarded-Proto`. To make the app see the visitor's IP and `https` (for redirects, cookies and OAuth callbacks), enable the forwarded headers middleware early in `Program.cs`: ```csharp using Microsoft.AspNetCore.HttpOverrides; var app = builder.Build(); app.UseForwardedHeaders(new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto }); ``` The proxy is on `127.0.0.1`, which ASP.NET Core trusts by default. ### Assembly name The start command assumes the published DLL is named after the project file. If the project sets ``, change the start command to `out/.dll`. ## Environment variables Variables under **Environment variables** are available during the build and at runtime. ZoPanel also sets `PORT` and `HOST=127.0.0.1`. - Names use letters, digits and `_`, start with a letter or `_`, and have at most 64 characters. Values are one line, up to 8,192 characters. Up to 200 variables. - Values are kept in a root-only file and passed by systemd, never on the command line. ASP.NET Core reads environment variables as configuration. Use a double underscore for nested keys: | Variable | Configuration key | | --- | --- | | `ConnectionStrings__Default` | `ConnectionStrings:Default` | | `Smtp__Host` | `Smtp:Host` | | `ASPNETCORE_ENVIRONMENT` | The environment name (`Production` when not set) | For a MariaDB or PostgreSQL database created in ZoPanel, use `127.0.0.1` as the server. See [Databases](/docs/databases). ## Memory The app, its build and everything else the account runs share the package's **RAM (MB)**. A process over the limit is stopped by the kernel and ZoPanel restarts the app. During a deployment, the build and a short overlap of the old and new release need memory at the same time. ASP.NET Core projects use server garbage collection by default, which keeps more memory per CPU core. On small packages, switch to workstation GC or cap the heap with environment variables (heap values are hexadecimal): ```text DOTNET_gcServer=0 DOTNET_GCHeapHardLimit=0x20000000 ``` `0x20000000` is 512 MiB. See [Packages and limits](/docs/packages-limits). ## Files and logs - The app can write only inside the account's home directory and its private `/tmp`. Keep uploads in a **Persistent paths** entry (for example `wwwroot/uploads`) or in the database: each release is a new folder, and the last 5 are kept for **Rollback**. - **Application output** on the **Deploy** tab shows the last 400 lines of the app's console output. Turn on **Live** to follow it. - The restore and publish output of each deployment is in **Tasks**. nginx logs are on the **Logs** tab. ## Troubleshooting | Message or symptom | What to do | | --- | --- | | "the .NET SDK is not installed — install it under Runtimes" | No SDK on the server. Ask the administrator to install one on the **.NET SDK** card under **Runtimes**. | | "the .NET 9.0 SDK is not installed (installed: …)" | The project targets a version whose SDK is missing. Install it under **Runtimes**, or change the target framework. | | ".NET 8.0 cannot be installed: Microsoft publishes .NET 8 and 9 packages for Debian on amd64 only…" | Debian on arm64. Use .NET 10, an Ubuntu server or a container. | | ".NET is not available for Debian … yet" when installing | Microsoft has no repository for this Debian release. Use Ubuntu or deploy with a Dockerfile. | | `NETSDK1045: The current .NET SDK does not support targeting .NET 10.0` | The **Version** was set by hand to an older SDK than the target framework, or the repository's `global.json` pins an older SDK. Turn **Auto-detect** back on, or fix `global.json`. | | `A compatible .NET SDK was not found` | The repository's `global.json` asks for an SDK version that is not installed. Install that version, or relax `rollForward` in `global.json`. | | "The app did not respond on port … within 90s (it must listen on $PORT)" | Kestrel listens elsewhere (often `localhost:5000`, or a URL from `appsettings.json` or `UseUrls`). Keep `ASPNETCORE_URLS=http://127.0.0.1:$PORT` and remove other endpoint settings. | | "The app exited during startup" | Read **Application output**. `The application to execute does not exist` means the DLL name in the start command is wrong (see Assembly name). | | Redirects or generated links use `http://`, or every visitor IP is `127.0.0.1` | Add the forwarded headers middleware shown above. | | The app restarts with no error | The account reached its RAM limit. Set `DOTNET_gcServer=0` or `DOTNET_GCHeapHardLimit`, or raise the package's **RAM (MB)**. | ## Related - [Node.js and Python apps](/docs/apps-node-python): deployment pipeline, ports and blue/green releases - [Git deploy](/docs/git-deploy) - [Deploy with Docker](/docs/docker-deploy) - [Packages and limits](/docs/packages-limits) - [Host ASP.NET Core on Linux with Nginx (Microsoft)](https://learn.microsoft.com/aspnet/core/host-and-deploy/linux-nginx) - [Configure ASP.NET Core to work with proxy servers (Microsoft)](https://learn.microsoft.com/aspnet/core/host-and-deploy/proxy-load-balancer) ### Static sites and front-end builds Source: https://zopanel.net/docs/static-sites A static site is a folder of HTML, CSS, JavaScript and media files that nginx serves directly, with no application process. Use it for plain HTML pages and for front-end frameworks that compile to files (React, Vue, Svelte, Angular, static Astro or Next.js exports, documentation generators). If your project needs a server at runtime, see [Node.js apps](/docs/nodejs) instead. ## Choose how to publish | Method | When to use | How it works | | --- | --- | --- | | **HTML** website | Hand-written or pre-built files, no build step | Upload the files to `domains//public_html`. | | **Git deploy** | A repository, with or without a build step | ZoPanel clones, builds and publishes each release, with rollback. | | **Deploy** tab with **Uploaded files (File Manager)** | Source code without Git | Upload the project to `domains//source`, then deploy. It is built like a Git release. | ## Publish plain HTML files 1. Open **Websites → New website**, enter the **Domain** and choose **HTML**. 2. Keep **Free SSL (Let's Encrypt)** on and click **Create website**. 3. Upload your files to `domains//public_html` with the [File Manager](/docs/file-manager) or [SFTP](/docs/ftp-sftp). The home page must be `index.html` (or `index.htm`). Changes are live as soon as the files are saved. PHP is not run on these websites: requests for `.php` files are refused with 403. ## Deploy a front-end build from Git 1. Open **Websites → New website**, choose **Git deploy**, enter the **Repository URL**, **Branch** and, for monorepos, the **Root directory**. 2. Click **Create website**. ZoPanel installs dependencies, runs the build and serves the output folder. 3. Open the **Deploy** tab to see the detected settings in **Build & run**: **Type** is **Static site** and **Output directory** is the folder that is published. You can also connect an existing **HTML** website to Git from its **Deploy** tab. After the first deployment, the website serves the build output instead of `public_html`. ### What is detected With **Auto-detect** on, ZoPanel reads `package.json` and picks the output folder: | Dependency in package.json | Detected as | Output directory | | --- | --- | --- | | `vite` (and no `start` script) | Vite (React/Vue/Svelte) | `dist` | | `react-scripts` | Create React App | `build` | | `@angular/core` | Angular | read from `angular.json` (`outputPath` + `/browser`), else `dist` | | `gatsby` | Gatsby | `public` | | `@docusaurus/core` | Docusaurus | `build` | | `vitepress` | VitePress | `.vitepress/dist` | | `astro` without `@astrojs/node` | Astro | `dist` | | `@sveltejs/kit` with `@sveltejs/adapter-static` | SvelteKit | `build` | | `next` with `output: 'export'` in `next.config.js`, `.mjs` or `.ts` | Next.js | `out` | The build command is `npm run build` (or `pnpm`/`yarn run build` when their lockfile is present) and the install command follows the lockfile, as for [Node.js apps](/docs/nodejs). If `package.json` has no `build` script, the note "No build script found in package.json" appears. Without `package.json` (and no PHP, Python, Ruby, Go, Java or .NET project files), a repository with `index.html` at its root is served as **Static HTML** from the root directory. Anything else is served as static files with the note "No known framework detected; serving files as a static site." ### Other generators Hugo, Jekyll and other generators that are not npm packages are not installed on the server. Build the site in CI (or locally) and push the generated folder, for example to a `deploy` branch, then deploy that branch. For npm-based generators that are not in the table (Eleventy, Nuxt with `nuxi generate`…), set the settings yourself: 1. On the **Deploy** tab, turn **Auto-detect** off in **Build & run**. 2. Set **Type** to **Static site**. 3. Set **Build command**, for example `npm run generate`, and **Output directory**, for example `.output/public` for Nuxt or `_site` for Eleventy. 4. Click **Save & deploy**. Build tools run with the server's newest Node.js, or the version from `.nvmrc`, `.node-version` or `engines.node` when the runtime is `node`. ### Environment variables in the build Front-end frameworks embed some variables at build time, for example `VITE_API_URL` for Vite or `NEXT_PUBLIC_*` for Next.js. Add them in **Environment variables** and click **Save & redeploy**: they are available to the build command. Everything embedded in the output is public, so never put secrets there. ## How files are served - The website's document root points to `current//`, where `current` is the live release. - Directory requests serve `index.html`. A missing file returns 404. - Images, CSS, JavaScript, fonts and videos (`css`, `js`, `mjs`, `jpg`, `jpeg`, `png`, `gif`, `webp`, `avif`, `svg`, `ico`, `woff`, `woff2`, `ttf`, `eot`, `mp4`, `webm`) are sent with a 30-day browser cache (`Cache-Control: public`). HTML has no such header, so browsers check for a new version. - After each build, ZoPanel stores compressed copies (`.gz`, and `.br` when the server has Brotli) of text files between 1 KB and 5 MB: CSS, JavaScript, SVG, JSON, HTML, XML, TXT and WebAssembly. nginx sends them without compressing on every request. **Tip:** because assets are cached for 30 days, use file names that change with their content (Vite, Create React App, Angular and Next.js do this by default). An unchanged name such as `style.css` may stay cached in visitors' browsers after a deploy. ## Single-page apps (client-side routing) A React, Vue or Angular app routes in the browser: `/dashboard/settings` is not a file, so a direct visit or a reload returns 404 unless the server answers with `index.html`. **Single-page app fallback** (ZoPanel 0.4.35 and later): on the website's **Tools** tab, turn on **Single-page app fallback**. Paths that match no file then serve `index.html` with status 200, while missing images, CSS and JavaScript still return 404, so a broken build does not hide behind the app. It is turned on by itself for a **new** website whose first deploy is a Vite, Create React App or Angular app; websites that existed before keep their behaviour until you turn it on. It is only for static websites (not PHP, apps, Apache mode or storage). Other ways, for older versions or other needs: - **Hash routing** (`/#/dashboard`), which needs nothing on the server. - **Prerendering** each route to its own `index.html` (Astro, Next.js export, Gatsby, Docusaurus and VitePress do this). - **Custom error page:** on the website's **Tools** tab, set the **404** page in **Custom error pages** to `/index.html`. The app loads on every route, but the response status stays 404, which search engines treat as a missing page. - **Administrators** can return the app with status 200 by adding this line on the website's **Advanced** tab under **Custom nginx directives**, then **Test & save**: ```nginx error_page 404 =200 /index.html; ``` Leave the 404 **Custom error page** empty when you use this directive. ## Updates and rollback Each deploy builds a new release in `domains//releases//`, then switches `current` to it in one step, so visitors never see a half-uploaded site. If the build fails, the live release is untouched. The **Releases** card keeps the last 5 builds; **Rollback** switches back to one instantly, without rebuilding. To deploy automatically on every push, see [Git deploy](/docs/git-deploy#automatic-deploys-on-push). **Note:** files you upload into a release folder disappear with the next deploy. Put user uploads in a **Persistent path**, or in [S3 storage](/docs/apps). ## Troubleshooting | Message or symptom | Cause and fix | | --- | --- | | 404 on every page after the deploy | **Output directory** is wrong: the build wrote elsewhere. Check the folder in the build log in **Tasks** and correct it with **Auto-detect** off. | | 404 when reloading a page of a React/Vue app | Client-side routing: see [Single-page apps](#single-page-apps-client-side-routing). | | `build failed: …` | Read the build log. With `npm ci`, the lockfile must match `package.json`. | | `a start command is required for server apps` | The project was detected as a Node.js server (for example a Vite project with a `start` script). Turn **Auto-detect** off and set **Type** to **Static site**. | | `Node.js is not installed — install it under Runtimes` | The build needs Node.js. An administrator installs it under **Runtimes**. | | Old CSS or JavaScript after a deploy | The browser cache (30 days) keeps files whose name did not change. Use hashed file names or add a version to the URL. | | 403 on a `.php` file | Static websites never run PHP. Use a PHP website instead. | | Placeholder page on an **HTML** website | Upload into `public_html`, with an `index.html` at its top level. | ## Related - [Your first website](/docs/first-website) - [Git deploy](/docs/git-deploy) - [Node.js apps](/docs/nodejs) - [Website tools](/docs/website-tools) - [Vite: deploying a static site](https://vite.dev/guide/static-deploy) - [Next.js static exports](https://nextjs.org/docs/app/guides/static-exports) ### Docker deploy Source: https://zopanel.net/docs/docker-deploy When an app does not fit the built-in runtimes (another language version, system libraries, a vendor's image), ZoPanel can run it as a container. It builds the `Dockerfile` from your repository, or starts a ready-made public image, publishes the container on `127.0.0.1` only and puts the website's nginx, SSL and firewall in front of it. For one-click apps such as n8n or Nextcloud, use the [App Store](/docs/apps) instead; it does not need the permissions below. ## Requirements All of these must be true, otherwise the deployment is refused: | Requirement | Who sets it | How | | --- | --- | --- | | Docker is installed | Administrator | **App Store → Install Docker**, or **Components → Docker**. | | Custom containers are enabled on the server | Root on the server | `zopanel ctl feature enable custom-docker` (see below). | | The account may run its own containers | Administrator or reseller | The account belongs to a full administrator, or its package has **Own Docker apps** turned on in **Packages** (off by default). A reseller can grant it only if its own package has it. | | The package includes Git deploy | Administrator or reseller | **Git deploy & apps** is not turned off in the package's features. | Enable custom containers once, as root: ```bash sudo zopanel ctl feature enable custom-docker ``` This switch exists only on the server's command line, not in the web panel, so a stolen panel session cannot start arbitrary containers. ## Deploy a Dockerfile from a repository 1. Open **Websites → New website**, choose **Git deploy**, enter the **Repository URL**, **Branch** and, if the `Dockerfile` is in a subfolder, the **Root directory**. Click **Create website**. 2. If the repository contains only a `Dockerfile` (no `package.json`, `requirements.txt`, `go.mod`…), it is detected as **Dockerfile** and built as a container. 3. If another framework is detected, the note "A Dockerfile was also found: switch the runtime to docker to build with it instead." appears. On the **Deploy** tab, turn **Auto-detect** off in **Build & run**, set **Runtime** to **Dockerfile** (the **Type** becomes **Container (Dockerfile)**) and click **Save & deploy**. The build context is the root directory: the `Dockerfile` must be there, and it and `.dockerignore` must be regular files, not symbolic links. ZoPanel runs `docker build --pull`, so base images are refreshed on every build, and passes `PORT` as a build argument (declare `ARG PORT` if you need it). Install, build and start commands are not used in this mode: put them in the `Dockerfile`. A build that runs longer than 45 minutes is stopped and the deployment fails. ## Deploy a ready-made image 1. Create a website (for example **Node / Proxy**) or open an existing one, and go to its **Deploy** tab. 2. Under **Source**, choose **Ready-made Docker image**. 3. Enter the **Image**, for example `nginx:1.27` or `ghcr.io/owner/app:1.2.0`, and click **Deploy**. Rules for images: - Public images only (Docker Hub, GHCR or another public registry). Registries on `localhost` or an IP address are refused. - Lowercase name, optional tag and digest (`app@sha256:…`), at most 255 characters. - Pin a tag. Every deploy pulls the image again, so a moving tag such as `latest` can change between deploys. ZoPanel turns the image into a release (a one-line `Dockerfile` `FROM` the image) so it gets the same health check, zero-downtime switch and rollback as a built Dockerfile. ## Ports The container must listen on one HTTP port. ZoPanel picks it in this order: 1. the `PORT` environment variable, if you set one; 2. the first `EXPOSE` in the `Dockerfile` (for an image, the first TCP port the image exposes); 3. `8080`. Inside the container, `PORT` is set to that port. Outside, it is published on `127.0.0.1:` (shown as **Internal port** on the **Deploy** tab) and nginx proxies the domain to it. Nothing else of the container is reachable from the internet. ```dockerfile FROM node:22-alpine WORKDIR /app COPY . . RUN npm ci && npm run build ENV PORT=3000 EXPOSE 3000 USER node CMD ["node", "server.js"] ``` The app inside should listen on `0.0.0.0:$PORT`, not `127.0.0.1`: inside a container, `127.0.0.1` is the container itself. ## Environment variables Add variables in the **Environment variables** card and click **Save & redeploy**. Up to 200 variables, single-line values. They are passed to the container at start through a root-only file, never on a command line. - Values are passed literally. Do not wrap them in quotes (**Paste .env** removes surrounding quotes for you). - At build time, a variable reaches the `RUN` steps only if the `Dockerfile` declares it with `ARG` (see below). The other variables exist only while the container runs. ### Variables at build time When the `Dockerfile` declares `ARG NAME` (or `ARG NAME=default`) and a variable `NAME` is set in the panel, ZoPanel passes it to `docker build` as a build argument. The task log lists the names passed (`Build arguments from the environment variables: …`), never the values. ```dockerfile FROM node:22-alpine AS build ARG NEXT_PUBLIC_API_URL WORKDIR /app COPY . . RUN npm ci && npm run build ``` - Only declared names are passed, so other variables (database passwords, API keys) are never built into the image. - **Build argument values are visible in the image history:** `docker history` shows them for every `RUN` step after the `ARG`, and anything a step writes with them stays in that layer. Do not declare secrets as `ARG`; read them at runtime from the environment instead. Use `ARG` for public settings such as a public API URL or a feature flag. - The value of a declared `ARG` without a panel variable is its default in the `Dockerfile`. - Names that would change how the server's `docker` command runs are never passed, for example `PATH`, `HOME`, `LD_*`, `DOCKER_*`, `BUILDKIT_*`, `GO*`, `SSL_*` and the proxy variables (`HTTP_PROXY`…). The task log lists the ones skipped. `PORT` is always the container's port. ## Health check and zero-downtime releases Each release starts in a second container on the idle slot's port. It goes live when the **Health check path** (default `/`) answers with an HTTP status below 500 within 120 seconds. nginx then switches to the new container and the old one is removed a few seconds later. If the build fails, the container exits or never becomes healthy, the last 25 lines of its output are written to the task log and the running container keeps serving. ## Rollback The **Releases** card keeps the last 5 releases, and each keeps its built image. **Rollback** starts the chosen image in the idle slot, waits for the health check and switches, without rebuilding. Images of older releases are deleted with their release. ## Logs and controls - **Application output** shows the last 400 lines of the container's output with timestamps; turn on **Live** to follow it. Docker rotates container logs (3 files of 10 MB). - The status card shows the container's state, **RAM** and **Internal port**. **Restart**, stop and start act on the running container. - Each build log (`docker build` output) is in **Tasks**. ## Limits and data | Limit | Value | | --- | --- | | Memory | 1024 MB per container | | CPU | 1 CPU | | Processes | 512 | | Restart policy | Restarted automatically unless stopped | On servers where Docker uses the systemd cgroup driver (the default on Ubuntu 22.04/24.04 and Debian 12/13), the container also runs inside the account's resource group, so the package's limits apply too. ### Builds `docker build` runs in the Docker daemon, not as the account's Linux user. With the systemd cgroup driver, the containers of the build's `RUN` steps are placed in the account's resource group (`--cgroup-parent`), so the package's CPU and memory limits apply to builds as they do to the running app: a step that needs more memory than the package allows is stopped (`Killed` in the task log). This works with BuildKit (Docker's `buildx` component) and with the older builder Docker uses when `buildx` is not installed. Not covered by the package limits: - pulling base images, sending the build context and exporting the image, which the Docker daemon does itself; - the disk space of images and the build cache (under `/var/lib/docker`, not in the account's quota). Every build is stopped after 45 minutes. ### Persistent paths A container's filesystem is recreated on every deploy and rollback, so anything written inside it is lost, except in its **persistent paths**. On the **Deploy** tab, in **Build & run**, enter them in **Persistent paths (in the container)**, comma-separated, then click **Save & deploy**: ```text /app/data, /app/uploads ``` - Each is an absolute folder inside the container, at most 10. Use only letters, digits, `.`, `_`, `-` and `/`; no `..`, no folder inside another one in the list. - System folders are refused: `/proc`, `/sys`, `/dev`, `/etc`, `/run`, `/boot`, `/bin`, `/sbin`, `/lib*`, `/usr/bin`, `/usr/sbin`, `/usr/lib*` and everything inside them, and `/`, `/usr`, `/usr/local`, `/usr/share`, `/usr/src`, `/var`, `/var/lib`, `/var/cache`, `/var/log`, `/home`, `/opt`, `/root`, `/tmp`, `/mnt` and `/media` themselves (a folder inside them, such as `/var/lib/postgresql/data` or `/usr/src/app/uploads`, is fine). - Each path is a folder on the server under `/var/lib/zopanel-apps/git--/`, reachable only by root and by this website's containers. It is mounted at the same path in both release slots: during a deploy the old and the new container use it at the same time for a few seconds, which file-based databases such as SQLite handle. - A new folder starts empty and hides whatever the image has at that path, so use a folder for data, not the folder of your code. It is owned by the image's `USER` when that is a numeric ID (`USER 1000`); when the image runs as root it belongs to root in the container; when `USER` is a name (`USER node`), the folder is writable by every user of the container. Existing data keeps its owners. - Like App Store app data, it lives in a volume of the account that counts in its disk space; all of an account's volumes together are never bigger than its package. - The data stays when you change the paths. It is deleted with the website only when you choose to delete its files, and with the account. - An account move recreates the paths on the new server, empty: copy the data yourself. The folders can be backed up like the data of App Store apps: a **Backups** card appears on the **Deploy** tab once the app has persistent paths. Anyone who manages the website can back up now; administrators set the schedule (daily or weekly, number kept), restore and delete. A backup pauses the container for the time of the copy; a restore stops it, replaces the data and starts it again. Backups are kept in `/var/backups/zopanel-apps/` on the server, apart from account backups. For data shared with other services, a database on another server or object storage, such as ZoPanel's [S3 storage](/docs/apps) published on a domain (reached over HTTPS on port 443), is still the better place. ## Isolation A customer's container runs code the server does not control, so ZoPanel confines it: - **Network:** containers cannot open connections to private, shared, loopback or link-local addresses (including the cloud metadata service at `169.254.169.254`), nor to other containers. On the server itself they reach only the public ports: web (80, 443), mail (25, 465, 587) and DNS. The server's MySQL, PostgreSQL, Redis and the panel are not reachable from a container. Image builds run under the same rules. - **Privileges:** every Linux capability is dropped except `CHOWN`, `DAC_OVERRIDE`, `FOWNER`, `SETUID`, `SETGID`, `NET_BIND_SERVICE` and `KILL`; `no-new-privileges` is set; Docker's default seccomp and AppArmor profiles apply. - **User namespaces:** root in the container maps to an unprivileged ID range on the host. - **No host access:** no Docker socket, and no host folder other than the website's own persistent paths. If these rules cannot be applied, ZoPanel does not build or start the container. ## Troubleshooting | Message | Cause and fix | | --- | --- | | `this account's package does not allow its own Docker apps (Dockerfile or image); ask the administrator` | Turn on **Own Docker apps** in the account's package, or deploy from a full administrator's account. | | `Dockerfile deployments are disabled; enable them on the server with: zopanel ctl feature enable custom-docker` | Run the command as root on the server. | | `Docker is not installed (install it from the App Store page)` | Install Docker from **App Store** or **Components**. | | `no Dockerfile in the build directory` | The `Dockerfile` must be in the **Root directory** (the name is case-sensitive). | | `docker build failed: …` | A build step failed; the task log shows the output. Steps that download from private addresses are blocked. `Killed` in a step means it needed more memory than the account's package allows. | | `docker build did not finish within 45 minutes` | Make the build faster (smaller context with `.dockerignore`, fewer steps), or build the image elsewhere and deploy it as a ready-made image. | | `persistent path … is not allowed` / `must be an absolute path inside the container` | Use an absolute folder of your app such as `/app/data`, not a system folder. | | Data lost after a deploy | It was written outside the persistent paths. Add the folder to **Persistent paths (in the container)**. | | App cannot write to its persistent path | The folder was created while the image ran as another user, or the app expects files the image had at that path (a new folder starts empty). Use a numeric `USER`, or `chown` the folder in an entrypoint that starts as root (the container keeps `CHOWN`). | | `cannot pull … (public images only): …` | The image or tag does not exist, or it is private. | | `image must look like nginx:1.27 or ghcr.io/owner/app:v2` | Use a lowercase image reference. | | `the container did not answer on port … within 120s (set PORT or EXPOSE to the port it listens on)` | The app listens on another port or on `127.0.0.1` inside the container. Set `PORT`, or listen on `0.0.0.0:$PORT`. | | `the container exited during startup` | Read the container output in the task log: usually a missing variable or a command that ends immediately. | | `Docker runs without user-namespace isolation; restart the ZoPanel agent to enable it` | Run `sudo systemctl restart zopanel-agent` on the server. | | `the network isolation for containers could not be set up (iptables); Docker apps are not started without it` | The firewall rules could not be installed. Check that iptables works and Docker is running. | | App cannot connect to the database | Containers cannot reach the server's own databases, not even through its public IP. Use a database on another server, reachable on a public address. | ## Related - [Git deploy](/docs/git-deploy) - [App Store and S3 storage](/docs/apps) - [Packages and limits](/docs/packages-limits) - [Security](/docs/security) - [Dockerfile reference](https://docs.docker.com/reference/dockerfile/) ## App Store ### App Store and S3 storage Source: https://zopanel.net/docs/apps Besides PHP websites, ZoPanel runs applications in Docker containers and can host S3-compatible object storage on the same server. Both are optional components. Install only what you use, because every component uses memory. ## Install Docker Docker is needed for the App Store, image-based deployments and S3 storage. Install it in one of these ways: - **App Store → Install Docker**, or - **Components → Docker** (admin menu), or - `--with docker` (or `--profile full`) when you run the installer. ZoPanel configures Docker so that containers stay isolated from the host and from hosting accounts: - **User namespaces** (`userns-remap`): container user IDs map to a range that no hosting account uses. - **Local ports only**: containers publish their ports on 127.0.0.1 only. They cannot bypass the firewall, and visitors reach them through the website's nginx with SSL. - Containers cannot talk to each other directly (inter-container communication is off). - Each container runs with `no-new-privileges`, a limit of 512 processes and some Linux capabilities removed (`NET_RAW`, `MKNOD`, `AUDIT_WRITE`). - **Memory and CPU limits** are set for each app (see the table below; 1 CPU each). A customer's container runs inside the customer's own resource group, so the package's limits also apply. - App data is stored in `/var/lib/zopanel-apps//`. Only root and the container can read it. Environment variables are passed through a root-only file, not the command line. - Container logs are rotated (3 files of 10 MB). ## App Store For what each app does and when to choose it, see [What each app does](/docs/app-catalog). **App Store** lists one-click applications. Installing one creates a website for the domain you choose, starts the container, and proxies the domain to it. SSL is issued automatically once the domain points to the server. | App | Category | Memory limit | | --- | --- | --- | | n8n | Workflow automation | 1024 MB | | Uptime Kuma | Uptime monitoring and status pages | 512 MB | | Nextcloud | File sync and share, calendar, contacts | 1024 MB | | Gitea | Lightweight Git hosting | 512 MB | | Vaultwarden | Bitwarden-compatible password manager | 256 MB | | Metabase | Business intelligence dashboards | 1536 MB | | Ghost | Blogs and newsletters (SQLite) | 768 MB | | Memos | Lightweight notes | 256 MB | | Open WebUI | AI chat for OpenAI-compatible APIs and public API providers | 2048 MB | | OpenClaw | AI assistant you talk to from chat apps (needs an LLM API key) | 2048 MB | | Excalidraw | Collaborative whiteboard | 256 MB | Each app has its own guide (setup, first login, backups, updates): [n8n](/docs/app-n8n), [Uptime Kuma](/docs/app-uptime-kuma), [Nextcloud](/docs/app-nextcloud), [Gitea](/docs/app-gitea), [Vaultwarden](/docs/app-vaultwarden), [Metabase](/docs/app-metabase), [Ghost](/docs/app-ghost), [Memos](/docs/app-memos), [Open WebUI](/docs/app-open-webui), [OpenClaw](/docs/app-openclaw), [Excalidraw](/docs/app-excalidraw). Apps that need an API key ask for it during installation. You pay the model provider directly. Apps whose upstream project stopped getting security fixes are no longer offered, but copies already installed can still be managed, and their **Docker** tab says the project is discontinued: [File Browser](#file-browser-discontinued) (archived upstream) and, since 0.4.25, [Flowise](/docs/app-flowise) (discontinued in August 2026). ### Install an app 1. Open **App Store** and choose an app. 2. Enter the domain. Administrators also choose the hosting account the app belongs to. 3. Click **Install**. The task log shows the image download and start. 4. Point the domain's A record to the server if you have not already. SSL follows automatically. Manage an installed app on its website's **Docker** tab. Everyone with access to the website sees its status and output there. Administrators can also restart, stop or start it, and use **Update to latest** to run the image this ZoPanel version pins for the app's version line; your data is kept, and since 0.4.28 it is backed up first (see [Updates and security updates](#updates-and-security-updates)). **Update to latest** stays within the app's major version. When the App Store moves an app to a new major version (Ghost 6 and Uptime Kuma 2 since 0.4.25), apps installed earlier keep their version, and the **Docker** tab shows a notice (end of life, or a new version available) with **Upgrade to …**: the app's data is backed up first, the new version migrates it, and **Roll back to …** restores that backup on the earlier version. Each app's guide describes what to check before upgrading. The account that owns the app can restart, stop and start it too; updates and upgrades are for administrators: ask your hosting provider. If the app generates a login token, it is shown under **Login details**. ### Updates and security updates Every App Store image is pinned to an exact build (a digest) tested with the ZoPanel release; a moved tag upstream never changes what runs. A ZoPanel update can move a pin to a newer release of the same version line. Installed apps keep the build they run until an administrator presses **Update to latest**: ZoPanel never updates an app by itself, because a new release may convert the app's data (database migrations happen inside the app) and the owner may want to pick the moment. **Update to latest** asks for confirmation. With **Back up the app's data first** ticked (the default), the app's data is archived first, as **Back up now** does; if that fails (for example the disk is full), the app is not touched and the task says why. Untick it only if you have another copy. An app that keeps no data (Excalidraw) and an update to the build already running skip the backup. After a new build starts, ZoPanel watches it for a minute and a half: if it stops or keeps restarting (a crash on start, or on the converted data), the build it ran before is started again with the data of that backup, and the task fails saying so; the app still shows its update as waiting. To undo an update that started fine, **Restore** the backup on the **Backups** card. When the newer pin fixes published vulnerabilities of what an install runs, ZoPanel says so: - The app's **Docker** tab shows **Security update: ** with the advisories it fixes and, for administrators, **Update to **. Customers see the notice too, with a request to ask their provider. - Administrators get **The app of has a security update waiting** (or **N apps have a security update waiting**) under **Needs your attention** on the dashboard. - `GET /api/sites/{id}/docker` returns `security_update` (`from`, `to`, `advisories`) for scripts and monitoring. Apply security updates soon. ZoPanel 0.4.34 brings [Gitea 28.3.0](/docs/app-gitea#security-updates) (twenty advisories of 28.2.0, 29 for installs on 28.1.0); 0.4.28 brought [Flowise 3.1.3](/docs/app-flowise#update) (27 of the 28 advisories of 3.1.2). Apps on a version that will never get a fix get a warning instead: their **Docker** tab lists the known vulnerabilities, and the dashboard shows **The app of has known vulnerabilities that will not be fixed**. That is the case of a discontinued app (File Browser) and of an end-of-life major version ([Ghost 5](/docs/app-ghost): 27 published vulnerabilities of 5.130.6 are fixed only in Ghost 6; use **Upgrade to Ghost 6**). ### File Browser (discontinued) File Browser's repository was archived upstream in July 2026; 2.63.23 is its last release, and the App Store no longer offers it. Installs keep running and can be managed, backed up and uninstalled, but 18 vulnerabilities published for 2.63.23 have no fix and never will (among them GHSA-c4fr-5f24-4wrj, upload clean-up deleting folders outside the user's permissions, GHSA-448h-jr2h-3vhp, memory exhaustion, GHSA-xqp3-jq6g-x3qm, authentication bypass with proxy authentication, and command-execution bypasses GHSA-8c9q-7855-wfxq, GHSA-jvpw-637p-h3pw, GHSA-3q2w-42mv-cph4, GHSA-hc8f-m8g5-8362); the **Docker** tab lists them all. ZoPanel does not change these installs. What to do: 1. Move the files elsewhere and uninstall the app (**Uninstall app** on the **Docker** tab). The hosting account's **File Manager**, SFTP and [S3 storage](#s3-object-storage) cover most uses. 2. Until then, restrict who can reach it: on the website's **Tools** tab, add a **Password-protected directory** with the directory `/`, so a second password is asked before File Browser's own login. Do not create File Browser users you do not trust, and keep its command execution off. **Backups:** App Store app data in `/var/lib/zopanel-apps//` is not included in ZoPanel's account backups or incremental (restic) snapshots. It has its own **Backups** card on the **Docker** tab: **Back up now**, and for administrators a daily or weekly **Schedule**, how many copies to **Keep**, **Restore** and delete. The app is paused for a few seconds while its data is copied. Archives are kept in `/var/backups/zopanel-apps` (root only); copy important ones off the server. See [App and S3 storage backups](/docs/backups#app-and-s3-storage-backups). ### App limits for customers Customers can install apps themselves when their package allows it. Set the limit in **Packages → Docker apps**: - `0` means no apps. - Any other number is the maximum number of apps the account can run. - Each app is a website of its own and counts toward the package's **Websites**. - Each app's memory limit counts toward the package's **RAM (MB)**, and its processes toward **Processes** (processes and threads, see the table). The package keeps PHP children + 40 processes for its websites, plus 64 for each Git deploy that runs its own server (Node.js, Python, Docker; not a static or PHP deploy). - An install that would go over any of these is refused with the reason. The App Store shows each customer what is left and why an app cannot be installed. - These checks apply to every install, by the customer or by an administrator for it. Only the number of apps is the customer's own limit: an administrator may install more for it. - The server must have room too: an app's memory must fit in what hosting accounts may use of the server's RAM (the rest is kept for the system and grows with the server), and all apps on the server together may be planned at 150% of it (apps rarely peak together; the accounts' memory cap still holds). | App | Memory | Processes | |---|---|---| | Memos, Excalidraw, File Browser | 256 MB | 32 | | Ghost | 768 MB | 32 | | n8n | 1024 MB | 48 | | Uptime Kuma | 512 MB | 48 | | Gitea | 512 MB | 96 | | Vaultwarden | 256 MB | 96 | | OpenClaw | 2048 MB | 160 | | Open WebUI | 2048 MB | 176 | | Nextcloud | 1024 MB | 192 | | Metabase | 1536 MB | 320 | Processes are measured at start and under 50 concurrent requests, times 1.5. Each app's container is capped there, so one app cannot take what the account's websites and other apps need. Apps run with one CPU and their math libraries use one thread per CPU, so they behave the same on any server size. When an account reaches its process or memory limit (an app crashing, PHP refusing requests), the account and its provider are notified, and accounts whose apps need more than their plan are listed on the provider's dashboard. A crashed app shows as down in uptime monitoring. Customers can only install apps from the catalog. Custom images are for administrators. ### Custom Docker images Administrators can run any public image behind a domain with **App Store → Custom Docker image**. Enter the image, the container port, an optional data path and memory. Images outside the catalog are disabled until you turn them on, as root, on the server: ```bash zopanel ctl feature enable custom-docker ``` This switch can only be changed on the server, not from the web panel. A compromised panel session therefore cannot start arbitrary containers. ## Image-based deployments A website's **Deploy** tab can also run your own code as a container: - **Container (Dockerfile)**: ZoPanel builds the Dockerfile in your repository. - **Ready-made Docker image**: enter a public image such as `nginx:1.27` or `ghcr.io/owner/app:v2`. Pin a tag. The port comes from the `PORT` variable or the image's `EXPOSE`. Both use the normal deployment pipeline: health check, zero-downtime switch-over and **Rollback** to the last 5 releases. The container listens on 127.0.0.1 only. Both also need `zopanel ctl feature enable custom-docker` on the server. **Who may use them.** The code in a Dockerfile or image is the customer's choice, so these modes are open only to accounts of a full administrator and to packages with **Own Docker apps** turned on (**Packages**, off by default). A reseller can grant it only when its own package has it. Accounts made before 0.4.8 that already deploy a container keep running, but the next deploy needs the package switch. **Isolation.** Every container, App Store apps and image builds included, is cut off from the server's internal network: private and shared address ranges, link-local addresses (the cloud metadata service at `169.254.169.254` and `fd00:ec2::254`) and loopback are refused. Containers cannot open connections to each other either, so one customer's container cannot reach another site's app directly, past nginx, the WAF and the setup lock; this holds whatever `icc` says in `/etc/docker/daemon.json` (ZoPanel also sets it to `false`). On the server itself, containers reach only the ports the internet reaches too (web 80/443, mail 25/465/587 and DNS), not the database, Redis or the panel. If these firewall rules cannot be applied, ZoPanel does not start or build containers. A customer's own container also runs with every Linux capability dropped except a short list, cannot gain privileges, uses Docker's default seccomp and AppArmor profiles and never sees the Docker socket or host folders. ## S3 object storage **S3 storage** gives customers Amazon S3-compatible buckets on your server, for images, uploads, media and backup targets. It uses the Garage engine in a container. The engine needs Docker. ### Set it up (administrator) 1. Open **S3 storage** and click **Install**, or install **S3 object storage** in **Components**. Data is stored in `/var/lib/zopanel-storage`. 2. The S3 API listens on 127.0.0.1 only. To use it from outside the server, point a domain's A record to the server and use **Publish on a domain**. ZoPanel creates a reverse-proxy website for it with automatic SSL. 3. Apps then connect to `https://` with region `us-east-1`. Turn on **path-style addressing** in the S3 client. **Uninstall** removes the container. Your data is kept unless you also tick **Also delete all data and buckets**. Once installed, the **S3 storage** page has a **Backups** card for all buckets, with **Back up now**, a schedule and **Restore**, as for apps. See [App and S3 storage backups](/docs/backups#app-and-s3-storage-backups). ### Buckets Every hosting account can create buckets in **S3 storage → New bucket**: - Names are 3–63 lowercase letters, digits and hyphens. - **Each bucket has its own access key that works only for that bucket.** The secret is shown once. If it is lost, use **Rotate key**. The old key stops working at once. - Each bucket is capped at what the account's package leaves when it is created (never more than the package's disk space; at least 64 MB must be left). Buckets count in the account's disk space; while the account is over it, its buckets take nothing more until space is freed. - An account can have up to 10 buckets. Administrators are not limited. - The free plan includes 1 bucket on the server. Pro removes the limit. In **Bucket settings** you can set CORS origins for websites that call the bucket directly, and **Delete objects after (days)** for logs or rotating backups. Unfinished uploads are always cleaned after 7 days. **Browse files** lets you upload, download and delete files and create **Share link**s that expire. ### Public buckets Tick **Public** to let anyone read files without a key, for example images on a website. You can turn it on or off later. When storage is published on a domain, public files are served at: ```text https://// ``` Private buckets need the key or a share link. Downloads from the panel's file browser are always served as attachments. The bucket key works with any S3 SDK or plugin, such as WP Offload Media, Laravel's S3 driver or the AWS SDK. ### What each app does Source: https://zopanel.net/docs/app-catalog Many people rent a server for one reason: to self-host a single app they would otherwise pay a monthly subscription for, and keep their data on their own machine. ZoPanel's **App Store** installs each of these in one click, behind your own domain, with automatic SSL. This page explains what every app is for in plain terms; the [App Store and S3 storage](/docs/apps) page covers how installation, isolation and limits work. Each app runs in its own Docker container with a memory limit (shown below). Add up the memory of the apps you plan to run and make sure your server has enough RAM, plus about 1 GB for the system and the panel. ## Notes and writing ### Memos — personal notes and a lightweight journal A fast place to jot notes, to-dos and a daily log from your phone or browser, with tags and Markdown. Your notes stay on your server, not a third-party app. **Choose it when:** you want a private alternative to note apps like Google Keep or Flomo. **Needs ~256 MB RAM.** **First-time setup:** open your domain; the **Set up your instance** page asks for a user name and password — this becomes the administrator account. If the notes are only for you, turn off new sign-ups afterwards in the settings. **Full guide:** [Memos](/docs/app-memos) ### Ghost — a professional blog or newsletter A modern publishing platform for blogs, magazines and paid newsletters, with a clean editor, built-in memberships and email subscriptions. **Choose it when:** you are a writer, creator or business that wants a fast, ad-free blog and your own newsletter list instead of Medium or Substack. **Needs ~768 MB RAM.** **First-time setup:** open `https://your-domain/ghost` and create the owner account (site title, your name, email, password). Your blog is then live at the domain. To send transactional email (staff invites, password resets, member sign-in links), fill in the optional **SMTP** fields when you install: a mailbox you create in the panel works (server = your mail server name, port 587, the mailbox address and password). Sending newsletters to your members in bulk is a separate setting: Ghost supports only Mailgun for that (see Ghost's official documentation). **Full guide:** [Ghost](/docs/app-ghost) ### Excalidraw — a shared whiteboard Draw diagrams, flowcharts and sketches with a hand-drawn look, and share a board link with others in real time. **Choose it when:** you run workshops, design sessions or online teaching and want a private whiteboard. **Needs ~256 MB RAM.** **First-time setup:** nothing to set up: open your domain and start drawing. Drawings are kept in your browser, not on the server — use **Save to… / Export** to keep a file, and **Open** to load it on another device. **Full guide:** [Excalidraw](/docs/app-excalidraw) ## Files and collaboration ### Nextcloud — your own cloud drive A full replacement for Google Drive / Dropbox: sync files across devices, share links, and use the built-in calendar, contacts, notes and document editing. Desktop and mobile apps included. **Choose it when:** you want to move your family's or company's files off big cloud providers and keep full control, with as much space as your disk allows. **Needs ~1 GB RAM** (more for many users). **First-time setup:** open your domain; the installer asks for an **administration account name and password** — choose them and press **Install**. It uses the built-in SQLite database and shows a performance warning about it: that is fine for one person or a small family, but plan a bigger server setup for a whole team syncing many files. Then install the desktop or phone app and sign in with your domain as the server address. **Full guide:** [Nextcloud](/docs/app-nextcloud) ## Work automation and business ### n8n — connect your apps and automate work A visual workflow builder (a self-hosted Zapier / Make) that links hundreds of services: when something happens in one app, do something in another — send emails, update sheets, post to chat, call APIs — with no monthly task limits. **Choose it when:** you automate repetitive work across tools and don't want to pay per task or worry about data leaving your server. **Needs ~1 GB RAM.** **First-time setup:** open your domain (the first time it shows "n8n is starting up" for about half a minute) and fill in the **owner account** form (email, name, password). Webhook URLs already use your domain with HTTPS. **Full guide:** [n8n](/docs/app-n8n) ### Metabase — dashboards and business intelligence Point it at your databases and build charts and dashboards that non-technical staff can read and filter, without writing SQL. **Choose it when:** you want to turn your shop, app or spreadsheet data into dashboards for your team. **Needs ~1.5 GB RAM.** **First-time setup:** open your domain and press **Let's get started**: language, your admin account, then **Add your data** (you can skip this and connect a database later in **Admin → Databases**). Metabase takes a minute or two to start the first time. **Full guide:** [Metabase](/docs/app-metabase) ### Uptime Kuma — monitoring and status pages Watches your websites, servers and services and alerts you (Telegram, email, and more) the moment one goes down, with a public status page you can share with customers. **Choose it when:** you run any site or service and want to know about downtime before your users tell you. **Needs ~512 MB RAM.** **First-time setup:** open your domain; it asks you to **create an admin account** right away. Then add a monitor (**Add New Monitor**) and a notification channel such as Telegram or email. **Full guide:** [Uptime Kuma](/docs/app-uptime-kuma) ## Developers ### Gitea — your own Git hosting A lightweight, self-hosted GitHub: private repositories, issues, pull requests and a web UI, without usage limits or per-seat fees. **Choose it when:** a team or solo developer wants private code hosting fully under their control. **Needs ~512 MB RAM.** **First-time setup:** open your domain; the **Initial Configuration** page is pre-filled (SQLite database, your domain as the site URL). Scroll to **Administrator Account Settings**, create your admin user, then press **Install Gitea**. Clone and push over HTTPS: Gitea's SSH server is not published, so SSH clone URLs do not work. **Full guide:** [Gitea](/docs/app-gitea) ## Security ### Vaultwarden — a private password manager A Bitwarden-compatible server: use the official Bitwarden apps and browser extensions, but store all your passwords and secrets on your own server. Share vaults with family or a team. **Choose it when:** you want the convenience of Bitwarden without trusting a third party with your passwords. **Needs ~256 MB RAM.** **First-time setup:** **HTTPS is required** — Vaultwarden refuses to work over plain HTTP, so point the domain at the server and let SSL be issued first. Then open your domain and choose **Create account** — your master password encrypts the vault and cannot be recovered, so store it safely. In the Bitwarden apps and browser extension, pick **Self-hosted** and enter `https://your-domain` as the server URL. Once your family or team has their accounts, open `https://your-domain/admin` with the **ADMIN_TOKEN** from **Login details** and turn off **Allow new signups** (you can still invite people from there). **Full guide:** [Vaultwarden](/docs/app-vaultwarden) ## AI assistants and tools These need an API key from a model provider (Anthropic, OpenAI, DeepSeek…), which you pay for directly; ZoPanel never sees it. They are heavier — plan for the RAM below. ### Open WebUI — a private ChatGPT-style chat A polished chat interface for OpenAI, Claude (through OpenAI-compatible access) and other OpenAI-compatible or public API providers. Ollama is not supported here: ZoPanel turns off the Ollama API, and the container cannot reach an Ollama running on the same server. Multiple users, chat history and documents, all on your server. **Choose it when:** you want a shared AI chat for yourself or a team, with your own API keys and no per-seat SaaS fee. **Needs ~2 GB RAM.** **First-time setup:** open your domain, press **Get started** and create the first account — it becomes the administrator. Whether later sign-ups are allowed, and whether they wait for your approval, is set in **Admin Panel → Settings → General**; check it there. Then add your API key in **Admin Panel → Settings → Connections** (OpenAI, or any OpenAI-compatible provider). **Full guide:** [Open WebUI](/docs/app-open-webui) ### OpenClaw — an AI assistant you talk to from chat apps A self-hosted assistant you message from Telegram, Zalo, WhatsApp and similar, backed by the LLM key you provide. It answers and can run tasks from a simple chat. **Choose it when:** you want an always-on AI helper reachable from the chat apps you already use, kept private on your own server. **Needs 2 GB+ RAM and an LLM API key.** **First-time setup:** you enter the LLM API key when you install. Copy the **gateway token** from the app's **Docker** tab (**Login details**), open your domain, paste it into **Gateway secret** and press **Connect**. OpenClaw then asks to **approve this browser**: go back to the **Docker** tab, find it under **Browsers** and press **Approve** — the app opens by itself. Then connect a chat app (for example a Telegram bot token) in OpenClaw's **Settings → Channels**. **Full guide:** [OpenClaw](/docs/app-openclaw) ## After you install Point the domain's A record at your server; SSL is issued automatically. Heavier apps (Nextcloud, Ghost, n8n, Open WebUI, Metabase, OpenClaw) need **one to two minutes** to start the first time — if the page says the site is busy, wait and it reloads by itself. **New apps are locked to you until you finish setting them up.** For most apps the first person to open the domain creates the administrator account, so ZoPanel keeps the app private after installing it: visitors see "This app is being set up". On the app's **Docker** tab, press **Open the app (only for me)**, create your admin account, then press **Setup finished — open to everyone**. OpenClaw and Excalidraw have no setup lock: OpenClaw is protected by its gateway token and browser approval, and Excalidraw has no accounts. Manage each app on its website's **Docker** tab — status, memory and logs, plus **Login details** when the app has a generated token. You can start, stop and restart the app there. **Update to latest** (your data is kept) is for administrators: on a hosting account, ask your provider to update an app. ## Uninstalling an app At the bottom of the app's **Docker** tab, press **Uninstall app** and type the domain to confirm. The app stops and is removed; the website stays as an empty PHP site with the same domain, SSL certificate, e-mail and DNS, so you can install another app on it or upload your own site. On a hosting plan, the app no longer counts towards your applications. By default the app's data and its app backups are **kept**: installing the same app again on that domain from the same account picks them up where you left off. Tick **Also delete the app's data** to remove them for good. Kept data is only ever given back to the account and app that wrote it — if the domain later goes to another account, or another app is installed on it, the new app starts empty and the old data is moved to a root-only folder on the server (`/var/lib/zopanel-apps/.set-aside`) for 30 days. Deleting a hosting account deletes its kept app data too. To remove the domain as well, delete the website instead (**Websites → Delete**); tick **Delete all files** to remove the app's data with it. Want something not on the list? Administrators can run any public Docker image behind a domain — see [custom Docker images](/docs/apps). ### Memos Source: https://zopanel.net/docs/app-memos Memos is a lightweight, self-hosted note-taking app: short notes, to-dos and a daily log written in Markdown, with tags, search and file attachments, usable from a phone or desktop browser. Choose it when you want a private alternative to Google Keep or Flomo for yourself, a family or a small team, with the notes stored on your own server. ## Requirements | Item | Value | | --- | --- | | Image | `neosmemo/memos:0.31` | | Memory limit | 256 MB, 1 CPU | | Free disk to install | About 1.1 GB on the Docker disk (the image plus 1 GB kept free for the server) | | Database | SQLite, inside the app's data folder | | Docker | Installed by the administrator (**App Store → Install Docker**) | The new website counts toward the account's website limit. As a customer, your package must allow Docker apps and have 256 MB of **RAM (MB)** left for the app. See [App Store and S3 storage](/docs/apps). ## Install Memos ### As the administrator 1. Point the domain's A record (for example `notes.example.com`) to the server. SSL can only be issued once DNS resolves. 2. Open **App Store** and click **Install** on the **Memos** card. 3. Fill in the fields (table below) and click **Install**. The task log shows the image download and the container start. 4. When the task finishes, open the new website and go to its **Docker** tab. ### As a customer Open **App Store** from the menu. The card at the top shows your quota, for example "Your plan: 0 of 2 applications · memory 0 of 2048 MB." If it says "Applications are not included in your plan. Ask your provider to enable them.", your package has **Docker apps** set to `0`. Otherwise the steps are the same as above, without the **Owner** field: the app always belongs to your own account. ### Install fields | Field | What to enter | | --- | --- | | **Domain** | The domain or subdomain for Memos, without `http://`. It must not already be used by another website. | | **Owner** | Administrators only: the hosting account that owns the website and the app. | | **Free SSL (Let's Encrypt)** | On by default. The certificate is requested after the container starts. If DNS does not point to the server yet, the log says "SSL could not be issued yet" and you can issue it later on the **SSL** tab. | Memos has no extra install fields. ZoPanel does not set any Memos environment variables; everything is configured inside the app. ## Finish the setup behind the setup lock In Memos, the first account created becomes the administrator. To stop a stranger from claiming it first, ZoPanel locks every new Memos install: visitors see "This app is being set up" until you open it. 1. On the website's **Docker** tab, the **Setup lock is on** card is shown. Click **Open the app (only for me)**. This sets a cookie in your browser (valid 30 days) and opens Memos. 2. Create your account on the first screen (user name and password). This account is the instance administrator (Memos calls it the host). 3. Close sign-ups if the notes are only for you or a fixed group (next section). 4. Go back to the **Docker** tab and click **Setup finished — open to everyone**. The message "The app is now open to everyone" confirms it. **Important:** Do not skip step 4 if other people or your phone's browser need to reach Memos: until you click it, only a browser holding the setup cookie gets through. ## Essential settings in Memos Open the settings from the sidebar while signed in as the administrator. - **User registration.** By default anyone who can reach the site can create an account. Turn on **Disallow user registration** in the administrator's system settings, then create accounts for other people yourself from the members settings. Menu names can change between Memos releases; check the [Memos documentation](https://usememos.com/docs) if you do not find it. - **Access for visitors.** Memos 0.31 has an instance access setting that decides what visitors who are not signed in can see, separately from each memo's visibility (private, protected, public). Review it before you share public memos. - **Attachment storage.** In the storage settings, attachments can be kept in the database, on the local file system, or in S3-compatible storage. Database and local storage both live in the app's data folder on the server, so the backup below covers them. To keep attachments in a ZoPanel bucket instead, publish S3 storage on a domain first (see [App Store and S3 storage](/docs/apps)). The container reaches that domain over HTTPS on port 443; it cannot reach the S3 API on 127.0.0.1. ## Data and backups | What | Where on the server | | --- | --- | | Database (`memos_prod.db`) and local attachments | `/var/lib/zopanel-apps//data/` (mounted at `/var/opt/memos` in the container) | | Environment file (root only) | `/var/lib/zopanel-apps//.env` | | Container name | `zp-app-` | `` is the domain with dots replaced by hyphens: `notes.example.com` becomes `notes-example-com`. **ZoPanel's account backups do not include this folder.** Full account backups and incremental (restic) snapshots cover the account's website folders under `/home`, its databases and its mail. App data lives in `/var/lib/zopanel-apps`, outside the account, so it is not in those backups, does not appear in the File Manager; it counts in the account's disk space and lives in a volume of its own, no bigger than the package. It is backed up by the **Backups** card on the website's **Docker** tab instead. The configuration backup (`.zpb`) restores the app's record in the panel, not its notes. To back up Memos, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite database is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Memos is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain your notes and the `.env` file. To restore on another server, install Memos on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. Docker runs containers in a separate user-ID range (`userns-remap`), so this works only if both servers use the same `dockremap` range; compare `grep dockremap /etc/subuid` on both. Customers can also use Memos' own export features for important notes. ## Update Memos Administrators click **Update to latest** on the **Docker** tab. ZoPanel pulls the image again, recreates the container with the same settings and keeps the data folder. The image tag `0.31` follows bug-fix releases of the 0.31 line; a newer line arrives when a ZoPanel update moves the catalog to it. Memos migrates its database on start and does not support going back to an older version afterwards. Make a backup (**Back up now**) before each update. Customers do not see the update button: ask your provider to update the app. ## Network limits Every App Store container is cut off from the server's internal network. For Memos this means: - Webhooks and links to private addresses (`10.x`, `172.16–31.x`, `192.168.x`, `127.x`, the cloud metadata address `169.254.169.254`) are refused. Webhooks to public HTTPS endpoints work. - On the server itself, the container reaches only ports 80, 443, 25, 465, 587 and DNS, never the panel, MySQL/MariaDB, PostgreSQL or Redis. - Single sign-on (OAuth/OIDC) providers on the internet work, because they are public addresses. ## Troubleshooting | Symptom or message | What to do | | --- | --- | | "This app is being set up" | The setup lock is still on. Click **Open the app (only for me)** in the same browser, or **Setup finished — open to everyone**. | | "This website is very busy right now" | Memos is starting or restarting. The page reloads by itself; check **Application output** on the **Docker** tab if it persists. | | "not enough disk space: this app needs about 1.1 GB free…" | Free space on the server's Docker disk, then install again. | | "your plan allows 1 application(s)" / "Memos needs 256 MB of memory; your plan has…" | The package limit is reached. Remove another app or ask for a larger package. | | "the app did not start listening: …" | The container did not open its port within 2 minutes. The message ends with the last log lines; read them, then click **Restart**. | | Someone else's account appears | Sign-ups are open. Delete the account in Memos' member settings and turn on **Disallow user registration**. | | Notes lost after deleting the website | Deleting a website with **Also delete all files** ticked also deletes `/var/lib/zopanel-apps/` and the app's backups. Restore from a copy you kept off the server. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Packages and limits](/docs/packages-limits) - [Backups](/docs/backups) - [Memos documentation](https://usememos.com/docs) ### Ghost Source: https://zopanel.net/docs/app-ghost Ghost is a publishing platform for blogs, magazines and newsletters, with a fast editor, themes and built-in member sign-ups. ZoPanel runs Ghost 6 in a container with a SQLite database, which suits a personal or small-business blog without a separate database server. ## Requirements | Item | Value | | --- | --- | | Image | `ghost:6-alpine` (Ghost 6), pinned to the digest tested with your ZoPanel version. Blogs installed before ZoPanel 0.4.25 run Ghost 5 until upgraded (see [below](#blogs-installed-on-ghost-5-upgrade-to-ghost-6)). | | Memory limit | 768 MB, 1 CPU | | Free disk to install | About 2 GB on the Docker disk (the image plus 1 GB kept free for the server) | | Database | SQLite, file `content/data/ghost.db` inside the app's data folder | | Mail | Optional SMTP server, entered at install time | The website counts toward the account's website limit. As a customer, your package must allow Docker apps and have 768 MB of **RAM (MB)** free for the app. **Note:** Ghost officially supports only MySQL 8 in production; SQLite runs Ghost in development mode (`NODE_ENV=development`), which is how the official Docker image supports it, in Ghost 6 as in Ghost 5 (the image ships the SQLite driver and documents SQLite for development mode). This works well for a single blog with moderate traffic. Containers cannot reach the server's own MySQL (see [Network limits](#network-limits)), so ZoPanel uses SQLite. ## Before you install 1. Point the domain's A record to the server. 2. Decide on mail. Ghost needs an SMTP server to send staff invitations, password resets and the sign-in and sign-up links for members. Without mail, you can still publish, but you cannot reset a forgotten password by email and members cannot sign in. 3. If you use a mailbox on this server, create it first under **Email** (for example `blog@example.com`) and note the mail server's host name. **Important:** The SMTP fields can only be entered when you install. ZoPanel has no form to change them later (see [Change mail settings later](#change-mail-settings-later)). ## Install Ghost 1. Open **App Store** and click **Install** on the **Ghost** card. Customers find **App Store** in their menu; the card at the top shows how many apps and how much memory the package allows. 2. Fill in the fields below and click **Install**. 3. Follow the task log. The first start takes one to two minutes. | Field | What to enter | | --- | --- | | **Domain** | Domain or subdomain of the blog, without `http://`. Ghost's address is set to `https://`. | | **Owner** | Administrators only: the hosting account that owns the app. | | **SMTP server (optional, for email)** | Host name or IP of the mail server, for example `mail.example.com`. Leave empty for no mail; the other mail fields are then ignored. | | **SMTP port (587 or 465)** | `587` (STARTTLS) or `465` (TLS). Empty means `587`. ZoPanel turns on Ghost's secure mode only for `465`. | | **SMTP user name** | Usually the full mailbox address. | | **SMTP password** | The mailbox password. | | **Sender address (e.g. blog@your-domain)** | The From address. Use the same mailbox as the SMTP user, because most mail servers refuse other senders. | | **Free SSL (Let's Encrypt)** | Leave on. Ghost redirects to `https://`, so the blog only works once the certificate is issued. | These field labels come from the app catalog and appear in English in every panel language. ZoPanel passes them to Ghost as `mail__options__host`, `mail__options__port`, `mail__options__auth__user`, `mail__options__auth__pass` and `mail__from`, and adds `mail__transport=SMTP`. ## Create the owner account behind the setup lock The first person to open Ghost's setup page becomes the site owner, so ZoPanel keeps a new install private. 1. Check the **SSL** tab: the certificate must be issued before you continue, because Ghost only works on `https://`. 2. On the **Docker** tab, click **Open the app (only for me)**. Your browser gets a setup cookie (valid 30 days) and opens the blog. 3. Go to `https:///ghost`. 4. Fill in the setup form: site title, your full name, email address and a password (Ghost requires at least 10 characters). Click the button to create the account. 5. Back on the **Docker** tab, click **Setup finished — open to everyone**. Until step 5, visitors see "This app is being set up", and search engines, RSS readers and members cannot reach the blog. ## Essential settings in Ghost All of these are in Ghost Admin (`https:///ghost`), under **Settings**: - **General:** title, description, time zone and publication language. - **Design and themes:** choose or upload a theme. Uploaded themes are stored in the data folder. - **Staff:** invite editors and authors. Invitations are sent by email, so they need SMTP. - **Membership:** whether readers can sign up. Sign-in links are emailed, so they also need SMTP. - **Newsletters:** Ghost sends bulk newsletters through **Mailgun** only, not through SMTP. To send newsletters, enter a Mailgun domain and API key in Ghost's email newsletter settings. The container reaches Mailgun's API over the internet. To test mail, invite a staff user with an address you can read, or use **Forgot password** on the sign-in page. ### Change mail settings later The panel has no form to edit Ghost's environment after install, and Ghost reads its mail settings from that environment. An administrator can install Ghost again with new SMTP values while keeping the content, because the data folder is named after the domain: 1. Make a backup (**Back up now** on the **Backups** card, below). 2. Delete the website, **without** ticking **Also delete all files**. The container is removed, but `/var/lib/zopanel-apps//` stays. 3. Install Ghost again on the same domain with the new SMTP values. It starts on the existing content and database. The setup lock is on again: open the app, check that you can sign in, then click **Setup finished — open to everyone**. **Caution:** Deleting a website also deletes a DNS zone on this server with exactly the same name, and it is refused while an email domain with that name still has mailboxes ("… has N mailboxes: delete its email domain first (Email page)"). This method is therefore simplest when Ghost runs on a subdomain such as `blog.example.com`. ## Data and backups | What | Where on the server | | --- | --- | | Database, images, themes, settings files | `/var/lib/zopanel-apps//content/` (mounted at `/var/lib/ghost/content`) | | SQLite database | `/var/lib/zopanel-apps//content/data/ghost.db` | | Environment file with the SMTP password (root only) | `/var/lib/zopanel-apps//.env` | | Container name | `zp-app-` | `` is the domain with dots replaced by hyphens: `blog.example.com` becomes `blog-example-com`. **ZoPanel's account backups do not include this folder.** Full account backups and incremental snapshots contain the account's website folders under `/home`, its databases and its mail; Ghost's content is in `/var/lib/zopanel-apps`, outside the account, and is backed up by the **Backups** card on the website's **Docker** tab instead. It counts in the account's disk space and lives in a volume of its own, no bigger than the package. To back up Ghost, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite database is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Ghost is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain the SMTP password. To restore on another server, install Ghost on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. This works only when both servers use the same `dockremap` range (`grep dockremap /etc/subuid`). Ghost's own content export in Ghost Admin (JSON) is a useful second copy, but it does not contain images or themes. ## Update Ghost Administrators click **Update to latest** on the **Docker** tab: ZoPanel pulls the Ghost image this ZoPanel version is pinned to, recreates the container with the same environment and keeps the content folder. **Update to latest** never changes the major version: a blog on Ghost 6 gets the newest Ghost 6 release pinned by ZoPanel, a blog still on Ghost 5 gets the last Ghost 5 release. Ghost migrates its database when it starts, so make a backup first (**Back up now**). Customers ask their provider to update. ## Blogs installed on Ghost 5: upgrade to Ghost 6 Ghost 5 reached its end of life in January 2026: it gets no more fixes, security fixes included. New installs run Ghost 6 since ZoPanel 0.4.25. Blogs installed earlier keep running Ghost 5, and their **Docker** tab shows **Ghost 5 has reached its end of life** with an **Upgrade to Ghost 6** button (administrators only; customers see the notice and ask their provider). ZoPanel never moves a blog to a new major version by itself. Since 0.4.28 the notice also says how many published vulnerabilities of Ghost 5.130.6, its last release, are fixed only in Ghost 6: 27 (October 2026), among them a SQL injection in the Content API (GHSA-w52v-v783-gw97), remote code execution through a malicious theme (GHSA-cgc2-rcrh-qr5x), path traversal in theme uploads and database backups, server-side request forgery and stored cross-site scripting; the list is on the notice, and administrators see **The app of … has known vulnerabilities that will not be fixed** on the dashboard. Upgrade to Ghost 6 soon. Before you upgrade: 1. Read Ghost's [breaking changes for 6.0](https://docs.ghost.org/changes). Most blogs are not affected. The ones that matter here: AMP is removed, `?limit=all` in the Content and Admin APIs returns at most 100 items, and themes no longer serve files without an extension from the theme root. 2. Check your theme with [GScan](https://gscan.ghost.org) (upload the theme's zip and choose Ghost 6). Ghost's default themes are compatible. 3. Choose a quiet moment: the blog is unavailable while Ghost 6 migrates the database, from a few seconds to a few minutes on a large blog. Then click **Upgrade to Ghost 6** and confirm. The task: 1. updates the blog to the last Ghost 5 release first, if it is not on it yet (Ghost asks for the latest 5.x before a major upgrade); 2. makes a backup on the **Backups** card, as **Back up now** does; if the backup fails, nothing is upgraded; 3. starts Ghost 6, which migrates the database on its first start. Do not stop or restart the app during the migration; follow it in **Application output**. After the upgrade, the **Docker** tab shows **Upgraded to Ghost 6** with **Roll back to Ghost 5** for a month. Rolling back starts Ghost 5 again and restores the backup made before the upgrade; posts, members and settings changed since the upgrade are lost. The rollback works only while that backup is kept: with a schedule and a small **Keep**, newer backups replace it, so copy it off the server if you want to keep it longer. To upgrade by hand instead, keeping the old blog untouched until you switch: install Ghost on a new subdomain (it runs Ghost 6), export the content from the Ghost 5 blog (**Settings → Advanced → Import/Export → Export**), import it in the new blog, upload the theme and copy the images from `content/images/` of the old app's data folder. ## Network limits App containers are cut off from the server's internal network: - **Mail works.** The container may connect to the server's own public address on ports 25, 465 and 587, and to any mail service on the internet, so a mailbox on this server, Mailgun, Brevo or Amazon SES all work. Use the mail server's public host name, not `localhost` or `127.0.0.1`. - **No local databases.** Ghost cannot use the server's MySQL/MariaDB or Redis; it keeps SQLite. - **Integrations and webhooks** to public HTTPS addresses work; targets on private addresses (`10.x`, `192.168.x`, `172.16–31.x`) or the cloud metadata address are refused. ## Troubleshooting | Symptom or message | What to do | | --- | --- | | "the SMTP server must be a host name or IP address" | Enter only the host, for example `mail.example.com`, without `smtp://` or a port. | | "invalid SMTP port" | Use a number from 1 to 65535, normally `587` or `465`. | | "invalid sender address" | Enter a plain address such as `blog@example.com`. | | Browser shows a certificate error or the blog redirects in a loop | SSL is not issued yet. Check that DNS points to the server and issue the certificate on the **SSL** tab. | | "This website is very busy right now" after install | Ghost is still starting (up to two minutes). The page reloads by itself. | | Invitations or password-reset emails never arrive | Check **Application output** on the **Docker** tab for mail errors. Usual causes: wrong password, sender different from the SMTP user, port 465 used with a server that expects 587. | | Newsletter cannot be sent | Configure Mailgun in Ghost's newsletter settings; SMTP is not used for newsletters. | | "The backup before the upgrade was not made, so the app was not upgraded." | The blog still runs Ghost 5, unchanged. Read the backup error in the task log (usually not enough disk space), fix it and click **Upgrade to Ghost 6** again. | | Ghost 6 does not start after the upgrade | Read **Application output**: a large blog may still be migrating, so wait. If Ghost reports an error, click **Roll back to Ghost 5**, then check the theme with GScan before trying again. | | "the app did not start listening: …" | Read the log lines in the message, then click **Restart**. A container stopped by the memory limit shows as not running; consider fewer plugins or a larger server. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Email](/docs/email) - [Backups](/docs/backups) - [Ghost configuration: mail](https://docs.ghost.org/config/#mail) - [Ghost supported databases](https://docs.ghost.org/faq/supported-databases) ### Excalidraw Source: https://zopanel.net/docs/app-excalidraw Excalidraw is a virtual whiteboard for diagrams, flowcharts, wireframes and sketches with a hand-drawn look. The App Store version serves the Excalidraw web app from your own domain; drawings are kept in each user's browser, not on the server. Choose it for workshops, teaching or quick diagrams when you want the board on your own domain. ## Requirements | Item | Value | | --- | --- | | Image | `excalidraw/excalidraw:latest` | | Memory limit | 256 MB, 1 CPU | | Free disk to install | About 1.2 GB on the Docker disk (the image plus 1 GB kept free for the server) | | Data on the server | None: the container has no data folder | The website counts toward the account's website limit. As a customer, your package must allow Docker apps and have 256 MB of **RAM (MB)** free. ## How Excalidraw stores drawings Understand this before you rely on the app: - **Drawings stay in the browser.** Excalidraw saves the current scene automatically in the browser's local storage. Another browser, another device or a private window starts with an empty canvas. Clearing site data in the browser deletes the drawing. - **Files are your backup.** Use the main menu's **Save to…** to download a `.excalidraw` file, **Export image…** for PNG or SVG, and **Open** to load a file on another device. - **Live collaboration and share links use Excalidraw's public servers.** The official image is built with the same settings as excalidraw.com: live sessions go through `oss-collab.excalidraw.com` and shareable links are stored at `json.excalidraw.com`. Excalidraw encrypts the scene in the browser before sending it, and the key stays in the link. These features depend on Excalidraw's services being available; your server only delivers the app. If nothing may leave your own infrastructure, use **Save to…** and share files instead. - The library browser and AI features also call Excalidraw's online services. ## Install Excalidraw 1. Point the domain's A record (for example `draw.example.com`) to the server. 2. Open **App Store** and click **Install** on the **Excalidraw** card. Customers find **App Store** in their own menu; the card at the top shows the package's app and memory quota. 3. Fill in the fields and click **Install**. | Field | What to enter | | --- | --- | | **Domain** | The domain or subdomain for the board, without `http://`. | | **Owner** | Administrators only: the hosting account that owns the app. | | **Free SSL (Let's Encrypt)** | Leave on. Browsers only allow the clipboard and some file features on `https://`. | Excalidraw has no extra fields and no administrator account. **No setup lock.** Other apps are locked to their owner until set up, because their first visitor creates the administrator. Excalidraw has no accounts, so it is open to everyone as soon as it starts. The **Docker** tab shows no setup card. ## Use it 1. Open `https://`. The canvas is ready immediately. 2. Draw, then use **Save to…** regularly to keep a file. 3. To work together, open **Live collaboration…**, start a session and send the link. Everyone with the link can edit while the session is open. ## Limit who can open the board Anyone who knows the address can use the app. Nothing is stored on the server, but you may still want to keep it private: 1. Open the website and go to the **Tools** tab. 2. In **Password-protected directories**, click **Protect a directory**. 3. Enter `/` as the **Directory** to protect the whole site, add one or more users, then **Save**. Visitors then sign in with HTTP basic authentication before the app loads. Collaboration links still need that login to open the app. See [Website tools](/docs/website-tools). ## Data and backups ZoPanel creates no data folder for Excalidraw, so there is nothing on the server to back up: the **Backups** card on the **Docker** tab has nothing to save for Excalidraw, and **Back up now** reports "this app has no data folder". The container can be deleted and installed again at any time without losing drawings, because drawings are in browsers and in the files people saved. Back up the `.excalidraw` files you keep. | What | Where | | --- | --- | | Current drawing | The browser's local storage for `https://` | | Saved drawings | `.excalidraw` files wherever the user saved them | | Container name | `zp-app-`, where `` is the domain with dots replaced by hyphens | **Note:** Local storage belongs to the exact address. Moving the board to another domain starts with empty canvases; open saved files there. ## Update Excalidraw Administrators click **Update to latest** on the **Docker** tab. ZoPanel pulls `excalidraw/excalidraw:latest` again and recreates the container. Drawings in browsers are not affected; users may need to reload the page to get the new version. Customers ask their provider to update. ## Network limits App containers cannot reach the server's internal network (private address ranges, loopback, the cloud metadata address) or the panel, database and Redis ports. Excalidraw's container only serves the web app, so this has no effect on it. Collaboration, share links and the library are reached by each user's browser directly, not by the container. ## Troubleshooting | Symptom or message | What to do | | --- | --- | | A drawing disappeared | It was in another browser, a private window, or the browser's site data was cleared. Open the last `.excalidraw` file you saved. | | Live collaboration does not connect | The browser cannot reach `oss-collab.excalidraw.com` (blocked network, firewall or browser extension), or the service is unavailable. Save a file and share it instead. | | A share link opens an empty board | The link must be complete, including the part after `#`, which holds the key. | | "This website is very busy right now" | The container is starting or restarting. The page reloads by itself. | | "not enough disk space: this app needs about 1.2 GB free…" | Free disk space on the server, then install again. | | "your plan allows N application(s)" | The package's **Docker apps** limit is reached. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Website tools](/docs/website-tools) - [SSL certificates](/docs/ssl) - [Excalidraw on GitHub](https://github.com/excalidraw/excalidraw) - [Excalidraw documentation](https://docs.excalidraw.com) ### Nextcloud Source: https://zopanel.net/docs/app-nextcloud Nextcloud is a self-hosted cloud drive: file sync and sharing with desktop and mobile apps, plus calendar, contacts, notes and many optional apps. The App Store version runs the official Nextcloud image with SQLite, which suits one person, a family or a small team. Choose it to move files off Google Drive or Dropbox and keep them on your own server. ## Requirements | Item | Value | | --- | --- | | Image | `nextcloud:35-apache` (Nextcloud 35, Apache) | | Memory limit | 1024 MB, 1 CPU | | Free disk to install | About 3.3 GB on the Docker disk (the image plus 1 GB kept free for the server), plus room for your files | | Database | SQLite, created by the installer | | Upload limit | 2 GB per request inside the container (`PHP_UPLOAD_LIMIT`); nginx in front accepts the website's **Upload size**, set to 10 GB (10240 MB) at install | Files are stored on the server's disk under `/var/lib/zopanel-apps`, not in the hosting account's home, in a volume of their own: it counts in the account's disk space and is never bigger than the package, so Nextcloud cannot fill the server. The website counts toward the account's website limit; customers need a package with **Docker apps** and 1024 MB of **RAM (MB)** free. **Note:** Nextcloud recommends MySQL/MariaDB or PostgreSQL for larger installations. Containers cannot reach the server's own database servers (see [Network limits](#network-limits)), so plan a dedicated setup if a whole company will sync many files. ## Install Nextcloud 1. Point the domain's A record (for example `cloud.example.com`) to the server. 2. Open **App Store** and click **Install** on the **Nextcloud** card. Customers find **App Store** in their menu; the card at the top shows the app and memory quota of the package. 3. Fill in the fields and click **Install**. The image download takes a few minutes the first time. | Field | What to enter | | --- | --- | | **Domain** | The domain or subdomain for Nextcloud, without `http://`. | | **Owner** | Administrators only: the hosting account that owns the app. | | **Free SSL (Let's Encrypt)** | Leave on. | ZoPanel sets these container variables for you: | Variable | Value | Why | | --- | --- | --- | | `NEXTCLOUD_TRUSTED_DOMAINS` | your domain | Nextcloud only answers on trusted domains. | | `OVERWRITEPROTOCOL` | `https` | Nextcloud is behind nginx with SSL and builds `https://` links. | | `TRUSTED_PROXIES` | `172.16.0.0/12` | Nextcloud trusts the Docker bridge and logs the real visitor IP. | | `PHP_UPLOAD_LIMIT` | `2G` | Larger uploads than the image default (512 MB). | ZoPanel also sets the website's upload size to 10 GB (the website's **Tools** tab → **Upload size** card, field **Maximum upload (MB)**). A Nextcloud installed with an older ZoPanel version keeps the former 256 MB until you raise it there. **Important:** Because Nextcloud always builds `https://` links, wait until the certificate is issued (**SSL** tab) before you open the app. On plain `http://` the login page redirects to an address that does not work yet. ## Run the installer behind the setup lock Nextcloud's installer creates the administrator, so whoever opens it first would own the server. ZoPanel locks the app until you finish. 1. On the **Docker** tab, click **Open the app (only for me)**. Your browser gets a setup cookie (valid 30 days) and opens Nextcloud. 2. In the installer, enter an **administration account name** and **password**. Use a strong password: this account can see every user's settings. 3. Leave the data folder (`/var/www/html/data`) and the database (SQLite) as they are. Nextcloud shows a warning that SQLite is meant for small installations; this is expected. 4. Click **Install**. Installation takes up to a minute. 5. Nextcloud offers recommended apps (calendar, contacts, mail, Talk and others). Install them or skip; you can add apps later from the **Apps** page. 6. Back on the **Docker** tab, click **Setup finished — open to everyone**. Until step 6, other browsers see "This app is being set up" and the desktop and mobile apps cannot connect. ## Essential settings Run Nextcloud's command-line tool `occ` as root on the server. The container is named `zp-app-`, where `` is the domain with dots replaced by hyphens (`cloud.example.com` becomes `cloud-example-com`): ```bash docker exec -u www-data zp-app-cloud-example-com php occ status ``` ### Background jobs (cron) Nextcloud starts in **AJAX** mode, which runs jobs only while someone has a page open. Use system cron instead, from root's crontab on the server: ```bash crontab -e ``` Add this line: ```cron */5 * * * * docker exec -u www-data zp-app-cloud-example-com php -f /var/www/html/cron.php ``` Then switch Nextcloud to cron mode: ```bash docker exec -u www-data zp-app-cloud-example-com php occ background:cron ``` The container keeps its name when you update it, so the cron line keeps working. ### Warnings on the overview page **Administration settings → Overview** lists security and setup warnings. The usual ones on a new install: ```bash # Default country for phone numbers (VN, US, DE…) docker exec -u www-data zp-app-cloud-example-com php occ config:system:set default_phone_region --value="VN" # Start of the 4-hour window for heavy maintenance jobs, in UTC (1 = 01:00–05:00 UTC; 18 = 01:00–05:00 in Vietnam) docker exec -u www-data zp-app-cloud-example-com php occ config:system:set maintenance_window_start --type=integer --value=1 # Add database indices after updates docker exec -u www-data zp-app-cloud-example-com php occ db:add-missing-indices ``` Warnings about SQLite and a missing Redis cache are expected with this setup. ### Email Nextcloud sends password resets, share notifications and activity emails. In **Administration settings → Basic settings → Email server**, choose SMTP and enter your mail server: for a mailbox on this server, use the mail server's host name, port `587` with STARTTLS (or `465` with SSL/TLS), and the mailbox address and password. Click **Send email** to test; the administrator account needs an email address in its personal settings first. ### Desktop and mobile apps Install the Nextcloud desktop app or the iOS/Android app, enter `https://` as the server address and sign in. Calendars and contacts sync over CalDAV and CardDAV to the same address. ### Another domain To make Nextcloud answer on a second domain (added as an alias of the website), add it to the trusted domains: ```bash docker exec -u www-data zp-app-cloud-example-com php occ config:system:set trusted_domains 1 --value=files.example.org ``` ## Data and backups | What | Where on the server | | --- | --- | | Entire Nextcloud folder: code, `config/config.php`, apps, user files (`data/`) and the SQLite database (`data/.db`) | `/var/lib/zopanel-apps//html/` (mounted at `/var/www/html`) | | Environment file (root only) | `/var/lib/zopanel-apps//.env` | **ZoPanel's account backups do not include this folder.** Full account backups and incremental snapshots cover the account's website folders under `/home`, databases and mail. Nextcloud's files and database are in `/var/lib/zopanel-apps`, outside the account, and are backed up by the **Backups** card on the website's **Docker** tab instead. The configuration backup (`.zpb`) restores only the app's entry in the panel. Click **Back up now** on the **Backups** card. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives the whole `/var/lib/zopanel-apps//` folder (files, database and `.env`) into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) during the copy, so the copy is consistent; a large drive takes longer to archive and needs as much free disk again. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Nextcloud is stopped and its folder replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. Customers can also keep a copy of important files with the desktop app. The archives stay on the same server: copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain your files and Nextcloud's secrets. For very large drives, copying the folder with `rsync -aH --numeric-ids` to another machine, or a restic job on it, remains an option. To restore on another server, install Nextcloud on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. This only works when both servers use the same `dockremap` range for Docker's user namespaces (compare `grep dockremap /etc/subuid`). ## Update Nextcloud Administrators click **Update to latest** on the **Docker** tab. ZoPanel pulls `nextcloud:35-apache` again and recreates the container; the folder is kept. When the image is newer than the installed version, the image upgrades Nextcloud by itself on start (watch **Application output**). Then run `occ db:add-missing-indices` again. - Updates stay within the 35 line. A newer major version arrives when a ZoPanel update moves the catalog to it. Nextcloud can only go up one major version at a time. - Make a backup (**Back up now**) before every update. - Update Nextcloud apps from the **Apps** page in Nextcloud. Customers do not see **Update to latest**; ask your provider. ## Network limits App containers are cut off from the server's internal network. For Nextcloud this means: - **No local database or Redis.** The server's MySQL/MariaDB, PostgreSQL and Redis cannot be reached, so Nextcloud uses SQLite and its built-in cache. - **External storage** (SMB, SFTP, FTP, WebDAV, S3) works only with public addresses. Shares on a private network (`192.168.x`, `10.x`) and SFTP to this same server are refused. A ZoPanel S3 bucket works when S3 storage is published on a domain (HTTPS on port 443). - **Mail works** to this server on ports 25, 465 and 587, and to any mail provider on the internet. - The Nextcloud app store, federation and link previews reach public addresses normally. ## Troubleshooting | Symptom or message | What to do | | --- | --- | | Desktop or phone app cannot connect; a browser shows "This app is being set up" | The setup lock is still on. Click **Setup finished — open to everyone** on the **Docker** tab. | | "Access through untrusted domain" | You opened Nextcloud on an address that is not trusted. Use the installed domain, or add the other one with `occ config:system:set trusted_domains`. | | Login loops or redirects to a broken `https://` page | SSL is not issued yet. Issue it on the **SSL** tab and reload. | | Upload fails with **413 Request Entity Too Large** | The request is larger than the website's **Upload size** (10 GB for new installs, 256 MB for Nextcloud installed with older ZoPanel versions). Raise **Maximum upload (MB)** on the website's **Tools** tab → **Upload size** (up to 10240 MB). Alternatively upload in smaller chunks: the web interface uploads in chunks; for the desktop app, set a smaller chunk in `nextcloud.cfg`, section `[General]`: `maxChunkSize=100000000`, then restart the app. | | Some files never sync and the server answers **403** | ZoPanel's nginx refuses file names that are usually leaked secrets: names starting with a dot (except `.well-known`), files ending in `.sql`, `.env`, `.log`, `.ini`, `.sh`, `.bak`, `.old`, `.orig`, `.swp`, `.dump`, `.sql.gz`, `.sql.zip`, and `backup…`/`backups…` archives (`.zip`, `.tar`, `.tar.gz`, `.tgz`, `.gz`). Rename those files or keep them in an archive with another name. | | Requests fail with **429** during a big first sync | nginx limits each IP to 50 requests per second with bursts. Let the client retry, or sync in smaller batches. | | Requests blocked while the web application firewall is on | WebDAV requests can trigger OWASP rules. Set the website's firewall to **Detect only (log)**, check the events and use **Allow this** on the rules that hit Nextcloud. | | "This website is very busy right now" | Nextcloud is starting, upgrading or using all its memory. Wait; if it persists, check **Application output** and consider a larger memory budget. | | "not enough disk space: this app needs about 3.3 GB free…" | Free disk space on the server before installing. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Website tools](/docs/website-tools) - [Backups](/docs/backups) - [Nextcloud Administration Manual](https://docs.nextcloud.com/server/latest/admin_manual/) - [Official Nextcloud Docker image](https://github.com/nextcloud/docker) ### n8n Source: https://zopanel.net/docs/app-n8n n8n is a visual workflow automation tool, a self-hosted alternative to Zapier or Make: a trigger (a webhook, a schedule, a new email) starts a chain of steps that call APIs, transform data and send messages. Choose it when you automate work across online services and want no per-task fees and your data on your own server. This page covers installing it from the **App Store**, the first-time setup, backups, updates and what the container can and cannot reach. ## Requirements | Item | Value | | --- | --- | | Image | `n8nio/n8n:2.42.5` | | Memory limit | 1024 MB, 1 CPU | | Free disk to install | About 2.6 GB on the Docker disk the first time (the image plus 1 GB kept free for the server) | | Docker | Installed on the server (**App Store → Install Docker**) | | Domain | A domain or subdomain whose A record points to the server, for example `n8n.example.com` | The memory limit counts toward the customer's package memory. Large workflows that hold many items or big files in memory may need more than 1 GB; see [Troubleshooting](#troubleshooting). ## Install n8n ### As an administrator 1. Open **App Store**. If you see **Docker is required**, click **Install Docker** first and wait for the task to finish. 2. On the **n8n** card, click **Install**. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | The domain the app answers on, without `http://`, for example `n8n.example.com`. A new website is created for it. | | **Owner** | The hosting account the app belongs to. Its package limits apply to the container. | | **Free SSL (Let's Encrypt)** | Leave on. The certificate is issued at the end of the install if the domain already points to the server. | 4. Click **Install**. The task log shows the image download, the container start and finally `n8n is available at http://`. 5. If the log says `SSL could not be issued yet`, point the domain's A record to the server, then click **Issue certificate** on the website's **SSL** tab (see [SSL certificates](/docs/ssl)). n8n has no extra install fields. ZoPanel sets these variables for you: | Variable | Value | Purpose | | --- | --- | --- | | `N8N_HOST`, `N8N_PROTOCOL`, `N8N_PORT` | your domain, `https`, `5678` | The address n8n builds its links with | | `WEBHOOK_URL` | `https:///` | Webhook URLs shown in the editor use your domain over HTTPS | | `GENERIC_TIMEZONE` | `Asia/Ho_Chi_Minh` | Time zone of Schedule triggers and date functions | | `N8N_ENCRYPTION_KEY` | a random key per install | Encrypts the credentials stored in n8n | | `N8N_PROXY_HOPS` | `1` | n8n trusts nginx in front of it for the visitor's IP | These variables cannot be edited from the panel. To use another time zone, set it per workflow in n8n (**Workflow settings → Timezone**). ### As a customer Customers install from **App Store** in their own panel when their package allows it. The top of the page shows the quota, for example "Your plan: 0 of 2 applications · memory 0 of 4096 MB." The **Owner** field is not shown: the app belongs to your account. The administrator controls this in **Packages → Docker apps** (`0` = none) and **RAM (MB)**. n8n needs 1024 MB of the package memory. See [Packages and limits](/docs/packages-limits). ## First-time setup A new n8n install is behind a **setup lock**: the first person to open n8n creates the owner account, so ZoPanel shows everyone else "This app is being set up" until you finish. **Important:** wait until SSL is issued before you set up n8n. ZoPanel runs n8n with `N8N_PROTOCOL=https`, and n8n's login cookie only works over HTTPS. 1. Open the website (**Websites → n8n.example.com**) and go to the **Docker** tab. Wait until the status is `running`. 2. In the **Setup lock is on** card, click **Open the app (only for me)**. A new tab opens your domain; this browser now gets through the lock (for 30 days). 3. The first start takes about half a minute. If the page shows that the site is busy or "n8n is starting up", wait; it reloads. 4. On the owner sign-up screen, enter your email, first and last name and a password (at least 8 characters, with a number and a capital letter), then click **Next**. 5. Answer or skip the short questionnaire. n8n may offer a free license key for some extra community features; this is optional. 6. Back on the **Docker** tab, click **Setup finished — open to everyone**. The lock is removed and webhooks start answering the public. **Note:** while the lock is on, webhook calls from outside services also get the "being set up" page. Open the app to everyone before you test production webhooks. ## Essential settings - **Users:** open **Settings → Users → Invite** to add colleagues. n8n normally emails the invitation; ZoPanel's n8n has no SMTP settings for this, so copy the invitation link n8n shows and send it yourself. Password reset by email is not available, so keep your owner password in a password manager. - **Webhooks:** production webhook URLs look like `https://n8n.example.com/webhook/` and test URLs `https://n8n.example.com/webhook-test/`. Activate a workflow to make its production URL answer. - **Credentials:** API keys and passwords you save in **Credentials** are encrypted with `N8N_ENCRYPTION_KEY`. Keep that key with your backups (see below). - **Sending email from workflows:** the **Send Email** node can use any SMTP server. A mailbox created in the panel works: host = your mail server name, port `587` (STARTTLS) or `465` (SSL), the full address and its password. ## What the container can reach Every App Store container runs behind ZoPanel's container firewall: | Destination | Allowed? | | --- | --- | | Internet services and APIs (HTTPS, any public address) | Yes | | Websites on this server through their public domain (ports 80/443) | Yes | | Mail on this server (ports 25, 465, 587) | Yes | | DNS | Yes | | MariaDB, PostgreSQL, Redis or the panel on this server | **No** | | Private networks (10.x, 172.16–31.x, 192.168.x, 100.64.x), loopback, cloud metadata | **No** | | Other containers | **No** | What this means for n8n: - **A MySQL/MariaDB, Postgres or Redis node pointed at this server will not connect.** `localhost` and `127.0.0.1` inside the container are the container itself, and the server's database ports are blocked from containers, even if [Remote access](/docs/databases) is on. Use one of these instead: - put a small HTTPS endpoint on one of your websites (for example a PHP script that reads or writes the database with its own credentials) and call it with the **HTTP Request** node; - use a database on another server that accepts connections from this server's public IP. - Calling your own websites by their public domain works, as does calling any public API. - Services on a private network (an Ollama or database on a VPC address, a NAS at home) are not reachable. ## Where data lives and backups The app's data is in `/var/lib/zopanel-apps//`, where `` is the domain with dots replaced by hyphens (`n8n.example.com` → `n8n-example-com`). The container is named `zp-app-`. | Path on the server | Content | | --- | --- | | `/var/lib/zopanel-apps//data/` | n8n's `/home/node/.n8n`: the SQLite database with workflows, credentials and execution history, plus n8n's settings file | | `/var/lib/zopanel-apps//.env` | The variables above, including `N8N_ENCRYPTION_KEY` (root only) | **What ZoPanel backs up and what it does not:** - The **Backups** card on the website's **Docker** tab backs up the whole app folder, data and `.env` with the encryption key. - Account backups and incremental backups cover the account's website folders, databases and mailboxes. **They do not include `/var/lib/zopanel-apps`**, so n8n's workflows and credentials are only in the app's own backups. - The configuration backup (`.zpb`, see [Disaster recovery](/docs/disaster-recovery)) contains the panel database, which stores the app's settings and its generated variables, including the encryption key. It does not contain n8n's data. To back up n8n, click **Back up now** on the **Backups** card. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the copy is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup (customers ask their provider). n8n is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. These archives are not in account backups and stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted: they contain the encryption key. Restore an archive onto the same install; a new install on another server has its own encryption key, so move workflows and credentials there with the export below. A portable export, which you can import into any n8n: ```bash docker exec -u node zp-app-n8n-example-com n8n export:workflow --all --output=/home/node/.n8n/workflows.json docker exec -u node zp-app-n8n-example-com n8n export:credentials --all --decrypted --output=/home/node/.n8n/credentials.json ``` The files appear in `/var/lib/zopanel-apps/n8n-example-com/data/`. The credentials file contains your secrets in plain text: move it somewhere safe and delete it from the server. Import them into another n8n with `n8n import:workflow --input=…` and `n8n import:credentials --input=…`. Customers cannot run these commands, but can click **Back up now** on the **Docker** tab; the schedule and restores are done by the provider. For a copy of your own, download important workflows from the editor (**Download** in the workflow menu). ## Update n8n 1. Take a backup (**Back up now** on the **Backups** card). n8n migrates its database on start and an update cannot be undone from the panel. 2. On the website's **Docker** tab, click **Update to latest** (administrators only; customers ask their provider). 3. The task pulls the image in the current ZoPanel catalog and recreates the container. Data and the encryption key are kept. n8n is unavailable for the minute it takes to restart. The catalog pins an exact n8n version (`2.42.5`), so **Update to latest** installs the version shipped with your ZoPanel release; newer n8n versions arrive with [ZoPanel updates](/docs/updating). ## Troubleshooting | Symptom or message | What to do | | --- | --- | | Visitors or webhooks get "This app is being set up" | The setup lock is still on. Click **Setup finished — open to everyone** on the **Docker** tab. | | n8n shows a warning about a secure cookie, or login loops | You opened it over `http://`. Issue SSL for the domain and open `https://`. | | `not enough disk space: this app needs about 2.6 GB free and the server has … GB; free some space first` | Free disk space on the server, then install again. | | `your plan does not include applications; ask your provider` / `your plan allows N application(s)` | The package's **Docker apps** limit is 0 or reached. | | `n8n needs 1024 MB of memory; your plan has … MB and your apps use … MB` | Raise the package's **RAM (MB)** or remove another app. | | `the app did not start listening: …` | The container did not answer within 2 minutes. Read the end of the message and **Application output** on the **Docker** tab, then click **Restart**. | | A MySQL/Postgres/Redis node times out or is refused | Expected for databases on this server or a private network; see [What the container can reach](#what-the-container-can-reach). | | Executions stop and the container restarts during a large workflow | The 1024 MB limit was reached. Process items in smaller batches (**Loop Over Items**) and avoid keeping large files in memory. | | n8n will not start after you restored data into a new install, with an error about mismatching encryption keys | The data came from an install with a different key. Restore the backup onto the original install, or move workflows and credentials with the export and import commands. | | Locked out of the owner account | As root: `docker exec -u node zp-app- n8n user-management:reset`, then set up the owner again. This removes all users; workflows and credentials stay. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Packages and limits](/docs/packages-limits) - [Databases](/docs/databases) - [Backups](/docs/backups) - [n8n documentation](https://docs.n8n.io) and [CLI commands](https://docs.n8n.io/hosting/cli-commands/) ### Metabase Source: https://zopanel.net/docs/app-metabase Metabase is a business intelligence tool: you connect it to a database, then build questions, charts and dashboards that people without SQL skills can read and filter. Choose it when you want shared dashboards on your sales, orders or app data. This page covers installing Metabase from the **App Store**, the first-time setup, which databases it can connect to from a ZoPanel container, backups and updates. ## Requirements | Item | Value | | --- | --- | | Image | `metabase/metabase:v0.63.x` | | Memory limit | 1536 MB, 1 CPU | | Free disk to install | About 2.6 GB on the Docker disk the first time (the image plus 1 GB kept free for the server) | | Docker | Installed on the server (**App Store → Install Docker**) | | Domain | A domain or subdomain whose A record points to the server, for example `bi.example.com` | | Data source | A database Metabase can reach over the network; see [Connecting databases](#connecting-databases) before you install | **Important:** Metabase cannot connect to MariaDB or PostgreSQL databases on the same server. Read [Connecting databases](#connecting-databases) first to make sure your data source is reachable. ## Install Metabase ### As an administrator 1. Open **App Store**. If you see **Docker is required**, click **Install Docker** first. 2. On the **Metabase** card, click **Install**. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | The domain the app answers on, without `http://`. A new website is created for it. | | **Owner** | The hosting account the app belongs to. Its package limits apply to the container. | | **Free SSL (Let's Encrypt)** | Leave on. The certificate is issued at the end of the install if the domain points to the server. | 4. Click **Install** and follow the task log until `Metabase is available at http://`. 5. If the log says `SSL could not be issued yet`, point the domain to the server and click **Issue certificate** on the website's **SSL** tab. Metabase has no extra install fields. ZoPanel sets one variable, `MB_DB_FILE=/metabase-data/metabase.db`, so Metabase keeps its own data (users, questions, dashboards, connection settings) in an embedded H2 database file on the app's data volume. ### As a customer Customers install from **App Store** in their own panel when the package allows it; the quota line at the top shows how many apps and how much memory are left. Metabase needs 1536 MB of the package's **RAM (MB)** and one slot of **Packages → Docker apps**. See [Packages and limits](/docs/packages-limits). ## First-time setup A new install is behind a **setup lock**: the first person to open Metabase becomes its administrator, so ZoPanel shows everyone else "This app is being set up" until you finish. 1. Open the website and go to the **Docker** tab. Wait until the status is `running`. 2. In the **Setup lock is on** card, click **Open the app (only for me)**. Metabase opens in a new tab. 3. The first start takes one to two minutes. If the page says the site is busy or Metabase is initializing, wait; it reloads. 4. Click **Let's get started**. 5. Choose the language, then enter your name, email, company or team name and a password. Click **Next**. This first account is an administrator. 6. Answer **What will you use Metabase for?** (or pick **Not sure yet**). 7. Add a database now, or click **I'll add my data later** to explore with the **Sample Database** first. 8. Choose your usage data preference and finish with **Take me to Metabase**. 9. Back on the **Docker** tab, click **Setup finished — open to everyone**. ## Essential settings Open the grid icon at the top right and choose **Admin**: - **Settings → General → Site URL:** make sure it is `https://`. Links in emails and shared dashboards use it. - **Settings → Email:** Metabase sends invitations, password resets and dashboard subscriptions by SMTP. A mailbox created in the panel works: SMTP host = your mail server name, port `587` (STARTTLS) or `465` (SSL), the full address and its password. - **People:** invite colleagues and put them in groups. - **Permissions:** decide which groups see which databases and whether they may write SQL. Give Metabase a **read-only database user** for each data source: it only needs `SELECT`. ## Connecting databases Metabase runs in a container behind ZoPanel's container firewall: | Destination | Allowed? | | --- | --- | | Databases and APIs on other servers, on public addresses | Yes | | Websites on this server through their public domain (80/443) | Yes | | Mail on this server (25, 465, 587) | Yes | | MariaDB, PostgreSQL, Redis or the panel **on this server** | **No** | | Private networks (10.x, 172.16–31.x, 192.168.x, 100.64.x), loopback, cloud metadata | **No** | What this means in practice: - **A database on the same server cannot be added**, whatever host you type (`localhost`, `127.0.0.1`, the server's public IP or a domain pointing to it). Turning on **Remote access** for the database does not change this: containers are blocked from the server's database ports. - **A database on another server works** when that server accepts connections from this server's public IP. If the other server runs ZoPanel, open the database's **Remote access**, allow this server's public IP and use the **Remote connection string** it shows (see [Databases](/docs/databases)). - **Managed databases** (cloud MySQL or PostgreSQL services) work when they have a public endpoint and allow this server's IP. Endpoints on a private VPC address are not reachable. - **SSH tunnel** in Metabase's connection form works to other servers, not to this one (port 22 of this server is blocked from containers). To build dashboards on a shop or app database that lives on this server, the usual setup is to install Metabase on a **second server** and connect it through **Remote access** on this one. To add a database: **Admin → Databases → Add a database**, choose the type (MySQL, MariaDB, PostgreSQL and others), fill in host, port, database name, user and password, then **Save**. ## Where data lives and backups The app's data is in `/var/lib/zopanel-apps//`, where `` is the domain with dots replaced by hyphens (`bi.example.com` → `bi-example-com`). The container is `zp-app-`. | Path on the server | Content | | --- | --- | | `/var/lib/zopanel-apps//data/metabase.db.mv.db` | Metabase's H2 application database: users, questions, dashboards, saved connections | | `/var/lib/zopanel-apps//.env` | The container's variables (root only) | Your reporting data stays in the source databases; Metabase only stores queries and settings. **What ZoPanel backs up and what it does not:** the **Backups** card on the website's **Docker** tab backs up the app's whole folder. Account backups and incremental backups cover website folders, databases and mailboxes of the account. **They do not include `/var/lib/zopanel-apps`**, so Metabase's dashboards and users are only in the app's own backups. The configuration backup (`.zpb`) holds the panel's record of the app, not its data. To back up Metabase, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the H2 file is copied in a consistent state, as after a power cut. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Metabase is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain the passwords of your saved database connections. To restore on another server, install Metabase on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. Metabase recommends a production database (PostgreSQL or MySQL) instead of H2 for important installs. ZoPanel's Metabase uses H2 and the app database cannot be moved to a database on the same server, so keep regular backups (set a **Schedule** on the **Backups** card). ## Update Metabase 1. Take a backup (**Back up now** on the **Backups** card). Metabase migrates its application database on start, and a downgrade is not supported. 2. On the **Docker** tab, click **Update to latest** (administrators only; customers ask their provider). 3. The task pulls the catalog image and recreates the container. Your data is kept. Metabase is unavailable for one to two minutes while it starts. The catalog tag `v0.63.x` follows Metabase's 0.63 release line, so **Update to latest** brings the newest 0.63 patch. A move to a later Metabase line comes with a [ZoPanel update](/docs/updating). ## Troubleshooting | Symptom or message | What to do | | --- | --- | | Visitors see "This app is being set up" | Click **Setup finished — open to everyone** on the **Docker** tab. | | The page says the site is busy for a minute after install, update or restart | Metabase is still starting. Wait; the page reloads by itself. | | Adding a database fails with a connection timeout or "connection refused" | The database is on this server or on a private network, or the remote server does not allow this server's IP. See [Connecting databases](#connecting-databases). | | `not enough disk space: this app needs about 2.6 GB free and the server has … GB; free some space first` | Free disk space, then install again. | | `Metabase needs 1536 MB of memory; your plan has … MB and your apps use … MB` | Raise the package's **RAM (MB)** or remove another app. | | `the app did not start listening: …` | Read **Application output** on the **Docker** tab, then click **Restart**. | | Metabase restarts or shows `OutOfMemoryError` in **Application output** | Heavy queries or many concurrent users exceeded 1536 MB. Limit large result sets, cache questions and avoid many dashboards refreshing at once. | | Emails from Metabase are not delivered | Check **Admin → Settings → Email**; use port 587 or 465 with a real mailbox and test with **Send test email**. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Databases](/docs/databases) - [Packages and limits](/docs/packages-limits) - [Metabase documentation](https://www.metabase.com/docs/latest/), [Adding databases](https://www.metabase.com/docs/latest/databases/connecting) and [Backing up Metabase](https://www.metabase.com/docs/latest/installation-and-operation/backing-up-metabase-application-data) ### Uptime Kuma Source: https://zopanel.net/docs/app-uptime-kuma Uptime Kuma is a self-hosted monitoring tool: it checks your websites, APIs and servers every minute, alerts you on Telegram, email and many other channels when one goes down, and publishes status pages for your customers. Choose it when you want to hear about downtime before your users do. This page covers installing it from the **App Store**, the first-time setup, what it can monitor from a ZoPanel container, backups and updates. ## Requirements | Item | Value | | --- | --- | | Image | `louislam/uptime-kuma:2` (Uptime Kuma 2), pinned to the digest tested with your ZoPanel version. Apps installed before ZoPanel 0.4.25 run 1.x until upgraded (see [below](#apps-installed-on-uptime-kuma-1-upgrade-to-2)). | | Memory limit | 512 MB, 1 CPU | | Free disk to install | About 3.5 GB on the Docker disk the first time (the image plus 1 GB kept free for the server) | | Docker | Installed on the server (**App Store → Install Docker**) | | Domain | A domain or subdomain whose A record points to the server, for example `status.example.com` | **Tip:** a monitor that runs on the same server as the sites it watches goes down with them and cannot alert you. For production monitoring, install Uptime Kuma on a **different server** from the one it watches, ideally with another provider. ## Install Uptime Kuma ### As an administrator 1. Open **App Store**. If you see **Docker is required**, click **Install Docker** first. 2. On the **Uptime Kuma** card, click **Install**. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | The domain the app answers on, without `http://`. A new website is created for it. | | **Owner** | The hosting account the app belongs to. Its package limits apply to the container. | | **Free SSL (Let's Encrypt)** | Leave on. The certificate is issued at the end of the install if the domain points to the server. | 4. Click **Install** and follow the task log until `Uptime Kuma is available at http://`. 5. If the log says `SSL could not be issued yet`, point the domain to the server and click **Issue certificate** on the website's **SSL** tab. Uptime Kuma has no extra install fields and ZoPanel sets no variables for it. The nginx proxy in front of it passes WebSocket connections, which Uptime Kuma's interface needs. ### As a customer Customers install from **App Store** in their own panel when the package allows it. Uptime Kuma needs 512 MB of the package's **RAM (MB)** and one slot of **Packages → Docker apps**. See [Packages and limits](/docs/packages-limits). ## First-time setup A new install is behind a **setup lock**: the first visitor creates Uptime Kuma's only admin account, so ZoPanel shows everyone else "This app is being set up" until you finish. 1. Open the website and go to the **Docker** tab. Wait until the status is `running`. 2. In the **Setup lock is on** card, click **Open the app (only for me)**. 3. On **Create your admin account**, choose the language, enter a **Username**, a **Password** and **Repeat Password**, then click **Create**. 4. Back on the **Docker** tab, click **Setup finished — open to everyone**. Status pages are now public; the dashboard still needs your login. ## Add monitors, alerts and status pages ### Notifications first 1. Open **Settings → Notifications → Setup Notification**. 2. Choose a **Notification Type**, for example **Telegram** (bot token and chat ID) or **Email (SMTP)**. 3. For email, a mailbox created in the panel works: host = your mail server name, port `587` (security **None / STARTTLS**) or `465` (**SSL/TLS**), the full address and its password. 4. Tick **Default enabled** to attach it to new monitors, click **Test**, then **Save**. ### A monitor 1. Click **Add New Monitor**. 2. Choose the **Monitor Type**. For websites use **HTTP(s)** (or **HTTP(s) - Keyword** to check that a word appears on the page). 3. Enter a **Friendly Name** and the **URL**, for example `https://www.example.com`. 4. Keep **Heartbeat Interval** at 60 seconds or adjust it, and set **Retries** to 1–2 to avoid alerts on a single slow response. 5. Tick the notifications to use, then **Save**. Uptime Kuma also warns before SSL certificates expire (**Certificate Expiry Notification** under the HTTP(s) monitor's advanced settings). ### A status page 1. Open **Status Pages → New Status Page**, enter a name and a slug, and click **Next**. 2. Add groups and monitors, a description and a logo, then **Save**. 3. Share `https://status.example.com/status/`. ## Essential settings - **Settings → Security:** turn on **Two Factor Authentication** for the admin account. - **Settings → Reverse Proxy → Trust Proxy:** set to **Yes**. Uptime Kuma is reachable only through ZoPanel's nginx, so this makes logs show the visitor's real IP. - **Settings → General:** set the display and server time zone so incident times match yours. - **Settings → Monitor History:** shorten how long heartbeats are kept if the database grows large. ## What it can monitor Uptime Kuma checks run from inside a container behind ZoPanel's container firewall: | Target | Works? | | --- | --- | | Websites and APIs on the internet (HTTP(s), keyword, DNS, TCP to public addresses) | Yes | | Websites on this server through their public domain (80/443) | Yes | | Mail ports of this server (25, 465, 587) as **TCP Port** monitors | Yes | | Other ports of this server: SSH (22), MariaDB (3306), PostgreSQL, Redis, the panel | **No**: they always show as down | | Ping to this server's own IP | **No** | | Private networks (10.x, 172.16–31.x, 192.168.x, 100.64.x), loopback | **No** | | **Docker Container** monitors | **No**: the container has no access to the Docker socket | Ping monitors to public addresses normally work. The container runs without the `NET_RAW` capability; if a Ping monitor reports a permission error, use an **HTTP(s)** or **TCP Port** monitor instead. To watch a database or SSH on this server, monitor it from an Uptime Kuma on another server (and allow that server's IP in the firewall or the database's **Remote access**), or expose a small health-check page on a website and monitor that over HTTPS. ## Where data lives and backups The app's data is in `/var/lib/zopanel-apps//`, where `` is the domain with dots replaced by hyphens (`status.example.com` → `status-example-com`). The container is `zp-app-`. | Path on the server | Content | | --- | --- | | `/var/lib/zopanel-apps//data/` | Uptime Kuma's `/app/data`: the SQLite database `kuma.db` (monitors, notifications, status pages, history, users) and uploaded images | **What ZoPanel backs up and what it does not:** the **Backups** card on the website's **Docker** tab backs up the app's whole folder. Account backups and incremental backups cover website folders, databases and mailboxes of the account. **They do not include `/var/lib/zopanel-apps`**, so your monitors and history are only in the app's own backups. The configuration backup (`.zpb`) holds the panel's record of the app, not its data. To back up Uptime Kuma, click **Back up now** on the **Backups** card. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite file is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Uptime Kuma is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain your notification credentials. To restore on another server, install Uptime Kuma on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. ## Update Uptime Kuma 1. Take a backup (**Back up now** on the **Backups** card). 2. On the **Docker** tab, click **Update to latest** (administrators only; customers ask their provider). 3. The task pulls the catalog image and recreates the container. Monitors and history are kept. Checks pause for the few seconds of the restart. **Update to latest** stays within the major version the app runs: an app on 2.x gets the newest 2.x release pinned by your ZoPanel version, an app still on 1.x gets the last 1.x image. It never moves you to a new major version. New installs run Uptime Kuma 2 with its SQLite database: ZoPanel sets `UPTIME_KUMA_DB_TYPE=sqlite`, so the first visit goes straight to **Create your admin account** without asking for a database (Uptime Kuma 2 can also run an embedded MariaDB, which needs more memory than the app's 512 MB limit allows comfortably). ## Apps installed on Uptime Kuma 1: upgrade to 2 Apps installed before ZoPanel 0.4.25 keep running 1.x, and their **Docker** tab shows **Uptime Kuma 2 is available** with an **Upgrade to Uptime Kuma 2** button (administrators only; customers see the notice and ask their provider). Before you upgrade, read the [migration notes](https://github.com/louislam/uptime-kuma/wiki/Migration-From-v1-To-v2). What changes for most users: JSON backup and restore is removed from **Settings → Backup** (ZoPanel's app backups are not affected), badge `duration` values are limited (for example `24h`, `30d`), new monitors default to 0 retries, and email notification templates use LiquidJS, whose variable names are case-sensitive. Click **Upgrade to Uptime Kuma 2** and confirm. The task: 1. updates the app to the last 1.x image first, if it is not on it yet; 2. makes a backup on the **Backups** card, as **Back up now** does; if the backup fails, nothing is upgraded; 3. starts Uptime Kuma 2, which migrates the SQLite database on its first start. Upstream measured about 7 minutes for 20 monitors with 90 days of history; with more monitors or a slow disk it can take much longer. **Do not stop or restart the app during the migration**: an interrupted migration means rolling back and starting again. Follow the progress in **Application output**. Monitoring is paused meanwhile. If the task ends with "the app did not start listening" while the migration is still running, that is expected for a large database: the app keeps migrating and starts on its own. Wait and watch **Application output**. After the upgrade, the **Docker** tab shows **Upgraded to Uptime Kuma 2** with **Roll back to Uptime Kuma 1** for a month. Rolling back starts 1.x again and restores the backup made before the upgrade; heartbeats and changes recorded since the upgrade are lost. The rollback works only while that backup is kept: with a schedule and a small **Keep**, newer backups replace it. To shorten the migration of a large database, lower **Settings → Monitor History** in Uptime Kuma 1 first (for example to 30 days) and upgrade after its next daily cleanup has removed the older heartbeats. ## Troubleshooting | Symptom or message | What to do | | --- | --- | | Visitors see "This app is being set up" | Click **Setup finished — open to everyone** on the **Docker** tab. | | The dashboard keeps showing a connection or reconnecting message | The interface uses WebSocket. Reload the page; if you put a CDN or another proxy in front of the domain, make sure it passes WebSocket. | | A monitor for this server's SSH, MariaDB or Redis is always down | Expected: containers cannot reach those ports. See [What it can monitor](#what-it-can-monitor). | | A monitor for a private IP times out | Private networks are blocked for containers. Monitor the public address instead. | | Email alerts do not arrive | Check host, port and security in the notification, click **Test** and look at **Application output** on the **Docker** tab. | | `Uptime Kuma needs 512 MB of memory; your plan has … MB and your apps use … MB` | Raise the package's **RAM (MB)** or remove another app. | | `not enough disk space: this app needs about 3.5 GB free and the server has … GB; free some space first` | Free disk space, then install again. | | Forgot the admin password | As root, open a shell in the container with `docker exec -it zp-app- bash`, run `npm run reset-password` and follow the prompts. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Packages and limits](/docs/packages-limits) - [Email](/docs/email) - [Uptime Kuma wiki](https://github.com/louislam/uptime-kuma/wiki) and [project site](https://uptime.kuma.pet) ### Gitea Source: https://zopanel.net/docs/app-gitea Gitea is a lightweight, self-hosted Git service, similar to GitHub or GitLab: private and public repositories, issues, pull requests, wikis, releases and a package registry, with a web interface. Choose it when a team or a solo developer wants code hosting under their own control without per-seat fees. This page covers installing Gitea from the **App Store**, the first-time configuration, how to clone and push from a ZoPanel container, backups and updates. ## Requirements | Item | Value | | --- | --- | | Image | `gitea/gitea:28`, pinned to Gitea 28.3.0 (ZoPanel 0.4.34) | | Memory limit | 512 MB, 1 CPU | | Free disk to install | About 1.3 GB on the Docker disk the first time (the image plus 1 GB kept free for the server), plus room for your repositories | | Docker | Installed on the server (**App Store → Install Docker**) | | Domain | A domain or subdomain whose A record points to the server, for example `git.example.com` | Repositories are stored on the server's disk, outside the hosting account's home folder, in a volume of their own that counts in the account's disk space and is never bigger than its package. ## Install Gitea ### As an administrator 1. Open **App Store**. If you see **Docker is required**, click **Install Docker** first. 2. On the **Gitea** card, click **Install**. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | The domain the app answers on, without `http://`. A new website is created for it. | | **Owner** | The hosting account the app belongs to. Its package limits apply to the container. | | **Free SSL (Let's Encrypt)** | Leave on. The certificate is issued at the end of the install if the domain points to the server. | 4. Click **Install** and follow the task log until `Gitea is available at http://`. 5. If the log says `SSL could not be issued yet`, point the domain to the server and click **Issue certificate** on the website's **SSL** tab. Gitea has no extra install fields. ZoPanel sets these variables, which Gitea applies to its `app.ini` on every start: | Variable | Value | Effect | | --- | --- | --- | | `GITEA__server__ROOT_URL` | `https:///` | Public address used for links and HTTPS clone URLs | | `GITEA__server__DOMAIN` | your domain | Server domain | | `GITEA__server__DISABLE_SSH` | `true` | Turns Gitea's SSH server off, so only HTTPS clone URLs are shown (see [Clone and push](#clone-and-push)) | | `GITEA__database__DB_TYPE` | `sqlite3` | Gitea uses a built-in SQLite database | ### As a customer Customers install from **App Store** in their own panel when the package allows it. Gitea needs 512 MB of the package's **RAM (MB)** and one slot of **Packages → Docker apps**. See [Packages and limits](/docs/packages-limits). ## First-time setup A new install is behind a **setup lock**: until Gitea is configured, the first visitor could create its administrator, so ZoPanel shows everyone else "This app is being set up" until you finish. 1. Open the website and go to the **Docker** tab. Wait until the status is `running`. 2. In the **Setup lock is on** card, click **Open the app (only for me)**. The **Initial Configuration** page opens. 3. **Database Settings** are already filled in with SQLite3. Leave them as they are. 4. In **General Settings**, set a **Site Title**. Check that **Server Domain** is your domain and **Gitea Website URL** is `https:///`. 5. **SSH Server Port:** nothing to change. ZoPanel turns Gitea's SSH server off, so Gitea shows HTTPS clone URLs only. 6. Optional, under **Email Settings**: enter an SMTP server so Gitea can send notifications and password resets. A mailbox created in the panel works: **SMTP Host** = your mail server name, **SMTP Port** `587` or `465`, **Send Email As**, **SMTP Username** (the full address) and **SMTP Password**. 7. Under **Server and Third-Party Service Settings**, tick **Only administrators can create user accounts (no self-registration)** unless you want public sign-up. Tick **Require sign-in to view pages** for a private instance. 8. Under **Administrator Account Settings**, enter **Administrator Username**, **Email Address**, **Password** and **Confirm Password**. 9. Click **Install Gitea**. Gitea writes its configuration and signs you in. 10. Back on the **Docker** tab, click **Setup finished — open to everyone**. ## Essential settings - **Two-factor authentication:** your avatar → **Settings → Security → Two-Factor Authentication (TOTP)**. - **Users:** **Site Administration → User Accounts** to create accounts when self-registration is off. - **Access tokens:** **Settings → Applications → Generate New Token**. With two-factor authentication on, Git over HTTPS needs a token instead of your password. - To change a setting that is not in the web interface, edit `/var/lib/zopanel-apps//data/gitea/conf/app.ini` as root and click **Restart** on the **Docker** tab. The four variables above are re-applied at every start and override the same keys in `app.ini`. ## Clone and push Use HTTPS: ```bash git clone https://git.example.com/alice/website.git ``` Git asks for your Gitea user name and password (or an access token). To avoid typing it every time, use a credential helper, for example `git config --global credential.helper store` on a private machine. Limits to know: - **SSH is not available.** Port 22 of the server is the server's own SSH service, not Gitea's, so ZoPanel turns Gitea's SSH server off and clone URLs use HTTPS. A Gitea installed before ZoPanel set this keeps its old settings until it is reinstalled (**Update to latest** reuses the settings from the install); if it shows SSH clone URLs, set `DISABLE_SSH = true` in the `[server]` section of `app.ini` and restart to hide them. - **Each push request is limited by the website's upload size** (256 MB by default). A larger push fails with HTTP 413. For big pushes, raise **Maximum upload (MB)** on the Gitea website's **Tools** tab → **Upload size** card (up to 10 GB). Alternatively, push a large history in several parts (for example branch by branch or a range of commits at a time), and keep large binaries in Git LFS files under that size. ## What the container can reach | Destination | Allowed? | | --- | --- | | Git hosts and APIs on the internet (migrations, mirrors, webhooks) | Yes | | Websites on this server through their public domain (80/443) | Yes | | Mail on this server (25, 465, 587) | Yes | | MariaDB, PostgreSQL, Redis, SSH or the panel on this server | **No** | | Private networks (10.x, 172.16–31.x, 192.168.x, 100.64.x), loopback | **No** | For Gitea this means: - **Migrate Repository** and pull mirrors from GitHub, GitLab or another public host work. - Webhooks to public URLs, including your own websites on this server by domain, work. Webhooks to private addresses fail. - Gitea Actions needs a separate runner (`act_runner`) with its own Docker. ZoPanel does not provide one; a runner on another machine can connect to Gitea over HTTPS. ## Where data lives and backups The app's data is in `/var/lib/zopanel-apps//`, where `` is the domain with dots replaced by hyphens (`git.example.com` → `git-example-com`). The container is `zp-app-`. | Path on the server | Content | | --- | --- | | `…//data/git/repositories/` | Bare Git repositories | | `…//data/gitea/gitea.db` | SQLite database: users, issues, pull requests, settings | | `…//data/gitea/conf/app.ini` | Gitea's configuration | | `…//data/` (rest) | Attachments, avatars, LFS objects, packages | **What ZoPanel backs up and what it does not:** the **Backups** card on the website's **Docker** tab backs up the app's whole folder. Account backups and incremental backups cover website folders, databases and mailboxes of the account. **They do not include `/var/lib/zopanel-apps`**, so repositories and issues are only in the app's own backups. The configuration backup (`.zpb`) holds the panel's record of the app, not its data. To back up Gitea, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite database and repositories are consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Gitea is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain Gitea's database and secrets. To restore on another server, install Gitea on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. A portable archive with Gitea's own `gitea dump` (database as SQL, repositories, data and configuration): ```bash docker exec -u git zp-app-git-example-com /usr/local/bin/gitea dump -c /data/gitea/conf/app.ini --file /tmp/gitea-dump.zip docker cp zp-app-git-example-com:/tmp/gitea-dump.zip /root/gitea-dump-$(date +%F).zip docker exec zp-app-git-example-com rm /tmp/gitea-dump.zip ``` Gitea's documentation recommends stopping activity while dumping for a fully consistent result; run it at a quiet time. Every clone is also a full copy of a repository's history, but not of issues, pull requests or wikis' metadata. ## Update Gitea Each ZoPanel release pins the Gitea image to an exact, tested build of the 28.x line (a digest: a moved tag never changes what runs). Installs keep the build they run until an administrator updates them; nothing is updated by itself. 1. On the **Docker** tab, click **Update to latest** (administrators only; customers ask their provider). 2. Leave **Back up the app's data first** ticked and confirm. The task backs Gitea's folder up (it is listed on the **Backups** card), pulls the pinned image and recreates the container. Repositories, users and settings are kept. Gitea migrates its database on start; going back to an older version is not supported, so the backup is the way back: **Restore** puts that data back. 3. If the backup cannot be made (for example the disk is full), nothing is changed and the task says why. Free space and try again, or untick the backup if you have your own copy. **Update to latest** stays within Gitea 28.x. Later major versions come with a [ZoPanel update](/docs/updating). ### Security updates When a ZoPanel release moves the pin to fix published vulnerabilities, installs on the earlier build show **Security update: Gitea 28.3.0** on their **Docker** tab, with the advisories it fixes, and administrators get **The app of … has a security update waiting** under **Needs your attention** on the dashboard. **Update to Gitea 28.3.0** on that card runs the update above. It is not applied automatically, because a new release may convert the app's data and the owner may want to choose the moment; apply it soon. ZoPanel 0.4.28 moves the pin from Gitea 28.1.0 to **28.2.0** (18 October 2026), which fixes nine advisories of 28.1.0: an account takeover through OpenID account linking (GHSA-mf69-7pqq-86vx), SSH certificate principals matched to other users' keys (GHSA-vcp6-2qc6-gvq3; ZoPanel turns Gitea's SSH server off), unbounded request bodies in the Actions artifact API (GHSA-6f9g-7jgm-m5ph), draft-release and attachment leaks across repositories (GHSA-8j56-f865-gqq2, GHSA-cwq7-782w-pxcc), an unauthenticated crash (GHSA-c3cr-qq9g-666c), reactions on locked issues (GHSA-wx44-9m3m-rjqx), CSRF on repository topics (GHSA-4jmf-h2cm-hg7w) and label deletion across namespaces (GHSA-fxq4-gr55-7x5g). ZoPanel 0.4.34 moves the pin to **28.3.0** (1 November 2026), which fixes twenty advisories of 28.2.0. The most serious: an account takeover through OAuth2 auto-linking with an attacker-chosen username (GHSA-8p3x-w464-4g6v), stored XSS on the Gitea site through the Content-Encoding header of Actions artifacts (GHSA-9v6p-xpcp-7488), Actions runs from forks getting the repository's secrets and a write token (GHSA-32h8-5xqg-h466), Actions task tokens with no scope on the REST API (GHSA-8r36-6j2c-3gmv), and write collaborators replacing releases on archived repositories (GHSA-6h2f-c8jm-84hc). Most of the others are "public-only" tokens reaching private data: the admin API (GHSA-37xv-m4w7-j2fh), bulk repository deletion (GHSA-jh8p-x4ch-389q), private OCI blobs (GHSA-8g99-g36h-5p2w), runner registration (GHSA-qcgm-ggp8-22qc), profile and feed pages, issue timelines, project boards and RSS feeds. A script that relied on one of these to read private data with a public-only token stops working after the update: give it a token with the scope it needs. Installs on 28.1.0 get the 29 fixes of both releases. New installs get 28.3.0. ## Troubleshooting | Symptom or message | What to do | | --- | --- | | Visitors see "This app is being set up" | Click **Setup finished — open to everyone** on the **Docker** tab. | | `git push` fails with `HTTP 413` or "the remote end hung up unexpectedly" on a big push | The push is over the website's upload size (256 MB by default). Raise **Maximum upload (MB)** on the website's **Tools** tab → **Upload size** (up to 10 GB), or push in smaller parts. | | `ssh: connect to host … port 22` asks for a server password or is refused | SSH clone is not available. Use the HTTPS URL. | | HTTPS push asks for a password again and again with two-factor authentication on | Use an access token as the password. | | Clone URLs show `http://` or a wrong domain | Check **Gitea Website URL** (`ROOT_URL`). ZoPanel sets it to `https:///` at every start. | | A webhook or mirror to a private IP fails | Containers cannot reach private networks. Use a public address. | | `Gitea needs 512 MB of memory; your plan has … MB and your apps use … MB` | Raise the package's **RAM (MB)** or remove another app. | | `not enough disk space: this app needs about 1.3 GB free and the server has … GB; free some space first` | Free disk space, then install again. | | Locked out of the admin account | As root: `docker exec -u git zp-app- gitea admin user change-password --username --password ''`. | ## Related - [App Store and S3 storage](/docs/apps) - [What each app does](/docs/app-catalog) - [Git deploy](/docs/git-deploy) - [Packages and limits](/docs/packages-limits) - [Gitea documentation](https://docs.gitea.com), [Backup and restore](https://docs.gitea.com/administration/backup-and-restore) and [configuration cheat sheet](https://docs.gitea.com/administration/config-cheat-sheet) ### Vaultwarden Source: https://zopanel.net/docs/app-vaultwarden Vaultwarden is a lightweight server that speaks the Bitwarden protocol, so the official Bitwarden browser extensions, desktop and mobile apps store their vaults on your own server. Use it when a person, a family or a small team wants a password manager without handing their passwords to a third-party service. Vaultwarden is an independent project, not an official Bitwarden product. ## Requirements | Item | Value | | --- | --- | | Image | `vaultwarden/server:1.37.4` | | Memory limit | 256 MB, 1 CPU | | Free disk to install | about 1.4 GB (the image is about 300 MB, plus 1 GB ZoPanel keeps free for the server) | | Domain | a domain or subdomain whose A record points to the server, for example `vault.example.com` | | HTTPS | required. Bitwarden clients and the web vault work only over HTTPS | Docker must be installed (**App Store → Install Docker**). A customer can install Vaultwarden only when the package allows Docker apps; see [App limits for customers](/docs/apps#app-limits-for-customers). ## Install 1. Point the domain's A record to the server. Vaultwarden is unusable until SSL is issued, so do this first. 2. Open **App Store** and click **Install** on the **Vaultwarden** card. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | The address of the vault, without `http://`, for example `vault.example.com`. ZoPanel creates a website for it. | | **Owner** | Administrators only: the hosting account the app belongs to. Customers install into their own account. | | **Free SSL (Let's Encrypt)** | Leave it on. The certificate is requested at the end of the installation. | 4. Click **Install**. The task log shows the image download and the container start. Vaultwarden has no install-time questions. ZoPanel sets these values for you: | Variable | Value | | --- | --- | | `DOMAIN` | `https://`, used in links in emails and invitations | | `SIGNUPS_ALLOWED` | `true`, so you can create the first account. Close it later in the admin page. | | `ADMIN_TOKEN` | A random 32-character token that opens the admin page. It is shown under **Login details**. | For a customer, the install is refused if the account already runs as many apps as the package allows, or if 256 MB would take the account's apps over the package's **RAM (MB)**. If the task log ends with `SSL could not be issued yet`, the domain did not point to the server yet. Fix DNS, then click **Issue certificate** on the website's **SSL** tab. See [SSL certificates](/docs/ssl). ## Create your account behind the setup lock A new Vaultwarden accepts sign-ups from anyone who can reach it, so ZoPanel keeps it private until you finish setting it up. Visitors see "This app is being set up". 1. Open **Websites**, choose the vault's domain and go to the **Docker** tab. 2. Wait until the status shows `running` and SSL is active, then click **Open the app (only for me)**. ZoPanel sets a cookie for this browser (valid 30 days) and opens the web vault. 3. On the web vault's login page, choose **Create account**. Enter your email address and name, then choose a master password (Bitwarden requires at least 12 characters) and an optional hint. 4. Log in with the new account. **Important:** the master password encrypts your vault on your device. Neither Vaultwarden nor ZoPanel can recover it. If it is lost, the vault cannot be decrypted. Before you open the vault to everyone, close sign-ups (next section). Then go back to the **Docker** tab and click **Setup finished — open to everyone**. Until you do, the Bitwarden apps on your other devices are also blocked, because they do not carry the cookie. ## The admin page The admin page at `https:///admin` controls the whole server: sign-ups, email, users and organisations. 1. On the **Docker** tab, copy the `ADMIN_TOKEN` value under **Login details**. Only people who can manage the website see it (not read-only team members). 2. Open `https:///admin` and paste the token. **Note:** settings you save in the admin page are written to `config.json` in the data folder, and they take precedence over the values ZoPanel passes at start-up. Changes take effect only after you click **Save**. Vaultwarden warns that a plain-text `ADMIN_TOKEN` is insecure and suggests an Argon2 hash. If you replace the token in the admin page, the value under **Login details** no longer works; keep the new one safe yourself. ### Close or restrict sign-ups In **General settings**, turn off **Allow new signups** and click **Save**. From then on: - you add people with **Users → Invite User** in the admin page, or as an organisation owner or admin; - if email is not configured, an invited person registers by opening the web vault and creating an account with the invited address; - **Domain whitelist** (if you use it) limits sign-ups to addresses at the listed domains. ### Email (SMTP) Without SMTP, Vaultwarden sends no email: no invitation emails, no email two-step login, no new-device notices. Configure it in **SMTP Email Settings**: | Setting | Example | | --- | --- | | Host | your mail server, for example `mail.example.com` | | Secure SMTP | `starttls` for port 587, `force_tls` for port 465 | | Port | `587` or `465` | | From address | `vault@example.com` | | Username / Password | the mailbox and its password | A mailbox created in ZoPanel's [Email](/docs/email) works: containers may connect to the server itself on ports 25, 465 and 587. Click **Save**, then send a test email from the same page. ### Users and diagnostics **Users** lists accounts, lets you disable or delete them and remove their two-step login. **Diagnostics** checks the configuration and shows the version. The admin session expires after 20 minutes. ## Connect the Bitwarden apps In each app, choose your server before you log in: - **Browser extension and mobile app:** on the login screen, open **Logging in on**, choose **Self-hosted**, enter `https://` as **Server URL** and select **Save**. - **Desktop app:** open **Accessing**, choose **Self-hosted**, enter the server URL and save. - **CLI:** `bw config server https://`. Then log in with your email and master password. Turn on two-step login for every account (**Settings → Security → Two-step login** in the web vault); an authenticator app works without SMTP. ## Where your data lives Everything Vaultwarden stores is in one folder on the server: ```text /var/lib/zopanel-apps//data/ ``` `` is the domain with dots replaced by hyphens: `vault.example.com` becomes `vault-example-com`. Only root and the container can read it. Its main contents: | Path | What it is | | --- | --- | | `db.sqlite3` (and `db.sqlite3-wal`) | The database: users, encrypted vault items, organisations | | `attachments/` | File attachments | | `sends/` | Bitwarden Send files (temporary by design) | | `config.json` | Settings saved in the admin page, including SMTP credentials | | `rsa_key*` | Keys that sign login sessions | | `icon_cache/` | Cached website icons (can be rebuilt) | ## Back up **Important:** ZoPanel's website backups (**Backups**, local or remote) cover the account's website folders, databases and mail. They do **not** include `/var/lib/zopanel-apps`. Back up the vault with the **Backups** card on the website's **Docker** tab instead. To back up Vaultwarden, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite database is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Vaultwarden is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archive contains `config.json` and `.env` (the admin token), so store it encrypted and off the server, for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`. On a new server, install Vaultwarden on the same domain first, copy the archive into `/var/backups/zopanel-apps//` there and click **Restore** on its **Backups** card. Vaultwarden can also make its own consistent copy of the database while the vault runs (built in since 1.32.1). As root: ```bash docker exec zp-app-vault-example-com /vaultwarden backup ``` Customers can also keep their own copy with **Tools → Export vault** in the web vault (an encrypted export is the safer choice). ## Update On the **Docker** tab, an administrator clicks **Update to latest**. ZoPanel pulls the image this ZoPanel version is pinned to (`vaultwarden/server:1.37.4`), recreates the container and keeps the data and the token. Newer Vaultwarden versions arrive with ZoPanel updates, after they are tested. Customers ask their provider. ## Network limits Every app container is cut off from the server's loopback and private networks and from other containers. For Vaultwarden this means: - website icons and email work, because they use the internet and the server's public mail ports; - an SMTP relay on a private address (for example `10.x.x.x`) or on `127.0.0.1` cannot be used. Use the mail server's public name. ## Remove the app Delete the website in **Websites**. Tick **Also delete all files** to delete the vault data and its backups as well; otherwise the folder stays in `/var/lib/zopanel-apps/`. ## Troubleshooting | Problem | What to do | | --- | --- | | Visitors see "This app is being set up" | The setup lock is still on. Click **Setup finished — open to everyone** on the **Docker** tab. | | The web vault shows a blank page or a crypto error | It is opened over `http://`. Issue SSL on the **SSL** tab and use `https://`. | | A Bitwarden app cannot log in | Check the server URL starts with `https://` and the setup lock is open. | | `not enough disk space: this app needs about 1.4 GB free…` | Free disk space, then install again. | | `your plan allows 1 application(s)` or `Vaultwarden needs 256 MB of memory…` | The package limit is reached. Remove an app or ask your provider to raise **Docker apps** or **RAM (MB)**. | | The admin token is refused | It was changed in the admin page (`config.json` wins). Use the new token, or, as root, remove the `admin_token` line from `config.json` and click **Restart**. | | Changes on one device reach the phone late | Mobile push needs Bitwarden's push relay, which ZoPanel does not configure. Pull to sync or use **Sync now**. | | The app keeps restarting | Read **Application output** on the **Docker** tab for the error. | ## Related - [What each app does](/docs/app-catalog) - [App Store and S3 storage](/docs/apps) - [SSL certificates](/docs/ssl) - [Email](/docs/email) - [Backups](/docs/backups) - Official: [Vaultwarden wiki](https://github.com/dani-garcia/vaultwarden/wiki), [Bitwarden help: self-hosted server URL](https://bitwarden.com/help/change-client-environment/) ### Open WebUI Source: https://zopanel.net/docs/app-open-webui Open WebUI is a self-hosted, ChatGPT-style chat interface. It has multiple users, chat history, document upload and per-model settings, and talks to any OpenAI-compatible API. Use it when you or a team want one private chat app on your own domain, paid per use with your own API keys instead of per-seat subscriptions. Open WebUI does not run models itself; on ZoPanel it connects to model providers over the internet. ## Requirements | Item | Value | | --- | --- | | Image | `ghcr.io/open-webui/open-webui:0.11` | | Memory limit | 2048 MB, 1 CPU. The install dialog warns that the app needs about 2 GB of RAM or more. | | Free disk to install | about 7.9 GB (the image is about 4.7 GB) | | Domain | a domain or subdomain pointed to the server, for example `chat.example.com` | | API key | from at least one provider (OpenAI, Anthropic, DeepSeek, OpenRouter…). You pay the provider directly. | Docker must be installed (**App Store → Install Docker**). Customers need a package that allows Docker apps and has 2048 MB of **RAM (MB)** free for apps; see [App limits for customers](/docs/apps#app-limits-for-customers). ## Install 1. Point the domain's A record to the server. 2. Open **App Store** and click **Install** on the **Open WebUI** card. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | for example `chat.example.com`, without `http://` | | **Owner** | Administrators only: the hosting account the app belongs to | | **Free SSL (Let's Encrypt)** | Leave it on | 4. Click **Install** and follow the task log. There are no install-time fields; you add API keys inside Open WebUI. ZoPanel sets: | Variable | Value | | --- | --- | | `WEBUI_URL` | `https://` | | `WEBUI_SECRET_KEY` | a random key that signs logins, so sessions survive restarts and updates | | `ENABLE_OLLAMA_API` | `false`: an Ollama on the same server is unreachable from the container (see [Network limits](#network-limits)) | The first start takes one to two minutes or more: Open WebUI prepares its database and downloads the models it uses for document search. While it starts, the site shows a "busy" page that reloads by itself. ## Create the admin account behind the setup lock The first account created in Open WebUI becomes its administrator, so ZoPanel keeps a new install private. Visitors see "This app is being set up". 1. Open **Websites**, choose the domain and go to the **Docker** tab. 2. When the status is `running`, click **Open the app (only for me)**. 3. Click **Get started** and create the account (name, email, password). It becomes the **Admin**. 4. Configure a provider (next section) and sign-ups. 5. Back on the **Docker** tab, click **Setup finished — open to everyone**. ## Connect model providers 1. In Open WebUI, open **Admin Panel → Settings → Connections**. 2. Under **OpenAI API**, click **+** to add a connection. 3. Enter the provider's base URL and API key, then save: | Provider | Base URL | | --- | --- | | OpenAI | `https://api.openai.com/v1` | | Anthropic (OpenAI-compatible endpoint) | `https://api.anthropic.com/v1` | | DeepSeek | `https://api.deepseek.com/v1` | | OpenRouter | `https://openrouter.ai/api/v1` | 4. Open a new chat and pick a model from the model list. If the list is empty, check the key and the URL. The keys are stored in Open WebUI's database on your server. Set spending limits in each provider's dashboard: every user's chats are billed to your key. To reduce memory and CPU use, you can let a provider create document embeddings instead of the local model: **Admin Panel → Settings → Documents**, change the embedding engine to your OpenAI-compatible provider. ## Users and sign-ups - Sign-up and the role new users get are set in **Admin Panel → Settings → General**. With the default role **Pending**, a new account cannot chat until an admin approves it. - Approve people in **Admin Panel → Users**: change their role from **pending** to **user** (or **admin**). - To keep the app for invited people only, turn sign-ups off and add users yourself in **Admin Panel → Users**. - **Groups** and per-model access control which users see which models. Check these settings before you open the app to everyone: Open WebUI's sign-up behaviour has changed between versions. ## Where your data lives ```text /var/lib/zopanel-apps//data/ ``` `` is the domain with dots replaced by hyphens (`chat.example.com` → `chat-example-com`). The folder is mounted at `/app/backend/data` in the container and holds the SQLite database `webui.db` (users, chats, settings, API connections), uploaded files, the vector database for documents and downloaded model caches. Only root and the container can read it. ## Back up ZoPanel's website backups do **not** include `/var/lib/zopanel-apps`; the **Backups** card on the website's **Docker** tab backs up the app instead. To back up Open WebUI, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite database is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. The archive includes `data/cache` with the downloaded models, so it can be large. To restore, an administrator clicks **Restore** next to a backup. Open WebUI is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. Users can also export their own chats in **Settings → Chats**. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain your provider API keys. To restore on another server, install Open WebUI on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. ## Update An administrator clicks **Update to latest** on the **Docker** tab. ZoPanel pulls the newest `0.11` image, recreates the container and keeps the data and the secret key. Newer major lines come with ZoPanel updates. Open WebUI migrates its database on start, so take a backup first (**Back up now**); an update cannot be undone by pulling an older image. Customers ask their provider. ## Network limits Each container is cut off from the server's loopback (`127.0.0.1`) and private networks, from link-local addresses and from other containers. On the server itself it reaches only ports 80, 443, 25, 465, 587 and DNS. For Open WebUI: - **Ollama on the same server cannot be used**, on `localhost`, the Docker bridge or the server's public IP (port 11434 is closed to containers). This is why ZoPanel turns the Ollama API off. - An Ollama, vLLM or other server on a private network (`10.x`, `172.16–31.x`, `192.168.x`, VPN ranges) cannot be used either. - Public APIs work: OpenAI, Anthropic, DeepSeek, OpenRouter, Groq, Mistral, or a model server on another machine with a public address. If you run your own model server, protect it with an API key or a reverse proxy before you expose it. - Web search, web page loading and tools that fetch URLs reach the public internet only. ## Troubleshooting | Problem | What to do | | --- | --- | | "This website is very busy right now" just after installing | The app is still starting. Wait a minute or two; the page reloads by itself. | | Visitors see "This app is being set up" | Click **Setup finished — open to everyone** on the **Docker** tab. | | No models in the model list | Check the connection in **Admin Panel → Settings → Connections** (base URL ending in `/v1`, a valid key, credit on the account). | | A connection to `localhost`, `host.docker.internal` or a private IP fails | Blocked by design; use a public endpoint. | | A new user sees "pending" | Approve them in **Admin Panel → Users**. | | Upload fails for a large file | Requests through nginx are limited to the website's upload size (256 MB by default). Raise **Maximum upload (MB)** on the website's **Tools** tab → **Upload size**. | | `not enough disk space: this app needs about 7.9 GB free…` | Free disk space, then install again. | | `Open WebUI needs 2048 MB of memory; your plan has … MB…` | Ask your provider for more **RAM (MB)** or remove an app. | | The container stops or restarts under load | It reached the 2048 MB limit. Use a provider for embeddings and avoid large local document collections. | Read **Application output** on the **Docker** tab for errors from the app. ## Related - [What each app does](/docs/app-catalog) - [App Store and S3 storage](/docs/apps) - [Flowise](/docs/app-flowise) - [OpenClaw](/docs/app-openclaw) - [Packages and limits](/docs/packages-limits) - Official: [Open WebUI documentation](https://docs.openwebui.com), [Anthropic OpenAI SDK compatibility](https://docs.anthropic.com/en/api/openai-sdk) ### OpenClaw Source: https://zopanel.net/docs/app-openclaw OpenClaw is a self-hosted AI assistant gateway. It connects a large language model (Anthropic, OpenAI, DeepSeek…) to the chat apps you already use, such as Telegram, Zalo and WhatsApp, and gives you a web Control UI to chat, manage sessions, agents and channels. Use it when you want an always-on assistant reachable from your phone's chat apps, with the conversation history kept on your own server. ## Requirements | Item | Value | | --- | --- | | Image | `ghcr.io/openclaw/openclaw:2026.9.8` | | Memory limit | 2048 MB, 1 CPU. The install dialog warns that the app needs about 2 GB of RAM or more. | | Free disk to install | about 5.8 GB (the image is about 3.3 GB) | | Domain | a domain or subdomain pointed to the server, for example `claw.example.com` | | LLM API key | at least one of Anthropic, OpenAI or DeepSeek. You pay the provider directly. | Docker must be installed (**App Store → Install Docker**). Customers need a package that allows Docker apps and has 2048 MB of **RAM (MB)** free for apps; see [App limits for customers](/docs/apps#app-limits-for-customers). ## Install 1. Point the domain's A record to the server. 2. Open **App Store** and click **Install** on the **OpenClaw** card. 3. Fill in the dialog. The dialog says "Enter at least one API key (you pay the model provider directly)." | Field | What to enter | | --- | --- | | **Domain** | for example `claw.example.com` | | **Owner** | Administrators only: the hosting account the app belongs to | | **Anthropic API key** | a key from the Anthropic Console (starts with `sk-ant-`) | | **OpenAI API key** | a key from the OpenAI platform | | **DeepSeek API key** | a key from the DeepSeek platform | | **Free SSL (Let's Encrypt)** | Leave it on | Fill in one key or several. An install with no key is refused with `OpenClaw needs at least one API key`. Each value may be up to 512 characters on one line. 4. Click **Install** and follow the task log. ZoPanel passes the keys to the container as `ANTHROPIC_API_KEY`, `OPENAI_API_KEY` and `DEEPSEEK_API_KEY`, and also: | Setting | Value | | --- | --- | | `OPENCLAW_GATEWAY_TOKEN` | a random 32-character token that protects the Control UI, shown under **Login details** | | `gateway.bind`, `gateway.mode` | `lan`, `local`: the gateway listens inside the container; the port is published on 127.0.0.1 only and reached through nginx | | `gateway.trustedProxies` | the Docker bridge, so OpenClaw accepts requests from the website's nginx | | `gateway.controlUi.allowedOrigins` | `https://` and `http://` | The `gateway.*` values are written into `openclaw.json` each time the app starts and when the panel starts. If you change them, ZoPanel puts them back and restarts the app. The keys cannot be edited from the panel after installation. To use another key later, add it inside OpenClaw (see [Choose the model](#choose-the-model)). ## Sign in and approve your browser OpenClaw has no setup lock: it is protected by the gateway token and by browser approval, so the domain is public as soon as it is installed. 1. Open **Websites**, choose the domain and go to the **Docker** tab. 2. Under **Login details**, copy `OPENCLAW_GATEWAY_TOKEN`. Only people who can manage the website see it. 3. Open `https://`. Paste the token into **Gateway secret** and click **Connect**. 4. OpenClaw asks for this browser to be approved. Go back to the **Docker** tab: the **Browsers** card lists it under **Waiting for approval** with its platform, IP address and time. 5. Click **Approve**. The Control UI opens. Click **Reject** for any request you do not recognise. Each new browser or device goes through the same approval. Approved ones are listed under **Approved**. The token is kept only in the current browser tab; after approval the browser uses its own device token. **Important:** anyone with the gateway token can request access, and an approved browser can control the assistant and use your API keys. Keep the token secret. ## Choose the model OpenClaw uses the providers whose keys it finds. Check or change the default model in the Control UI under **Settings → Models**, or with `/model` in a chat. Set a spending limit in your provider's dashboard: every message, automation and channel uses your key. The Control UI's operator terminal opens a shell inside the container, where the OpenClaw CLI is available, for example: ```bash openclaw models list openclaw channels status --probe ``` If DeepSeek models do not appear, the DeepSeek provider plugin may be missing: `openclaw plugins install @openclaw/deepseek-provider`. ## Connect chat channels Channels are configured in **Settings → Channels** (under **Connections**) or with the CLI in the operator terminal. OpenClaw applies channel changes without a restart. **Telegram** 1. In Telegram, chat with **@BotFather**, run `/newbot` and copy the bot token. 2. Add it in **Settings → Channels → Telegram**, or run `openclaw channels add --channel telegram --token `. 3. Send any message to your bot. By default, unknown senders get a pairing code. 4. Approve it in the operator terminal (codes expire after one hour): ```bash openclaw pairing list telegram openclaw pairing approve telegram ``` **Zalo** (marked experimental by OpenClaw): create a bot at [bot.zaloplatforms.com](https://bot.zaloplatforms.com), set its token in **Settings → Channels**, then approve the first message's pairing code the same way (`openclaw pairing approve zalo `). **WhatsApp**: OpenClaw links as a WhatsApp Web device. Start the login from **Settings → Channels → WhatsApp** and scan the QR code with WhatsApp on your phone (**Linked devices**). Telegram's default long polling only makes outgoing connections, so it works behind ZoPanel without extra settings. ## Where your data lives ```text /var/lib/zopanel-apps//state/ ``` `` is the domain with dots replaced by hyphens (`claw.example.com` → `claw-example-com`). It is mounted at `/home/node/.openclaw` and holds `openclaw.json`, channel credentials (bot tokens, the WhatsApp session), paired devices, sessions, memory and the agent workspace. Only root and the container can read it. ## Back up ZoPanel's website backups do **not** include `/var/lib/zopanel-apps`; the **Backups** card on the website's **Docker** tab backs up the app instead. To back up OpenClaw, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the copy is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. OpenClaw is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain your API keys, bot tokens and the WhatsApp session. To restore on another server, install OpenClaw on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. The new install has a new gateway token, shown under **Login details**. ## Update An administrator clicks **Update to latest** on the **Docker** tab. ZoPanel pulls the image this ZoPanel version is pinned to, recreates the container and keeps the state, keys and token. Newer OpenClaw releases arrive with ZoPanel updates. OpenClaw migrates its state on start, so back up first (**Back up now**). Customers ask their provider. ## Network limits The container is cut off from the server's loopback and private networks, from link-local addresses (including the cloud metadata service) and from other containers. On the server itself it reaches only ports 80, 443, 25, 465, 587 and DNS. It has no access to the Docker socket or to host folders: the container is the assistant's sandbox. For OpenClaw: - Model providers must be public APIs. A local model server (Ollama, LM Studio, vLLM) on the same server or on a private network cannot be used. - Tools that browse, fetch URLs or run commands reach the public internet only, not the server's databases, Redis, the panel or machines on your private network. - The operator terminal is a shell inside this container only. ## Troubleshooting | Problem | What to do | | --- | --- | | The **Browsers** card says `the app is not ready yet; try again in a minute` | OpenClaw is still starting (it can take one to two minutes). Refresh the card. | | "No browser is waiting" after you connected | Connect again in the Control UI, then refresh the **Browsers** card. | | The Control UI rejects the token | Copy it again from **Login details**, without spaces. | | The Control UI refuses the origin | Open the app at `https://`, not by IP address. | | The bot does not answer in Telegram | Approve the pairing code; check `openclaw channels status --probe`. In groups, mention the bot or turn off its privacy mode in BotFather. | | Model errors (401, 429, insufficient credit) | Check the key and the balance at the provider. | | A connection to `localhost` or a private IP fails | Blocked by design; use a public endpoint. | | `not enough disk space: this app needs about 5.8 GB free…` | Free disk space, then install again. | | The container restarts under load | It reached the 2048 MB limit. Reduce concurrent sessions or tools. | Read **Application output** on the **Docker** tab for errors from the app. ## Related - [What each app does](/docs/app-catalog) - [App Store and S3 storage](/docs/apps) - [Open WebUI](/docs/app-open-webui) - [Flowise](/docs/app-flowise) - Official: [OpenClaw documentation](https://docs.openclaw.ai), [Control UI](https://docs.openclaw.ai/web/control-ui), [Telegram setup](https://docs.openclaw.ai/channels/telegram/setup) ### Flowise (discontinued) Source: https://zopanel.net/docs/app-flowise **Discontinued.** The Flowise project has ended: its repository was archived in August 2026 (see [flowiseai.com/sunset](https://flowiseai.com/sunset)), so it gets no more fixes, security fixes included. Since ZoPanel 0.4.25 the App Store no longer offers Flowise, as for every app whose upstream stopped security fixes. Copies already installed keep running and can still be started, stopped, backed up, restored and uninstalled; their **Docker** tab shows **Flowise is discontinued upstream**. Plan to move your flows to another tool (see [Moving off Flowise](#moving-off-flowise)), and do not expose a Flowise you no longer use. Installs still on Flowise 3.1.2 should first take the [security update to 3.1.3](#update). The rest of this page is kept for existing installs. Flowise is a visual builder for AI applications: you connect blocks for models, prompts, memory, documents and tools on a canvas to build chatbots, assistants that answer from your documents, and multi-step agents. Each flow can then be embedded on a website or called through an API. Use it when you want a custom AI assistant without writing much code, with the flows and data on your own server. ## Requirements | Item | Value | | --- | --- | | Image | `flowiseai/flowise:3.1.3` (3.1.2 before ZoPanel 0.4.28) | | Memory limit | 1024 MB, 1 CPU | | Free disk to install | about 6.0 GB (the image is about 3.4 GB) | | Domain | a domain or subdomain pointed to the server, for example `flow.example.com` | | API key | from at least one model provider (OpenAI, Anthropic, Google, DeepSeek…), added inside Flowise. You pay the provider directly. | Docker must be installed (**App Store → Install Docker**). Customers need a package that allows Docker apps and has 1024 MB of **RAM (MB)** free for apps; see [App limits for customers](/docs/apps#app-limits-for-customers). ## Install New installs are no longer possible: the App Store has no Flowise card and refuses the install ("Flowise is no longer offered: the project stopped receiving security fixes."). The steps below describe how existing copies were installed. 1. Point the domain's A record to the server. 2. Open **App Store** and click **Install** on the **Flowise** card. 3. Fill in the dialog: | Field | What to enter | | --- | --- | | **Domain** | for example `flow.example.com` | | **Owner** | Administrators only: the hosting account the app belongs to | | **Free SSL (Let's Encrypt)** | Leave it on | 4. Click **Install** and follow the task log. Flowise has no install-time fields. ZoPanel keeps everything Flowise writes in one folder and turns off its telemetry: | Variable | Value | | --- | --- | | `DATABASE_PATH`, `SECRETKEY_PATH` | `/home/node/.flowise`: the SQLite database and the encryption key for credentials | | `BLOB_STORAGE_PATH` | `/home/node/.flowise/storage`: uploaded files | | `LOG_PATH` | `/home/node/.flowise/logs` | | `DISABLE_FLOWISE_TELEMETRY` | `true` | The first start takes one to two minutes. Until Flowise answers, the site shows a "busy" page that reloads by itself. ## Create the administrator behind the setup lock The first person to open a new Flowise creates its administrator, so ZoPanel keeps it private. Visitors see "This app is being set up". 1. Open **Websites**, choose the domain and go to the **Docker** tab. 2. When the status is `running`, click **Open the app (only for me)**. 3. On the **Setup Account** screen, enter the administrator's name, email (your login) and a password. Flowise requires at least 8 characters with upper- and lower-case letters, a digit and a special character. 4. Sign in. 5. Back on the **Docker** tab, click **Setup finished — open to everyone**. ZoPanel does not configure email for Flowise, so features that send email, such as password reset links, do not work. Store the administrator password safely. ## Add credentials (API keys) Flowise stores provider keys as **Credentials**, encrypted with the key in its data folder, and the blocks on the canvas refer to them by name. 1. In the left menu, open **Credentials** and click **Add Credential**. 2. Choose the provider, for example **OpenAI API** or **Anthropic API**. 3. Give it a name, paste the key and click **Add**. Set a spending limit in the provider's dashboard: every message to a published chatbot is billed to your key. ## Build and publish a chatflow 1. Open **Chatflows** and click **Add New**. 2. Drag blocks from the **+** menu onto the canvas, for example a chat model (select your credential), a memory block and a chain or agent, and connect them. 3. Click **Save** and test it with the chat button on the canvas. 4. Click **** (API endpoint) to get the embed snippet for a website, or the URL of the prediction API: ```text https://flow.example.com/api/v1/prediction/ ``` 5. Protect API access with a key from **API Keys**, and allow only your website domains in the chatflow's security settings if you embed it. For document question answering, use a document loader, a text splitter, an embeddings block and a vector store. Vector stores that keep data in Flowise (for example the in-memory store) or a public managed service (Pinecone, Qdrant Cloud, Supabase…) work; databases on the server itself do not (see [Network limits](#network-limits)). ## Where your data lives ```text /var/lib/zopanel-apps//data/ ``` `` is the domain with dots replaced by hyphens (`flow.example.com` → `flow-example-com`). It is mounted at `/home/node/.flowise` and holds the database (`database.sqlite`: users, chatflows, credentials, chat messages, API keys), the encryption key (`encryption.key`), uploaded files in `storage/` and logs in `logs/`. Only root and the container can read it. **Important:** the database and the encryption key belong together. A database restored without its key gives "Credentials could not be decrypted". ## Back up ZoPanel's website backups do **not** include `/var/lib/zopanel-apps`; the **Backups** card on the website's **Docker** tab backs up the app instead, with the database and its encryption key together. To back up Flowise, click **Back up now** on the **Backups** card of the website's **Docker** tab. Administrators can also set a **Schedule** (**Off**, **Every day** or **Every week**; off by default) and how many copies to **Keep** (1–60, default 7), then click **Save**. Each backup archives `/var/lib/zopanel-apps//` into `/var/backups/zopanel-apps//YYYYMMDD-HHMMSS.tar.gz`, a folder only root can read; like the app's data, it counts in the account's disk space. The container is paused (not stopped) for the few seconds of the copy, so the SQLite database is consistent. Older copies beyond **Keep** are removed, and a failed scheduled backup sends administrators the **Backup failed** alert. To restore, an administrator clicks **Restore** next to a backup. Flowise is stopped and its data replaced with the archive; the current data is kept aside until the restored app starts, and put back if it does not. Changes made since the backup are lost. Each backup also has a delete button (administrators only), and deleting the app together with its files deletes its backups too. Customers can click **Back up now** and see the list; the schedule and restores are done by the provider. Customers can also export each chatflow from its settings menu on the canvas (**Export Chatflow**) to keep a copy of the flow; credentials are not included and must be added again. The archives stay on the same server. Copy important ones off it (for example with `scp` or `rclone` from `/var/backups/zopanel-apps//`) and store them encrypted, since they contain the encryption key and therefore give access to every stored API key. To restore on another server, install Flowise on the same domain there, copy the archive into `/var/backups/zopanel-apps//` on the new server and click **Restore** on its **Backups** card. ## Update An administrator clicks **Update to latest** on the **Docker** tab and confirms with **Back up the app's data first** ticked. ZoPanel backs the app up (listed on the **Backups** card), pulls the image this ZoPanel version is pinned to (`flowiseai/flowise:3.1.3`), recreates the container and keeps the data. If the backup cannot be made, nothing is changed. ZoPanel then watches the app for a minute and a half: if the new version stops or keeps restarting, Flowise 3.1.2 is started again with the backup and the task says so. Customers ask their provider. **Security update (ZoPanel 0.4.28).** Flowise 3.1.2, which installs made before 0.4.28 run, has 28 published vulnerabilities, several of them remote code execution (sandbox escapes in the JavaScript and Python code nodes, the CSV agent, the SQLite record manager, MCP command checks) and unauthenticated access (OAuth2 token refresh, flow execution context, the text-to-speech endpoint). **Flowise 3.1.3** (25 June 2026) fixes 27 of them. Such installs show **Security update: Flowise 3.1.3** on their **Docker** tab with the advisory list, and administrators see it under **Needs your attention** on the dashboard. Apply it with **Update to Flowise 3.1.3**: Flowise migrates its SQLite database on the first start of 3.1.3 (allow a minute or two), and the backup taken first is the way back. ZoPanel tested the update on a real server: the account, the chatflows and the credentials were kept. **Read before updating:** in the official 3.1.3 image the two **ReAct Agent** nodes (*ReAct Agent for Chat Models* and *ReAct Agent for LLMs*) no longer load (`ERR_PACKAGE_PATH_NOT_EXPORTED` for `@langchain/core/utils/uuid` in **Application output**); 3.1.2 loads them. Flows built on them stop working after the update: rebuild them with **Tool Agent**. The security notice and the update dialog say so too. The 28th, GHSA-8gj2-2cvc-6xx7 (credentials used without signing in through the text-to-speech endpoint), is fixed only in **3.1.4** (29 July 2026), the project's last release. Its official image does not start: it stops right after initialisation with `TypeError: this.db.exec is not a function` (the SQLite session store), on a new install as on an existing one, with or without ZoPanel's settings (tested in October 2026). ZoPanel therefore stays on 3.1.3, and the **Docker** tab lists that advisory as not fixed. Do not leave a Flowise with stored credentials reachable by everyone: put it behind a password (website **Tools** → **Password-protected directories**, directory `/`; embedded chatbots then ask for it too) or move off it. Since the project has ended, there will be no newer Flowise version: 3.1.3 is the last one ZoPanel runs, and any vulnerability found later will not be fixed. Move off Flowise. ## Moving off Flowise 1. Back up the app (**Back up now** on the **Backups** card) and copy the archive off the server. 2. In Flowise, export what you need: each chatflow and agentflow from its menu (**Export**), and the document stores you rely on. Credentials (API keys) are encrypted and are not exported: note which keys each flow uses. 3. Rebuild the flows in the tool you choose. In the App Store, [n8n](/docs/app-n8n) has AI agent and chat nodes for workflows, and [Open WebUI](/docs/app-open-webui) covers chat with your own documents. 4. When nothing uses Flowise any more, click **Uninstall app** on the **Docker** tab. Tick the box to delete its data only once you no longer need the backups. ## Network limits The container is cut off from the server's loopback (`127.0.0.1`) and private networks, from link-local addresses and from other containers. On the server itself it reaches only ports 80, 443, 25, 465, 587 and DNS. For Flowise: - Blocks that call `localhost` or a private address fail: an Ollama or LocalAI model server, or a PostgreSQL, MySQL, Redis or Qdrant on the same server or on your private network. - Use public APIs and managed services instead: model providers, hosted vector databases, public HTTP APIs. - Your websites on the same server are reachable through their public domain over HTTPS (port 443), for example an HTTP request block that calls your own API. - Another app from the App Store cannot be reached directly; call it through its public domain. ## Troubleshooting | Problem | What to do | | --- | --- | | "This website is very busy right now" just after installing | Flowise is still starting. Wait a minute or two. | | Visitors see "This app is being set up" | Click **Setup finished — open to everyone** on the **Docker** tab. | | The password is refused on **Setup Account** | Use 8+ characters with upper and lower case, a digit and a symbol. | | `Credentials could not be decrypted` | The database was restored without its `encryption.key`. Restore both from the same backup, or add the credentials again. | | `ECONNREFUSED 127.0.0.1` or a timeout to a private IP | Blocked by design; use a public endpoint. | | Model errors (401, 429, quota) | Check the credential's key and the balance at the provider. | | Uploading a large document fails | Requests through nginx are limited to the website's upload size (256 MB by default). Raise **Maximum upload (MB)** on the website's **Tools** tab → **Upload size**. | | The container restarts while processing documents | It reached the 1024 MB limit. Split documents into smaller uploads or use a hosted embeddings and vector store. | | `not enough disk space: this app needs about 6.0 GB free…` | Free disk space, then install again. | Read **Application output** on the **Docker** tab for errors from the app. ## Related - [What each app does](/docs/app-catalog) - [App Store and S3 storage](/docs/apps) - [Open WebUI](/docs/app-open-webui) - [n8n](/docs/app-n8n) - [Packages and limits](/docs/packages-limits) - Official: [Flowise documentation](https://docs.flowiseai.com), [environment variables](https://docs.flowiseai.com/configuration/environment-variables) ## Mail, DNS & databases ### Email Source: https://zopanel.net/docs/email ZoPanel's mail server is built on Postfix, Dovecot (IMAP/POP3) and Rspamd, with DKIM signing, spam filtering and Sieve rules. Customers manage their own domains and mailboxes on the **Email** page; the administrator controls the server-wide settings. ## Install the mail server (administrator) 1. Open **Email** and fill in **Mail hostname**, a fully qualified name such as `mail.example.com`. It must resolve to this server. 2. Click **Install mail server**. You can also install it from **Components**, together with **Webmail** and **Calendars & contacts (CalDAV/CardDAV)**. 3. Ask your VPS provider to set the server IP's reverse DNS (PTR) to the mail hostname. Without it, much of your mail lands in spam. 4. Click **Install webmail** if it was not installed with the components. The installer opens the mail ports in the firewall. If ZoPanel detects that your provider blocks outgoing port 25, the Email page warns you: incoming mail works, but sending to other servers fails until the provider opens the port, or until you configure **Outgoing mail relay (smarthost)** (SendGrid, Mailgun, Amazon SES, Brevo…). Mail services use the panel's certificate: set **Settings → Panel domain & SSL** so mail clients see a trusted certificate. The certificate also names the mail hostname when it points to the server, so mail apps can connect to `mail.example.com` without a warning. ## Enable email for a domain 1. On the **Email** page, click **Enable email for a domain**. 2. Choose one of your websites' domains and click **Enable**. 3. Publish the records shown in the **DNS records** card at your DNS provider. If you host the domain's DNS on this server and create its zone after enabling email, the zone is created with these records already in it; for an existing zone, add them on the **DNS** page. | Record | Name | Value | | --- | --- | --- | | MX | `example.com` | the mail hostname, priority 10 | | TXT (SPF) | `example.com` | `v=spf1 mx a ~all` | | TXT (DKIM) | `zp._domainkey.example.com` | the public key shown in the panel | | TXT (DMARC) | `_dmarc.example.com` | `v=DMARC1; p=quarantine; rua=mailto:postmaster@example.com` | Then click **Run check** in **Mail delivery check**. It compares public DNS with the expected MX, SPF, DKIM and DMARC records, checks reverse DNS (PTR) and outgoing port 25, and looks up the server IP on the Spamhaus, SpamCop and Barracuda blocklists, with a hint for each problem. ## Mailboxes 1. Open the domain and click **New mailbox**. 2. Enter the address, a password (a strong one is generated) and the **Quota (MB)** (default 1024, `0` = unlimited). 3. Copy the password from the confirmation: it is not shown again. The key icon changes a mailbox's password or quota. The number of mailboxes is limited by the account's package. ### Mail client settings The username is always the full email address. | Protocol | Port | Security | | --- | --- | --- | | IMAP | 993 | SSL/TLS | | IMAP | 143 | STARTTLS | | POP3 | 995 | SSL/TLS | | POP3 | 110 | STARTTLS | | SMTP (sending) | 465 | SSL/TLS | | SMTP (sending) | 587 | STARTTLS | Login always requires encryption. The server name is shown in **Email client settings** on the domain page. Step-by-step setup for Outlook, Thunderbird, Apple Mail and the Gmail app is in [Email clients](/docs/email-clients). ### Webmail without a password Webmail (SnappyMail) runs on port 2096. In the mailbox list, the envelope icon **Open webmail (no password needed)** signs you in to that mailbox in a new tab. The panel never knows mailbox passwords: it uses a single-use link (valid for seconds) with a login code that opens only that mailbox. Users can also sign in directly at `https://:2096` with their address and password. ## Forwarders and catch-all In **Forwarders**, click **New forwarder**, enter the local part of the **Address** and one or more destinations in **Forward to**, separated by commas. To catch all mail sent to unknown addresses of the domain, leave the address empty (or enter `*`). The catch-all appears as `*@example.com` in the list. ## Rules and autoreply (Sieve) Click the filter icon next to a mailbox to open **Rules and autoreply**. Rules run when mail is delivered, before it reaches the inbox. - **Autoreply:** turn on **Send an automatic reply**, set the **Subject** and **Message**, an optional **From** and **Until** date, and how often the same sender gets a reply. - **Filters:** match **From**, **To / Cc** or **Subject** that **contains** or **is** a value, then **Move to folder**, **Forward a copy**, **Mark as read** or **Delete**. - **Senders & spam:** **Move spam to the Junk folder**, lists of senders to **Always allow** and to **Block** (deleted silently), one address or domain per line. The **Spam filter** card sets how strict filtering is for the whole domain: **Low**, **Medium (recommended)** or **High**. More examples and every limit are in [Mail rules and limits](/docs/mail-rules). ## Mailing lists A mailing list is one address that delivers to every member. In **Mailing lists**, click **New list**, enter the **List address** and the **Members**. Turn on **Only members (and the senders below) can send to the list** to keep it closed, and list extra allowed senders. The original sender's signature is kept, so messages reach inboxes instead of spam. ## Calendars and contacts When **Calendars & contacts (CalDAV/CardDAV)** is installed, every mailbox gets its own calendars and address books at `https://:2080/`. Sign in with the mailbox address and password in your phone or Thunderbird. Outlook has no built-in CalDAV/CardDAV support and needs a third-party sync add-in. Each user only sees their own collections. Setup steps for each app are in [Webmail, calendars and contacts](/docs/webmail-calendar). ## Sending limits Hacked websites are the usual source of spam on a hosting server, and one bad night can get the server's IP blocklisted for every customer. ZoPanel counts every recipient each account sends per hour, whether the mail comes from PHP `mail()` or from an SMTP login, and temporarily refuses mail over the limit. - Administrators set **Default per hour** in **Email → Sending limits** (500 by default; `0` = unlimited). The table shows each account's mail in the last hour, its limit and refusals in the last 24 hours. - Each package can override the limit with **Emails per hour** in **Packages** (empty = server default, `-1` = unlimited). - Customers see **Emails sent this hour** under **Resources**, and can be notified when the limit is reached. ### Why port 25 from a website or script is refused With **Block direct SMTP from accounts** on (the default), website code cannot connect to other mail servers on port 25, and unauthenticated SMTP from the server itself is refused. All mail must go through this server, where it is counted, DKIM-signed and logged, like cPanel's SMTP Restrictions. To send from an application, use PHP `mail()` or SMTP with a mailbox login: ```text Host: Port: 587 Encryption: STARTTLS Username: noreply@example.com Password: the mailbox password ``` ## Queue, logs and blocklists - **Delivery log** on each domain page lists recent mail sent and received, searchable by address or status. - Administrators also see the server-wide **Delivery log** and the **Mail queue**, where they can **Retry**, **Hold**, **Release**, view **Message headers**, **Retry all** or **Delete all deferred**. - ZoPanel alerts the administrator when the queue builds up (300 messages or more) and checks once a day whether the server IP is on a blocklist. If it is, find the sending account in **Sending limits**, stop the source, then request delisting on the list's website. ### DNS Source: https://zopanel.net/docs/dns ZoPanel can run an authoritative DNS server (PowerDNS) so that you and your customers manage zones next to the websites that use them. Hosting DNS here is optional, but it is required for wildcard SSL certificates. ## Install the DNS server (administrator) 1. Decide on your nameserver names, for example `ns1.yourcompany.com` and `ns2.yourcompany.com`. 2. At the registrar of `yourcompany.com`, create glue records (host records) for those names pointing to this server's IP. 3. In ZoPanel, open **DNS**, enter the **Nameservers** (1 to 6 names, separated by commas) and click **Install DNS server**. You can also install it from **Components**. The installer opens port 53 (TCP and UDP) in the firewall. If the DNS server stops answering, the DNS page shows **DNS server not answering**. ## Create a zone 1. On the **DNS** page, in **DNS zones**, **Choose a domain** from your websites and click **Add zone**. A zone can only be created for a domain that has a website in the account. 2. At the domain's registrar, set the nameservers shown under **Nameservers to set at the registrar**. A new zone already contains: | Name | Type | Value | | --- | --- | --- | | `@` | A | the server IP (or the account's dedicated IP) | | `www` | A | the same IP | | `@` | CAA | `0 issue "letsencrypt.org"` | | MX, SPF, DKIM, DMARC | | added when email is already enabled for the domain | The CAA record allows only Let's Encrypt to issue certificates for the domain. If you buy a certificate from another authority, add a CAA record for it first. ## Edit records Open a zone to edit its records in a table: **Name**, **Type**, **Priority**, **Value** and **TTL**. Click **Add record**, then **Save** to apply all changes at once. | Type | Value format | Example | | --- | --- | --- | | A | IPv4 address | `203.0.113.10` | | AAAA | IPv6 address | `2001:db8::10` | | CNAME | host name | `shop.example.net` | | MX | host name, with **Priority** | `mail.example.com`, priority `10` | | TXT | text | `v=spf1 mx a ~all` | | SRV | `weight port target`, with **Priority** | `5 5060 sip.example.com` | | CAA | `flags tag "value"` (tag `issue`, `issuewild` or `iodef`) | `0 issue "letsencrypt.org"` | | NS | host name (delegates a subdomain) | `ns1.other-dns.com` | Rules: - Use `@` for the zone apex and relative names (`www`, `mail`) for the rest. - NS and CNAME records are not allowed at the apex. - TTL is between 60 and 604800 seconds; the default is 3600. The SOA record and the zone's own NS records are managed by ZoPanel and are not shown. ## DNSSEC DNSSEC signs the zone so resolvers can detect spoofed answers. 1. Open the zone and turn on **DNSSEC**. 2. Copy the **DS record(s) for the registrar** shown below the switch. 3. Add them at the domain's registrar (usually under "DNSSEC" or "DS records"). To turn DNSSEC off later, remove the DS records at the registrar first and wait for their TTL to expire, then turn the switch off. Otherwise resolvers treat the domain as broken. ## Wildcard SSL With the zone hosted and delegated here, a website can get a `*.example.com` certificate: tick **Also \*.example.com (wildcard)** on the website's **SSL** tab. See [SSL certificates](/docs/ssl#wildcard-certificates). ## DNS cluster (administrator) Serve your zones from several ZoPanel servers so DNS keeps answering if one server is down. The **DNS cluster** card on the DNS page has three settings: | Setting | Meaning | | --- | --- | | **Secondary servers (IPs)** | Servers allowed to transfer every zone of this server. They are notified (NOTIFY) of each change. | | **Primary servers** | One line per primary: its IP and this server's nameserver name in its zones, for example `203.0.113.10 ns2.example.com`. Zones of the primaries are received automatically. | | **Cluster key (TSIG)** | A shared key (HMAC-SHA256) that signs zone transfers. | Recommended setup for two servers: 1. On the primary, click **Generate** next to **Cluster key (TSIG)** and copy the key: it is not shown again. 2. On the primary, add the secondary's IP to **Secondary servers (IPs)** and **Save**. 3. On the secondary, paste the same key, add the primary to **Primary servers** and **Save**. 4. Make sure the secondary's nameserver name (the one you entered on the secondary, for example `ns2.example.com`) is among the nameservers set at each domain's registrar, with a glue record pointing to the secondary. With a key, a primary serves its zones only to holders of the key, and a secondary only accepts zones signed with it, so nobody on the path can alter them. Without a key (**No key: transfers allowed by address**), transfers are allowed by IP address only. Deleting a zone on the primary does not delete it on the secondaries immediately. A secondary removes a zone its primaries no longer serve after three daily checks in a row; unreachable primaries change nothing. The card lists the zones received from primaries. ## Importing zones When you migrate an account from cPanel or DirectAdmin with **Migrate in**, its DNS zones are imported too, as long as the DNS server is installed here. ZoPanel's own web, mail (MX, SPF) and CAA records win, other records from the old zone are kept, and a zone that already exists on this server is left untouched. Without the DNS server, zones stay with the old provider and the import log says so. To copy a zone from any other provider, create the zone here and add its records in the editor before you switch nameservers. ## Websites behind Cloudflare ZoPanel does not manage Cloudflare DNS. If you proxy websites through Cloudflare, turn on **Websites behind Cloudflare** in **Security**: ZoPanel then takes the visitor's IP from the `CF-Connecting-IP` header, trusted only from Cloudflare's address ranges, so logs, statistics, rate limits and Fail2ban see real visitors. Automatic SSL waits until a domain resolves only to this server, so a domain proxied by Cloudflare is not picked up automatically. Use **Issue certificate** on the website's **SSL** tab, or install a certificate in **Custom certificate** (for example a Cloudflare Origin certificate). ### Databases Source: https://zopanel.net/docs/databases The **Databases** page lists every database of the account, whatever the engine. Each database gets its own user with full privileges on that database only, and Redis databases get their own isolated key namespace. ## Database engines (administrator) MariaDB is the default engine. Administrators install the others from the **Database servers** card on the **Databases** page, or from **Components**: | Engine | Port (local) | Notes | | --- | --- | --- | | MariaDB | 3306 | MySQL-compatible. Used by WordPress, Laravel and most PHP apps. | | PostgreSQL | 5432 | | | MongoDB | 27017 | Requires a CPU with AVX; on Debian, packages exist for amd64 only. The card explains when the server cannot run it. | | Redis | 6379 | Per-account namespaces with their own password. Also used by the WordPress object cache and Laravel deploys. | Every engine costs memory, so install only what your customers use. ## Create a database 1. Click **New database**. 2. If external servers are configured, choose where to **Create on**: **This server** or an external server. 3. Pick the engine. 4. Enter the **Database name**. It is always prefixed with the account name (`alice_` + `shop` = `alice_shop`): lowercase letters, digits and underscore, 32 characters at most in total. The database user has the same name. 5. Enter or generate a **Password** (8 to 128 characters). For Redis, a strong password is generated automatically. 6. Optionally **Link to website**, so the database appears on that website's **Overview** tab and can be deleted together with it. 7. Click **Create** and store the password: it is not shown again. The **Database credentials** dialog shows the host (`127.0.0.1`), name, user and a connection string: ```text mysql://alice_shop:@127.0.0.1:3306/alice_shop postgresql://alice_app:@127.0.0.1:5432/alice_app mongodb://alice_data:@127.0.0.1:27017/alice_data redis://alice_cache:@127.0.0.1:6379 (key prefix "alice_cache:") ``` For Redis, your keys must start with the namespace prefix (`alice_cache:`); other keys and administrative commands are denied. The number of databases is limited by the account's package. On the Free license, the whole server can have 10 databases. Use **Reset password** to set a new password (applications using the old one stop working until you update them) and **Delete** to remove the database and all its data. ## Remote access By default, databases accept connections from the server itself only. To connect from your office or another server (MariaDB and PostgreSQL): 1. In the database's menu, open **Remote access**. 2. Enter the **Allowed IP addresses / networks**, one per line, for example `198.51.100.7` or `198.51.100.0/24`. 3. Click **Save** and use the **Remote connection string** shown in the dialog. The firewall is opened only for these addresses. Up to 20 entries per database are allowed, and networks may not be larger than /16 (IPv4) or /48 (IPv6); "allow from anywhere" is not possible. Leave the list empty to return to local connections only. ## Export, import and backups - **Export (backup)** writes a dump to `~/backups/db` of the account. - **Import / restore** loads a dump from `~/backups/db` or one you upload (`.sql` or `.sql.gz`; MongoDB uses `.archive.gz`). Tables or collections with the same names are replaced. - Redis data is not exported or backed up. ### Scheduled backups and one-click restore Open **Backups** in a database's menu: 1. Choose an **Automatic backup** schedule: **Off**, **Every hour**, **Every 6 hours** or **Every day**. 2. Set how many backups to **Keep** (1 to 168). 3. Click **Save**, or **Back up now** for an immediate copy. Each backup is listed with its time, type (**manual**, **scheduled** or **before restore**) and size. **Restore** replaces the database with the chosen backup; the current data is backed up first, so a restore can be undone. When the administrator has configured remote S3 backups, copies are also sent to S3. Database backups are also included in the account's full backups (**Backups**). ## Adminer Adminer is a web interface for MariaDB and PostgreSQL databases. Administrators install it from the **Database servers** card or **Components**; it runs on port 8889. Once installed, each MariaDB and PostgreSQL database has an **Adminer** link that opens Adminer with the server, user and database already filled in: enter the database password to continue. Adminer can only be reached by browsers that hold a valid panel session, and its PHP runs as a dedicated user with no access to hosting files. ## Database root access ### Hosting customers do not get database root ZoPanel does not give hosting customers the MariaDB or PostgreSQL root account. Database root can read and delete every customer's databases on the server, and can change the whole server (global variables, writing files). Giving it to one customer would break the isolation between accounts. cPanel, DirectAdmin and Plesk work the same way. What customers usually want root for is already possible in the panel: | You need | How | | --- | --- | | Full control of your database | The database's own user already has full privileges on it (tables, views, triggers, procedures, events). | | Extra users with different privileges, such as a read-only user for reports | The **Database users** card (MariaDB): create a user, then choose its databases and privileges. | | One user for several databases | The **Database users** card: grant the same user privileges on several of your databases. | | Connect with Navicat, DBeaver, HeidiSQL or from another server | [Remote access](#remote-access) by IP address. | | Manage it in the browser | [Adminer](#adminer), signed in with the database's user. | | Import a dump with `DEFINER=root` or a definer from your old server | Import it as usual: triggers, views, procedures and events are moved to your own user. | | More databases | **New database**, within your hosting package. | If your application really needs privileges over the whole database server (`SUPER`, global variables, replication, plugins), use a VPS of your own. Contact your hosting provider. ### Server owners (administrator) If you own the server ZoPanel runs on, you already have database root. Root signs in through the system socket, without a password. Connect to the server over SSH as root and run: ```bash mysql # MariaDB sudo -u postgres psql # PostgreSQL ``` To use a desktop tool with administrator rights, create a separate admin user and connect through an SSH tunnel: ```sql CREATE USER 'dbadmin'@'localhost' IDENTIFIED BY 'a-strong-password'; GRANT ALL PRIVILEGES ON *.* TO 'dbadmin'@'localhost' WITH GRANT OPTION; ``` In Navicat, DBeaver or HeidiSQL, choose an SSH connection (your server, user `root` or your SSH user), then set the database host to `127.0.0.1` and port `3306`. Do not switch the MariaDB root account to password sign-in and do not open port 3306 to the internet: the panel signs in as root through the socket to manage your customers' databases. ## External database servers (administrator) Connect a MySQL/MariaDB or PostgreSQL server that runs elsewhere, for example a managed cloud database, so databases can be created there: 1. On the **Databases** page, in **External database servers**, click **Add server**. 2. Enter a name, engine, host, port and an **Admin account** that can create databases and users. 3. Choose the encryption: **TLS required**, **TLS + verify certificate** or **No encryption**. 4. Tick **Customers may use it** to offer it to customers; otherwise it is **admin only**. 5. For MySQL/MariaDB, **Allow connections from any address** controls the database users' host. Off, users accept connections from this server only, so a leaked password is useless anywhere else. 6. Click **Connect & add**. The connection is tested before saving, and the admin password is never shown again. When creating a database on an external server, its password is generated and shown once. Export/import, remote access and automatic backups do not apply to databases on external servers: use your database provider's backups. ### FTP and SFTP Source: https://zopanel.net/docs/ftp-sftp Every hosting account can transfer files with SFTP, using its panel username and its SFTP password (the password the account was created with; changing the panel password does not change it). For developers or designers who should only see one folder, you can add separate FTP accounts on the **FTP / SFTP** page. ## SFTP with the account login SFTP is always available when the account's package allows it (the package's SFTP option, "Allow chrooted SFTP access"). | Setting | Value | | --- | --- | | Protocol | SFTP | | Host | the server's host name or IP | | Port | 22 | | Username | the hosting account name | | Password | the account's SFTP password | The session is chrooted to the account's home directory: you see your own `domains/`, `backups/` and other folders, and nothing of other accounts. Websites live in `domains//public_html` (or the website's document root). Files uploaded over SFTP belong to the hosting account, so PHP can read them with the right permissions. If an application reports "permission denied" after an upload with another tool, re-upload over SFTP or fix permissions in the File Manager (files 640, folders 750). Note that **My account → Change password** changes the panel password; ask your provider to change the SFTP password. ### Sign in with an SSH key Keys are safer than passwords and work with FileZilla, WinSCP, rsync over SFTP and similar tools. 1. Open **My account** and find **SFTP & SSH keys**. 2. Paste your public key, one per line, for example: ```text ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA… you@laptop ``` 3. Click **Add key**. 4. Once the key works, turn on **Keys only** to disable password login for this account. Administrators can manage the same keys for a customer: open **Accounts**, edit the account, and use its **SFTP & SSH keys** card. Accepted key types are Ed25519, ECDSA (P-256, P-384, P-521), RSA of at least 2048 bits, and security-key types (`sk-ssh-ed25519@openssh.com`, `sk-ecdsa-sha2-nistp256@openssh.com`). The card also shows the **Server fingerprints (check on first connection)**. Compare them with what your client displays the first time you connect, to make sure you are talking to your server. To create a key on your computer: ```bash ssh-keygen -t ed25519 -C "you@laptop" cat ~/.ssh/id_ed25519.pub # paste this line into the panel sftp alice@server.example.com ``` ## FTP accounts FTP is optional. The administrator installs the FTP server (Pure-FTPd with TLS) with **Install FTP server** on the **FTP / SFTP** page, or from **Components**. The installer opens port 21 and the passive port range 18000-18100 in the firewall. Servers where FTP was installed before version 0.4.21 used 30000-30100, which overlaps the ports of deployed applications. The update moves them to 18000-18100 by itself: it opens the new range, restarts Pure-FTPd once no FTP session is open (after 30 minutes at the latest), then closes the old range. If a firewall outside the server (a cloud provider's security group) allows FTP, open 18000-18100 (TCP) there too. ### Create an FTP account 1. On **FTP / SFTP**, click **New FTP account**. 2. Enter the **Username**. It is always prefixed with the account name, for example `alice_designer`. 3. Enter or generate a **Password** (8 to 128 characters). 4. Choose the **Directory** the account is limited to: - `domains/` (all websites); - `domains/` or `domains//public_html` for a single website; - for Git or app websites, `domains//shared` or `domains//source`. 5. Set a **Quota (MB)** if you want to limit how much it can store (`0` = unlimited). 6. Click **Create** and copy the login details. The FTP account cannot leave its directory, and files it uploads belong to the hosting account. The number of FTP accounts is limited by the package (10 by default in new packages). Edit an account to change its password, directory or quota; leave the password empty to keep it. ### Client settings FTP requires TLS (explicit FTPS); plain-text logins are refused. | Setting | Value | | --- | --- | | Protocol | FTP with explicit TLS (FTPES) | | Host | the server's host name or IP | | Port | 21 | | Transfer mode | Passive (ports 18000-18100) | | Username | the full FTP login, for example `alice_designer` | The hosting account also has its own FTP login, shown on the **FTP / SFTP** page: its username with its SFTP password (changing the panel password does not change it). In FileZilla, choose **Require explicit FTP over TLS** as the encryption. FTPS uses the panel's certificate: set **Settings → Panel domain & SSL** so clients see a trusted certificate instead of a warning. Each client IP may open up to 10 connections, and the server accepts up to 100 FTP connections in total. ## Which one should I use? | Need | Use | | --- | --- | | You manage your own websites | SFTP with your account login, ideally with an SSH key and **Keys only** on. | | A freelancer needs one website's files | An FTP account limited to `domains//public_html`, or add them as a **Member** of the website. | | An old tool that only speaks FTP | An FTP account, with TLS. | | Large or many files | SFTP or rsync over SFTP; or upload an archive in the **File Manager** and **Extract** it on the server. | ## Troubleshooting | Symptom | What to check | | --- | --- | | SFTP: "Permission denied" at login | Wrong password, **Keys only** is on, or the package does not include SFTP. | | FTP: login works but listing hangs | Passive ports 18000-18100 must be open on any firewall between you and the server; use passive mode. | | FTP: login refused before the password is checked | The client is using plain FTP: switch it to explicit FTP over TLS. | | Certificate warning in the client | Set a panel domain and issue its certificate in **Settings**. | ### Email clients Source: https://zopanel.net/docs/email-clients Every mailbox on a ZoPanel server works with any standard mail app over IMAP or POP3 for incoming mail and SMTP for sending. This page lists the exact settings, explains which apps can configure themselves, and walks through Outlook, Thunderbird, Apple Mail and the Gmail app. To create mailboxes first, see [Email](/docs/email). ## Before you start You need: - The **mailbox address** and its **password**. The password is shown once when the mailbox is created. If it is lost, change it with the key icon in the mailbox list on **Email** → the domain. - The **server name**. Use the mail hostname that was set when the mail server was installed, such as `mail.example.com`. Automatic setup and the iPhone/Mac profile use this name. - The domain's [DNS records](/docs/email#enable-email-for-a-domain) published, so that other servers can deliver mail to you. **Important:** the mail services use the panel's certificate (**Settings → Panel domain & SSL**). That certificate names the panel domain and, when it points to the server, the mail hostname, so mail apps connecting to either name see no warning. Until the panel has a Let's Encrypt certificate, every mail app shows a certificate warning. There are no app passwords. Mail apps sign in with the mailbox password itself, and [two-factor authentication](/docs/two-factor) applies to panel logins only, not to mailboxes. ## Server settings The username is always the **full email address**, for example `anna@example.com`. Sign-in always requires encryption, and the authentication method is a normal password (not "Secure Password Authentication", NTLM or OAuth). | Service | Server | Port | Encryption | | --- | --- | --- | --- | | IMAP (recommended) | mail hostname | 993 | SSL/TLS | | IMAP | mail hostname | 143 | STARTTLS | | POP3 | mail hostname | 995 | SSL/TLS | | POP3 | mail hostname | 110 | STARTTLS | | SMTP (sending) | mail hostname | 465 | SSL/TLS | | SMTP (sending) | mail hostname | 587 | STARTTLS | - **IMAP** keeps mail on the server and syncs folders (Inbox, Sent, Drafts, Junk, Trash) across all your devices. Use it unless you have a reason not to. - **POP3** downloads the inbox to one device. Other folders are not synced. - Outgoing mail always needs a login (**My outgoing server requires authentication**, using the same username and password). Port 25 is for server-to-server delivery and is not for mail apps. - A message can be at most 50 MB, including attachments. Attachments grow by about a third when they are encoded, so keep attachments under about 35 MB. The domain page on **Email** shows these values in the **Email client settings** card: **IMAP (SSL)**, **SMTP (STARTTLS / SSL)**, **POP3 (SSL)** and **Calendars & contacts**. The card shows the mail hostname as the server name. ## Automatic setup ZoPanel answers the lookups that mail apps make when you type an address: | App | What ZoPanel serves | Settings returned | | --- | --- | --- | | Thunderbird (and apps that use its format) | `https://example.com/.well-known/autoconfig/mail/config-v1.1.xml` | IMAP 993 SSL, POP3 995 SSL, SMTP 465 SSL | | Outlook | `https://example.com/autodiscover/autodiscover.xml` | IMAP 993 SSL, SMTP 465 SSL | | iPhone, iPad, Mac | a configuration profile you download from the panel | IMAP 993 SSL, SMTP 465 SSL | The first two answers are served by **the domain's website**. They only work when the website for `example.com` is hosted on this server and the domain points to it. Every website on the server serves them once the mail server is installed. Outlook does not always use this lookup; if it cannot find the settings, enter them by hand. ## Outlook ### Outlook for Windows (classic) 1. Choose **File → Add Account**. 2. Enter the email address, open **Advanced options**, tick **Let me set up my account manually** and click **Connect**. 3. Choose **IMAP**. 4. **Incoming mail**: server = mail hostname, port `993`, encryption method **SSL/TLS**. 5. **Outgoing mail**: server = mail hostname, port `465`, encryption method **SSL/TLS**. 6. Leave **Require logon using Secure Password Authentication (SPA)** off in both sections, click **Next** and enter the mailbox password. ### New Outlook for Windows 1. Open **Settings → Accounts → Email accounts → Add account**. 2. Enter the email address and continue. If Outlook does not find the settings, choose **IMAP**. 3. Enter the password, open the advanced settings and fill in the IMAP server (port `993`, **SSL/TLS**) and the SMTP server (port `465`, **SSL/TLS**), with the full address as the username for both. **Note:** the new Outlook synchronises non-Microsoft accounts through Microsoft's cloud, so the connections to your server come from Microsoft's addresses, not from your computer. Keep this in mind if you use [country blocking](/docs/geoblock) on all ports. ### Outlook for Mac 1. Choose **Outlook → Settings → Accounts**, click **+** and **New Account**. 2. Enter the email address. If Outlook asks for the provider, choose **IMAP/POP**. 3. Choose type **IMAP**, then enter the username (full address), password, the incoming server with port `993` and SSL on, and the outgoing server with port `465` and SSL on. 4. Click **Add Account**. ## Thunderbird 1. Open the menu **≡ → New Account → Email** (or **Account Settings → Account Actions → Add Mail Account**). 2. Enter your name, the email address and the password, then click **Continue**. 3. If the domain's website is on this server, Thunderbird finds the settings by itself. Choose **IMAP** and click **Done**. 4. Otherwise click **Configure manually** and enter the values from [Server settings](#server-settings), with **Authentication** set to **Normal password**. ## Apple Mail (iPhone, iPad and Mac) ### With the configuration profile 1. In the panel, open **Email** → the domain, and click the phone icon **iPhone / Mac profile (sets up this mailbox)** on the mailbox's row. You must be signed in to the panel in that browser, so on an iPhone open the panel in Safari, or download the file on a Mac and send it to the phone with AirDrop. 2. On iPhone or iPad, open **Settings**, tap **Profile Downloaded** and then **Install**. On a Mac, open **System Settings** and install it from **Profiles** (type "Profiles" in the search field). 3. Enter the mailbox password when asked. The password is not stored in the file. The profile is not signed, so iOS and macOS show it as unverified. That is expected. Removing the profile removes the account. ### Manually 1. On iPhone or iPad, open **Settings → Mail → Accounts → Add Account → Other → Add Mail Account** (on recent iOS versions, Mail is under **Settings → Apps**). On a Mac, open **Mail → Add Account → Other Mail Account**. 2. Enter the name, email address and password. 3. Choose **IMAP** and enter the mail hostname as both **Incoming Mail Server** and **Outgoing Mail Server**, with the full address as the username for both. 4. Save. To check the ports, open the account's **Advanced** settings: IMAP `993` with SSL, and under **Outgoing Mail Server** (SMTP) port `465` with SSL. ## Gmail app on Android 1. Open the Gmail app, tap your profile picture and choose **Add another account → Other**. 2. Enter the email address and tap **Manual setup**. 3. Choose **Personal (IMAP)** and enter the password. 4. **Incoming server settings**: username = full address, server = mail hostname. If asked, port `993` with **SSL/TLS**. 5. **Outgoing server settings**: keep **Require sign-in** on, username = full address, SMTP server = mail hostname. If asked, port `465` with **SSL/TLS**. 6. Choose the sync options and finish. Other Android mail apps use the same values. ## Sending from websites and scripts Applications send mail through this server with PHP `mail()` or an SMTP login on port 587 (STARTTLS) or 465 (SSL/TLS) with a mailbox address and password. Direct connections from websites to other servers on port 25 are blocked, and every account has an hourly sending limit. See [Mail rules and limits](/docs/mail-rules#sending-limits). ## Troubleshooting **Authentication failed / wrong password** - The username must be the full address, not just the part before `@`. - Reset the password with the key icon on the mailbox's row and enter the new one on every device. Devices that keep trying the old password count as failed logins. - After 5 failed logins within 10 minutes, Fail2ban bans the client's IP for 1 hour (IMAP, POP3 and SMTP alike). An administrator can lift the ban with **Unban** on the **Security** page and can add the office IP under **Trusted addresses (fail2ban)**. - Mailboxes of a suspended hosting account cannot sign in until the account is unsuspended. **Certificate warning (name does not match, or untrusted)** - Before **Settings → Panel domain & SSL** is set up, the server uses a self-signed certificate. Ask the administrator to set it up. - If the warning says the name does not match, the app connects with a name that is not on the panel certificate. Use the mail hostname (or the panel domain) as the server name. If the mail hostname itself is refused, it did not point to the server when the certificate was issued: ask the administrator to click **Issue certificate** again in **Settings → Panel domain & SSL** once it does. **Cannot connect at all (timeout)** - Check that the mail hostname resolves to the server. - Some office, hotel and mobile networks block mail ports. Try another network, or IMAP 993 and SMTP 465 instead of 143 and 587. - If the administrator blocks countries on all ports, connections from those countries are dropped. See [Country blocking](/docs/geoblock). **Sending fails: "Sender address rejected: not owned by user"** You can only send as the mailbox you signed in with. Forwarder and mailing list addresses cannot be used as the From address over SMTP. Create a mailbox for the address you want to send from. **Sending fails: "Sending limit reached (N recipients per hour), try again later"** The hosting account reached its hourly limit. Wait until older messages leave the one-hour window, or ask the administrator about the limit. If you did not send that much mail, a website on the account may be sending spam. **Mail is accepted but never arrives at Gmail, Outlook.com and others** The administrator sees a warning on **Email** when the VPS provider blocks outgoing port 25. Until the provider opens it, or an **Outgoing mail relay (smarthost)** is configured, mail to other servers stays in the queue. Run **Mail delivery check** on the domain to find missing DNS records. See [Email](/docs/email). **Mailbox full** When a mailbox reaches its **Quota (MB)** (with a 10% grace margin), new messages are refused and senders get a bounce. Delete old mail and empty Trash and Junk, or raise the quota with the key icon. The **Usage** column shows how much space is used. ## Related - [Email](/docs/email) - [Mail rules and limits](/docs/mail-rules) - [Webmail, calendars and contacts](/docs/webmail-calendar) - [Panel settings](/docs/panel-settings) - [Country blocking](/docs/geoblock) - [Thunderbird: automatic account configuration](https://wiki.mozilla.org/Thunderbird:Autoconfiguration) ### Mail rules and limits Source: https://zopanel.net/docs/mail-rules Beyond plain mailboxes, ZoPanel can forward mail, answer it automatically, sort it into folders, distribute it to a list of people and limit how much each account sends. Everything on this page is managed on **Email** → the domain, except the sending limits, which the administrator sets for the whole server. For mailbox basics and DNS, see [Email](/docs/email). ## How a message is handled When a message for one of your domains arrives, the server handles it in this order: 1. **Spam filter** (Rspamd). Messages above the domain's reject score are refused before delivery. Messages above the "spam" score get a spam header. 2. **Forwarders and mailing lists.** If the address is a forwarder or a list, the message goes to its destinations instead. 3. **Mailbox rules** (Sieve), in this order: **Block** list → spam to Junk → **Filters**, top to bottom → **Autoreply**. 4. **Quota.** If the mailbox is full, the message is refused and the sender gets a bounce. ## Forwarders A forwarder sends mail for an address of your domain to one or more other addresses, on this server or elsewhere. 1. Open **Email**, choose the domain and click **New forwarder** in the **Forwarders** card. 2. Enter the part before `@` in **Address**, for example `sales`. 3. In **Forward to**, enter 1 to 20 addresses, separated by commas. 4. Click **Save**. Notes: - To change the destinations, create the forwarder again with the same address. The new list replaces the old one. The trash icon deletes a forwarder. - A forwarder can use the address of an existing mailbox. Its mail then goes only to the destinations. To also keep a copy in the mailbox, add the mailbox's own address to **Forward to**. - A forwarder cannot use the address of a mailing list: saving fails with "… is already a mailing list". Delete the list first, or choose another address. - ZoPanel has no separate "alias" type: an alias is a forwarder whose destination is another mailbox on the same domain. - Mail forwarded to outside addresses counts toward the account's [sending limit](#sending-limits). - Forwarded mail keeps the original sender's address, so the SPF check at the receiving server fails and delivery relies on the original sender's DKIM signature. Mail from senders without DKIM may land in spam or be rejected at Gmail, Outlook.com and similar providers. For important addresses, prefer a mailbox read with a [mail app](/docs/email-clients). The package's **Forwarders** field limits how many forwarders an account can create (`0` = unlimited). Over the limit, saving fails with "the package allows N forwarders". ## Catch-all A catch-all receives mail sent to addresses of the domain that do not exist. Create it like a forwarder, but leave **Address** empty or enter `*`. It appears as `*@example.com` in the list. Mail to an address that has a mailbox still goes to that mailbox. Catch-alls attract a lot of spam sent to random addresses, and spam they forward to outside addresses counts toward the sending limit. Use one only if you need it. ## Mailbox rules: autoreply, filters and senders Click the filter icon (**Rules and autoreply**) on a mailbox's row. The dialog has three tabs. Rules run on the server when mail is delivered, so they work whatever mail app is used, even when no app is open. Click **Save** to apply all three tabs. ### Autoreply | Field | Use | | --- | --- | | **Send an automatic reply** | Turns the autoreply on or off. Your text is kept while it is off. | | **Subject** | Up to 200 characters, for example "Out of office". | | **Message** | Required, up to 8,000 characters, plain text. | | **From (optional)** / **Until (optional)** | First and last day on which replies are sent. Both days are included. Leave empty to reply until you turn it off. | | **Reply to the same sender once every N days** | 1 to 30, default 1. | The reply is sent from the mailbox's address. It is not sent to messages filed as spam, to mail from mailing lists or bulk senders, or to messages that a filter moved or deleted. ### Filters Click **Add filter** and set one condition and one action per row: | Part | Options | | --- | --- | | Field | **From**, **To / Cc** (matches either header), **Subject** | | Comparison | **contains**, **is** (the whole value) | | Value | Required, up to 200 characters | | Action | **Move to folder**, **Forward a copy**, **Mark as read**, **Delete** | - **Move to folder** needs a **Folder** name of letters, digits, spaces, `.`, `_` or `-` (up to 64 characters). The folder is created if it does not exist. Processing stops after a move. - **Forward a copy** sends a copy to one address and still delivers the message. Copies sent outside count toward the sending limit. - **Mark as read** delivers the message as already read and continues with the next filter. - **Delete** discards the message silently and stops. Filters run top to bottom. A mailbox can have up to 100 filters. ### Senders & spam - **Move spam to the Junk folder** (on by default) files messages that the spam filter marked into **Junk**. Turn it off to keep them in the inbox. - **Always allow (never treated as spam)**: addresses or domains, one per line. Their mail is not moved to Junk. It is still refused if it scores above the reject level. - **Block (deleted silently)**: addresses or domains, one per line. Their mail is deleted without a bounce. Each list holds up to 500 entries. An entry is either a full address (`boss@example.net`) or a domain (`example.net`, which matches only that exact domain). If you clear every setting of a mailbox, the server default applies: spam goes to Junk. ## Spam filter level The **Spam filter** card on the domain page sets how strict filtering is for every mailbox of the domain: | Level | Marked as spam from score | Refused from score | | --- | --- | --- | | **Low (fewer false positives)** | 10 | 25 | | **Medium (recommended)** | 6 | 15 | | **High (catches more)** | 4 | 10 | At **Medium**, the server default, messages from unknown senders scoring 4 or more may also be greylisted (temporarily deferred once), which delays the first message from them by a few minutes. **Low** and **High** turn greylisting off for the domain. ## Mailing lists A mailing list is one address that delivers each message to every member. 1. In the **Mailing lists** card, click **New list**. 2. Enter the **List address** (the part before `@`). 3. Enter the **Members**, one address per line (1 to 1,000). 4. Keep **Only members (and the senders below) can send to the list** on to stop outsiders from writing to the list. Add other permitted senders in **Also allowed to send** (up to 200). 5. Click **Save**. Messages are delivered unchanged, so the sender's DKIM signature stays valid and replies go to the original sender, not to the list. The list address cannot be a member of itself, and it cannot be the address of an existing mailbox ("a mailbox with this address exists") or forwarder ("… is already a forwarder"). With **Only members** on, mail from anyone else is refused when it arrives. The check uses the sender's envelope address, which is normally the From address. The package's **Mailing lists** field limits how many lists an account can create (`0` = unlimited). Members outside the server count toward the list owner's sending limit, including for mail that outsiders send to the list. ## Quotas | Limit | Value | Where | | --- | --- | --- | | Mailbox size | **Quota (MB)**, default 1024, `0` = unlimited, at most 102400 | Mailbox dialog (key icon) | | Grace above the quota | 10% | Server | | Message size | 50 MB, including attachments | Server | | Mailboxes per account | **Email** field of the package (`0` = unlimited) | **Packages** | The **Usage** column shows the space each mailbox uses. Over the quota, new mail is refused and senders get a bounce. Free space by deleting mail and emptying Trash and Junk, or raise the quota. ## Sending limits To keep a hacked website from getting the server's IP blocklisted, ZoPanel counts the recipients each hosting account sends per hour (a rolling hour). The count includes PHP `mail()`, SMTP logins, and copies that forwarders, mailing lists and **Forward a copy** filters send outside the server. Administrators manage this in **Email → Sending limits**: - **Default per hour**: the limit for packages without their own (500 by default; `0` = unlimited). - **Block direct SMTP from accounts** (on by default): website code cannot connect to other mail servers on port 25, and unauthenticated SMTP from the server itself is refused. Mail must go through this server, where it is counted, DKIM-signed and logged. - A table of accounts with mail in the last hour: **Last hour**, **Limit** and **Refused (24 h)**. A package can set its own **Emails per hour** in **Packages** (empty = server default, `-1` = unlimited). Over the limit, SMTP clients get `450 4.7.1 Sending limit reached (N recipients per hour), try again later` and PHP `mail()` returns false. The account owner and the administrator are notified, at most once an hour per account. ## Troubleshooting | Message or symptom | Cause and fix | | --- | --- | | "1-20 destinations required" / "invalid destination …" | A forwarder needs 1 to 20 valid email addresses. | | "every filter needs a value" | Fill in the value of each filter, or delete the empty row. | | "invalid folder …" | Use only letters, digits, spaces, `.`, `_` and `-` in folder names. | | "invalid forward address …" | **Forward a copy** needs one full email address. | | "the autoreply needs a message" | Fill in **Message** before turning on the autoreply. | | "… is not an address or a domain" | Correct the line in **Always allow** or **Block**. | | "a list has 1 to 1000 members" / "invalid member …" | Check the member list; the list's own address is not allowed as a member. | | "… is already a mailing list" | A forwarder cannot replace a mailing list. Use another address, or delete the list first. | | "the package allows N forwarders / mailboxes / mailing lists" | The account's package limit is reached. Ask the administrator. | | An autoreply is not sent | Check the dates, the "once every N days" setting and that the message was not spam or list mail. | | Mail to a forwarder goes to spam at Gmail | See the note on SPF and DKIM under [Forwarders](#forwarders). | ## Related - [Email](/docs/email) - [Email clients](/docs/email-clients) - [Webmail, calendars and contacts](/docs/webmail-calendar) - [Packages and limits](/docs/packages-limits) - [Dovecot Pigeonhole Sieve](https://doc.dovecot.org/2.3/configuration_manual/sieve/) - [Rspamd](https://rspamd.com/doc/) ### Webmail, calendars and contacts Source: https://zopanel.net/docs/webmail-calendar ZoPanel adds two optional services to the mail server: **webmail** (SnappyMail), for reading and sending mail in a browser, and **calendars and contacts** (Radicale), which gives every mailbox its own CalDAV calendars and CardDAV address books. Both sign in with the mailbox address and password. Install them when your users need mail without a desktop app or want their calendar and contacts synced across devices. ## Install (administrator) Both services need the mail server. See [Email](/docs/email). | Service | Install from | Port | Requirements | | --- | --- | --- | --- | | Webmail | **Email → Install webmail**, or **Components → Webmail** | 2096 | A PHP version installed on the server | | Calendars and contacts | **Components → Calendars & contacts (CalDAV/CardDAV)** | 2080 | The mail server | You can also choose them when installing the server: `--with webmail,dav` (see [Installation](/docs/install)). The installer opens the port in the firewall. Webmail downloads the latest SnappyMail release from GitHub, and calendars use the Radicale package of your distribution. Both services use the panel's certificate. Set up **Settings → Panel domain & SSL** first, and open both services with the panel domain or the mail hostname (the certificate names both when the mail hostname points to the server) so that browsers and devices see a trusted certificate. See [Panel settings](/docs/panel-settings). ## Webmail ### Open webmail from the panel (no password) 1. Open **Email** and choose the domain. 2. On the mailbox's row, click the envelope icon **Open webmail (no password needed)**. Webmail opens in a new tab, already signed in to that mailbox. Customers, resellers and administrators can do this for every mailbox they manage, and each login is recorded in the activity log. How it works: the panel never knows mailbox passwords. Instead, the server issues a login code that opens only that one mailbox and is valid for 12 hours, and SnappyMail turns it into a single-use link valid for about 10 seconds. There is no master password. Changing the mailbox's password or deleting the mailbox revokes the code at once. ### Sign in directly Users who do not have panel access open: ```text https://:2096 ``` and sign in with the full email address and the mailbox password. The **Webmail** button at the top of the **Email** page and in the **Email client settings** card opens the same address. ### What to know about webmail - Webmail connects to this server's IMAP and SMTP itself; there is nothing to configure per domain. The SnappyMail admin panel is turned off because ZoPanel manages the domains. - One upload, such as an attachment, can be up to 25 MB. - Filters and autoreplies are not edited in webmail. Use **Rules and autoreply** in the panel; they apply in webmail too. See [Mail rules and limits](/docs/mail-rules). - Mail sent from webmail counts toward the account's hourly sending limit like any other SMTP login. - Mailboxes of a suspended hosting account cannot sign in. ## Calendars and contacts (CalDAV/CardDAV) Each mailbox gets its own calendars and address books on: ```text https://:2080/ ``` Sign in with the full email address and the mailbox password. Each user sees only their own collections, which are stored under `https://:2080/
/`. Deleting a mailbox, or disabling email for its domain, also deletes its calendars and contacts. Every mailbox starts with a calendar named **Calendar** (`…/
/calendar/`) and an address book named **Contacts** (`…/
/contacts/`), so apps that can only use existing collections, such as Thunderbird, have something to sync right away. Mailboxes that already had calendar data are left as they were. To add more calendars or address books, use an app that can create them: Apple Calendar and Contacts on iPhone, iPad and Mac, or DAVx⁵ on Android. ### iPhone and iPad 1. Open **Settings → Calendar → Accounts → Add Account → Other** (on recent iOS versions, Calendar is under **Settings → Apps**). 2. Tap **Add CalDAV Account**. 3. **Server**: `panel.example.com:2080`. **User Name**: the full address. **Password**: the mailbox password. Tap **Next**. 4. The **Calendar** calendar appears in the Calendar app. To add another, tap **Calendars → Add Calendar** and choose this account. For contacts, tap **Add CardDAV Account** in the same place and use the same values. ### Mac 1. Open **Calendar → Settings → Accounts** and click **+**, then choose **Other CalDAV Account**. 2. Set **Account Type** to **Advanced**. 3. Enter the full address and password, **Server Address** `panel.example.com`, **Server Path** `/`, **Port** `2080`, and tick **Use SSL**. 4. Click **Sign In**. Add more calendars with **File → New Calendar** and choose this account. For contacts, use **Contacts → Settings → Accounts** and add a CardDAV account with the same server, port and login. ### Android (DAVx⁵) Android has no built-in CalDAV or CardDAV support. Install DAVx⁵ (Google Play or F-Droid), then: 1. Tap **+** and choose **Login with URL and user name**. 2. **Base URL**: `https://panel.example.com:2080/`. Enter the full address and the mailbox password, then tap **Login**. 3. Choose **Create account**. 4. On the account screen, tick the collections to sync. Use the menu to **Create calendar** or **Create address book** if you want more. The calendars and contacts then appear in the phone's own Calendar and Contacts apps. ### Thunderbird - **Calendar:** choose **New Calendar → On the Network**, enter the full address as **Username** and `https://panel.example.com:2080/` as **Location**, click **Find Calendars**, enter the password and pick the calendars. - **Contacts:** in the address book, choose **New Address Book → Add CardDAV Address Book**, enter the username and `https://panel.example.com:2080/` as the location, then pick the address books. ### Outlook Outlook does not support CalDAV or CardDAV by itself. It needs a third-party add-in that syncs CalDAV/CardDAV, such as the open-source Outlook CalDav Synchronizer. ## Troubleshooting | Message or symptom | Cause and fix | | --- | --- | | "webmail is not installed" | Install it with **Email → Install webmail** or in **Components**. | | Installing webmail fails with "install a PHP version first" | Install any PHP version under **Components**, then install webmail again. | | "webmail did not create a login link" / "webmail PHP version not found" | The webmail service is not running correctly. As administrator, check `systemctl status zp-webmail` and reinstall webmail if needed. | | The one-click tab opens on the login screen | The link is valid for only a few seconds and only once. Click the icon again; do not reuse or bookmark the address. | | Browser warns about the certificate on port 2096 or 2080 | Open the service with the panel domain or the mail hostname, after **Settings → Panel domain & SSL** is set up. | | Port 2096 or 2080 does not load | The network you are on may block non-standard ports (common in offices and hotels). Try another network. | | Calendar login keeps failing | Use the full address and the current mailbox password. After 6 failed logins, Fail2ban bans the IP; the administrator can lift it with **Unban** on **Security**. Mailboxes moved from another panel may need a new password (set it with the key icon) before calendars accept it. | | Account is added but shows no calendars or contacts | The mailbox had calendar data before it got the default collections, or they were deleted. Create a calendar or address book from Apple Calendar, Apple Contacts or DAVx⁵. | ## Related - [Email](/docs/email) - [Email clients](/docs/email-clients) - [Mail rules and limits](/docs/mail-rules) - [Components](/docs/components) - [SnappyMail](https://github.com/the-djmaze/snappymail) - [Radicale documentation](https://radicale.org/v3.html) - [DAVx⁵ manual](https://www.davx5.com/manual) ## Security & backups ### Security Source: https://zopanel.net/docs/security ZoPanel is built for shared hosting, where you have to assume that one customer's website will eventually be compromised. Several layers keep that problem inside one account: privilege separation in the panel, a sandbox for each account, network filtering, and tools that tell you when something is wrong. This page describes each layer and the settings that control it. ## Architecture: a panel without root ZoPanel runs as two processes with different privileges: | Process | Runs as | Role | | --- | --- | --- | | `zopanel serve` | the unprivileged `zopanel` user, with systemd hardening (`NoNewPrivileges`, `ProtectSystem=strict`, `ProtectHome`, no capabilities) | Web interface, API, database, background jobs | | `zopanel agent` | root | Carries out a fixed list of system actions through a local socket | The web process never has root rights. It can only ask the agent for actions on a fixed allowlist, and the agent validates every parameter again instead of trusting the panel. The agent only accepts connections from the panel user or root. User data is never passed to a shell: every command runs as a fixed program with a separate argument list. Root also avoids touching files inside customers' home directories. File operations in a home directory run as that account's own Linux user, so the kernel enforces the permissions, and a symlink planted by a customer cannot redirect root to another account's files. ## Per-account sandbox Each hosting account is a separate Linux user with its own resources: - **Resource limits:** each account runs in its own systemd slice (`zp-.slice`) with CPU, memory and process limits taken from its package. The PHP-FPM pools, apps, cron jobs and terminal or SSH sessions of the account run inside that slice. Cron jobs are started by `zopanel cron-exec`, which runs the command as the account inside its slice; the command text never appears in a line run as root. - **Separate PHP:** each account has its own PHP-FPM pool running as its user, with `disable_functions` applied (`exec`, `shell_exec`, `system`, `proc_open` and similar). Each pool runs in a systemd sandbox instead of `open_basedir`: `ProtectHome=tmpfs` hides every home directory and `BindPaths` brings back only the account's own, so PHP cannot see other accounts' files, `/root` or `/run/user`; the server's configuration, logs, databases, mail and backups (`/etc/nginx`, `/etc/mysql`, `/var/lib/mysql`, `/var/vmail`, `/var/backups` and others) are made inaccessible, `/tmp` is private, and `/usr` and `/etc` are read-only. `open_basedir` is not set: it slowed WordPress down by about a quarter (it re-checks every included file) and is a weaker boundary than the sandbox. - **File isolation:** customers cannot read each other's `domains` folders. nginx refuses to follow symlinks that point to files owned by someone else, and SFTP is chrooted to the home directory. - **Disk quotas:** under **Settings → System → Disk quotas**, **Enable quotas** lets the kernel enforce each package's disk space and file count (inode) limits. Without quotas, usage is only measured, and one account can fill the whole disk. - **Hidden processes:** Security Center can mount `/proc` with `hidepid`, so an account only sees its own processes and not other customers' command lines. - **Sandboxed shell:** the browser terminal for customers is limited to their home directory. ### Docker apps Apps from the App Store run in Docker with user-namespace remapping, which ZoPanel turns on automatically. A process running as root or as uid 1000 inside a container is mapped to a host uid range that no hosting account owns, so customers cannot read a container's environment variables or data through a shared uid. ## Firewall and Fail2ban The installer turns on **UFW** with your SSH port and ports 80, 443 and 8888 open, and enables it at boot. You manage rules under **Security → Firewall** (action, port, protocol, source). **Fail2ban** is set up with: | Jail | Watches | Rule | | --- | --- | --- | | `sshd` | SSH logins | 5 failures in 10 minutes, 1 hour ban | | `zopanel` | Panel password and 2FA failures | 8 failures in 15 minutes, 1 hour ban | The mail and FTP services add their own jails when you install them. Banned IPs appear on the **Security** page, where you can unban them. If your websites are behind Cloudflare, turn on **Websites behind Cloudflare** so logs, rate limits and Fail2ban see the real visitor IP. ## Web application firewall **Security → Web application firewall** installs ModSecurity with the OWASP Core Rule Set. It blocks SQL injection, XSS, file inclusion, remote code execution and vulnerability scanners. The firewall is only loaded while at least one website uses it, at about 25 MB of RAM per nginx worker. Each website has three modes in its **Tools** tab: **On (block attacks)**, **Detect only (log)** and **Off**. Start with **Detect only** for a few days, review the events, then switch to blocking. If a rule blocks a legitimate request, click **Allow this** on the event to skip that rule for the website. **Apply to all websites** sets the mode for every site at once. ## Malware scanner and quarantine **Malware scan** looks for webshells, backdoors, obfuscated code, injected JavaScript and PHP files in upload folders. Every account is scanned automatically each Sunday, and customers can run **Scan now** on their own websites. For each finding you can: - **Quarantine**: the file is moved out of the website into `/var/lib/zopanel/quarantine//`, a folder only root can read, so it can no longer run and the account cannot restore or delete it. The website may break if the file was legitimate. There is no restore button: an administrator puts a file back as root (see [Malware scan](/docs/malware-scan)). - **Ignore**: mark a false positive. Customers can get an email or Telegram notification when suspicious files are found. ## Two-factor authentication Every user can turn on 2FA under **My account → Two-factor authentication** with any TOTP app (Google Authenticator, Authy, 1Password): 1. Click **Enable 2FA** and scan the QR code. 2. Enter the code and click **Verify & enable**. 3. Save the 10 **recovery codes**. Each one replaces a code from the app once: to sign in after losing your phone, and to **Disable 2FA** or get **New recovery codes** without the app, so you can move 2FA to a new phone yourself. **New recovery codes** replaces them and the old ones stop working. To make 2FA mandatory, go to **Settings → General → Require two-factor authentication** and choose **Administrators and resellers** or **Everyone**. You must turn on 2FA on your own account first. Users without 2FA must set it up the next time they sign in. If an administrator loses both the phone and the recovery codes, run this on the server as root: ```bash zopanel ctl disable-2fa USERNAME ``` This also signs the user out everywhere and revokes the user's API tokens. ## Panel IP allowlist **Settings → General → Restrict panel access** limits the panel (interface and API) to the IPs and networks you list. Your current IP must be in the list when you save it. If you lock yourself out, run on the server: ```bash zopanel ctl allow-ip --clear # remove the restriction zopanel ctl allow-ip 203.0.113.7 # or allow just one address ``` ## API tokens API tokens (`zpat_…`) are created under **My account → API tokens** and require a Pro license. Creating a token asks for your password (and 2FA code) again. Each token has: - **Permissions:** **Full** acts as your account. **Provisioning only** can only call the provisioning API `/api/v1` (see [Provisioning API](/docs/provisioning-api)). - **Allowed from IPs:** up to 20 IPs or ranges. Empty means any address. - **Expires:** 30, 90 or 365 days, or never. Even a full token cannot reach account security (password, 2FA), other tokens, the terminal, the license, fleet enrolment, panel access and 2FA policy, backup destinations, the recovery key, or restoring the panel configuration. Those actions require a signed-in administrator. Each token is limited to 1200 requests a minute. Changing your password revokes every token you own. ## Activity log integrity and remote syslog The **Activity Log** records security-relevant actions. Each entry is chained to the previous one, so an entry that is changed or deleted breaks the chain. Security Center reports it under **Activity log intact**. An intruder with root access could still erase the whole log. To keep a copy that nobody on the server can change, enter a syslog server under **Settings → General → Send the activity log to**, for example `udp://logs.example.com:514` or `tcp://logs.example.com:514`. ## Secrets encrypted at rest Sensitive values in the panel database are encrypted with AES-256-GCM. This covers S3 and SMTP credentials, bot tokens, API keys, the recovery key, TOTP secrets, external database passwords, app and container environment variables and fleet tokens. The key comes from the server's configuration file, which only root and the panel can read, so a copy of the database by itself reveals none of these values. ## Security Center The **Security** page opens with **Security Center**, which scores the server and the panel and offers a one-click **Fix** where a fix is safe. Its checks include: - **Server:** firewall on and enabled at boot, SSH root password login, SSH password authentication, SSH login attempts, Fail2ban, automatic security updates, pending security updates and reboots, PHP security updates (fixed PHP builds waiting, PHP-FPM masters still running a replaced PHP binary, PHP's repository included in the automatic updates), websites on end-of-life PHP or on PHP whose support ends within 90 days, updates waiting from each repository ZoPanel added (Docker, MongoDB, .NET, Redis, backports) and whether their fixes install automatically, time synchronization, services exposed on public ports, extra UID 0 accounts, empty passwords, process hiding (`hidepid`) and kernel hardening (`sysctl`). - **Panel:** 2FA for all admins, the 2FA policy, no `admin` login name, a valid panel certificate, a panel IP allowlist, off-site backups, a successful backup in the last 48 hours, the panel version, API tokens unused for 90 days, unresolved malware and activity log integrity. SSH fixes check that a key is set up first, so a fix cannot lock you out of the server. **PHP.** **PHP security updates are installed** fails when a fixed build of an installed PHP version is waiting; **Fix** installs only that version's PHP packages and moves the running PHP to them. **PHP runs the installed build** lists PHP-FPM masters still running a binary an update replaced (normally fixed by ZoPanel within minutes, see [Updating](/docs/updating)). **No websites on end-of-life PHP** counts websites on PHP 7.4, 8.0 and 8.1, which the PHP project no longer fixes. Ondřej Surý's repository, which ZoPanel uses, still backports some security fixes to these versions (its October 2026 builds 7.4.33-31, 8.0.30-25 and 8.1.34-9 include the PHP2Shell fix), but not every fix and without official support: move these websites to a supported PHP version after testing them. **No websites on a PHP version whose support ends soon** lists websites whose PHP gets security fixes for 90 days or less (PHP 8.2 from 3 October 2026: its support ends on 31 December 2026); the website's page shows the same notice with the date, and after that day the version counts as end of life. The dates come from one table of PHP's supported versions, so PHP 8.3 (end of 2027) and later versions follow by the calendar. The checks recommend the oldest version not about to end (PHP 8.3 in late 2026). ZoPanel never switches a website's PHP version by itself. **Package repositories.** **No updates waiting from …** lists, for each repository ZoPanel added (Docker, MongoDB, Microsoft's .NET, the .NET backports PPA, Redis, Debian backports), the installed packages that have a newer build; **Fix** installs them now, within the major versions held, and for Docker warns that apps' addresses pause for a few seconds while Docker restarts. **Fixes from the repositories ZoPanel added install automatically** fails when one is left out of unattended-upgrades. See [Updating](/docs/updating#docker-mongodb-net-redis-and-backports). **ZoPanel itself.** Security releases of ZoPanel can install by themselves within about an hour (on by default on servers installed with 0.4.29 or later): see [Updating](/docs/updating#security-releases). ### Backups Source: https://zopanel.net/docs/backups ZoPanel has several kinds of backups that work together. Full account backups give you a complete archive you can move to any ZoPanel server. Incremental snapshots (restic) are small nightly copies you can restore one file at a time. Database backups can run as often as every hour. Every archive can also be copied, encrypted, to S3-compatible storage. This page covers the setup, the safety checks and every way to restore. ## Overview | Kind | Contents | Schedule | Where | | --- | --- | --- | --- | | Full account backup | Websites, databases (MariaDB, PostgreSQL, MongoDB, Redis) and email of one account | Manual, or daily/weekly at 02:00 | `~/backups` of the account, plus S3 | | Incremental snapshot (restic) | Files, databases and mail of every account | Nightly at 01:00 | `/var/backups` on the server, or S3 | | Database backup | One database, of any engine | Every hour, every 6 hours or daily | `backups/db` of the account, plus S3 | | Customer schedule | Files, databases and mail, as the customer chooses | Daily or weekly, at a chosen hour | The account, and optionally the customer's own S3 | | Configuration backup (`.zpb`) | Panel settings and database | Daily | S3 (see [Disaster recovery](/docs/disaster-recovery)) | | App backup | One App Store app's data, or the S3 storage component | Manual, or daily/weekly | `/var/backups/zopanel-apps` on the server (root only) | **App Store apps and S3 storage have their own backups.** Account backups, database backups, customer schedules and incremental (restic) snapshots cover website folders, databases and mailboxes only. They do not contain App Store app data (`/var/lib/zopanel-apps//`) or S3 storage buckets (`/var/lib/zopanel-storage`). These are backed up from their own **Backups** card instead: see [App and S3 storage backups](#app-and-s3-storage-backups). ## Full account backups On the **Backups** page, choose an account and click **Create backup**. All websites, databases and email of the account are archived into `~/backups`. ### What is in an account backup The archive (`backup-.tar.gz`) holds: | Path in the archive | What | How | | --- | --- | --- | | `domains//` | Every file of each website, including apps deployed from git with their virtualenv or `node_modules` | As the files are; links are kept as links | | `databases/.sql` | Each MariaDB database | `mariadb-dump` (single transaction, routines, triggers) | | `databases/.pgsql` | Each PostgreSQL database | `pg_dump` plain SQL (`--clean --if-exists --no-owner --no-acl`), made as the account through a role with only the database owner's rights | | `databases/.mongo` | Each MongoDB database | A `mongodump` archive of that database only, made by a temporary user that may only read it | | `databases/.redis` | Each Redis database | Its keys (`:*` on the shared Redis), with their values and expiry | | `mail/.tar` | Each email domain's mailboxes and messages | | | `manifest.json` | The account, its websites and the list of databases with their engine | Lets **Restore from file** recreate the account on another server | Not in an account backup: - **App Store apps and S3 storage**: they have their own backups (see [App and S3 storage backups](#app-and-s3-storage-backups)). The Backups list does not show them among the websites of an account backup. - **Databases on an external database server**: they are not on this server. - **The WordPress object cache**: it is a cache (the account's own Redis instance keeps nothing on disk). After a database is restored, the object cache of the WordPress sites using it is emptied, so the sites show the restored data at once. The **Contents** column of the Backups list counts the databases by engine (for example `2 MariaDB`, `1 PostgreSQL`); hover a badge to see their names. To back up every account automatically, open **Settings → General**: - **Automatic backups:** **Off**, **Daily** or **Weekly (Sunday)**. Backups run at 02:00 server time. - **Backups to keep per account:** 1 to 90 (default 7). Before a backup starts, ZoPanel checks the free disk space. It refuses to start when less than 1 GB, or less than 5% of the disk, is free, so a backup can never fill the disk and take the websites down. Each finished archive gets a SHA-256 checksum, which is checked again before any restore. ## Remote backups to S3 Remote backups need a Pro license. Open **Settings → Remote backups**, turn the switch on and fill in: | Field | Notes | | --- | --- | | **Provider presets** | AWS, Cloudflare R2, Backblaze B2, Wasabi, MinIO and others | | Endpoint, Region, Bucket | From your storage provider | | **Folder prefix** | Defaults to `zopanel` | | Access key, Secret key | Use a key limited to this bucket | | **Remote copies to keep per account** | 1 to 365 (default 14) | | **Path-style URLs (R2, MinIO)** | Required by some providers | | **Plain HTTP (private MinIO only)** | Only for a MinIO server on a private network | Click **Test connection**, then **Save**. From then on, every account backup and database backup is uploaded after it finishes. For the exact endpoint, region and bucket-only key for Wasabi, Amazon S3, Cloudflare R2, Backblaze B2, DigitalOcean Spaces, Google Cloud Storage and MinIO, see [S3 storage providers](/docs/s3-providers). ### Encryption and the recovery key Copies are encrypted on the server before they are uploaded, with XChaCha20-Poly1305 and a key derived from the panel's **recovery key**. The storage provider, or anyone who gets the bucket's access key, sees only encrypted data. Encrypted files are split into authenticated chunks, so a truncated or modified file fails to open instead of restoring damaged data. To see the key, open **Backups → Disaster recovery → Show key**. **Write it down and keep it off the server**, for example in a password manager. Without it, nothing in the bucket can be read on another server. ## Incremental backups (restic) Incremental backups are set up by the administrator on the **Backups** page, in the **Incremental backups** card: 1. Turn on **Snapshot every account each night (01:00)**. 2. Choose the **Destination**: **This server (/var/backups)**, or S3. S3 uses the bucket from **Settings → Remote backups**, which must be set up first. 3. Set the retention: **Daily** (default 7), **Weekly** (default 4) and **Monthly** (default 6). 4. Click **Show recovery key** and store this key as well. The restic repository is encrypted with it. Each snapshot stores only what changed since the last one, so it is deduplicated, compressed and encrypted. Every Saturday at 05:00, ZoPanel checks the repository structure and reads back 2% of the data. If the check fails, administrators get the **Backup failed** alert. ## Database backups Open **Databases**, then **Backups** for a database: - **Automatic backup:** **Off**, **Every hour**, **Every 6 hours** or **Every day**, with the number of copies to **Keep**. - **Back up now** for a manual copy. The list is read again once the copy is done, and the new copy is marked **new**. Every engine is supported: MariaDB and PostgreSQL as gzipped SQL (`.sql.gz`), MongoDB as a gzipped `mongodump` archive (`.archive.gz`), Redis as its keys (`.redis.gz`). Incremental (restic) snapshots include MariaDB, PostgreSQL and MongoDB databases, not Redis. When remote backups are on, these copies are also sent to S3, encrypted the same way. ## Customers' own schedules and S3 storage Customers can set up their own schedule on their **Backups** page, in the **Automatic backups** card: - **Schedule**: daily or weekly, with the **Day** and **Time (server)**. - What to include: **Website files**, **Databases**, **Email**. - **Copies on server**: 1 to 30 (default 3). - **Copy to my storage**: any S3-compatible storage (Amazon S3, Cloudflare R2, Backblaze B2, Wasabi, Google Cloud Storage with HMAC keys), with **Copies in storage** from 1 to 365. Customer storage must be a public HTTPS endpoint. Addresses on the server's own network are refused. **Test connection** checks that the bucket can be written. ## App and S3 storage backups Each App Store app has a **Backups** card on its website's **Docker** tab, and the S3 storage component has one on the **S3 storage** page: - **Back up now** archives the whole data folder: the app's `/var/lib/zopanel-apps//` (including its `.env` with keys and secrets), or `/var/lib/zopanel-storage` with every bucket. The container is paused for the few seconds of the copy, so the copy is consistent. - **Schedule**: **Off** (default), **Every day** or **Every week**, with the number of copies to **Keep** (1 to 60, default 7). Older copies are removed. - **Restore** stops the app and replaces its data with the copy. Changes made since then are lost. The current data is kept until the restored app starts, and put back if it does not start. Archives are kept in `/var/backups/zopanel-apps//` (S3 storage: `/var/backups/zopanel-apps/_storage/`), a folder only root can read. An app's archives count in its account's disk space (the S3 storage's belong to no account). Deleting an app together with its data (or uninstalling S3 storage with **Also delete all data and buckets**) also deletes its backups. Anyone who manages an app can back it up now and see its list; the schedule, **Restore** and deleting a backup are for administrators (customers see "ask your hosting provider" under the list). A failed scheduled backup sends the **Backup failed** alert. These archives stay on the server and are not sent to remote backups. Copy important ones off the server (for example with `rclone` or `scp`) and store them encrypted, since they contain the apps' secrets. To use one on a new server, install the same app on the same domain, copy the archive into its `/var/backups/zopanel-apps//` folder and click **Restore**. Some apps keep a key in the panel's settings rather than in their data (n8n's encryption key, for example): check the app's guide before moving it. For buckets, an S3 tool with the bucket's key (for example `rclone sync`) also copies the files to other storage. ## Restoring ### A whole account - **From a backup on the server:** **Backups → Restore**. Files and databases are overwritten with the backup's contents. Each database goes back into the database of the same name and engine the account has now (one recreated with another engine is skipped, and the log says so). PostgreSQL SQL is run as the account through a role with only the owner's rights, MongoDB is restored by a user limited to that database, and Redis keys are restored only if every key in the file belongs to that database. - **From a file made on any ZoPanel server:** **Backups → Restore from file**. The account, websites and databases are recreated with the same names, users and passwords. Websites or databases that already exist with the same names are refused. PostgreSQL, MongoDB and Redis databases are recreated with a **new password** (the log says which): set one on the **Databases** page and update the application's settings. An engine not installed on the new server is skipped. - **From S3:** **Backups → Disaster recovery → Browse S3**, then open server → account and click **Restore** on a backup. If the account does not exist, it is created. This also works for backups of servers that no longer exist. ### Single files, folders and mail In the **Snapshots (incremental)** card on the **Backups** page, choose a snapshot, browse it and click **Restore** on a file or folder. Files go back in place, and newer files with the same name are replaced. Mail is merged into the mailboxes. Customers can do this themselves for their own account, and they can click **Snapshot now** before a risky change. ### Databases - In a database's **Backups** list, click **Restore**. The current data is backed up first (type **before restore**), so the restore can be undone. A Redis database is emptied first, then its keys from the backup are put back. - After any database restore or import, the object cache of the WordPress sites using that database is emptied. - From a snapshot, a restored database is added to that database's backup list, ready to restore. ## Good practice - Turn on remote backups. Security Center warns when **Backups leave the server** is not met, and when no backup has succeeded in 48 hours. - Keep the recovery key and the incremental key outside the server. - Test a restore on a spare server from time to time. A backup that was never restored is not proven. ### Disaster recovery Source: https://zopanel.net/docs/disaster-recovery Account backups bring back websites, databases and mail. To rebuild a whole server you also need what account backups do not hold: the panel's settings, packages, administrator and reseller logins and its keys. ZoPanel keeps these in an encrypted **configuration backup** (`.zpb`). This page explains what is kept where, and the steps for each kind of failure. Test the "server lost" procedure on a spare VPS at least once a quarter. ## What is kept, and where | What | Where | How long | | --- | --- | --- | | Panel database (accounts, sites, DNS, mail, settings) | `/var/lib/zopanel/db-backups/zopanel-YYYYMMDD.db` | 7 days | | Panel database before each update | `/var/lib/zopanel-root/pre-update/` | Last 3 updates | | Configuration backup (`.zpb`) | S3, under `//_panel/` (daily, when remote backups are on), or downloaded by hand | As many as account backups | | Account backups (files, databases, mailboxes) | `~/backups` on the server, and S3 when remote backups are on | **Settings → General** and **Settings → Remote backups** | | Incremental backups (restic) | Local repository or S3 | Incremental backup retention | | App Store apps and S3 storage | `/var/backups/zopanel-apps` on the server (root only) | **Keep** on each **Backups** card | | Deleted accounts | `/home/.zp-terminated/-