[Solved] Manual renewal using certbot + docker is not working

Hi,
my letsencrypt cert on https://dmfigol.me is expiring very soon and I have a problem with renewing the certificate manually.
To generate certificate I used this guide https://miki725.github.io/docker/crypto/2017/01/29/docker+nginx+letsencrypt.html and it went without any problem.
When I try renewing the certificate, I do not see any attempt to renew:

    sudo docker run -it \
>  -v certs:/etc/letsencrypt \
>  -v certs-data:/data/letsencrypt \
>  -v letsencrypt-logs:/var/log/letsencrypt \
>  deliverous/certbot:latest \
>  renew -v --debug \
>  --webroot --webroot-path=/data/letsencrypt
Root logging level set at 10
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------

No renewals were attempted.
-------------------------------------------------------------------------------
no renewal failures

the log file is also empty:

cat letsencrypt.log 
2017-09-16 10:28:09,988:DEBUG:certbot.main:certbot version: 0.19.0.dev0
2017-09-16 10:28:09,988:DEBUG:certbot.main:Arguments: ['-v', '--debug', '--webroot', '--webroot-path=/data/letsencrypt']
2017-09-16 10:28:09,988:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2017-09-16 10:28:10,015:DEBUG:certbot.log:Root logging level set at 10
2017-09-16 10:28:10,017:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2017-09-16 10:28:10,018:DEBUG:certbot.renewal:no renewal failures

My certificate is in certs/live/dmfigol.me/
However, certs-data/ is empty. Not sure if it is supposed to be this way.
I would greatly appreciate any help on this. I’ve already spent the whole morning researching without any progress.
Thanks in advance!

UPD: resolved, docker needs full path for attaching volumes.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.