AdminsForum

Paste the error. Find the fix.

Step-by-step guides and community answers for Linux servers, VPS and hosting control panels.

New threads

The latest guides and questions from every forum.

CloudPanel Getting Started Guides

What Is CloudPanel? Complete Overview of the Free Hosting Control Panel (2026)

What is CloudPanel? A complete overview of the free hosting control panel

CloudPanel is a free, web-based server control panel for Debian and Ubuntu. It turns a fresh VPS or cloud server into a tuned web hosting server for PHP, WordPress, Node.js, Python, static sites and reverse proxies, all managed from a clean browser interface on port 8443. It's built for one job: running websites and web apps fast, with as little to configure as possible.

Every screenshot in this guide comes from our own test server: CloudPanel 2.5.4 on Ubuntu 24.04 (4 vCPU, 8 GB RAM), set up in October 2026.

   

Prefer video? Watch Part 1 of our free CloudPanel Full Course:


CloudPanel at a glance
  • Price: free. There are no paid tiers for the panel itself.
  • Current version: 2.5.4 (released 1 July 2026).
  • Operating systems: Ubuntu 22.04, 24.04 and 26.04; Debian 12 and 13.
  • Hardware: x86 and ARM64; at least 1 CPU core, 2 GB RAM and 10 GB disk.
  • Web server: Nginx 1.30, with HTTP/3 and the PageSpeed module.
  • Apps: WordPress, PHP, Node.js, Python, static HTML and reverse proxies.
  • Panel address:
    Code:
    https://YOUR_SERVER_IP:8443
    , or your own domain.

What you can host
When you add a site, CloudPanel asks what kind of site it is and configures Nginx to match:
  • WordPress: a one-click install, ready to log in with no setup wizard.
  • PHP applications: with ready-made templates for Laravel, Symfony, Magento, Drupal, Joomla, WooCommerce, Shopware, PrestaShop, Nextcloud, Moodle, TYPO3 and many more, plus a Generic option.
  • Node.js apps (for example Ghost or Strapi) and Python apps, served through Nginx.
  • Static HTML/CSS/JS sites.
  • Reverse proxies to anything else running on the server, such as a Docker container.
   

How CloudPanel works
1. A complete, tuned stack out of the box. One installer sets up Nginx, PHP-FPM for every PHP version from 7.1 to 8.5, MySQL or MariaDB, Redis, Varnish Cache and ProFTPD. You don't choose or compile components; CloudPanel ships them pre-configured.
   

2. Every site is isolated. Each site gets its own Linux user (the "site user"), and its files live in
Code:
/home/SITE_USER/htdocs/YOUR_DOMAIN
. One compromised site can't simply read another site's files.
   

3. Everything about a site is on one page. Open a site and you get one row of tabs: Settings (domain, PHP version and limits), Vhost (the Nginx config), Databases, Varnish Cache, SSL/TLS, Security, SSH/FTP, File Manager, Cron Jobs and Logs.
   

4. The Admin Area runs the server. Users and roles, an Events log, Instance (services and restarts), remote Backups, Security (firewall and Basic Auth) and Settings (custom panel domain and database servers).
   

5. A command-line tool too.
Code:
clpctl
lets you add sites, databases, users and Let's Encrypt certificates from SSH, which is handy for scripts and automation.

Who CloudPanel is for
  • Developers and agencies hosting several PHP, WordPress or Node.js sites on their own VPS.
  • Anyone who wants a fast Nginx stack without configuring it by hand.
  • Teams on AWS, Google Cloud, Azure, Oracle Cloud, DigitalOcean, Hetzner, Vultr or similar, including ARM servers.

What CloudPanel doesn't do
CloudPanel is focused by design. Know these limits before you install:
  • No mail server. Use an external email service (Google Workspace, Microsoft 365, Zoho, etc.) and an SMTP service for sending.
  • No DNS hosting. Manage DNS at your registrar or Cloudflare.
  • No Apache or LiteSpeed. Nginx only.
  • No app store or Docker manager. Run containers yourself and put a reverse-proxy site in front.
  • Virtual machines only. LXC, LXD and OpenVZ containers aren't supported.
  • Needs a clean server and at least 2 GB of RAM.

Is CloudPanel right for you?
Choose CloudPanel if you mainly host websites and web apps and want speed, site isolation and a simple interface for free. If you need mail, DNS or many one-click apps on the same server, look at a broader panel; our CloudPanel vs aaPanel comparison in this forum covers that trade-off.

Learn more
Sources (checked October 2026): CloudPanel introduction · Technology stack · Requirements · Changelog

Questions about CloudPanel? Ask in CloudPanel Support & Troubleshooting.

CloudPanel guide series
  1. What is CloudPanel? Complete overview (you are here)
  2. CloudPanel system requirements
  3. CloudPanel features: the complete list
  4. How to create a PHP site
  5. How to install free Let's Encrypt SSL
  6. How to install WordPress (one-click)
  7. Databases, users and phpMyAdmin
  8. SSH, SFTP, FTP and File Manager
  9. Cron jobs, logs and Varnish Cache
  10. Backups, firewall and Basic Auth
DEV 10-14-2026, 10:46 AM Read thread
aaPanel Websites & Web Servers Guides

Measure aaPanel Website Performance Before Tuning Your Server

Before fine-tuning PHP-FPM, SQL or Nginx for a busy website, record a repeatable baseline. Measure response time and errors alongside server resources so later changes can be compared with the same workload.

Series introduction: This lesson records low-load observations on our aaPanel Free 8.0.7 lab. It does not stress-test the server, prove maximum visitor capacity or recommend universal tuning values. PHP-FPM, OPcache, database and caching tuning belong in separate measured lessons.

1. Describe the server and workload
Our lab VPS has two available CPUs, 3.8Gi RAM and a root/data filesystem reporting 39G capacity. Installed components include Nginx 1.30.5 and MariaDB 10.11.10. The PHP 8.5 CLI binary reports 8.5.11; a CLI version alone is not proof of a website's active PHP-FPM runtime.

Record the site's selected PHP version in aaPanel, application version, database implementation, URL, authentication state, cache state and any CDN/proxy. A cached anonymous homepage and a logged-in database-heavy request are different workloads. Identify representative pages before deciding what needs tuning.

2. Check server resources before the sample
From SSH:
Code:
nproc uptime free -h df -h /www
Our snapshot showed load averages of 0.32, 0.18 and 0.11, about 2.7Gi available memory, no swap used and 30% disk usage. Those are observations at the time of testing, not permanent operating conditions. See VPS resource checks for interpretation.

For serious performance work, capture CPU, memory, swap and disk-I/O behavior across the same period as the workload. A single before/after snapshot does not establish peak resource use or rule out brief pressure.

