Commit Graph

12 Commits

Author SHA1 Message Date
master3395
da4c1d9601 Fix compat removal, shell metachars in call(), upgrade AlmaLinux 9 MariaDB
- install_utils.call: use shell=True for commands with ||, 2>, |, etc.
  Avoids 'No matching repo to modify: 2>/dev/null, true, ||' when
  dnf config-manager '... 2>/dev/null || true' is run via shlex.split.

- Add explicit 'rpm -e --nodeps MariaDB-server-compat-12.1.2-1.el9.noarch'
  before dnf remove in main(), installMySQL, fix_almalinux9_comprehensive.

- upgrade fix_almalinux9_mariadb: add compat removal before MariaDB install;
  use MariaDB 10.11 repo instead of 12.1 to avoid compat conflicts.
2026-01-27 00:23:56 +01:00
master3395
de21c03fc7 Fix MariaDB compat, mysql path, and OpenLiteSpeed binary install
MariaDB-server-compat:
- Remove MariaDB-server-compat* in main() before any MariaDB install
- Use dnf remove then rpm -e --nodeps loop in main(), installMySQL, fix_almalinux9
- Prevents transaction conflicts when installing MariaDB 10.11

mysql command not found:
- install_utils.call: detect mysql/mariadb commands, use shell=True and full path
- Replace leading mysql/mariadb with /usr/bin/mariadb or /usr/bin/mysql
- Fixes FileNotFoundError when changeMYSQLRootPassword runs

OpenLiteSpeed:
- Create /usr/local/lsws and /usr/local/lsws/bin before installing custom binary
- Fixes 'No such file or directory: /usr/local/lsws/bin/openlitespeed'
2026-01-26 23:21:53 +01:00
master3395
99b24f853a Fix mysql command not found error in install_utils.call
- Detect mysql/mariadb commands and find binary path automatically
- Replace mysql/mariadb with full path (/usr/bin/mysql or /usr/bin/mariadb)
- Use shell=True for mysql commands to handle complex SQL properly
- Fixes FileNotFoundError when executing mysql commands
- Works with both mysql and mariadb binaries
2026-01-26 22:58:56 +01:00
Master3395
104496d9fd Update CyberPanel installer scripts to support additional operating systems and versions. Enhance OS detection logic in install.sh and cyberpanel_upgrade.sh for CentOS 9, CentOS Stream 9, Rocky Linux 9, RHEL 8, RHEL 9, and Debian 11-13. Revise README.md to reflect updated support details and clarify compatibility. Improve error messages for unsupported OS detection. 2025-09-19 01:19:49 +02:00
usmannasir
e9b2220246 debian 12 2025-09-18 14:20:01 +05:00
usmannasir
3ae4be91af debian 12 2025-09-18 12:30:22 +05:00
usmannasir
b0ef10ba9d debian 12 2025-09-18 11:56:05 +05:00
usmannasir
9d4ef84b0d debian 12 2025-09-18 02:17:29 +05:00
usmannasir
09b50511cc debian 12 2025-09-18 01:58:24 +05:00
usmannasir
92db8c1775 bug fix: debain 13 2025-09-17 14:53:52 +05:00
Master3395
0c8ee38c2b Add Almalinux 10 and php 84+85
Add Almalinux 10 and php 84+85
2025-09-07 22:57:53 +02:00
usmannasir
6dd7114f6d Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00