Commit Graph

238 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
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
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
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
4a8641c6b3 Use MariaDB dynamic mirror 2024-06-13 00:23:05 +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
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
0235fe5920 Fix overwriting nginx configuration 2024-06-08 16:04:57 +02:00
VirtuBox
c35e9e6fa3 Properly use mariadb-admin instead of mysqladmin 2024-06-07 16:51:53 +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
30079e0e88 Add stack --brotli to enable/disable brotli compression 2024-06-01 19:10:41 +02:00
VirtuBox
a715ccfd06 Fix netdata upgrade and install, download latest wp-cli 2024-05-31 22:22:08 +02:00
Thomas SUCHON
f533438f8d Cleanup unused library 2024-05-23 16:09:37 +02:00
Thomas SUCHON
ae41db1111 Fix backend address display in Nginx install 2024-05-23 15:30:05 +02:00
VirtuBox
01c875cffb Remove stat lib 2024-05-18 00:12:19 +02:00
VirtuBox
31353f0fef Fix CVE-2024-34528
Set file permission before writing file
2024-05-17 23:59:50 +02:00
VirtuBox
3d05361f32 Fix MariaDB & Redis install on Ubuntu 24.04 2024-05-04 00:31:41 +02:00
VirtuBox
d7fc975e0c Fix server_ip variable 2024-04-21 18:18:13 +02:00
VirtuBox
dc6a8de4cd Fix server_ip attribute 2024-04-21 12:53:21 +02:00
VirtuBox
e12cc063d6 Improve WordOps server ip check 2024-04-21 12:48:11 +02:00
VirtuBox
89c34e021f Add MariaDB repo for debian 12 2023-12-01 16:52:33 +01:00
VirtuBox
477e118c0a Fix for php8.3 2023-11-24 00:11:57 +01:00
VirtuBox
25f4d1b9b1 Fix Netdata install with remote MySQL server 2023-09-19 20:50:41 +02:00
VirtuBox
e12d076c7b Remove Anemometer 2023-09-19 18:30:29 +02:00
VirtuBox
9c66cd751a Improve log display 2023-08-26 15:27:02 +02:00
VirtuBox
36d70b4ff9 Fix wo stack install 2023-08-26 14:33:59 +02:00
VirtuBox
1487a8c8d4 Fix php conf 2023-08-26 14:18:45 +02:00
VirtuBox
9459db9712 Fix netdata conf path 2023-08-21 16:17:24 +02:00
VirtuBox
b795784cda Fix unused variable 2023-08-13 15:07:26 +02:00
VirtuBox
24c598e9a0 Improve mariadb setup with version conf 2023-08-13 13:16:39 +02:00
VirtuBox
813eb392a9 Fix netdata 2023-08-13 11:59:20 +02:00
VirtuBox
88d0a93d77 Fix netdata install/upgrade 2023-08-13 11:45:49 +02:00
VirtuBox
666f61e620 Fix php version variable 2023-08-05 11:02:24 +02:00
VirtuBox
5c39f01670 Refactor php installation 2023-08-05 10:48:56 +02:00
VirtuBox
49d26e5656 Do not add mariadb repo on debian 12 2023-08-01 18:35:48 +02:00
VirtuBox
1d527e84ff Update gpg keys for debian 12 2023-08-01 18:25:59 +02:00
Janio Sarmento
a76d76ce5f #482: Add PHP 8.2 to WO 2022-12-10 10:37:20 -03:00
VirtuBox
1cf377cc99 Merge pull request #471 from WordOps/updating-configuration
maintenance release v3.15.3
2022-10-24 17:36:59 +02:00
VirtuBox
ff05988a97 Fix proftpd install on Ubuntu 22.04 2022-10-24 15:01:51 +02:00
VirtuBox
0bce503349 Moving to redis official repository 2022-10-20 12:47:23 +02:00
VirtuBox
4590b3f4ff Merge pull request #462 from WordOps/updating-configuration
Maintenance Release v3.15.2
2022-09-23 18:25:54 +02:00
VirtuBox
0a375f9b99 Force Cloudflare script update 2022-09-18 20:32:55 +02:00
VirtuBox
ce244cfbc5 Fix wo secure --auth on Ubuntu 22.04 2022-09-16 17:19:18 +02:00
VirtuBox
192b884529 Do not log MariaDB password 2022-09-13 15:52:50 +02:00
VirtuBox
0905651273 Add Private Prefetch Proxy 2022-09-13 15:22:09 +02:00
VirtuBox
5c44a3e9e4 Merge pull request #452 from WordOps/updating-configuration
Prepare for release v3.15.0
2022-09-09 17:50:23 +02:00