3. Measure a normal HTTPS request
On Linux or macOS, a simple diagnostic command is:
Code:
curl -sS --max-time 20 -o /dev/null  -w 'HTTP=%{http_code} TTFB=%{time_starttransfer} TOTAL=%{time_total} '  https://your-test-hostname/
On Windows PowerShell use curl.exe and NUL as the output destination. Our test used:
Code:
curl.exe -sS --max-time 20 -o NUL -w "HTTP=%{http_code} TTFB=%{time_starttransfer} TOTAL=%{time_total}" https://your-test-hostname/
Use a hostname you control and keep normal certificate validation enabled. Check the exit code as well as HTTP status; a timeout or TLS failure should count as a failed request rather than disappearing from the results.

How to read the measurements
  • HTTP status: check whether the response is expected; a fast error is not a fast successful page.
  • TTFB: curl's time_starttransfer is elapsed time until the first response byte, including connection-related work. It is not isolated PHP execution time.
  • Total: time until that single response transfer completes. It does not include rendering a browser page or downloading its complete asset graph.
Validate the response content once as well. Timing a redirect, error template or login page instead of the intended content creates a misleading comparison.

4. Repeat a small sequential sample
We sent ten separate sequential requests to the static lab homepage and ten to the WordPress lab homepage, with a short delay between requests. Each request used a fresh curl process. This was a small diagnostic sample, not a concurrent load test.

   
Measured lab results, rounded for readability. The image is a formatted transcript rather than a performance guarantee.

Our client-side results were:
  • Static lab: 10/10 requests returned HTTP 200. Median TTFB 149 ms; slowest total response 240 ms.
  • WordPress lab: 10/10 requests returned HTTP 200. Median TTFB 184 ms; slowest total response 424 ms.
These timings include the network path from our client. We did not independently isolate application cache state, PHP time or SQL time in this introductory sample. The ten-request sample is too small to make strong tail-latency or capacity claims.

5. Record enough information to repeat the test
Keep the timestamp and timezone, client location, exact URL, request count, whether requests are sequential/concurrent, timeout, status/exit results and software/configuration versions. Note whether the response came from a CDN/cache or the origin if you have verified that distinction.

Repeat from the same client using the same workload when comparing a tuning change. Also test the actual user workflow: anonymous content, logged-in pages, search and writes can have very different costs. Do not combine those outcomes into one unexplained average.

6. Choose the next investigation from evidence
  • PHP worker queues or saturation: inspect PHP-FPM status/slow logs and memory per worker before choosing pm.max_children.
  • Database-heavy requests: inspect slow queries, query plans, indexes and connection behavior before increasing SQL limits.
  • Repeated anonymous content: evaluate page caching with appropriate exclusions for private or changing content.
  • High I/O wait: investigate storage and query/file access rather than assuming more PHP workers will help.
  • Slow assets/rendering: measure browser/frontend behavior; an origin response test alone cannot explain it.
A worker limit should account for measured application memory use and RAM reserved for the database, operating system and other services. A database buffer setting must fit the real shared workload. Raising every limit can increase memory pressure instead of throughput.

7. Plan a controlled comparison
Back up the exact configuration before editing it. Change one meaningful setting at a time, validate configuration, repeat the same test and compare latency, error rate and resource use. Define rollback conditions before applying changes.

A later controlled load test should use an authorized lab target, bounded duration and concurrency, realistic requests and clear stop conditions. Do not infer requests-per-second capacity or supported monthly visitors from the small sequential sample in this guide.

What this guide verified
Two lab URLs each returned HTTP 200 for ten sequential client requests. We recorded client response timings and a server-resource snapshot. No PHP, database or Nginx tuning, stress test or production configuration change was performed.

AdminsForum performance series, lesson 1: baseline measurement. Later lessons will compare specific changes against documented workloads.
DEV 10-14-2026, 10:32 AM Read thread
aaPanel Getting Started Guides

Check VPS Disk Space, Memory and CPU Load from SSH

Before restarting services or increasing a VPS plan, check disk capacity, memory availability, CPU load and listening ports. These read-only SSH checks help identify the resource or component that needs closer investigation.

Tested: Ubuntu 22.04.5 on our aaPanel Free 8.0.7 lab VPS. Commands inspect the server; they do not delete files, kill processes or change firewall rules. The recorded numbers are a point-in-time snapshot, not a performance benchmark or capacity guarantee.

   
Formatted transcript of the lab's disk, memory, CPU and local application listener checks.

1. Check filesystem capacity
From your authorized SSH session:
Code:
df -h / /www
Read Size, Used, Avail and Use%. In our lab both paths are on the same /dev/vda2 filesystem, so two lines describe the same capacity rather than two separate disks. The snapshot showed 39G total, 11G used, 26G available and 30% usage.

Run the check against the actual filesystem holding your website, database and backups. A different mounted data disk can be full even when the root filesystem is not.

2. Check inode capacity too
Code:
df -i / /www
Inodes track filesystem objects. A workload with many small files can exhaust available inodes even when data space remains. Our snapshot showed 11% inode usage. If space or inodes are nearly exhausted, identify the source before deleting anything.

3. Inspect specific directory sizes
Code:
du -sh /www/backup /www/wwwlogs
Our results were 287M for backups and 9.2M for website logs. This command measures those directories, not every possible source of disk use. Use bounded paths first rather than scanning the entire VPS during a busy period; even read-only directory scans can consume I/O.

Do not delete active database files or blindly remove logs. Review backup retention and log rotation, preserve needed evidence and confirm a restore before discarding recovery copies. If df and du disagree, investigate causes such as deleted files still held open by a process or different mount scopes.

4. Read memory availability
Code:
free -h
Our lab showed 3.8Gi total memory, 2.7Gi available and a 1.0Gi swap area with no swap used at the time.

Look at available, not just free. Linux uses memory for buffers and cache, and some can be reclaimed for applications. A small free column alone does not prove a memory shortage. Conversely, one healthy sample does not rule out spikes or a memory leak.

Sustained low availability and swap activity warrant investigation alongside application latency and logs. Do not assume adding swap solves every workload problem.

5. Compare CPU count with load over time
Code:
nproc uptime
Our snapshot reported two available processing units and load averages of 0.13, 0.08 and 0.09. Uptime lists the 1-, 5- and 15-minute load averages.

Load average is not CPU percentage: it includes runnable work and tasks waiting in uninterruptible sleep, including some I/O waits. Compare it with available CPUs and the workload trend, then investigate CPU and I/O behavior before concluding the server needs more cores.

6. Identify large processes without dumping arguments
Code:
ps -eo pid,user,comm,%cpu,%mem --sort=-%mem | head -8
This prints process ID, user, command name and reported CPU/memory percentages, sorted by memory percentage. We tested it and saw MariaDB, aaPanel and PHP-FPM among the larger processes.

The command-name field avoids dumping full arguments, which can contain credentials. This is a quick process summary, not a complete memory accounting report or instantaneous CPU profiler. Do not kill a database or panel process just because it appears near the top.

