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>
wo_install() does cd to HOME before checking for setup.py, so
./setup.py was always checking /root/setup.py (doesn't exist) instead
of /root/WPIQ/setup.py. Save pwd at script start and reference it.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pip install -U skips reinstall when version number hasn't changed,
causing stale code to remain. Use --force-reinstall --no-cache-dir
to ensure local source is always installed fresh.
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>
- Split apt-get deps by distro version to avoid missing package failures
(python3-distutils-extra removed in 3.12+, ntp replaced by systemd-timesyncd)
- Dynamically detect Python version for python3.XX-venv package
- Guard bare `pip` call with trixie exclusion and error suppression
- Check unattended-upgrades file exists before copying
- Fix 3 missing closing parentheses in site_backup.py format strings
- Update remaining Nginx references in comments and help text
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>