Submitted by unixnut on Wed, 09/23/2020 - 03:18
I'm having a strange Let's Encrypt issue:
Failed to request certificate : Cannot write to directory /var/cache/bind/
The cert renewal itself completes, and the cert files are copied to /home/username/ssl.cert etc. But the Apache reload is not done and then I get the above error. If I manually reload Apache the site loads with the new cert.
I've tracked this down this problem to open_tempfile_as_domain_user()
in /usr/share/webmin/virtual-server/security-lib.pl but I can't figure out the call chain. This is the only function in the entire codebase that can print "Cannot write to directory".
Status:
Active
Virtualmin version:
6.12
Webmin version:
1.955
Comments
Submitted by JamieCameron on Thu, 09/24/2020 - 23:06 Comment #1
I see the cause of this - it will be fixed in the next Webmin release.
Submitted by unixnut on Mon, 11/30/2020 - 08:16 Comment #2
FYI, this problem recurred under Virtualmin 6.13.gpl on Ubuntu 18.04.5 LTS.
Submitted by JamieCameron on Sun, 12/06/2020 - 01:06 Comment #3
We just released version 6.14 - if you upgrade, do you still see this issue?
Submitted by unixnut on Tue, 04/27/2021 - 09:41 Comment #4
This was fixed under v6.14 and v6.15, but has now recurred under v6.16 (upgraded recently).