# Certbot-auto renew failed

**URL:** <https://community.letsencrypt.org/t/certbot-auto-renew-failed/90313>\
**Category:** Help\
**Created:** [April 4, 2019, 1:05am UTC](https://community.letsencrypt.org/t/certbot-auto-renew-failed/90313 "2019-04-04T01:05:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![duketis](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@duketis](https://community.letsencrypt.org/u/duketis)\
**Post date:** [April 4, 2019, 1:05am UTC](https://community.letsencrypt.org/t/certbot-auto-renew-failed/90313/1 "2019-04-04T01:05:59Z")

</div>

Please help me as I am trying to renew our company certificates

My domain is: [https://staging-timesheet.dius.com.au/](https://staging-timesheet.dius.com.au/)

I ran this command: ./certbot-auto renew

It produced this output:

Creating virtual environment…  
Traceback (most recent call last):  
File “/usr/lib/python2.7/dist-packages/virtualenv.py”, line 2283, in   
main()  
File “/usr/lib/python2.7/dist-packages/virtualenv.py”, line 938, in main  
never\_download=options.never\_download)  
File “/usr/lib/python2.7/dist-packages/virtualenv.py”, line 1052, in create\_environment  
search\_dirs=search\_dirs, never\_download=never\_download)  
File “/usr/lib/python2.7/dist-packages/virtualenv.py”, line 601, in install\_distribute  
search\_dirs=search\_dirs, never\_download=never\_download)  
File “/usr/lib/python2.7/dist-packages/virtualenv.py”, line 567, in \_install\_req  
cwd=cwd)  
File “/usr/lib/python2.7/dist-packages/virtualenv.py”, line 1016, in call\_subprocess  
% (cmd\_desc, proc.returncode))  
OSError: Command /opt/eff.org/certbot/venv/bin/python2.7 -c "#!python  
“”"Bootstra… main(sys.argv[1:])  
" --always-copy -U distribute failed with error code 1  
Traceback (most recent call last):  
File “”, line 27, in   
File “”, line 19, in create\_venv  
File “/usr/lib/python2.7/subprocess.py”, line 511, in check\_call  
raise CalledProcessError(retcode, cmd)  
subprocess.CalledProcessError: Command ‘[‘virtualenv’, ‘–no-site-packages’, ‘–python’, ‘/usr/bin/python2.7’, ‘/opt/eff.org/certbot/venv’]’ returned non-zero exit status 1

VERSION:

NAME=“Ubuntu”  
VERSION=“12.04.5 LTS, Precise Pangolin”  
ID=ubuntu  
ID\_LIKE=debian  
PRETTY\_NAME=“Ubuntu precise (12.04.5 LTS)”  
VERSION\_ID=“12.04”

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you’re using Certbot): certbot --version & certbot-auto --version ; do not work and produce the same error after ‘creating virtual environment’

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [April 4, 2019, 4:53am UTC](https://community.letsencrypt.org/t/certbot-auto-renew-failed/90313/2 "2019-04-04T04:53:26Z")

</div>

Hi @duketis,

Unfortunately, according to [Index of /releases/12.04](http://releases.ubuntu.com/12.04/),

> Ubuntu 12.04 LTS reached its regular End of Life on [April 28, 2017](https://lists.ubuntu.com/archives/ubuntu-announce/2017-April/000221.html). No more package updates, including security updates, will be accepted to the 12.04 primary archive.

I suspect that your operating system has some out-of-date packages that can't be upgraded anymore due to the discontinuation of support from Canonical. We are not attempting to make `certbot-auto` work on operating systems that are no longer supported by their distributors due to difficulties with getting operating system dependencies to work properly in unsupported environments.

I would suggest upgrading this system to a new Ubuntu release as soon as possible (particularly since it can no longer receive any security updates, unless you've purchased the Extended Security Support service). In the meantime, you might want to try another Let's Encrypt client with fewer dependencies.

> **[ACME Client Implementations - Let's Encrypt](https://letsencrypt.org/docs/client-options/)**
>
> Last updated: Jul 22, 2023 | See all Documentation Let’s Encrypt uses the ACME protocol to verify that you control a given domain name and to issue you a certificate. To get a Let’s Encrypt certificate, you’ll need to choose a piece...

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [May 4, 2019, 4:53am UTC](https://community.letsencrypt.org/t/certbot-auto-renew-failed/90313/3 "2019-05-04T04:53:31Z")

</div>

Closed on May 4, 2019, 4:53am UTC

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