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. crt.sh | 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:jsid.edu.et
I ran this command:
It produced this output:root@etisp:~# sudo certbot --apache -d www.jsid.edu.et -d jsid.edu.et
Traceback (most recent call last):
File "/snap/certbot/4412/bin/certbot", line 8, in
sys.exit(main())
^^^^^^
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/_internal/main.py", line 1838, in main
log.pre_arg_parse_setup()
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/_internal/log.py", line 71, in pre_arg_parse_setup
temp_handler = TempHandler()
^^^^^^^^^^^^^
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/_internal/log.py", line 270, in init
self._workdir = tempfile.mkdtemp(prefix="certbot-log-")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 512, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 265, in _sanitize_params
dir = gettempdir()
^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 454, in gettempdir
return _os.fsdecode(_gettempdir())
^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 447, in _gettempdir
tempdir = _get_default_tempdir()
^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/root']
root@etisp:~# certbot --version
Traceback (most recent call last):
File "/snap/certbot/4412/bin/certbot", line 8, in
sys.exit(main())
^^^^^^
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/_internal/main.py", line 1838, in main
log.pre_arg_parse_setup()
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/_internal/log.py", line 71, in pre_arg_parse_setup
temp_handler = TempHandler()
^^^^^^^^^^^^^
File "/snap/certbot/4412/lib/python3.12/site-packages/certbot/_internal/log.py", line 270, in init
self._workdir = tempfile.mkdtemp(prefix="certbot-log-")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 512, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 265, in _sanitize_params
dir = gettempdir()
^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 454, in gettempdir
return _os.fsdecode(_gettempdir())
^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 447, in _gettempdir
tempdir = _get_default_tempdir()
^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4412/usr/lib/python3.12/tempfile.py", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/root']
My web server is (include version): apache
The operating system my web server runs on is (include version): ubuntu 18.04
My hosting provider, if applicable, is:
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): yes webmin
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): certbot version is 3.2 but cant display now
I tried to read relate posts a lot, but didn't find the solution please help.