7. Check listening TCP ports
Code:
ss -lnt
This lists listening TCP sockets with numeric addresses. A focused application check in our lab was:
Code:
ss -lnt | grep -E ':3100|:3200'
The Node app listened on 127.0.0.1:3100 and Flask on 127.0.0.1:3200. These localhost listeners are reached through Nginx; they are not directly exposed on public interfaces.

A listener on 0.0.0.0 accepts connections on IPv4 interfaces at the socket level, but firewall and provider rules can still block traffic. A listening socket does not prove outside reachability, authentication or correct application content. Verify a real request separately. Review expected listeners and avoid posting your private management entrance or raw credential-bearing output.

8. Turn the findings into a targeted next check
  • Filesystem nearly full: inspect the actual mount, backups, logs and inode use; plan safe retention or capacity changes.
  • Memory pressure: inspect process trends, worker settings and relevant application errors.
  • High sustained load: compare CPU count, CPU use and I/O behavior rather than equating load with percent usage.
  • Expected listener missing: check the corresponding service's status and startup logs.
  • Resources look healthy but site fails: investigate DNS, TLS, upstream mapping and application errors.
See Check Nginx, PHP-FPM and Database Services for version-specific service checks.

What this lesson verified
We ran df, inode checks, bounded du, free, uptime, nproc, a process summary and TCP-listener checks on the lab. No service restart, cleanup, firewall modification or resource upgrade was performed. Repeat observations across the period when a problem occurs; one calm sample cannot prove peak-load capacity.

AdminsForum CLI series. Illustration is a formatted lab-result transcript and the values will change over time.
DEV 10-14-2026, 10:25 AM Read thread
aaPanel Websites & Web Servers Guides

Check Nginx, PHP-FPM and MySQL Services in aaPanel via SSH

When a website fails, check the service that handles the failing request. aaPanel-installed Nginx, PHP-FPM and database services can have different names and paths from distribution packages. Inspect the installed service before copying a generic command.

Tested lab: Ubuntu 22.04.5 and aaPanel Free 8.0.7. We checked Nginx, MariaDB under the mysqld service name, and PHP-FPM 8.4/8.5. Nginx and both PHP-FPM configuration tests passed. This lesson tested diagnostic commands without restarting those services.

   
Formatted transcript summarizing actual status and configuration-test results from our lab.

1. Know which component you are checking
  • aaPanel: management dashboard, checked with bt status.
  • Nginx: handles website requests and proxies dynamic work.
  • PHP-FPM: executes PHP for sites configured to use that PHP version.
  • MySQL/MariaDB: stores database data; a running database process does not prove an application's credentials work.
Restarting aaPanel does not mean you restarted the website stack. Start with the bt CLI overview for panel-specific commands.

2. Find the installed service names
From an authorized SSH administrator session:
Code:
ls /etc/init.d/nginx /etc/init.d/mysqld /etc/init.d/php-fpm-*
Our lab had nginx, mysqld, php-fpm-84 and php-fpm-85. If your server uses Apache, another PHP version or a different database setup, inspect those actual names rather than assuming these apply. Missing paths are a reason to verify installation, not to reinstall the server stack blindly.

3. Check Nginx and validate configuration
Code:
/etc/init.d/nginx status /www/server/nginx/sbin/nginx -t
The lab's status reported Nginx running. The syntax test reported that /www/server/nginx/conf/nginx.conf was valid and the test was successful.

A syntax test does not prove the site serves the right content. After a configuration change, check a real HTTP/HTTPS request as well. If validation fails, correct the reported file and line before reloading. Keep a backup of the changed configuration.

Reload versus restart
For a reviewed Nginx configuration change, a reload asks the running server to load the new configuration. A restart stops and starts the service and can interrupt requests. The installed init script supports service controls, but this guide did not execute a reload or restart:
Code:
/etc/init.d/nginx reload /etc/init.d/nginx restart
These are operational examples, not commands to run merely because you are reading this guide. Validate first and choose the action that the maintenance requires.

4. Check the website's PHP-FPM version
Confirm the PHP version selected for the website in aaPanel. Our lab has two separate services:
Code:
/etc/init.d/php-fpm-84 status /etc/init.d/php-fpm-85 status
Both reported running. Version-specific configuration tests were:
Code:
/www/server/php/84/sbin/php-fpm -t /www/server/php/85/sbin/php-fpm -t
Both passed. Use the matching path for your installed version. Restarting 8.4 will not repair a site served by 8.5.

If maintenance genuinely requires restarting the website's PHP-FPM service, its installed service script provides the restart action. For example:
Code:
/etc/init.d/php-fpm-85 restart
We did not execute that restart in this lesson. It can affect every site using that PHP-FPM version. Afterwards check service status, recent logs and a meaningful PHP request.

The shell's php --version can identify a CLI default rather than the PHP-FPM version handling a specific website. Do not use it as the only evidence of the site's runtime.

5. Check MySQL or MariaDB
Code:
/etc/init.d/mysqld status
Our status output identified MariaDB and active (running), despite the service script being named mysqld. Both naming and installed implementation matter when interpreting commands.

A database restart can interrupt applications and active connections. Do not restart it as the first response to an authentication or missing-table error. Confirm the actual failure and plan maintenance before using a control action such as:
Code:
/etc/init.d/mysqld restart
This restart was not executed for the lesson. Before database maintenance, preserve an appropriate backup and recovery plan. Afterwards verify service readiness and an application connection through its normal secure configuration; do not put database passwords into public command examples.

6. Verify the website beyond status
A running process is one signal, not the whole result. Check:
  • The intended service and PHP version.
  • Configuration validation after edits.
  • The hostname's response with normal certificate validation.
  • A dynamic application action and database connection where relevant.
  • Recent relevant errors rather than old log entries.
For example, a PHP site can still return 502 when Nginx is running but its configured PHP-FPM socket is wrong. A site can connect to the web server but fail inside the application because its database credentials are incorrect.

Common mistakes
  • Using system package paths for software installed under /www/server.
  • Restarting every service instead of diagnosing the failing component.
  • Checking the CLI PHP version instead of the website's configured PHP-FPM version.
  • Treating mysqld as proof that the database implementation must be MySQL.
  • Reloading invalid configuration or assuming a successful syntax test proves application health.
  • Posting raw logs that contain tokens or database credentials.

What our lab verified
Nginx was running and passed its configuration test. MariaDB's mysqld service was active. Both PHP-FPM 8.4 and 8.5 were running and passed configuration tests. Service restart examples were explained, not executed or claimed as tested.

AdminsForum CLI series. The image is a formatted lab-result transcript; use the service names and paths actually installed on your own server.
DEV 10-14-2026, 10:14 AM Read thread
aaPanel Security Guides

Set File Permissions and Ownership in aaPanel

aaPanel's file permission editor lets you change a selected file's access mode and owner. Understand who needs access before changing a number: the correct permission depends on the application user and the specific file.

Tested: aaPanel Free 8.0.7 on Ubuntu 22.04.5. We changed one disposable non-public file from 644 to 600 through the native Files permission dialog, verified owner access and denial for an unrelated user, then restored 644. No application directory was changed recursively.

