Commit Graph

5466 Commits

Author SHA1 Message Date
Master3395
76e6b82a65 Merge pull request #1693 from master3395/v2.5.5-dev
docs: MariaDB 11.8 default in README; finish banner: versions + align…
2026-02-15 01:46:31 +01:00
master3395
1fb5b4c74b docs: MariaDB 11.8 default in README; finish banner: versions + aligned boxes 2026-02-15 01:44:14 +01:00
Master3395
4a0cf40ca5 Merge pull request #1692 from master3395/v2.5.5-dev
fix: AlmaLinux 9 repo baseurl, EPEL fallback, and grep -O in WSGI Mak…
2026-02-15 01:37:48 +01:00
master3395
7a2b1698a3 fix: AlmaLinux 9 repo baseurl, EPEL fallback, and grep -O in WSGI Makefile 2026-02-15 01:36:55 +01:00
Master3395
b2d5d975bc Merge pull request #1691 from master3395/v2.5.5-dev
AlmaLinux 9: fix 'Cannot find valid baseurl for repo: appstream'
2026-02-15 01:27:32 +01:00
master3395
2b5e153b37 AlmaLinux 9: fix 'Cannot find valid baseurl for repo: appstream'
- Broader sed for baseurl uncomment (# baseurl= and #baseurl=)
- Fallback: inject explicit baseurl for appstream/baseos sections
- Uses repo.almalinux.org to avoid mirror timeouts
2026-02-15 01:26:14 +01:00
Master3395
2b61c51b3d Merge pull request #1690 from master3395/v2.5.5-dev
README: use usmannasir repo URLs instead of master3395
2026-02-15 01:20:33 +01:00
master3395
98a32bd6b9 README: use usmannasir repo URLs instead of master3395 2026-02-15 01:19:33 +01:00
Master3395
4eb3c36896 Merge pull request #1689 from master3395/v2.5.5-dev
V2.5.5 dev
2026-02-15 01:17:44 +01:00
master3395
3cb149ba4f Version management: fix upgrade polling, branch dropdown, log visibility
- Fix ReferenceError: use $timeout instead of timeout, store timer for cancel
- Add v2.5.5-dev to Select Branch dropdown (remove dev filter)
- Limit branch list to latest 10 by version
- Fix Upgrade Progress Log text visibility (light text on dark bg)
2026-02-15 01:16:01 +01:00
master3395
a32636c99e Version management: dev branch uses v2.5.5-dev, show 'not up to date' when behind
- On dev (2.5.5 dev): show Latest Version 2.5.5, Latest Build dev
- Compare Current Commit vs usmannasir v2.5.5-dev latest (e75ca45...)
- Show yellow banner when behind; fork users compare to upstream dev
- Stable branch unchanged (cyberpanel.net)
2026-02-15 01:01:09 +01:00
Master3395
e75ca45bc1 Merge pull request #1688 from master3395/v2.5.5-dev
Version management: fork-aware logic, show Current/Latest commit for …
2026-02-15 00:54:29 +01:00
master3395
0a82d91956 Version management: fork-aware logic, show Current/Latest commit for forks
- Treat v2.5.5-dev as up to date; suppress upgrade banner for forks
- Always fetch and display Current Commit (local HEAD)
- For forks: fetch Latest Commit from fork's GitHub API
- Add _version_compare helper; wrap cyberpanel.net fetch in try/except
2026-02-15 00:53:32 +01:00
Master3395
64f134d4c1 Merge pull request #1687 from master3395/v2.5.5-dev
V2.5.5 dev
2026-02-15 00:39:34 +01:00
master3395
bd16cb60d8 README: update date to January 15, 2026 2026-02-15 00:36:24 +01:00
master3395
50055f7c48 README: add v2.5.5-dev upgrade commands; preUpgrade pass -b; add --mariadb flag
- README: Upgrade to v2.5.5-dev section with non-interactive commands
- preUpgrade.sh: pass -b branch to cyberpanel_upgrade.sh (fixes branch not used)
- cyberpanel_upgrade.sh: add --mariadb for MariaDB 10.11 non-interactive
2026-02-15 00:34:49 +01:00
Master3395
a56060dfa1 Merge pull request #1686 from master3395/v2.5.5-dev
Version Management: always show v2.5.5-dev as up to date; upgrade fixes
2026-02-15 00:29:33 +01:00
master3395
1ff66216a6 Version Management: always show v2.5.5-dev as up to date; upgrade fixes
- versionManagment: explicitly treat 2.5.5 dev as up to date (before version compare)
- Add try/except for cyberpanel.net/version.txt fetch
- Add /base/versionManagement URL alias for versionManagment
- cyberpanel_upgrade: ols_binaries_config download, AlmaLinux mirror fix, SERVER_IP display
2026-02-15 00:27:45 +01:00
Master3395
01a6a06313 Merge pull request #1685 from master3395/v2.5.5-dev
V2.5.5 dev
2026-02-15 00:04:13 +01:00
master3395
99f51a813b Remove to-do folder from repository 2026-02-15 00:03:28 +01:00
master3395
a4385d55c2 Add panelAccess plugin, pureftpd quota fix, and to-do docs
- panelAccess: plugin for panel access settings and OLS proxy
- fix-pureftpd-quota-once.sh: one-time quota fix script
- to-do: firewall banned IPs, panel access store, reverse proxy CSRF docs
2026-02-15 00:02:40 +01:00
master3395
0ca62a81c1 versionManagement: use usmannasir only, allow local installs, up-to-date if version higher
- versionManagment/versionManagement: detect git origin, compare only against usmannasir
- Local/fork installs: show up to date (no update nag)
- If current version > cyberpanel.net latest: show up to date
- cyberpanel_upgrade.sh: python3 -m venv for AlmaLinux 9/10, pip upgrade

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 23:47:37 +01:00
Master3395
05ae9fe415 Merge pull request #1684 from master3395/v2.5.5-dev
V2.5.5 dev
2026-02-14 23:08:15 +01:00
master3395
4177f0023b Misc: firewall, pluginHolder, mobile CSS, install utilities, static assets
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 23:02:47 +01:00
master3395
4ec55c6445 Remove simple_install.sh; use official install.sh one-liner instead
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:57:39 +01:00
master3395
8b4c8d152c README: Add links to Remi and Ondrej third-party PHP repositories
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:51:34 +01:00
master3395
9200d2950f README: Update PHP support (8.5 stable, 8.4 recommended; 8.3/8.2/8.1 security-only)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:50:20 +01:00
master3395
bde534427a README: Sort supported platforms table alphabetically
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:43:01 +01:00
master3395
70163e3a50 AlmaLinux 8/9/10 and Ubuntu 22/24 full support
- cyberpanel.sh: Add Ubuntu 24.04 detection, update supported-OS message
- simple_install.sh: Add Ubuntu 24.04, AlmaLinux 10; use dnf for Alma 8
- cyberpanel_utility.sh: Add Ubuntu 24.04 to OS detection and supported list
- CPScripts/mailscanner*.sh: Add Ubuntu 24.04, AlmaLinux 9/10 to supported list
- serverStatus/views.py: Prefer dnf.conf for package locks on dnf-based systems
- README.md: Recommend AlmaLinux; add aarch64 note
- Remove .DS_Store from repo

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:39:04 +01:00
Master3395
9dc93adf5a Merge pull request #1683 from master3395/v2.5.5-dev
Fix phpMyAdmin logout: proper SignonSession destruction (issue #1680)
2026-02-14 22:23:25 +01:00
master3395
a5b5f87d27 Fix phpMyAdmin logout: proper SignonSession destruction (issue #1680)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:20:40 +01:00
Master3395
e3945705f0 Merge pull request #1681 from master3395/v2.5.5-dev
V2.5.5 dev
2026-02-14 22:13:49 +01:00
master3395
fc6639e211 Merge v2.4.4 updates: OLS v2.4.4 binaries, module config, Auto-SSL injection, OLS test suite
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-14 22:12:27 +01:00
master3395
e73695c0a5 Patch installer to use system Python when archive is old; add AWS/cloud port 8090/7080 hints 2026-02-05 00:32:26 +01:00
master3395
00dedf49d1 Install logs: show paths at start and on completion; dns-one path fix; shell/composer fixes; doc install log locations 2026-02-04 23:58:43 +01:00
master3395
0ebe9aed81 Clear temp install folder on run; harden Python path in install_utils; cache-bust archive download 2026-02-04 23:38:15 +01:00
master3395
433b21ebdb MariaDB: only add dnf exclude when installed version matches chosen; allow upgrade to 11.8 2026-02-04 23:23:32 +01:00
master3395
2388d68f9f Install/upgrade fixes: stdin for pipe, branch archive, Python/composer paths, MariaDB version, web server order; FTP quota and docs 2026-02-04 23:19:22 +01:00
master3395
7cab70dbaf Resolve /usr/local/CyberPanel/bin/python on install, upgrade, downgrade
Install:
- install.py: in preFlightsChecks.call(), replace missing CyberPanel python
  with /usr/bin/python3 and force shell=True so any code path (including
  old/cached script) never hits FileNotFoundError.

Upgrade:
- cyberpanel_upgrade.sh: resolve CP_PYTHON (CyberPanel, CyberCP, python3)
  before running upgrade.py and configure.py; use it for both.
- plogical/upgrade.py: add _python_for_manage(), use it in GeneralMigrations,
  collectstatic, and upgradePip so migrations/collectstatic work when
  /usr/local/CyberPanel/bin/python is missing.
2026-02-04 22:46:48 +01:00
master3395
9efecec03b Fix FileNotFoundError for /usr/local/CyberPanel/bin/python on fresh install
- install.py: only use system Python or /usr/local/CyberCP/bin/python for migrations;
  never add /usr/local/CyberPanel paths to candidate list (often missing on fresh install)
- install_utils.py: if command uses /usr/local/CyberPanel/bin/python and it does not
  exist, substitute /usr/bin/python3 and force shell=True so old/cached install.py
  also works without failing
2026-02-04 22:26:42 +01:00
master3395
fa320c37f4 Install: non-interactive SSH keygen + robust Python for migrations
- install_default_keys: use shell rm -f and ssh-keygen with stdin=y for no prompt
- Migrations: try system Python (/usr/bin/python3) first, then venv paths
- Use absolute path /usr/local/CyberCP/manage.py for makemigrations/migrate/collectstatic
- Avoid FileNotFoundError for missing /usr/local/CyberPanel/bin/python on fresh install
2026-02-04 22:13:06 +01:00
master3395
e332434802 Fix dev branch detection: use curl -L so GitHub archive 302 redirect is followed and v2.5.5-dev is recognized as available 2026-02-04 22:05:16 +01:00
master3395
97d12d60f6 Fix interactive menu when script is piped (curl | bash): redirect stdin from /dev/tty so Force Reinstall and other prompts read from terminal 2026-02-04 21:54:23 +01:00
master3395
db484ce0d0 Fix makemigrations FileNotFoundError: skip broken venv symlinks when choosing Python
- Resolve symlinks and require executable file before using a path
- Skip paths that are broken symlinks or not executable (e.g. /usr/local/CyberPanel -> CyberCP when venv missing)
- Catch FileNotFoundError/OSError from subprocess when testing --version
- Ensures system python3 is used when venv paths are invalid
2026-02-04 21:47:38 +01:00
master3395
1a83f4df38 Clear MariaDB-server from dnf exclude before install; dev branch archive URL
- cyberpanel.sh: clear MariaDB-server* from dnf.conf/yum.conf before running installer so MariaDB-server can be installed (fixes exclude filtering on retry/partial install)
- cyberpanel.sh: try refs/heads/v2.5.5-dev.tar.gz for branch archive; remove installer MariaDB patch; softer chmod message
- install.py: sed fallback to strip MariaDB-server from dnf exclude if Python logic fails
2026-02-04 21:42:40 +01:00
master3395
c0b1044f45 Install fixes: venv creation, composer.sh download, SSH key non-interactive, ensure 8090/7080 accessible
- install.py: create venv at /usr/local/CyberCP if missing; add system python3 fallback for migrations; download composer.sh before chmod; remove existing SSH keys before ssh-keygen
- installCyberPanel.py: remove MariaDB-server from dnf exclude before install
- cyberpanel.sh: ensure ports 8090 and 7080 listening after install; final status shows port accessibility
- backupUtilities.py: remove existing cyberpanel keys before ssh-keygen to avoid Overwrite prompt
2026-02-04 21:33:26 +01:00
master3395
59894fc165 Add MariaDB 10.11 option; fix install/upgrade robustness
- install.py: allow --mariadb-version 10.11 (with 11.8, 12.1); use --nobest for 10.11/11.8 on RHEL; accept existing 10.x
- cyberpanel.sh: prompt and --mariadb-version accept 10.11; only pass --mariadb-version if install.py supports it; fix MySQLdb check (no __version__)
- cyberpanel_upgrade.sh: accept 10.11 in --mariadb-version and prompt; Check_Root allow uid 0 when SUDO set; Branch_Check avoid double v (vv2.5.5-dev); early root check
2026-02-04 21:15:10 +01:00
master3395
d2ab069c34 Install: MariaDB prompt first, non-interactive SSH key, AlmaLinux 9 MariaDB 11.8
- cyberpanel.sh: ask MariaDB version (11.8/12.1) first even in --auto; add --mariadb-version
- install/install.py: remove existing SSH key before ssh-keygen to avoid Overwrite (y/n) prompt
- install/installCyberPanel.py: use MariaDB 11.8 and --nobest for AlmaLinux 9 / cent8 to fix client dependency
2026-02-04 20:31:28 +01:00
Master3395
191fa6e90d Merge pull request #1673 from master3395/v2.5.5-dev
V2.5.5 dev
2026-02-04 19:27:30 +01:00
master3395
1f9e7c8336 Add missing install files from stable for v2.5.5-dev install
- install/installCyberPanel.py: required by venvsetup.sh sed commands
- install/env_generator.py: parity with stable/v2.4.4

No other merges; install paths that run venvsetup.sh will no longer fail.
2026-02-04 18:59:38 +01:00