Founder
Hey All,
I recently started getting the following message on my Droplet.
sudo su - mastodon
/home/mastodon/.rbenv/libexec/rbenv-init: line 131: cannot create temp file for here-document: No space left on device
I went into my DigitalOcean admin and increased the space on the droplet from 25GB to 50GB, but the message persist. I get the same message if I try to cd to /home/mastodon/live as root so it seems to not be a user-related problem.
Thank you in advance for your help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @volume4schalkdigitalocean,
When you enter your Droplet and type in:
- df -h
what do you see? do you see a 100% full portion or not? If you see a full partition, you’ll need to find what has occupied all the space. If you have increased the space from 25 to 50 and this still persist, then maybe there is something that’s creating files and filling up your space for some reason.
Start with finding which partition is full and then go inside it and start digging to find what is causing the issue.
Hi there,
A quick fix would be to upgrade your Droplet and add some more disk space.
https://docs.digitalocean.com/products/droplets/how-to/resize
Alternatively, you can follow the steps from the answer here on how to find the folder that is using most of the disk space and possibly clear some files that are not needed:
https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error
Let me know how it goes!
Best,
Bobby
Hello @volume4schalkdigitalocean
I’ve experienced the same issue with the Mastodon one-click app but the /tmp directory was the one that was getting filled with temporary files and causing the `no space left on device error for me.
After clearing the data the issue was sorted. Can you confirm that the /home directory is the one that runs out of disk space?
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.