Bug#826840: certbot fails to renew certificate with "EntryPoint" error

2016-06-11 Thread Lnoferin con il nasone
Package: certbot
Version: 0.8.0-1
Followup-For: Bug #826840

This bug was resolved upgrading python-setuptool to the testing version 
20-10-1.1

-- System Information:
Debian Release: 8.5
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages certbot depends on:
ii  dialog  1.2-20140911-1
ii  python-certbot  0.8.0-1
pn  python:any  

certbot recommends no packages.

Versions of packages certbot suggests:
ii  python-certbot-apache  0.8.0-1
ii  python-certbot-doc 0.8.0-1

-- no debconf information



Bug#826840: certbot fails to renew certificate with "EntryPoint" error

2016-06-09 Thread Lnoferin con il nasone
Package: certbot
Version: 0.8.0-1
Severity: important

I have a certificate working made with previous letsencrypt for my apache web 
server.

Trying to renew this certificate with newly installed certbot gives me this 
error:

=
root@nasone:~# certbot --dry-run renew

---
Processing /etc/letsencrypt/renewal/bbs.cybervalley.org.conf
---
2016-06-09 11:53:45,078:WARNING:certbot.renewal:Attempting to renew cert from 
/etc/letsencrypt/renewal/bbs.cybervalley.org.conf produced an unexpected error: 
'EntryPoint' object has no attribute 'resolve'. Skipping.
** DRY RUN: simulating 'certbot renew' close to cert expiry
**  (The test certificates below have not been saved.)

All renewal attempts failed. The following certs could not be renewed:
  /etc/letsencrypt/live/bbs.cybervalley.org/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
**  (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
==

This is the complete log from /var/log/letsencrypt/letsencrypt.log

=
2016-06-09 09:32:10,842:DEBUG:certbot.main:Root logging level set at 30
2016-06-09 09:32:10,843:INFO:certbot.main:Saving debug log to 
/var/log/letsencrypt/letsencrypt.log
2016-06-09 09:32:10,843:DEBUG:certbot.main:certbot version: 0.8.0
2016-06-09 09:32:10,843:DEBUG:certbot.main:Arguments: ['--dry-run']
2016-06-09 09:32:10,844:DEBUG:certbot.main:Discovered plugins: 
PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-06-09 09:32:10,857:DEBUG:certbot.plugins.selection:Requested authenticator 
 and installer 

2016-06-09 09:32:10,857:DEBUG:certbot.cli:Default Detector is 
Namespace(account=, 
agree_dev_preview=None, allow_subset_of_names=, apache=, 
apache_challenge_location=, 
apache_ctl=, 
apache_dismod=, 
apache_enmod=, 
apache_handle_modules=, 
apache_handle_sites=, 
apache_init_script=, 
apache_le_vhost_ext=, 
apache_server_root=, 
apache_vhost_root=, 
authenticator=, break_my_certs=, cert_path=, 
chain_path=, 
checkpoints=, 
config_dir=, config_file=None, 
configurator=, 
csr=, 
debug=, 
dialog_mode=, 
domains=, dry_run=True, 
duplicate=, 
email=, 
expand=, 
fullchain_path=, func=, hsts=, 
http01_port=, ifaces=, init=, 
installer=, 
key_path=, 
logs_dir=, 
manual=, 
manual_public_ip_logging_ok=, 
manual_test_mode=, 
must_staple=, 
nginx=, 
no_self_upgrade=, 
no_verify_ssl=, 
noninteractive_mode=, 
num=, 
os_packages_only=, 
post_hook=, pre_hook=, 
prepare=, 
quiet=, 
redirect=, 
register_unsafely_without_email=, reinstall=, 
renew_by_default=, 
renew_hook=, 
rsa_key_size=, 
server=, 
staging=, 
standalone=, 
standalone_supported_challenges=, staple=, 
strict_permissions=, 
text_mode=, tls_sni_01_port=, 
tos=, uir=, update_registration=, user_agent=, 
verb='renew', verbose_count=, 
webroot=, 
webroot_map=, 
webroot_path=, 
work_dir=)
2016-06-09 09:32:10,864:DEBUG:parsedatetime:parse (top of loop): [30 days][]
2016-06-09 09:32:10,876:DEBUG:parsedatetime:CRE_UNITS matched
2016-06-09 09:32:10,877:DEBUG:parsedatetime:parse (bottom) [][30 days][][]
2016-06-09 09:32:10,877:DEBUG:parsedatetime:weekday False, dateStd False, 
dateStr False, time False, timeStr False, meridian False
2016-06-09 09:32:10,877:DEBUG:parsedatetime:dayStr False, modifier False, 
modifier2 False, units True, qunits False
2016-06-09 09:32:10,877:DEBUG:parsedatetime:_evalString(30 days, 
time.struct_time(tm_year=2016, tm_mon=6, tm_mday=9, tm_hour=9, tm_min=32, 
tm_sec=10, tm_wday=3, tm_yday=161, tm_isdst=0))
2016-06-09 09:32:10,877:DEBUG:parsedatetime:_buildTime: [30 ][][days]
2016-06-09 09:32:10,877:DEBUG:parsedatetime:units days --> realunit days
2016-06-09 09:32:10,877:DEBUG:parsedatetime:return
2016-06-09 09:32:10,877:DEBUG:certbot.storage:Should renew, less than 30 days 
before certificate expiry 2016-06-30 05:59:00 UTC.
2016-06-09 09:32:10,878:INFO:certbot.renewal:Cert is due for renewal, 
auto-renewing...
2016-06-09 09:32:10,878:DEBUG:certbot.plugins.selection:Requested authenticator 
apache and installer apache
2016-06-09 09:32:11,727:DEBUG:certbot.plugins.selection:Single candidate 
plugin: * apache
Description: Apache Web Server - Alpha
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.configurator:ApacheConfigurator
Initialized: 
Prep: True
2016-06-09 09:32:11,729:DEBUG:certbot.plugins.selection:Single candidate 
plugin: * apache
Description: Apache Web Server - Alpha
Interfaces: IAuthenticator, IInstaller, IPlugin
Entry point: apache = certbot_apache.configurator:ApacheConfigurator