1. Understand owner, group and others
Linux permission digits describe three classes in this order: owner, group and others. Each digit combines read (4), write (2) and execute (1).
  • 6 = read + write.
  • 4 = read only.
  • 7 = read + write + execute.
  • 5 = read + execute.
  • 0 = no permissions for that class.
For a regular file, execute means it can be executed where other conditions permit. For a directory, execute permits traversal/search; read allows listing names, and write permits directory-entry changes subject to other rules. Parent directory access also matters.

Common modes, with their limits
  • 644 file: owner reads/writes; group and others read. Suitable for some public source/static files, but not a universal choice for private configuration.
  • 600 file: only the owner reads/writes under ordinary mode bits. Useful where just the intended owner needs access; it can break an app running as another user.
  • 640 file: owner reads/writes and group reads. Requires the correct group membership and parent-directory access.
  • 755 directory: owner can manage entries; group and others can list/traverse. It does not mean every directory should be public or writable.
  • 777: gives every class write access. Do not use it as a general fix for application permission errors.
Privileged administrators can have access beyond ordinary mode bits. ACLs, filesystem attributes and other security controls can also affect the result, so test the actual application user.

2. Find the exact file in aaPanel
Open Files and navigate to the file's directory. Check the filename, full path and current PMSN/Owner value. Our test file was /www/af-composer-lab/af-protection-lab.txt, owned by www with mode 644.

Select the intended row, open its Operate menu and choose Permission. In our version this opened Set Permission with the full target path in the title.

3. Review the dialog before applying
The dialog shows read/write/execute controls, the numeric permission field, an Owner selector and Apply to subdir. Record the existing mode and ownership so you can restore them.

For a single-file test, leave Apply to subdir unchecked. Do not apply one identical mode recursively across files and directories: directories need traversal permissions, while ordinary text files usually do not need executable bits.

   
Native aaPanel permission dialog for the disposable file, with owner-only mode 600 entered.

We retained owner www, entered 600 and clicked Apply. The Files row updated to 600 / www.

4. Verify as the intended user
From an authorized SSH administrator session, our checks were:
Code:
stat -c '%a %U:%G' /www/af-composer-lab/af-protection-lab.txt runuser -u www -- cat /www/af-composer-lab/af-protection-lab.txt runuser -u nobody -- cat /www/af-composer-lab/af-protection-lab.txt
The first command reported 600 www:www. The owner www read the harmless text successfully. The unrelated nobody account received Permission denied. Those accounts already existed; we did not create another login or grant access.

Use your actual application user when testing. A successful root read is not proof that PHP, Nginx or a Python worker can read the file.

5. Understand ownership before changing it
The Owner selector changes who owns the file. Do not choose www merely because this guide uses it: check the service or deployment user for your application. Different sites and services can use different users.

For this lesson we kept existing ownership unchanged. We inspected the owner control but did not claim a tested ownership migration. Changing ownership can allow one service to write files or prevent another service from accessing them, so review the intended account before applying it.

6. Restore and verify after the test
We reopened Operate → Permission, changed 600 back to 644 and applied it to the same file only. An SSH check confirmed 644 www:www, and the original harmless text was unchanged.

For real maintenance, verify the application action you intended to repair: reading configuration, uploading a file or creating a cache entry. Restore the previous settings if the change fails, then investigate the underlying user/path problem instead of widening access repeatedly.

Diagnose Permission denied
  • Check the exact target and every parent directory's traversal permissions.
  • Identify the process user and group instead of assuming it runs as root.
  • Check whether it needs read access, write access or directory-entry access.
  • Inspect ACLs and filesystem attributes if mode bits appear correct.
  • Check a read-only filesystem or service isolation where applicable.
  • If the immutable i flag is present, chmod does not remove it. See Linux file protection with chattr.

Completion checklist
  • Exact file and current settings recorded.
  • Required user and access identified.
  • Change limited to the intended path.
  • Actual user access tested.
  • Application behavior checked and rollback available.

AdminsForum lab-tested native aaPanel guide. The screenshot contains our own disposable file; ownership changes and recursive updates were not performed.
DEV 10-14-2026, 10:08 AM Read thread
aaPanel Security Guides

Protect Files on an aaPanel Server with Linux chattr

Linux's immutable file attribute can prevent a selected file from being modified while the attribute is set. On an aaPanel server, you can test this through SSH using chattr and lsattr, then remove the attribute before legitimate updates.

Scope: This is a Linux SSH method tested on our Ubuntu 22.04.5 VPS with aaPanel Free 8.0.7. It is not a walkthrough of aaPanel Pro's File Protection feature. In this Free installation, clicking a file's Unprotected control opened a Pro upgrade screen; we did not purchase or activate Pro and did not test its protection settings.

   
Formatted transcript of our disposable file test: protected write blocked, unlock succeeded, and original contents restored.

What this method protects
The immutable i attribute prevents normal modification of the protected file while set. It is separate from ordinary chmod read/write permissions. An authorized administrator with the relevant capability can remove it, so it is not protection against a fully privileged attacker and does not replace updates, least-privilege access or backups.

Do not apply it recursively across a running website. Uploads, cache files, databases, logs, certificate renewals and application updates need to write files. Start with one disposable file outside a public website root.

1. Choose a disposable file and confirm its path
Our test file was:
Code:
/www/af-composer-lab/af-protection-lab.txt
It contained only the text AdminsForum disposable file protection lab. It was owned by www with mode 644 and was not served as a public website file. The surrounding directory already existed; we did not change its application files.

Create your own harmless test file in a private lab directory. Verify its contents before proceeding:
Code:
cat /absolute/path/to/test-file.txt ls -l /absolute/path/to/test-file.txt lsattr /absolute/path/to/test-file.txt
The examples below use a placeholder path. Replace it with the exact file you intend to test, not a directory or wildcard.

2. Apply the immutable flag
From an authorized administrator terminal:
Code:
sudo chattr +i /absolute/path/to/test-file.txt lsattr /absolute/path/to/test-file.txt
In our lab, chattr returned exit 0 and lsattr displayed the i flag. Other letters such as e may already be present; the significant change for this test is i.

If the command reports Operation not supported, investigate the filesystem and hosting environment. Containers, filesystem types and available capabilities can affect support. Do not claim protection is active without checking the result.

3. Verify a write is blocked
Attempt a harmless append only on that disposable file:
Code:
printf 'disposable write test ' >> /absolute/path/to/test-file.txt
Our administrator-side write attempt failed with Operation not permitted, and the original file content remained unchanged. Read it again to confirm the attempted text was not added. This test verifies one file's behavior; it does not establish protection for every path on the VPS.

If the append succeeds, stop and investigate the attribute and actual target path. Do not treat a successful chattr message alone as proof.

4. Remove protection before legitimate maintenance
Code:
sudo chattr -i /absolute/path/to/test-file.txt lsattr /absolute/path/to/test-file.txt
Confirm the i flag is absent. On the disposable file, test the append again and read its contents. Our second write succeeded after unlocking. We then restored the original harmless text and checked that the final contents matched the original and the i flag remained absent.

For a real protected configuration file, plan the maintenance process: unlock only the intended file, perform the reviewed change, verify the application and then reapply protection if it is still appropriate. Keep a record of protected paths so future updates do not fail unexpectedly.

5. Understand the aaPanel UI boundary
The Files page in our panel has a Protected column and Unprotected controls. In this Free lab, using that control opened a Pro upgrade prompt rather than a protection dialog. That observation does not establish the internal mechanism or capabilities of the Pro implementation.

Do not assume an SSH chattr change will be fully managed or accurately represented by every panel protection screen. Use lsattr and an actual disposable write test for this method. A separate Pro tutorial should test the native UI, enable/disable behavior and compatibility with application updates on a licensed test server.

Troubleshooting
  • chmod does not make the file writable: check lsattr; ordinary permission changes do not remove immutable protection.
  • File editor or deployment cannot save: confirm whether the exact target is intentionally protected, then use the planned unlock process.
  • Operation not supported: check filesystem support and virtualization restrictions rather than repeatedly changing permissions.
  • Operation not permitted when changing attributes: check your administrative privileges and relevant capabilities.
  • Application updates fail: review whether protection was applied to files that must change; avoid bulk protection of a live app.

What our lab verified
  • One disposable non-public file was created with harmless contents.
  • chattr +i succeeded and lsattr showed i.
  • A write was blocked and original contents stayed unchanged.
  • chattr -i succeeded and a subsequent write worked.
  • Original contents were restored and the file was left unlocked.

AdminsForum lab-tested SSH tutorial. The illustration is a formatted result transcript; native aaPanel Pro File Protection remains a separate test.
DEV 10-14-2026, 10:02 AM Read thread
aaPanel Getting Started Guides

Fix aaPanel Cron Jobs: Logs, Exit Codes and Script Updates

When an aaPanel cron job does not do what you expect, inspect its actual output and result. In our aaPanel 8.0.7 lab, the log footer said Successful even when a shell script exited with code 7. A success label alone is not enough to verify a job.

Tested: Ubuntu 22.04.5 and aaPanel Free 8.0.7. We used only the disposable AdminsForum cron execution lab task. We reproduced a nonzero script exit, checked the generated execution file, restored the harmless timestamp script and left the schedule disabled. Existing jobs were not changed.

1. Find the exact task and check its status
Open Cron → Task Lists. Confirm its name, Running/Stopped status, execution cycle and intended execution user. Check the server timezone and whether the schedule has become due. For a first task, follow Create and Test a Scheduled Shell Script.

A Stopped task is not supposed to run automatically. A manual Execute action is a separate test and does not prove automatic scheduling is enabled.

2. Read current output, not just the footer
Click the task's Log link and use Refresh log. Match the newest timestamp to the run you are investigating. Check stderr messages, missing files, command errors and the output you expected the script to create.

Our controlled failure script was:
Code:
printf 'AdminsForum lab: simulated failure ' >&2 exit 7
This only prints a diagnostic message and returns a nonzero status. It does not delete data or alter a service. Use it only in a disposable test job, not as a replacement for your live script.

   
The log contains simulated failure output followed by a Successful footer in the tested panel version.

The generated wrapper in this lab printed its Successful footer without checking the preceding user script's exit result. Therefore the footer cannot, by itself, establish successful application work. This finding is scoped to our installed version and shell-task wrapper; we did not assume identical behavior for every task type or release.

3. Check whether an edited script actually reached the execution file
In this lab, editing the task while it was disabled saved the new content in the panel's task record, but its existing generated execution file still contained the older timestamp script. A manual run at that point produced old output.

We inspected only this lab task's generated file to confirm the mismatch. Re-enabling the disposable task regenerated its execution file, after which the failure text appeared in the log. Do not blindly enable a destructive or broken production script just to force regeneration. Review the command first, use a safe test copy and keep a stop/rollback plan.

If an edited disabled task runs old code on your version, compare the saved content with the actual execution file or use a newly created, isolated test task containing a harmless diagnostic. Do not edit unrelated aaPanel-generated files or apply a global scheduler reset without a diagnosed reason.

4. Check the interpreter, user and paths
Scheduled execution may not load the same shell startup files as your interactive terminal. Use absolute executable paths and the right application environment. Verify that the task user can read scripts and write only the intended output directory.

For Python, use the correct virtual-environment interpreter. For PHP, use the PHP version required by that website. If a command needs a working directory, explicitly change to it and stop if that fails. Do not solve Permission denied by making the entire website tree world-writable.

5. Make success and failure visible in your own script
For a real job, emit a clear marker only after its command and result checks pass. A pattern is:
Code:
if /absolute/path/to/your-command; then     printf 'JOB_OK: command completed ' else     code=$?     printf 'JOB_FAILED: exit=%s ' "$code" >&2     exit "$code" fi
This is a template, not an executable job until you replace the command. Add a check for the actual result as well: a backup file should be readable and restorable, an API operation should have the expected response, and a generated report should contain the expected data. A process exiting zero is not a complete business-result test.

6. Correct the cause and rerun safely
Save the reviewed script. Use Execute for a controlled manual run, then inspect fresh output. In our lab we restored:
Code:
printf 'AdminsForum cron lab: '; /usr/bin/date -u '+%Y-%m-%d %H:%M:%S UTC'
Because the test task was active when the corrected content was saved, its generated execution file was updated. The next manual execution printed the expected timestamp rather than the simulated failure text.

   
The later log entry contains the recovered timestamp output. This concrete output proves our script correction took effect.

We then disabled the lab task and confirmed its status was Stopped. This recovery test checks manual execution after a script change. Automatic timestamp scheduling was verified separately in the introductory cron guide; it was not inferred from the manual run here.

Other common causes
  • No new entries: task disabled, wrong timezone, schedule not due or scheduler not running.
  • Command not found: wrong executable path or software not installed.
  • Missing environment: required variables or interpreter environment not provided to the scheduled job.
  • Old output after editing: check generated-script freshness and the log timestamp; do not assume a saved form means the next execution uses it.
  • Multiple overlapping runs: choose a realistic interval and use appropriate locking for jobs that must not overlap.
  • Disk full or unwritable output: inspect capacity and the specific directory permissions before rerunning.

For a support request
Provide panel version, task type, schedule, execution user, sanitized script and recent relevant log lines. Remove passwords, tokens, private keys and database secrets. State whether failure occurred in manual execution, automatic execution or both.

AdminsForum lab-tested troubleshooting guide. Screenshots show our own harmless test job; they document observed behavior rather than a claim that every cron task is broken.
DEV 10-14-2026, 08:07 AM Read thread
aaPanel Getting Started Guides

Create and Test a Scheduled Shell Script in aaPanel

