Commit Graph

2212 Commits

Author SHA1 Message Date
eaa5a95168 fix: make lsphp opcache conditional — not available for PHP 8.5
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
lsphp85-opcache doesn't exist in the LiteSpeed repo (opcache is
bundled in the base lsphp85 package). Only add opcache as a
separate package for PHP 7.4-8.4.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 11:55:39 +01:00
06352bbc30 fix: align LSPHP module list with actual OLS repo packages
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
LSPHP packages don't have separate gd, mbstring, xml, zip, soap,
imap modules - these are bundled in lsphp-common. Updated module
list to only include packages that exist in the OLS repository:
common, curl, igbinary, imagick, intl, memcached, msgpack, mysql,
opcache, pear, redis, snmp, sqlite3, tidy.

Also update default PHP version to 8.5.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 11:51:26 +01:00
0c20a10efd fix: use correct OLS GPG key URL (lst_repo.gpg) without dearmoring
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
The old URL (lst_debian_repo.gpg) piped through gpg --dearmor was
producing a corrupted keyring that sqv (Debian 13's GPG verifier)
could not parse. Use lst_repo.gpg directly which is already in the
correct binary GPG format.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 11:44:26 +01:00
3585aca1ad fix: skip external MariaDB repo on trixie, clean stale repo files
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
- Trixie uses native Debian mariadb packages (external repo has no
  trixie release), so wo_mysql_repo is empty and repo add is skipped
- Clean up old openlitespeed.list and mariadb.list during install so
  they get regenerated with correct GPG keyring paths

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 11:39:33 +01:00
317181e4be fix: match OLS GPG keyring filename between install and variables
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
Install script saves key as openlitespeed-archive-keyring.gpg but
variables.py referenced openlitespeed-keyring.gpg, causing apt
signed-by verification to fail during wo stack install.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:26:13 +01:00
f58d1e919d fix: remove --no-deps from pip install to include dependencies
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
The --no-deps flag was skipping cement, sh, and other required deps.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:21:29 +01:00
418d0fdda2 fix: save install dir before cd and use absolute path for setup.py
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
wo_install() does cd to HOME before checking for setup.py, so
./setup.py was always checking /root/setup.py (doesn't exist) instead
of /root/WPIQ/setup.py. Save pwd at script start and reference it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:19:17 +01:00
15e70efa01 fix: force reinstall from local checkout to bypass pip cache
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
pip install -U skips reinstall when version number hasn't changed,
causing stale code to remain. Use --force-reinstall --no-cache-dir
to ensure local source is always installed fresh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 08:16:32 +01:00
35efce33c5 fix: install from local checkout and remove dead wo_deb_repo code
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
- wo_install() now detects local setup.py and installs from it instead
  of always pulling from PyPI/GitHub (which installs the old upstream)
- Removed unused wo_deb_repo variable branches in variables.py that
  caused NameError on unsupported codenames
- OLS repo URL uses codename directly for all distros (same format)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 07:35:46 +01:00
9c4e71a43c fix: install script for Debian 13 (Python 3.13) compatibility
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
- Split apt-get deps by distro version to avoid missing package failures
  (python3-distutils-extra removed in 3.12+, ntp replaced by systemd-timesyncd)
- Dynamically detect Python version for python3.XX-venv package
- Guard bare `pip` call with trixie exclusion and error suppression
- Check unattended-upgrades file exists before copying
- Fix 3 missing closing parentheses in site_backup.py format strings
- Update remaining Nginx references in comments and help text

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 06:48:13 +01:00
fa5bf17eb8 feat: convert WordOps from Nginx to OpenLiteSpeed + LSPHP + LSCache
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
Complete conversion of the WordOps stack from Nginx + PHP-FPM to
OpenLiteSpeed + LSPHP + LSCache. This is a full rewrite across all 7
phases of the codebase:

- Foundation: OLS paths, variables, services, removed pynginxconfig dep
- Templates: 11 new OLS mustache templates, removed nginx-specific ones
- Stack: stack_pref, stack, stack_services, stack_upgrade, stack_migrate
- Site: site_functions, site, site_create, site_update
- Plugins: debug, info, log, clean rewritten for OLS
- SSL/ACME: acme.sh deploy uses lswsctrl, OLS vhssl blocks
- Other: secure, backup, clone, install script

Additional features:
- Debian 13 (trixie) support
- PHP 8.5 support
- WP Fort Knox mu-plugin integration (wo secure --lockdown/--unlock)
- --nginx CLI flag preserved for backward compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 18:55:16 +01:00
VirtuBox
aa127070e1 Merge pull request #768 from WordOps/updating-configuration
Fix wordops debian repository
2026-01-12 13:51:45 +01:00
VirtuBox
1e1bfdaef1 Fix wordops debian repository 2026-01-12 13:31:23 +01:00
VirtuBox
7f345624e4 Merge pull request #767 from WordOps/updating-configuration
Add updated key for debian repository
2026-01-12 12:39:15 +01:00
VirtuBox
9c4946a34a Add updated key for debian repository 2026-01-12 12:05:16 +01:00
VirtuBox
6f410e83f9 Merge pull request #757 from WordOps/dependabot/pip/argcomplete-3.6.3
Bump argcomplete from 3.6.2 to 3.6.3
2025-11-27 09:14:26 +01:00
dependabot[bot]
c1b6751364 Bump argcomplete from 3.6.2 to 3.6.3
Bumps [argcomplete](https://github.com/kislyuk/argcomplete) from 3.6.2 to 3.6.3.
- [Release notes](https://github.com/kislyuk/argcomplete/releases)
- [Changelog](https://github.com/kislyuk/argcomplete/blob/main/Changes.rst)
- [Commits](https://github.com/kislyuk/argcomplete/compare/v3.6.2...v3.6.3)

---
updated-dependencies:
- dependency-name: argcomplete
  dependency-version: 3.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 14:48:38 +00:00
VirtuBox
2ff534488a Merge pull request #755 from WordOps/dependabot/pip/colorlog-6.10.1
Bump colorlog from 6.9.0 to 6.10.1
2025-10-30 15:47:26 +01:00
VirtuBox
43c65a983e Merge pull request #754 from jd82k/master
spelling error
2025-10-30 15:47:06 +01:00
VirtuBox
e26d837494 Merge pull request #750 from WordOps/dependabot/pip/pymysql-1.1.2
Bump pymysql from 1.1.1 to 1.1.2
2025-10-30 15:46:27 +01:00
dependabot[bot]
5479c3041e Bump colorlog from 6.9.0 to 6.10.1
Bumps [colorlog](https://github.com/borntyping/python-colorlog) from 6.9.0 to 6.10.1.
- [Release notes](https://github.com/borntyping/python-colorlog/releases)
- [Commits](https://github.com/borntyping/python-colorlog/compare/v6.9.0...v6.10.1)

---
updated-dependencies:
- dependency-name: colorlog
  dependency-version: 6.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-17 13:02:22 +00:00
Miaosen Wang
e62a66282b spelling error 2025-10-16 01:52:03 -07:00
dependabot[bot]
9d3ad4cba3 Bump pymysql from 1.1.1 to 1.1.2
Bumps [pymysql](https://github.com/PyMySQL/PyMySQL) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/PyMySQL/PyMySQL/releases)
- [Changelog](https://github.com/PyMySQL/PyMySQL/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PyMySQL/PyMySQL/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: pymysql
  dependency-version: 1.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 02:41:17 +00:00
VirtuBox
55dcc1115c Merge pull request #747 from WordOps/updating-configuration
Fix python3.12-venv install on Ubuntu 24.04 LTS
2025-07-18 11:20:13 +02:00
VirtuBox
aae29498f8 Fix python3.12-venv install on Ubuntu 24.04 LTS 2025-07-17 11:28:32 +02:00
VirtuBox
572cb8d38f Merge pull request #742 from WordOps/updating-configuration
Fix tests in GitHub Actions
2025-06-15 20:40:35 +02:00
VirtuBox
00d8bd42be Fix tests 2025-06-15 19:56:41 +02:00
VirtuBox
727649be55 Merge pull request #741 from WordOps/updating-configuration
Fix setuptools version
2025-06-15 19:51:07 +02:00
VirtuBox
5f7a4db993 Fix setuptools version 2025-06-15 19:00:38 +02:00
VirtuBox
c04732670a Merge pull request #736 from WordOps/alert-autofix-8
Potential fix for code scanning alert no. 8: Workflow does not contain permissions
2025-05-21 11:50:54 +02:00
VirtuBox
ad4b5eefb0 Merge pull request #735 from WordOps/alert-autofix-7
Potential fix for code scanning alert no. 7: Workflow does not contain permissions
2025-05-21 11:50:42 +02:00
VirtuBox
d2f1435ab4 Merge pull request #734 from WordOps/alert-autofix-9
Potential fix for code scanning alert no. 9: Workflow does not contain permissions
2025-05-21 11:29:29 +02:00
VirtuBox
a2d20f52a5 Potential fix for code scanning alert no. 8: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-21 11:16:20 +02:00
VirtuBox
a91f4f77a2 Potential fix for code scanning alert no. 7: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-21 11:15:40 +02:00
VirtuBox
37d190925f Potential fix for code scanning alert no. 9: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-21 11:06:10 +02:00
VirtuBox
dc7ca49ba3 Merge pull request #733 from WordOps/updating-configuration
Update Nginx release to v1.28.0
2025-05-20 16:25:57 +02:00
VirtuBox
e21a3586d5 Update Nginx release to v1.28.0 2025-05-20 15:46:23 +02:00
VirtuBox
8601177066 Merge pull request #728 from WordOps/VirtuBox-patch-1
Remove Ubuntu 20.04 LTS from GitHub Actions
2025-04-20 18:17:14 +02:00
VirtuBox
803f423a0e Remove Ubuntu 20.04 LTS 2025-04-20 18:00:37 +02:00
VirtuBox
03b3b64a5a Merge pull request #726 from WordOps/updating-configuration
Fix GitHub Actions
2025-04-11 22:47:15 +02:00
VirtuBox
23906cdccc Update apt_repo.py - Fix GitHub Actions 2025-04-11 22:22:56 +02:00
VirtuBox
25f4d32885 Fix GitHub Actions 2025-04-11 22:09:27 +02:00
VirtuBox
fadf6e72ea Merge pull request #724 from s-a-s-k-i-a/fix/download-log-connectionerror
Fix AttributeError in WODownload when ConnectionError lacks reason
2025-04-08 14:52:47 +02:00
VirtuBox
1c52ba3df9 Merge pull request #725 from WordOps/dependabot/pip/argcomplete-3.6.2
Bump argcomplete from 3.6.1 to 3.6.2
2025-04-07 10:33:54 +02:00
dependabot[bot]
8480345d74 Bump argcomplete from 3.6.1 to 3.6.2
Bumps [argcomplete](https://github.com/kislyuk/argcomplete) from 3.6.1 to 3.6.2.
- [Release notes](https://github.com/kislyuk/argcomplete/releases)
- [Changelog](https://github.com/kislyuk/argcomplete/blob/main/Changes.rst)
- [Commits](https://github.com/kislyuk/argcomplete/compare/v3.6.1...v3.6.2)

---
updated-dependencies:
- dependency-name: argcomplete
  dependency-version: 3.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-03 13:06:09 +00:00
Saskia Teichmann
53f52c1d25 Fix AttributeError in WODownload when ConnectionError lacks reason 2025-03-27 12:35:13 +01:00
VirtuBox
d38d2d2c15 Merge pull request #722 from WordOps/dependabot/pip/argcomplete-3.6.1
Bump argcomplete from 3.5.3 to 3.6.1
2025-03-26 15:48:36 +01:00
VirtuBox
639fa873c0 Merge pull request #719 from WordOps/dependabot/pip/sh-2.2.2
Bump sh from 2.2.1 to 2.2.2
2025-03-26 15:48:02 +01:00
dependabot[bot]
fed59574e4 Bump argcomplete from 3.5.3 to 3.6.1
Bumps [argcomplete](https://github.com/kislyuk/argcomplete) from 3.5.3 to 3.6.1.
- [Release notes](https://github.com/kislyuk/argcomplete/releases)
- [Changelog](https://github.com/kislyuk/argcomplete/blob/main/Changes.rst)
- [Commits](https://github.com/kislyuk/argcomplete/compare/v3.5.3...v3.6.1)

---
updated-dependencies:
- dependency-name: argcomplete
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 13:58:11 +00:00
dependabot[bot]
870532ecf4 Bump sh from 2.2.1 to 2.2.2
Bumps [sh](https://github.com/amoffat/sh) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/amoffat/sh/releases)
- [Changelog](https://github.com/amoffat/sh/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/amoffat/sh/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: sh
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 16:04:37 +00:00