diff --git a/ct/nginxproxymanager.sh b/ct/nginxproxymanager.sh index 96a10748..ab4cb2ff 100644 --- a/ct/nginxproxymanager.sh +++ b/ct/nginxproxymanager.sh @@ -118,6 +118,7 @@ function update_script() { # Update Certbot and plugins in virtual environment if [ -d /opt/certbot ]; then + $STD /opt/certbot/bin/pip install --upgrade pip setuptools wheel $STD /opt/certbot/bin/pip install --upgrade certbot certbot-dns-cloudflare fi msg_ok "Setup Environment" diff --git a/install/nginxproxymanager-install.sh b/install/nginxproxymanager-install.sh index 50f5a031..66487813 100644 --- a/install/nginxproxymanager-install.sh +++ b/install/nginxproxymanager-install.sh @@ -34,7 +34,7 @@ msg_ok "Installed Python Dependencies" msg_info "Setting up Certbot" $STD python3 -m venv /opt/certbot -$STD /opt/certbot/bin/pip install --upgrade pip +$STD /opt/certbot/bin/pip install --upgrade pip setuptools wheel $STD /opt/certbot/bin/pip install certbot certbot-dns-cloudflare ln -sf /opt/certbot/bin/certbot /usr/local/bin/certbot msg_ok "Set up Certbot"