aaPanel's Cron page lets you schedule a shell script and inspect its execution log. Start with a harmless timestamp task so you can prove both manual execution and the automatic schedule before using it for real maintenance.

Tested: aaPanel Free 8.0.7 on Ubuntu 22.04.5. We created a one-minute Shell Script task, executed it manually, observed its automatic run and then stopped the test schedule. Existing renewal, WordPress and backup tasks were left as configured.

1. Open Cron and choose the task type
Sign in to aaPanel and choose Cron in the left menu. In Add Task, choose Shell Script. Give it a clear name; our task is AdminsForum cron execution lab. A useful task name tells you what the job does when you return to the list later.

2. Choose a short test interval
Open Execute cycle, select N Minutes and set the interval to 1. In our version the summary states that execution starts at minute 0 of each hour and runs every minute. This short interval is for verification, not a recommendation to run backups every minute.

Other displayed cycle choices include Daily, N Days, Hourly, N Hours, Weekly, Monthly, N Second and Once. Read the resulting schedule summary and confirm the server's timezone before planning a real job. The lab logs use UTC; your local clock may differ.

3. Enter a harmless script
Paste this into Script content:
Code:
printf 'AdminsForum cron lab: '; /usr/bin/date -u '+%Y-%m-%d %H:%M:%S UTC'
This prints a label and UTC time. It does not delete files, change passwords, restart services or contact an external website. The explicit date path avoids relying on an interactive shell's PATH. The percent signs are part of the shell-script content in aaPanel; this is not a raw crontab line to paste elsewhere.

Our disposable lab used the form's default root execution user for this timestamp-only script. For a real application job, select an existing user with only the permissions it needs, and verify file ownership and access. Do not assume a script that works in your own terminal will work under a different user.

   
Create a clearly named Shell Script task with a one-minute test interval and harmless timestamp output.

4. Add the task and verify its row
Click Add Task. In Task Lists, find the exact name and confirm its status is Running and its execution cycle is correct. Check the intended task rather than using a batch action against every row.

A running status means the schedule is enabled. It does not prove the script has successfully completed.

5. Test manual execution first
In that task's row, click Execute. Review the confirmation and click Confirm for this harmless script. After execution, click Log. Our first entry showed:
Code:
AdminsForum cron lab: 2026-10-14 07:51:45 UTC Successful
Check that the log contains the expected output as well as a success marker. A generic success message alone does not prove a backup archive is usable or a maintenance operation achieved its goal.

6. Verify the automatic run separately
Keep the task enabled and wait for its next schedule boundary. Do not click Execute again during this check. In the log window, use Refresh log. Our next entry appeared automatically:
Code:
AdminsForum cron lab: 2026-10-14 07:52:01 UTC Successful

   
The log shows the manual execution followed by an automatic execution at the next minute boundary.

This proves the scheduler executed the timestamp script without another manual click. The panel's Last execute time column can lag behind the latest log entry, so use the refreshed log and actual task result when verifying execution.

7. Stop the lab schedule
Close the log window. Click Running in this task's Status cell. The panel asks whether to deactivate the scheduled task; confirm. The row should change to Stopped.

   
The completed test task is stopped, so its one-minute schedule no longer keeps running.

We kept the disabled task and its log for reference instead of deleting them. For a real production job, leave it enabled only when its script, frequency and required permissions have been verified. A manual Execute action is a separate action from enabling automatic scheduling.

If the task does not run
  • No log output: confirm the task is enabled and that its schedule has actually become due in the server's timezone.
  • Manual run works, scheduled run fails: compare user permissions, absolute paths and required environment variables. Scheduled jobs do not necessarily load your interactive shell configuration.
  • Permission denied: inspect the specific file and execution user; do not grant broad permissions to the whole website tree.
  • Command not found: use the correct executable path and confirm that software is installed.
  • Long-running task: allow a realistic interval and use suitable locking if overlapping runs could cause problems.
  • Success marker but wrong result: make the script check its own result and return a nonzero exit status on failure. Verify the output artifact or application behavior separately.
For an SSH-level scheduler check on this Ubuntu lab, systemctl is-active cron reported active. This is an additional diagnostic; it does not replace checking the task itself. Other operating systems can use different service names.

What we verified
  • The task was added with the intended one-minute cycle.
  • Manual execution printed the expected timestamp.
  • Automatic execution produced a later log entry without another Execute click.
  • The test schedule was stopped after verification.

AdminsForum lab-tested guide. This lesson establishes basic scheduling and log verification; website/database backup schedules and retention belong in their own tutorials.
DEV 10-14-2026, 07:55 AM Read thread
aaPanel Getting Started Guides

aaPanel CLI Overview: What Is in the bt Menu?

This is the starting point for our aaPanel CLI tutorials. Before using individual commands, see the complete bt menu and understand which jobs it can perform.

   
The full aaPanel CLI menu. Options shown here match the menu we inspected on our aaPanel Free 8.0.7 lab; labels and numbers can change between releases.

What is the aaPanel CLI?
CLI means command-line interface. aaPanel provides the bt command so an authorized server administrator can manage the panel from an SSH terminal, including when the browser dashboard cannot be reached. It is a panel maintenance tool, not a replacement for every Linux or application command.

How to open this menu
Connect to your VPS through SSH using your own authorized account. Then run:
Code:
bt
If your account requires administrator elevation, use sudo bt. The menu displays numbered actions and asks which one to run. Read the current label on your own server before entering a number. To leave without choosing a change, enter 0.

Everything shown in the menu
The list below follows the option numbers rather than the screenshot's two-column layout.
  • 0 — Cancel
  • 1 — Restart panel
  • 2 — Stop panel
  • 3 — Start panel
  • 4 — Reload panel
  • 5 — Change panel password
  • 6 — Change panel username
  • 7 — Forcibly change MySQL root password
  • 8 — Change panel port
  • 9 — Clear panel cache
  • 10 — Clear login limit
  • 11 — Turn on/off IP + User-Agent Authenticator
  • 12 — Cancel domain binding limit
  • 13 — Cancel IP access limit
  • 14 — View panel default info
  • 15 — Clear system rubbish
  • 16 — Repair panel: check for errors and update panel files
  • 17 — Toggle compression for log cutting
  • 18 — Toggle automatic panel backups
  • 22 — Display panel error log
  • 23 — Turn off BasicAuth Authenticator
  • 24 — Turn off Google Authenticator
  • 25 — Save a copy when modifying files in the panel
  • 26 — Keep/remove local backups when backing up to cloud storage
  • 27 — Turn on/off panel SSL
  • 28 — Modify panel security entrance
  • 33 — Lift the panel's “explosion-proof” login limit
The menu has number gaps. Do not guess missing options or assume a number has the same meaning in a different aaPanel version. Some labels are awkward translations; the detailed reference explains the actual installed handlers, including what option 33 changes.

