967 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
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
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
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
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
0235fe5920 Fix overwriting nginx configuration 2024-06-08 16:04:57 +02:00
VirtuBox
68db0f46b2 Add wo stack migrate --nginx 2024-06-08 14:27:16 +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
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
7411c3f387 Merge branch 'updating-configuration' of https://github.com/WordOps/WordOps into updating-configuration 2024-05-29 02:01:08 +02:00
VirtuBox
def2ddd393 Remove php72 and php73 2024-05-29 02:00:50 +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
bfca0bcadb Merge pull request #633 from WordOps/updating-configuration
Fix reported issues
2024-04-21 19:43:46 +02:00
VirtuBox
d7fc975e0c Fix server_ip variable 2024-04-21 18:18:13 +02:00
VirtuBox
8ddaa7e98f Improve broken symlink removal 2024-04-21 17:37:30 +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
Gabriel Giordano
a1f2fe3a54 Add php8.3 info 2023-12-20 23:22:22 -03:00
Gabriel Giordano
f15a0c4f86 Fix PHP{version}-FPM is not installed 2023-12-20 23:21:57 -03:00
David Edwards
847614ed6e fixed trailing whitespace 2023-12-10 17:17:12 -07:00
David Edwards
401be08fe9 fixed typo on variable. 2023-12-10 14:58:16 -07:00
David Edwards
ca57da12e5 added ability to update to subsiteof 2023-12-10 12:19:38 -07:00
David Edwards
4e58a7d4f0 correcting mistaken code 2023-12-10 12:16:39 -07:00
David Edwards
b1876c1935 changing name for clarity 2023-12-10 11:49:49 -07:00
David Edwards
f3177a8e4a Subsite Create working 2023-12-09 14:15:39 -07:00