File tree 2 files changed +4
-1
lines changed
docker/rootfs/etc/s6-overlay/s6-rc.d/prepare
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ const setupCertbotPlugins = () => {
131
131
} ) ;
132
132
133
133
if ( plugins . length ) {
134
- const install_cmd = '. /opt/certbot/bin/activate && pip install --no-cache-dir --user ' + plugins . join ( ' ' ) + ' && deactivate' ;
134
+ const install_cmd = '. /opt/certbot/bin/activate && pip install --no-cache-dir ' + plugins . join ( ' ' ) + ' && deactivate' ;
135
135
promises . push ( utils . exec ( install_cmd ) ) ;
136
136
}
137
137
Original file line number Diff line number Diff line change @@ -22,3 +22,6 @@ chown -R "$PUID:$PGID" /var/log/nginx
22
22
chown -R " $PUID :$PGID " /etc/nginx/nginx
23
23
chown -R " $PUID :$PGID " /etc/nginx/nginx.conf
24
24
chown -R " $PUID :$PGID " /etc/nginx/conf.d
25
+
26
+ # Prevents errors when installing python certbot plugins when non-root
27
+ chown -R " $PUID :$PGID " /opt/certbot
You can’t perform that action at this time.
0 commit comments