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>
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>
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>
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>
- 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>
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>
- 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>