47 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
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
ce244cfbc5 Fix wo secure --auth on Ubuntu 22.04 2022-09-16 17:19:18 +02:00
Peter W
8d33b8225f Fix typo in help text
Fixes #368
2021-04-10 20:19:40 +10:00
VirtuBox
913d5edf22 Improve phpmyadmin upgrade
* query phpmyadmin.net api to get the latest version
2020-04-22 17:50:01 +02:00
VirtuBox
81fbb72fe1 Fix webroot variable in template 2020-01-17 11:57:15 +01:00
VirtuBox
616555549c Fix variable port in wo secure 2020-01-17 11:48:36 +01:00
VirtuBox
2cdec042b5 Update 22222 port from template 2020-01-13 18:24:18 +01:00
VirtuBox
98e6e6963f Remove imports 2019-10-16 13:31:30 +02:00
VirtuBox
4181b49e5d Fix wo secure --sshport 2019-10-08 11:17:07 +02:00
VirtuBox
99d36aaa2d another fix for secure 2019-10-07 13:11:38 +02:00
VirtuBox
92c2bdfd3a Fix for secure 2019-10-07 12:27:16 +02:00
VirtuBox
c731d806d6 Refactor acme.sh and WOVariables 2019-10-02 13:13:32 +02:00
VirtuBox
715497d3b1 Simplify several functions 2019-10-01 04:08:54 +02:00
VirtuBox
a2854e73dd Add allowpassword 2019-09-26 15:45:38 +02:00
VirtuBox
7bba3e1c51 Fix indentation 2019-09-24 12:10:45 +02:00
VirtuBox
71ad9e1666 Allow port with ufw after ssh port change 2019-09-24 12:09:43 +02:00
VirtuBox
08d9ea7a57 simplify secure 2019-09-24 02:47:49 +02:00
VirtuBox
d512542b4a Fix changing ssh port 2019-09-24 02:47:06 +02:00
VirtuBox
d048ebadf8 Add force argument to secure ssh 2019-09-24 02:44:33 +02:00
VirtuBox
7c9d6b6dff Fix replacing current SSH port 2019-09-24 02:42:40 +02:00
VirtuBox
baada0473e Remove deprecated hook.register 2019-09-24 00:04:32 +02:00
VirtuBox
547b356a76 Remove deprecated handler.register 2019-09-24 00:01:20 +02:00
VirtuBox
782cb2e440 Rename template function 2019-09-23 16:35:20 +02:00
VirtuBox
490a7969e1 Fix signal for cement 2019-09-23 15:43:23 +02:00
VirtuBox
65bab99dda Fix EEv3 migration 2019-09-23 14:24:16 +02:00
VirtuBox
2a41abbce7 Add current user to allowed ssh users 2019-09-23 13:46:31 +02:00
VirtuBox
a93f735fca Add wo secure --sshport 2019-09-23 13:09:15 +02:00
VirtuBox
f1cead141d change secure 2019-09-23 12:42:58 +02:00
VirtuBox
fcab2079df Fix secure identation 2019-09-23 12:38:16 +02:00
VirtuBox
7f11e24044 Another fix for secure 2019-09-23 12:35:11 +02:00
VirtuBox
050365ace6 Fix secure 2019-09-23 12:32:28 +02:00
VirtuBox
986ed19f64 Fix typo in stack 2019-09-23 12:24:10 +02:00
VirtuBox
5abc051901 Add wo secure --ssh 2019-09-23 12:11:15 +02:00
VirtuBox
c6b081868f Fix ee cleanup 2019-09-22 17:00:35 +02:00
VirtuBox
a3e05cbbaf Update bash-completion 2019-09-21 19:12:46 +02:00
VirtuBox
9b1853b25b Update install and refactor site.py 2019-09-19 14:07:34 +02:00
VirtuBox
44d0514da6 Improve logging 2019-09-05 11:47:04 +02:00
VirtuBox
50cc8a4d09 Sort import, create class DMN 2019-09-04 20:36:15 +02:00
VirtuBox
8d9d52e09e Reduce WO size 2019-08-09 00:17:52 +02:00
VirtuBox
4fd9d267bb Add debug log 2019-07-29 15:08:49 +02:00
VirtuBox
4eb327e79b Remove unused import 2019-07-29 12:19:54 +02:00
VirtuBox
4f2bfc2c06 Update nginx stack install 2019-07-28 21:23:07 +02:00
VirtuBox
9de375ef58 fix netdata 2019-04-23 19:03:42 +02:00
VirtuBox
79994a1262 increase password size 2019-03-25 12:22:25 +01:00
VirtuBox
d5dbbe6500 add letsencrypt support for --proxy 2019-03-19 16:58:35 +01:00
jeroenops
b36df4384a Refactored 2018-11-13 21:55:59 +01:00