Unable to certbot-auto renew

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: primteksolusindo.com

I ran this command:
certbot-auto renew
It produced this output:

[root@primteksolusindo home]# ./certbot-auto renew
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you c an skip this with --no-bootstrap)
yum is /usr/bin/yum
yum is hashed (/usr/bin/yum)
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: mirror.dionipe.net
  • centos-sclo-rh: mirror.dionipe.net
  • centos-sclo-sclo: mirror.dionipe.net
  • epel: epel.dionipe.id
  • extras: mirror.dionipe.net
  • remi: ftp.riken.jp
  • remi-safe: ftp.riken.jp
  • updates: mirror.dionipe.net
  • webtatic: uk.repo.webtatic.com
    Package gcc-4.4.7-23.el6.x86_64 already installed and latest version
    Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
    Package openssl-1.0.1e-58.el6_10.x86_64 already installed and latest version
    Package openssl-devel-1.0.1e-58.el6_10.x86_64 already installed and latest versi on
    Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
    Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and lates t version
    Package ca-certificates-2018.2.22-65.1.el6.noarch already installed and latest v ersion
    Package python34-3.4.10-1.el6.x86_64 already installed and latest version
    Package python34-devel-3.4.10-1.el6.x86_64 already installed and latest version
    Package python34-tools-3.4.10-1.el6.x86_64 already installed and latest version
    Package 1:mod_ssl-2.2.15-69.el6.centos.x86_64 already installed and latest versi on
    Nothing to do
    Creating virtual environment…
    Installing Python packages…
    Had a problem while installing Python packages.

pip prints the following errors:

Collecting ConfigArgParse==0.14.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 12))
Downloading https://files.pythonhosted.org/packages/55/ea/f0ade52790bcd687127a302b26c1663bf2e0f23210d5281dbfcd1dfcda28/ConfigArgParse-0.14.0.tar.gz
Collecting asn1crypto==0.24.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 14))
Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting certifi==2019.6.16 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 17))
Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6.16-py2.py3-none-any.whl (157kB)
Collecting cffi==1.12.3 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 20))
Downloading https://files.pythonhosted.org/packages/d5/a1/7e366f126fcd72cbc39a96166fa2b39d52808a233c73bf6405714277a852/cffi-1.12.3-cp34-cp34m-manylinux1_x86_64.whl (429kB)
Collecting chardet==3.0.4 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 49))
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting configobj==5.0.6 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 52))
Downloading https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz
Collecting cryptography==2.7 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 54))
Downloading https://files.pythonhosted.org/packages/97/18/c6557f63a6abde34707196fb2cad1c6dc0dbff25a200d5044922496668a4/cryptography-2.7-cp34-abi3-manylinux1_x86_64.whl (2.3MB)
Collecting distro==1.4.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 71))
Downloading https://files.pythonhosted.org/packages/ea/35/82f79b92fa4d937146c660a6482cee4f3dfa1f97ff3d2a6f3ecba33e712e/distro-1.4.0-py2.py3-none-any.whl
Collecting enum34==1.1.6 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 74))
Downloading https://files.pythonhosted.org/packages/af/42/cb9355df32c69b553e72a2e28daee25d1611d2c0d9c272aa1d34204205b2/enum34-1.1.6-py3-none-any.whl
Collecting funcsigs==1.0.2 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 79))
Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting future==0.17.1 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 82))
Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting idna==2.8 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 84))
Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Collecting ipaddress==1.0.22 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 87))
Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting josepy==1.2.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 90))
Downloading https://files.pythonhosted.org/packages/de/bb/4949857070b6601eacc209478823745cd79d72cf1c0bb8407aebb772677b/josepy-1.2.0-py2.py3-none-any.whl (57kB)
Collecting mock==1.3.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 93))
Downloading https://files.pythonhosted.org/packages/b2/50/664a70b87408bb6c14c1af2337efa64eb8d1af80c933531758b8fb41ec25/mock-1.3.0-py2.py3-none-any.whl (56kB)
Collecting parsedatetime==2.4 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 96))
Downloading https://files.pythonhosted.org/packages/e3/b3/02385db13f1f25f04ad7895f35e9fe3960a4b9d53112775a6f7d63f264b6/parsedatetime-2.4.tar.gz (58kB)
Collecting pbr==5.4.2 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 99))
Downloading https://files.pythonhosted.org/packages/f9/d8/bd657bfa0e89eb71ad5e977ed99a9bb2b44e5db68d9190970637c26501bb/pbr-5.4.2-py2.py3-none-any.whl (110kB)
Collecting pyOpenSSL==19.0.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 102))
Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
Collecting pyRFC3339==1.1 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 105))
Downloading https://files.pythonhosted.org/packages/c1/7a/725f5c16756ec6211b1e7eeac09f469084595513917ea069bc023c40a5e2/pyRFC3339-1.1-py2.py3-none-any.whl
Collecting pycparser==2.19 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 108))
Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
Collecting pyparsing==2.4.2 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 110))
Downloading https://files.pythonhosted.org/packages/11/fa/0160cd525c62d7abd076a070ff02b2b94de589f1a9789774f17d7c54058e/pyparsing-2.4.2-py2.py3-none-any.whl (65kB)
Collecting python-augeas==0.5.0 (from -r /tmp/tmp.JP1EjRlxKF/letsencrypt-auto-requirements.txt (line 113))
Downloading https://files.pythonhosted.org/packages/41/e6/4b6740cb3e31b82252099994cea751c648b846aa7874343c31d68c2215be/python-augeas-0.5.0.tar.gz (90kB)
Exception:
Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/commands/install.py”, line 324, in run
requirement_set.prepare_files(finder)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_set.py”, line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_set.py”, line 634, in _prepare_file
abstract_dist.prep_for_dist()
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_set.py”, line 129, in prep_for_dist
self.req_to_install.run_egg_info()
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_install.py”, line 455, in run_egg_info
metadata_name = canonicalize_name(self.pkg_info()[“Name”])
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_install.py”, line 533, in pkg_info
data = self.egg_info_data(‘PKG-INFO’)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_install.py”, line 471, in egg_info_data
filename = self.egg_info_path(filename)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/req/req_install.py”, line 483, in egg_info_path
filenames = os.listdir(base)
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-71c2yyr1/python-augeas/pip-egg-info’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/commands/install.py”, line 385, in run
requirement_set.cleanup_files()
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/utils/build.py”, line 38, in exit
self.cleanup()
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/utils/build.py”, line 42, in cleanup
rmtree(self.name)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/_vendor/retrying.py”, line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/_vendor/retrying.py”, line 212, in call
raise attempt.get()
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/_vendor/retrying.py”, line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/_vendor/six.py”, line 686, in reraise
raise value
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/_vendor/retrying.py”, line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/utils/init.py”, line 102, in rmtree
onerror=rmtree_errorhandler)
File “/usr/lib64/python3.4/shutil.py”, line 459, in rmtree
onerror(os.lstat, path, sys.exc_info())
File “/opt/eff.org/certbot/venv/lib64/python3.4/site-packages/pip/utils/init.py”, line 110, in rmtree_errorhandler
if os.stat(path).st_mode & stat.S_IREAD:
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/pip-build-71c2yyr1’

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip
output.

Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .
[root@primteksolusindo home]#

My web server is (include version):
apache 2.2.5
The operating system my web server runs on is (include version):
CentOS 6.6

My hosting provider, if applicable, is:

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

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