IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp'

March 13, 2018 2.1k views
Ubuntu DigitalOcean Storage

Hi all,

I am using the droplet with below configuration:
4 GB Memory / 25 GB Disk + 100 GB / BLR1 - Ubuntu 16.04.4 x64

It seems my storage is full, please suggest how can i enable the 100 GB space


1 Answer

This guide covers how to mount your block storage volume on your droplet.

Once mounted you will need to modify your application settings to store files in the new volume instead of elsewhere on your disk. For example, if you are running WordPress you could move the contents of your /var/www/html directory including all uploads and files to the new block storage device and then update your apache or nginx configuration to point to the new directory. In this example you would also need to ensure that the ownership of the directory and files remains www-data chown -Rf www-data:www-data /path/to/your/volume

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!