I was trying to renew my SSL certificate on my droplet by following this guide: https://certbot.eff.org/lets-encrypt/ubuntubionic-nginx
But for some reason I kept getting
28: No space left on device when I run
apt-get update. I tried to solve this by trying
apt-get clean, which seemed to work for a little bit but then still had the same issue.
I tried to remove files under /tmp/ and /var/log/ and started getting this error:
Couldn't create temporary file /tmp/apt.conf.vDUIgg for passing config to apt-key when I run
apt-get update. When I tried to follow this (https://sillycodes.com/quick-tip-couldnt-create-temporary-file/) but keep getting the same error. I’m running out of ideas on how to troubleshoot this, please help :'(
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.