fix certbot

This commit is contained in:
CanbiZ
2025-10-18 12:38:39 +02:00
parent a1719cf5f7
commit 41776eb78a
2 changed files with 13 additions and 5 deletions

View File

@@ -115,7 +115,11 @@ function update_script() {
cp -r frontend/app-images/* /app/frontend/images
cp -r backend/* /app
cp -r global/* /app/global
$STD python3 -m pip install --no-cache-dir --break-system-packages certbot-dns-cloudflare
# Update Certbot and plugins in virtual environment
if [ -d /opt/certbot ]; then
$STD /opt/certbot/bin/pip install --upgrade certbot certbot-dns-cloudflare
fi
msg_ok "Setup Environment"
msg_info "Initializing Backend"