So far the folder hasn’t re-appeared. I’ll have to check back in a week or two. But, I’m optimistic that this /root/.acme.sh
folder is the problem…
1 Like
It didn’t re-appear anymore?
Not yet! I’ve set a reminder to look in a couple weeks and will report back then
I just checked again and the folder hasn’t come back. I’ve marked my previous post as the solution.
plogical/vhost.py
line 398-401
### Delete ACME Folder
if os.path.exists('/root/.acme.sh/%s' % (items.domain)):
shutil.rmtree('/root/.acme.sh/%s' % (items.domain))
Into:
### Delete ACME Folder
if os.path.exists('/root/.acme.sh/%s' % (items.domain)):
shutil.rmtree('/root/.acme.sh/%s' % (items.domain))
### Delete _ecc
if os.path.exists('/root/.acme.sh/%s_ecc' % (items.domain)):
shutil.rmtree('/root/.acme.sh/%s_ecc' % (items.domain))
1 Like
Thanks, I will look into this.
That indeed looks like the problem/solution. Or perhaps even just add a wildcard to the existing code - something like %s*
Edit - some instructions for doing this using glob python - Use wildcard with os.path.isfile() - Stack Overflow
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.