Which kinds of tasks are available?
  • Panel service control: start, stop, restart and reload.
  • Account and access recovery: credentials, port, domain/IP restrictions and login limits.
  • Security settings: authentication, SSL and the private security entrance.
  • Diagnostics and maintenance: error logs, cache/session cleanup, repair and system cleanup.
  • Recovery settings: automatic panel backups, local backup retention and saved file copies.
Opening the menu is different from executing an option. Changes to passwords, security restrictions, cleanup or repair need a planned purpose and recovery route. Option 14 can print private login details; never include its output in a public tutorial image.

Start with a status check
To inspect whether the panel processes are running without selecting a menu operation:
Code:
bt status
In our lab, this reported Bt-Panel and Bt-Task running. We also opened the menu and cancelled with 0. Credential changes and security-disable options were not executed merely to make this overview.

Next lesson: detailed commands and menu options
How to Use the aaPanel bt Command: Complete Command and Menu Reference
That guide explains each service command and visible menu option, when it is useful, what it changes and how to verify the result. It also includes our tested panel restart output.

AdminsForum CLI series — begin with this menu overview, then use the detailed reference for the operation you actually need.
DEV 10-14-2026, 07:43 AM Read thread
aaPanel Getting Started Guides

How to Use the aaPanel bt Command: Status, Restart and CLI Menu

New to the bt CLI? Start here: aaPanel CLI Overview: What Is in the bt Menu?
See the full menu first, then return to this detailed command reference.

The bt command manages aaPanel from a Linux terminal. Use it over SSH to check whether the panel is running, restart its services or open the maintenance menu when the browser dashboard is unavailable.

Tested lab: aaPanel Free 8.0.7 on Ubuntu 22.04.5. We tested bt status, opened the interactive menu and exited with 0, then ran bt restart and checked the panel processes and a hosted Flask website. Menu numbers and wording may differ between versions.

1. Connect to the VPS through SSH
Use a trusted SSH client such as Windows Terminal, PowerShell or PuTTY. Connect with your authorized server account:
Code:
ssh your-user@your-server-ip
If your administration account uses sudo, run the management commands with sudo. The examples below were run from an authorized root session in our disposable lab. You do not need to publish your server password or private SSH key to follow this guide.

Make sure you have an independent recovery route, such as the provider console, before changing panel access settings. The aaPanel terminal inside the dashboard is useful when the dashboard works; it cannot replace SSH recovery when you cannot reach that dashboard.

2. Check that bt is available
Code:
command -v bt
Our result was /usr/bin/bt. If the command is missing, verify that you are on the correct VPS and that aaPanel is installed. Do not reinstall a production panel simply because a command is missing from PATH.

3. Check panel status
Code:
bt status
Our first test reported:
Code:
Bt-Panel (pid 2107) already running Bt-Task (pid 1940) already running
The process IDs are temporary and will differ on your VPS. Bt-Panel handles the panel service, while Bt-Task is its task process. A running status does not prove DNS, firewalls, certificates or your browser login work; check those separately if the page remains unavailable.

   
Formatted transcript of actual lab output. This image is a readable test transcript, not a screenshot of a live terminal.

4. Open the maintenance menu
Code:
bt
The installed panel presents numbered operations. Read the labels on your own server before selecting anything. To leave without selecting a change, enter:
Our menu displayed Cancelled! and returned to the shell.

Common service operations shown in our menu were Restart panel, Stop panel, Start panel and Reload panel. It also included options for credentials, the panel port, login limits, domain/IP restrictions, authentication, SSL and repair. Those options are not interchangeable fixes for a page that fails to load.

5. Restart the panel when appropriate
A panel restart briefly interrupts dashboard access and its task process. Save your work and use a maintenance window where appropriate:
Code:
bt restart bt status
Our restart stopped Bt-Tasks and Bt-Panel, then started both successfully. The new status reported panel PID 4161 and task PID 4195. The changed process IDs and start messages confirmed a restart occurred.

We also checked the hosted Flask application after the panel restart. It still returned HTTP 200 with the expected response. This is the result for our lab app; verify your own websites and background workloads after maintenance rather than assuming they are unaffected.

Complete service-command reference
These commands are supported by the installed /etc/init.d/bt script. Use your authorized administrator account; prepend sudo if required. A command's existence is verified from the installed script, while execution tests are listed separately below.

bt — Opens the numbered maintenance menu. Use it to see available operations for your version. Enter 0 to cancel. Read the label before choosing a number.
bt status — Reports the panel and task processes and their PIDs. Start here when the dashboard is unavailable. Running processes do not prove the URL or firewall is correct. Verify the browser separately.
bt start — Starts the panel and its task process when stopped. Afterwards run bt status and test the dashboard. It does not install aaPanel or start every hosted website service.
bt stop — Stops panel and task processes. Use only for planned maintenance; dashboard access and panel task processing will be interrupted. Keep SSH available and use bt start to bring them back.
bt restart — Stops then starts both processes. Use after a justified panel maintenance change, then check status and application availability. We tested this in the lab.
bt reload — In this installed version, reload relaunches the panel process; it is not a promise of a seamless configuration-only refresh. Expect dashboard interruption, then check status and login. Do not confuse it with an Nginx reload.
bt logs — Prints the last 100 lines of the panel error log in this version. Use it to inspect a panel startup or runtime error. It is not a continuous live stream and does not replace website/PHP logs. Redact sensitive output before sharing.
bt default — Displays saved default login information including the panel address and entrance. Its output may contain account and password details. View privately; do not publish it. Saved initial credentials may differ from later changed credentials.
bt panel NUMBER — Dispatches a numbered operation through the CLI handler. Direct bt NUMBER is also supported here. These are execution shortcuts, not harmless help commands: entering a number can immediately change settings. Prefer opening bt and reading the current menu first.

Complete numbered menu reference — aaPanel 8.0.7 lab
The following covers every option displayed in our installed menu. Credential changes, access restrictions and cleanup operations were reviewed in the handlers, not executed for this article. Numbers are version-specific.

0 — Cancel
Leaves the menu without selecting a maintenance operation. We tested this and received Cancelled!.

1 — Restart panel
Calls the full panel restart, equivalent to bt restart. Use for justified maintenance, then verify both processes and dashboard access.

2 — Stop panel
Calls bt stop. The dashboard becomes unavailable. Keep an SSH session and restart plan before using it.

3 — Start panel
Calls bt start. Use when the panel is stopped; inspect logs if it fails, and confirm status afterwards.

4 — Reload panel
Calls bt reload. In our version it relaunches the panel process. Verify the dashboard returns; do not assume zero interruption.

5 — Change panel password
Prompts for a new panel password and updates the panel account credential. It does not change the Linux SSH password. Use a planned account recovery procedure, save the new value privately and verify a fresh login.

6 — Change panel username
Prompts for a new panel login name. This changes the panel account identifier, not a Linux username. Record it privately and test the new login.

7 — Forcibly change MySQL root password
Changes the database administrator credential. It is separate from the panel login and may affect tools or integrations using that credential. Back up and inventory dependent settings before a planned change. The handler can print the entered value, so keep the terminal and any recording private.

