From 03d3db69d415201c3a52a2b356d6b2a196a85a12 Mon Sep 17 00:00:00 2001 From: Yenthe Van Ginneken Date: Mon, 9 Nov 2020 08:03:23 +0100 Subject: [PATCH] [FIX] odoo_install use Python 3 certbot --- odoo_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo_install.sh b/odoo_install.sh index 0a08456..79f7b9a 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -355,7 +355,7 @@ fi if [ $INSTALL_NGINX = "True" ] && [ $ENABLE_SSL = "True" ] && [ $ADMIN_EMAIL != "odoo@example.com" ] && [ $WEBSITE_NAME != "_" ];then sudo add-apt-repository ppa:certbot/certbot -y && sudo apt-get update -y - sudo apt-get install python-certbot-nginx -y + sudo apt-get install python3-certbot-nginx -y sudo certbot --nginx -d $WEBSITE_NAME --noninteractive --agree-tos --email $ADMIN_EMAIL --redirect sudo service nginx reload echo "SSL/HTTPS is enabled!"