Skip to content

Commit 46d0944

Browse files
committed
Workaround for PowerDNS plugin installation failure.
1 parent 8f5c69e commit 46d0944

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/nginx-proxy-manager/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ sed -i "s/\"version\": \"0.0.0\",/\"version\": \"${NGINX_PROXY_MANAGER_VERSION}\
7676
log "Patching Nginx Proxy Manager backend..."
7777
patch -p1 -d /tmp/nginx-proxy-manager < "$SCRIPT_DIR"/pip-install.patch
7878
patch -p1 -d /tmp/nginx-proxy-manager < "$SCRIPT_DIR"/remove-certbot-dns-oci.patch
79+
patch -p1 -d /tmp/nginx-proxy-manager < "$SCRIPT_DIR"/powerdns-fix.patch
7980

8081
cp -r /tmp/nginx-proxy-manager /app
8182

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Workaround for PowerDNS plugin, where its PyYAML dependency nstallation fails.
2+
See https://github.com/yaml/pyyaml/issues/736
3+
--- a/global/certbot-dns-plugins.js 2023-12-09 10:19:09.655563943 -0500
4+
+++ b/global/certbot-dns-plugins.js 2023-12-09 10:19:28.471600576 -0500
5+
@@ -486,7 +486,7 @@
6+
display_name: 'PowerDNS',
7+
package_name: 'certbot-dns-powerdns',
8+
version_requirement: '~=0.2.0',
9+
- dependencies: '',
10+
+ dependencies: 'pyyaml==5.3.1',
11+
credentials: `dns_powerdns_api_url = https://api.mypowerdns.example.org
12+
dns_powerdns_api_key = AbCbASsd!@34`,
13+
full_plugin_name: 'dns-powerdns',

0 commit comments

Comments
 (0)