GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — v3.6.0: website backups, per-site bandwidth, disk usage analyzer, dar… · BrowserlessAPI/VortexPanel@ded6397

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • README.md
  • RELEASE_NOTES_v3.6.0.md
  • VERSION
  • app.py
  • panel
    • bwstats.py
    • import_extras.py
    • routes
      • backups.py
      • bandwidth.py
      • cron.py
      • diskusage.py
      • import_website.py
      • mail.py
      • modules.py
      • onboarding.py
      • websites_core.py
      • websites_ssl.py
      • wp_toolkit.py
    • sitebackup.py
    • tasks.py
  • web
    • static
      • css
        • theme.css
      • icons
        • mailserver.svg
      • js
        • app.js
    • templates
      • index.html
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+33-24Lines changed: 33 additions & 24 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@ Deploy compiled Go binaries and Node.js apps with the same one-click simplicity
6666
- Both: reverse proxy on all 4 webservers with **WebSocket support**, Let's Encrypt SSL per domain, firewall integration, all 9 supported distros
6767

6868
### 📥 Website Import Wizard
69-
Migrate a site off cPanel, aaPanel, or HestiaCP by uploading its backup archive — no SSH pull required:
69+
Migrate a site off cPanel, aaPanel, HestiaCP or CyberPanel by uploading its backup archive — no SSH pull required:
7070
- **Detect → confirm → import** flow — every auto-detected field (domain, PHP version, document root, database) is editable before anything executes
7171
- Imported sites use the exact same code path as "New Website", so they're indistinguishable from natively-created ones
7272
- Fresh random database password generated on import (originals are never in a backup dump)
73-
- Files + database in this release; email/cron/SSL migration not yet included
73+
- **Files, databases, SSL certificate, cron jobs and mailboxes** — the certificate is installed only when its key matches and it has not expired, cron jobs run as the web user with old account paths pointed at the new site, and mailboxes keep their passwords where the backup has the hash
74+
- HestiaCP `.tar.zst` backups are supported when `zstd` is installed
7475

7576
### 🔷 WP Toolkit
7677
Full WordPress lifecycle management — install, manage, secure, stage, back up — no separate plugin or paid add-on:
@@ -127,7 +128,11 @@ Full WordPress lifecycle management — install, manage, secure, stage, back up
127128
- **Monitoring & Dashboard** — realtime CPU/RAM/Network charts, process list, bandwidth, **login audit log viewer**
128129
- **File Manager** — code editor, chmod, AES-encrypted zip support, ClamAV scan
129130
- **Web Terminal** — full PTY shell in browser over WebSocket
130-
- **Backups** — website + database, restore, S3-compatible cloud backup
131+
- **Website Backups** — each site's files and databases in one archive, one-click restore, per-site schedules (every few hours / daily / weekly / monthly) with retention, automatic upload to S3-compatible cloud storage
132+
- **Bandwidth** — per-website traffic history (24 hours / 7 / 30 days / 12 months) from the access logs, plus live interface traffic
133+
- **Disk Usage analyzer** — scan a disk, drill into folders, see the largest files, open them in the File Manager or delete them (system and database folders are protected)
134+
- **Dark mode** (Light / Dark / follow the system) and a **mobile layout** with a slide-in menu
135+
- **Setup guide** — first-run wizard for the web stack, security basics and the first website
131136
- **Cron Jobs** — visual scheduler, 10 task types, run-now, logs
132137
- **AI Assistant** — configurable OpenAI-compatible API (NeonCodex, OpenAI, etc.)
133138

@@ -146,7 +151,7 @@ Access the panel at: **`http://YOUR-SERVER-IP:8888`**
146151

147152
The installer auto-detects your OS and package manager. On RHEL 8-family systems (AlmaLinux 8 / Rocky 8, where default Python is 3.6) it automatically installs Python 3.11.
148153

149-
**First things to do after install:** change the default password, enable 2FA, and enable Panel SSL — all from Settings.
154+
**First things to do after install:** the setup guide opens on first login (web stack, firewall, fail2ban, first website). Then enable 2FA and Panel SSL from Settings.
150155

151156
---
152157

@@ -214,26 +219,30 @@ python3 app.py # runs on :8888
214219
- [x] arm64 fixes — MongoDB and PostgreSQL RHEL install paths
215220
- [x] Modal/layout system overhaul — centering, horizontal scrollbar, cross-component scoping bugs
216221

