1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-10-18 00:50:07 +00:00

Compare commits

...

6 commits

Author SHA1 Message Date
catborise
7047130f3e
Merge pull request #680 from cpasqualini/fix-missing-pip3-in-debian
Fix WVC Install Script: missing pip3 on Debian
2026-09-24 19:17:27 +03:00
catborise
e8974248ee
Merge pull request #685 from resse/fix/ubuntu-ldap-dev-headers
Add missing libldap2-dev/libsasl2-dev to Ubuntu package list
2026-09-24 19:16:33 +03:00
catborise
e3f26c8690
Merge pull request #684 from resse/fix/ubuntu-24.04-installer-support
Add Ubuntu 24.04 support to installer version check
2026-09-24 19:15:30 +03:00
Mikhail Bobkov
b0f978e1db Add missing libldap2-dev/libsasl2-dev to Ubuntu package list
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.
2026-09-24 18:27:53 +04:00
Mikhail Bobkov
1f62f150a0 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.
2026-09-24 18:27:27 +04:00
Carlos Pasqualini
3b2585c1e0 Fix WVC Install Script: missing pip3 on Debian 2026-04-30 12:51:22 -03:00

View file

@ -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
@ -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."
@ -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