1298 Commits

Author SHA1 Message Date
22227c2849 fix: admpass.sh hang, OLS httpd_config structure, listener maps
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
Three fixes:

1. Replace admpass.sh calls with direct htpasswd writes — the script
   is interactive-only (no --password flag) and hangs forever in
   automation. Write admin htpasswd directly with openssl passwd.

2. Fix httpd_config.conf template — OLS requires virtualHost {} blocks
   with vhRoot/configFile, not bare include of vhconf.conf files.
   Add proper _backend virtualHost block, map it to Backend listener,
   use self-signed cert for Secure listener until real certs exist.

3. Fix addOLSListenerMap to only add maps to Default and Secure
   listeners (not Backend which is reserved for the admin panel).

4. Fix default PHP detection to read from wo.conf config instead
   of picking first installed version (which would prefer php74).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 13:08:03 +01:00
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
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
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
Miaosen Wang
e62a66282b spelling error 2025-10-16 01:52:03 -07: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
Saskia Teichmann
53f52c1d25 Fix AttributeError in WODownload when ConnectionError lacks reason 2025-03-27 12:35:13 +01:00
VirtuBox
186b9e34aa Fix addNewSite place 2024-12-06 16:19:30 +01:00
VirtuBox
d23f6a9ca0 Fix issue https://github.com/WordOps/WordOps/issues/692 2024-12-06 15:16:58 +01:00
VirtuBox
a66458f533 Fix php84 upstream 2024-12-03 16:06:49 +01:00
VirtuBox
2f45853067 Add php8.4 support 2024-12-03 14:08:19 +01:00
VirtuBox
104a5a87d2 Fix MariaDB repository in CI 2024-09-16 21:42:49 +02:00
VirtuBox
138dbf7bd5 Add Ubuntu 24.04 LTS support 2024-06-14 16:44:45 +02:00
VirtuBox
e868a7ca53 Minor changes 2024-06-14 16:22:02 +02:00
VirtuBox
4a8641c6b3 Use MariaDB dynamic mirror 2024-06-13 00:23:05 +02:00
VirtuBox
f8c5da4857 Fix unused variable 2024-06-11 23:36:01 +02:00
VirtuBox
00b3f99e5d Another fix for wildcard certificates 2024-06-11 23:18:27 +02:00
VirtuBox
ff5d39211a Fix fastcgi_params indentation 2024-06-11 22:53:06 +02:00
VirtuBox
c746767ec0 Bump release to v3.21.2 2024-06-11 22:49:53 +02:00
VirtuBox
60835841c9 Add "$http3" variable to logs 2024-06-11 22:37:16 +02:00
VirtuBox
f6af662100 Properly indent proxy_params 2024-06-11 22:27:33 +02:00
VirtuBox
2de0d56a44 Add $host variable for fastcgi_params et proxy_params 2024-06-11 22:24:34 +02:00
VirtuBox
007da6cd45 Fix wo stack migrate --nginx with wildcard certificate 2024-06-11 21:15:25 +02:00
VirtuBox
208db7758d Cleanup bash completion and set ppa repo 2024-06-10 21:20:23 +02:00
VirtuBox
62707eba4e Fix nginx.conf identation 2024-06-08 16:13:22 +02:00
VirtuBox
0235fe5920 Fix overwriting nginx configuration 2024-06-08 16:04:57 +02:00
VirtuBox
e02fb864ad Fix backend certificate 2024-06-08 15:58:29 +02:00
VirtuBox
68db0f46b2 Add wo stack migrate --nginx 2024-06-08 14:27:16 +02:00
VirtuBox
c641f1eaa1 Enable HTTP/3 QUIC 2024-06-08 11:59:18 +02:00
VirtuBox
c35e9e6fa3 Properly use mariadb-admin instead of mysqladmin 2024-06-07 16:51:53 +02:00
VirtuBox
e2a701f221 Fix mariadb-admin path 2024-06-07 16:28:33 +02:00
VirtuBox
721220dfba Fix stack migrate with repositories 2024-06-07 15:55:19 +02:00
VirtuBox
0f6a53efc6 Properly download and set repositories's gpg keys 2024-06-07 14:53:50 +02:00
VirtuBox
07ce93bdf8 Bump MariaDB to 11.4 2024-06-04 17:47:25 +02:00
VirtuBox
6b5e5ecb47 Fix hsts enable disable 2024-06-03 00:56:23 +02:00
VirtuBox
d1e50d06b5 Fix --hsts 2024-06-03 00:48:14 +02:00
VirtuBox
6177647a6f Fix disabling hsts 2024-06-02 23:28:54 +02:00
VirtuBox
582ececbdc End site update after --hsts or --ngxblocker 2024-06-02 22:11:21 +02:00
VirtuBox
00fd55cb8f Remove doublons in wo site update 2024-06-02 19:16:59 +02:00
VirtuBox
510547f11e Fix commiting changes in /etc/nginx 2024-06-01 22:10:25 +02:00
VirtuBox
30079e0e88 Add stack --brotli to enable/disable brotli compression 2024-06-01 19:10:41 +02:00
VirtuBox
92023c09db Improve wo info 2024-06-01 12:00:22 +02:00
VirtuBox
960758c485 Cleanup wo info and improve gpg key management 2024-05-31 22:39:11 +02:00
VirtuBox
a715ccfd06 Fix netdata upgrade and install, download latest wp-cli 2024-05-31 22:22:08 +02:00
VirtuBox
0cebbd1e7c Fix wpsc template 2024-05-29 16:41:48 +02:00