8 — Change panel port
Prompts for a new port, changes panel configuration, attempts a local firewall adjustment and reloads the panel. It cannot guarantee the provider firewall permits that port. Permit and test the new management route before retiring the old rule; update bookmarks and check a fresh login.

9 — Clear panel cache
In this installed handler, removes panel session files and reloads the panel. It can sign users out. Use for a diagnosed session/cache issue, then verify a new login; it is not a website CDN-cache purge.

10 — Clear login limit
Labelled login-limit recovery; in this installed version its handler calls panel reload. Do not assume it removes every account or IP block. Verify a legitimate fresh login and inspect the actual remaining restriction if it fails.

11 — Toggle IP + User-Agent Authenticator
Toggles the panel's IP/User-Agent session check. Disabling it changes session protection and can increase replay risk. Use only as a deliberate security decision for a diagnosed problem; check the printed resulting state and confirm the intended protection remains enabled.

12 — Cancel domain binding limit
Removes the panel's configured domain-only access restriction and reloads it. It does not alter DNS or a website domain. This widens allowed panel hostnames; review the intended management hostname and restore suitable access policy after recovery.

13 — Cancel IP access limit
Removes the configured panel IP access restriction and reloads it. It does not fix a provider firewall. Removing a restriction widens management access, so use an authorized recovery plan and verify the desired IP policy afterwards.

14 — View panel default info
Calls bt default. View privately because the address, entrance and saved credentials may be printed. It is not a password reset.

15 — Clear system rubbish
Runs cleanup helpers for mail-related data/logs, sessions and other selected files. It performs deletion; it is not just a disk-usage report. Review the cleanup scope for your version and preserve needed files first. Check reclaimed space and service behavior afterwards.

16 — Repair panel
Runs an official panel update/repair script, selecting Free or Pro according to the installed configuration. It can update panel files and dependencies. Back up before use, review the operation, and afterwards check version, logs, login and hosted services. It is not a read-only health check.

17 — Toggle log-cutting compression
Changes whether applicable rotated logs are gzip-compressed. It does not itself prove log retention is configured correctly. Inspect the resulting state and later rotated files; account for disk-space and log-reader needs.

18 — Toggle automatic panel backups
Enables or disables the panel's automatic panel-backup setting. A panel backup is not automatically a full website/database/VPS backup. Verify the resulting state and actual backup files and restore coverage; turning it off reduces recovery protection.

22 — Display panel error log
Prints the last 100 lines of /www/server/panel/logs/error.log. It corresponds to the current bt logs behavior. Check relevant timestamps and redact private values before posting.

23 — Turn off BasicAuth Authenticator
Removes the panel's BasicAuth configuration and reloads it. This disables an additional access layer; use only for an authorized recovery need, then verify and restore the intended protection.

24 — Turn off Google Authenticator
Removes the panel's Google Authenticator/2FA configuration. This weakens login protection. Use a separate authorized 2FA recovery process, then re-enrol and verify 2FA as appropriate; it does not reset your password.

25 — Toggle saved copies of panel file edits
Enables or disables file history/copies when files are modified through the panel. Check the resulting state and verify history on a disposable file. This convenience feature is not a substitute for off-site backups.

26 — Keep/remove local backups when uploading to cloud storage
Toggles retention of local backup files in supported cloud-backup workflows. Keeping copies consumes disk; removing them reduces local recovery copies. Verify cloud upload success, retention and a restore before relying on the setting.

27 — Toggle panel SSL
Changes the panel's HTTP/HTTPS mode and reloads it. Enabling uses existing panel certificate files or may generate a certificate when missing; it does not by itself guarantee a trusted certificate for your hostname. Disabling removes transport encryption. Verify the exact management URL and certificate normally; follow the dedicated SSL guide for trusted HTTPS.

28 — Modify panel security entrance
Prompts for a new entrance path, validates it, saves it and restarts the panel. The management URL changes. Keep the new path private, update your bookmark and test a fresh login while retaining SSH recovery.

33 — Lift the panel “explosion-proof” limit
The label refers to login/brute-force limiting. In our handler it disables the username-based limiter and removes a login-limit marker; it does not prove all IP/global protections are disabled or cleared. Use only for a diagnosed authorized lockout, review the resulting limiter configuration and restore appropriate protection afterwards.

Number gaps and hidden handlers
Our displayed menu skips 19–21 and 29–32. Do not invent meanings for missing numbers. The installed source also contains a non-displayed option 19 that invokes a Pro update script; it is not part of this visible menu or a shortcut we tested. Other install/update text dispatch paths exist in the source and are outside this beginner service/menu reference.

Verification after any change
Read the command result, run bt status where relevant, test a fresh panel login through the intended trusted URL and check affected services. A success message alone does not establish firewall, certificate or application correctness.

Other available service commands
The installed script supports:
Code:
bt start bt stop bt reload bt logs
We inspected these command branches in the installed script; we did not execute every branch in this lesson. Stop deliberately takes the panel service down. Reload is distinct from a full stop/start restart. Logs can help diagnose a panel error, but their contents may contain private data. Review and redact them before sharing.

6. Handle default login information privately
The official aaPanel documentation describes:
Code:
bt default
This can display the management address, security entrance, account name and saved initial password. Treat its entire output as private. Do not include it in a tutorial screenshot, support post or copied terminal transcript. We did not publish or capture this command's sensitive output for this guide.

A displayed initial password is not proof that it is still your current password if credentials were changed later. Keep your actual credentials in your password manager. Do not reset them just to compare them with an old saved value.

7. Avoid changing security controls blindly
  • Changing the panel port can lock you out if the new port is not permitted through both server and provider firewalls.
  • Password and username changes affect login access. Follow a separate planned recovery procedure and keep the new values private.
  • Cancelling domain/IP restrictions or turning off authentication changes protection of the management interface. Diagnose the actual cause before considering such a change.
  • Turning off SSL does not fix a certificate correctly; configure a trusted certificate for the intended panel hostname.
  • Repair can update panel files. It is not just a read-only diagnostic, so preserve backups and review the operation before using it.
  • Forcibly changing the MySQL root password is a database credential change, not a normal panel restart step.

If the browser panel still does not load
Check that you are using the correct hostname or IP, the configured panel port and its private security entrance. Verify DNS, listener status, firewall access and certificate validity. See Access aaPanel Through a Domain Name for the domain-based URL format.

A panel that reports running but cannot be reached needs connectivity diagnosis; repeatedly restarting it will not correct a wrong domain or blocked port.

What this guide verified
  • bt executable present on the lab.
  • Status showed both panel processes running.
  • Interactive menu opened and exited using 0.
  • Panel restart completed and both processes returned.
  • Hosted Flask website returned HTTP 200 after the restart.

Reference: aaPanel official Quick Start.
Tested and illustrated by AdminsForum. All private login information was excluded from the published image.
DEV 10-14-2026, 07:30 AM Read thread