Exception when running letsencrypt-auto


#1

Hi all!

I have been playing around with the client a little bit tonight, (trying to renew my certificate with --renew-by-default, but it cought an exception:

2015-11-17 18:11:31,644:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
  File "/root/.local/share/letsencrypt/bin/letsencrypt", line 11, in <module>
	sys.exit(main())
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 1187, in main
	return args.func(args, config, plugins)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 497, in obtain_cert
	_auth_from_domains(le_client, config, domains)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 308, in _auth_from_domains
	lineage = _treat_as_renewal(config, domains)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 228, in _treat_as_renewal
	config, domains)
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/cli.py", line 202, in _find_duplicative_certs
	candidate_names = set(candidate_lineage.names())
  File "/root/.local/share/letsencrypt/lib/python2.7/site-packages/letsencrypt/storage.py", line 438, in names
	with open(target) as f:
TypeError: coercing to Unicode: need string or buffer, NoneType found

,I tried again without the renew flag, but the same error… Could anyone help me out?

Here is my complete log file:
http://pastebin.com/RDipa5PF

Also, it worked on the same domain 2 times earlier today…


#2

TypeError: coercing to Unicode: need string or buffer, NoneType found :slight_smile:


#3

Thanks, that solved that issue :smile:


#4

you’re welcome

oh didn’t know there was a solved flag on this forum :slight_smile: