From 3b2585c1e082f0d339817460a40e27f9c6b7882b Mon Sep 17 00:00:00 2001 From: Carlos Pasqualini Date: Thu, 30 Apr 2026 12:51:22 -0300 Subject: [PATCH 1/3] Fix WVC Install Script: missing pip3 on Debian --- webvirtcloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webvirtcloud.sh b/webvirtcloud.sh index 0fb1482..730afff 100755 --- a/webvirtcloud.sh +++ b/webvirtcloud.sh @@ -519,7 +519,7 @@ case $distro in progress echo "* Installing OS requirements." - PACKAGES="git virtualenv python3-virtualenv python3-dev python3-lxml libvirt-dev zlib1g-dev libxslt1-dev libsasl2-dev libldap2-dev nginx smbios-utils libsasl2-modules gcc pkg-config python3-guestfs uuid" + PACKAGES="git virtualenv python3-virtualenv python3-pip python3-dev python3-lxml libvirt-dev zlib1g-dev libxslt1-dev libsasl2-dev libldap2-dev nginx smbios-utils libsasl2-modules gcc pkg-config python3-guestfs uuid" install_packages From 1f62f150a09906e818b9dfbfd163f51afa6f579d Mon Sep 17 00:00:00 2001 From: Mikhail Bobkov Date: Thu, 24 Sep 2026 18:27:27 +0400 Subject: [PATCH 2/3] Add Ubuntu 24.04 support to installer version check webvirtcloud.sh's Ubuntu branch only matched 18.04/20.04/22.04, so running it on 24.04 (Noble) silently no-ops the entire install block instead of installing anything. Verified end-to-end on a real 24.04 host: with this check extended, the rest of the Ubuntu install path (package list, venv setup, nginx/supervisor config) works unmodified. --- webvirtcloud.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webvirtcloud.sh b/webvirtcloud.sh index 0fb1482..9dd5a6b 100755 --- a/webvirtcloud.sh +++ b/webvirtcloud.sh @@ -539,8 +539,8 @@ case $distro in fi ;; ubuntu) - if [ "$version" == "18.04" ] || [ "$version" == "20.04" ] || [ "$version" == "22.04" ]; then - # Install for Ubuntu 18 / 20 + if [ "$version" == "18.04" ] || [ "$version" == "20.04" ] || [ "$version" == "22.04" ] || [ "$version" == "24.04" ]; then + # Install for Ubuntu 18 / 20 / 22 / 24 tzone=\'$(cat /etc/timezone)\' echo -n "* Updating installed packages." From b0f978e1dba22845f4ea68f7b544a050ca269b1b Mon Sep 17 00:00:00 2001 From: Mikhail Bobkov Date: Thu, 24 Sep 2026 18:27:53 +0400 Subject: [PATCH 3/3] Add missing libldap2-dev/libsasl2-dev to Ubuntu package list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit conf/requirements.txt requires django-auth-ldap/python-ldap (added in #600), which needs libldap2-dev and libsasl2-dev headers to build its C extension. The Debian branch's PACKAGES list already has both, but the Ubuntu branch was never updated to match, so a fresh install on Ubuntu fails to build python-ldap's wheel, which aborts the entire `pip install -r requirements.txt` — Django itself never gets installed, and the app fails to start. Verified fix on a real Ubuntu 24.04 host. --- webvirtcloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webvirtcloud.sh b/webvirtcloud.sh index 0fb1482..a30276f 100755 --- a/webvirtcloud.sh +++ b/webvirtcloud.sh @@ -548,7 +548,7 @@ case $distro in progress echo "* Installing OS requirements." - PACKAGES="git virtualenv python3-virtualenv python3-pip python3-dev python3-lxml libvirt-dev zlib1g-dev libxslt1-dev nginx libsasl2-modules gcc pkg-config python3-guestfs" + PACKAGES="git virtualenv python3-virtualenv python3-pip python3-dev python3-lxml libvirt-dev zlib1g-dev libxslt1-dev libsasl2-dev libldap2-dev nginx libsasl2-modules gcc pkg-config python3-guestfs" install_packages set_hosts