217-
**v3.4.5 (current) — reliability & security hardening:**
218-
- [x] Mail, DNS, Cron, Fail2ban — full functional test pass against real running services (not just code review); found and fixed 4 confirmed bugs: disabled cron jobs silently vanishing from the job list instead of showing as disabled, mail account maildirs created with the wrong directory structure (silently broke every new mailbox), DNS zones written to disk but never actually declared to BIND9 (zones were completely unservable), Fail2ban website-jails monitoring the wrong log source entirely due to an unset backend
219-
- [x] ModSecurity WAF, UFW Firewall, Docker deploy — same full test pass, all verified working correctly against real services, no bugs found
220-
- [x] WP Toolkit — install-status checks now honest at every layer (was silently reporting Nginx/MySQL as installed when they weren't, both in the UI and in the install logic itself)
221-
- [x] Fixed 3 pages (WP Toolkit, Databases, Node.js Projects) where navigating in didn't refresh data, due to a broken event listener repeated across all three
222-
- [x] Security settings modals — fixed floating-popup positioning
223-
- [x] Dashboard charts — root-caused two separate issues: an external CDN dependency that silently failed to load, and an Alpine.js reactivity/Chart.js conflict causing an infinite-recursion crash
224-
- [x] All frontend JS/CSS dependencies now self-hosted (Alpine.js upgraded 3.14 → 3.15, plus Chart.js, xterm, CodeMirror) instead of loading from third-party CDNs
225-
- [x] Tightened Content-Security-Policy — fixed Terminal and code-editor styling that had been silently broken by a CSP/CDN mismatch
226-
227-
**v3.5 (next):**
228-
- [ ] Bandwidth Monitor — per-domain traffic graphs (daily/weekly/monthly)
229-
- [ ] Website-level Backup — files + database together in one click per domain
230-
- [ ] Dark mode — toggle with full dark variable set
231-
- [ ] Onboarding wizard — guided first-run flow
232-
- [ ] Mobile responsiveness — sidebar + layout for small screens
233-
- [ ] PHP Webshell Scanner — scan web roots for obfuscated shells
234-
- [ ] Disk usage analyzer — visual tree, delete from panel
235-
- [ ] Alerting — CPU/RAM/SSL-expiry notifications (email/webhook)
236-
- [ ] Website Import — email, cron, and SSL migration (currently files + database only)
222+
**v3.4.5 — reliability & security hardening:** full functional test pass of Mail, DNS, Cron, Fail2ban, ModSecurity, UFW and Docker; honest WP Toolkit install checks; self-hosted frontend dependencies; tighter Content-Security-Policy.
223+
224+
**v3.5.x — shipped:**
225+
- [x] App Store install/uninstall reliability (package-lock waiting, visible errors, no stuck job windows)
226+
- [x] Websites on every web server (Nginx, Apache, OpenLiteSpeed, Caddy), WAF 2.0 screen, multi-distro and SELinux support
227+
- [x] Full audit of every route, page and App Store app (v3.5.3)
228+
- [x] PHP Webshell Scanner
229+
230+
**v3.6.0 (current):**
231+
- [x] Bandwidth Monitor — per-domain traffic graphs (24 h / 7 d / 30 d / 12 months)
232+
- [x] Website-level Backup — files + database together in one click per domain
233+
- [x] Scheduled per-site backups with retention and upload to cloud storage
234+
- [x] Dark mode — Light / Dark / System toggle with a full dark variable set
235+
- [x] Onboarding wizard — guided first-run flow
236+
- [x] Mobile responsiveness — slide-in sidebar and layouts for small screens
237+
- [x] Disk usage analyzer — drill-down, largest files, delete from the panel
238+
- [x] Website Import — SSL, cron and email migration
239+
- [x] Mail Server in the App Store, with a setup screen
240+
241+
**Next:**
242+
- [ ] Alerting — CPU/RAM/disk/SSL-expiry/service-down notifications (email, Telegram, webhook)
243+
- [ ] Coraza WAF installer for Caddy
244+
- [ ] Multi-user accounts with roles
245+
- [ ] Documented API keys for automation
237246

238247
---
239248

Collapse file

‎RELEASE_NOTES_v3.6.0.md‎

Copy file name to clipboard
+111Lines changed: 111 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
# VortexPanel v3.6.0
2+
3+
A feature release. It completes the v3.5 roadmap: per-website backups with
4+
schedules and cloud upload, per-website traffic history, a disk usage
5+
analyzer, dark mode, a mobile layout, a first-run setup guide, and SSL, cron
6+
and email migration in Website Import. Everything was tested on a real
7+
Ubuntu 24.04 system with systemd. The 512 end-to-end tests from v3.5.3 still
8+
pass, and every page was checked in light mode, dark mode and at phone width.
9+
10+
## Website backups (files + databases, schedules, cloud)
11+
- **One-click website backup:** a site's folder and its databases go into
12+
one archive. Databases are found automatically from `wp-config.php` or
13+
`.env`, or by the name the panel gives a new site's database. You can
14+
also pick them by hand.
15+
- **One-click restore:** files and databases go back where they came from.
16+
You can restore only the files or only the databases, or put the files in
17+
another folder. The old files stay in place until the restored ones are
18+
ready, so a failed restore changes nothing.
19+
- **Schedules per website:** every 1-12 hours, daily, weekly or monthly.
20+
You choose how many copies to keep on the server and in cloud storage,
21+
and which folders to leave out (for example `wp-content/cache`).
22+
- **Cloud upload:** each scheduled backup can be sent to the S3-compatible
23+
storage set up under Backups > Cloud Storage (AWS, Backblaze B2, Wasabi,
24+
DigitalOcean Spaces, MinIO and others). Old copies are removed there too.
25+
- **Backups page:** a new **Website Backups** tab shows each site's
26+
databases, schedule, next run and the result of the last backup. The
27+
Website Backup card now includes the database.
28+
- **Scheduler:** a systemd timer (`vortexpanel-backups.timer`) checks every
29+
5 minutes. A missed run (server off) runs once when the server is back.
30+
Results are logged to `/var/log/vortexpanel/site-backups.log`.
31+
32+
## Bandwidth: traffic per website
33+
- **New Website Traffic chart:** data sent and requests per website, over
34+
24 hours, 7 days, 30 days or 12 months.
35+
- **Top websites list and table:** each site's share of the traffic and a
36+
14-day trend line.
37+
- **Data source:** each site's access log (Nginx, Apache, OpenLiteSpeed
38+
and Caddy), read every 5 minutes by `vortexpanel-bandwidth.timer`.
39+
Traffic is counted in the hour it happened, rotated and truncated logs
40+
are handled, and nothing is counted twice.
41+
42+
## Disk Usage (new page)
43+
- **Disk overview:** every disk with its used and free space, plus a
44+
warning when inodes run low.
45+
- **Scan:** see which folders use the space, drill down through them, and
46+
list the largest files.
47+
- **Actions:** open any item in the File Manager, or delete it. Folders of
48+
the operating system, package databases, database servers, Docker and
49+
the panel itself cannot be deleted from here.
50+
51+
## Dark mode and mobile layout
52+
- **Theme switch:** Light, Dark or System in the top bar. The choice is
53+
remembered per browser and applied before the page appears, so there is
54+
no white flash. Charts change colour with the theme.
55+
- **Mobile layout:**
56+
- Below tablet width the sidebar becomes a slide-in menu.
57+
- Tables scroll sideways inside their card.
58+
- Forms and grids collapse to one column.
59+
- Dialogs open as full-width sheets.
60+
- Inputs no longer make iOS zoom in.
61+
62+
## Setup guide (first run)
63+
- **When it opens:** on the first login to a server with no websites. It
64+
can be skipped, and reopened later from Settings > Panel Settings >
65+
Setup guide.
66+
- **Steps:**
67+
- Install a web server, database, PHP versions and extras, with live
68+
progress.
69+
- Turn on the firewall and fail2ban, change the panel password and set
70+
up 2FA.
71+
- Create the first website, with an optional database.
72+
73+
## Website Import: SSL, cron and email
74+
- **SSL certificate:** a certificate in the backup whose names cover the
75+
domain and whose private key matches is shown in the preview and
76+
installed. Expired certificates are not installed.
77+
- **Cron jobs:** cPanel crontabs and HestiaCP/Vesta `cron.conf` entries
78+
are listed and can be edited before import. Paths of the old account
79+
(`/home/<user>/public_html` and similar) are pointed at the new site
80+
folder. Jobs run as the web server user, not root.
81+
- **Mailboxes:** Maildir mailboxes are imported with all their folders.
82+
Users keep their passwords when the backup has the password hash (cPanel
83+
`shadow`, HestiaCP/Vesta account files). Otherwise a new password is set
84+
and shown once.
85+
- **HestiaCP `.tar.zst` backups** can now be imported when `zstd` is
86+
installed.
87+
88+
## Mail Server
89+
- **App Store:** a new **Mail Server** app installs Postfix and Dovecot.
90+
- **Mail Server page:** a **Set up mail server** card finishes the
91+
configuration.
92+
- **Fixed:** on kernels with IPv6 disabled, Dovecot did not start ("Address
93+
family not supported by protocol"), so mail setup always rolled back.
94+
95+
## Other fixes and changes
96+
- **Fixed:** "Static (no PHP)" in Add Site still gave the site a PHP
97+
handler. Static sites are now really static on Nginx, Apache and Caddy,
98+
and can be switched to a PHP version later from the PHP tab.
99+
- **Faster sign-in:** pages no longer send about 50 requests before you
100+
sign in. Those requests all failed with "Unauthorized", and some showed
101+
error toasts on the login screen.
102+
- **Login page:** shows the real panel version (it said v3.4).
103+
- **Phones:** stat cards show two per row instead of one.
104+
105+
## Upgrading
106+
Run `python3 /root/vortex_upgrade_3.6.0.py` on the development server. It
107+
updates /root/Vortexpanel, deploys to the running panel with a health check
108+
and automatic rollback, then asks before it commits, pushes and tags v3.6.0.
109+
The two background timers are installed automatically when the panel starts.
110+
If commit signing is set up for git on the server, the commit and the tag
111+
are signed.
Collapse file

‎VERSION‎

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.5.3
1+
3.6.0
Collapse file

‎app.py‎

Copy file name to clipboardExpand all lines: app.py
+25-1Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
from panel.routes.nodejs_projects import nodejs_bp
6060
from panel.routes.go_projects import go_bp
6161
from panel.routes.import_website import import_bp
62+
from panel.routes.onboarding import onboarding_bp
63+
from panel.routes.diskusage import disk_bp
6264

6365
# -- Secret key: auto-generate and persist on first run -----------------------
6466
_SECRET_KEY_FILE = '/opt/vortexpanel/secret.key'
@@ -193,10 +195,32 @@ def create_app():
193195
dns_bp, mail_bp, ftp_bp, cron_bp, docker_bp, monitoring_bp,
194196
settings_bp, modules_bp, main_bp, security_bp, bandwidth_bp,
195197
caddy_bp, cdn_bp, update_bp, ai_bp, ddns_bp, cloud_backup_bp,
196-
logs_bp, wp_bp, nodejs_bp, go_bp, import_bp, livepatch_bp]:
198+
logs_bp, wp_bp, nodejs_bp, go_bp, import_bp, livepatch_bp,
199+
onboarding_bp, disk_bp]:
197200
app.register_blueprint(bp)
198201
terminal_sock.init_app(app)
199202

203+
# -- Background task timers (traffic history, scheduled site backups) ----
204+
# Installed/enabled once per start, off the request path. The systemd
205+
# timers run `python3 -m panel.tasks ...`, so no gunicorn worker owns a
206+
# schedule (there are several worker processes).
207+
def _ensure_task_timers():
208+
import fcntl
209+
try:
210+
os.makedirs('/opt/vortexpanel/data', exist_ok=True)
211+
with open('/opt/vortexpanel/data/.timers.lock', 'w') as lf:
212+
fcntl.flock(lf, fcntl.LOCK_EX | fcntl.LOCK_NB)
213+
from panel.tasks import install_timers
214+
for p in install_timers():
215+
print('[VortexPanel] task timers:', p)
216+
except OSError:
217+
pass # another worker is doing it
218+
except Exception as e:
219+
print('[VortexPanel] task timers not installed:', e)
220+
if os.geteuid() == 0 and not app.config.get('TESTING'):
221+
import threading as _th
222+
_th.Thread(target=_ensure_task_timers, daemon=True).start()
223+
200224
# -- IP allowlist enforcement on EVERY API request ------------------------
201225
# The allowlist in auth.py is also checked at login, but checking every
202226
# API call prevents use of a stolen session cookie from an unlisted IP.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.