Impossible to download new docs, because of left over files.
Bug report
After running thor docs:download --all and cleaning all docs, I'm now in a state where I can't install any additional documents.
OS information
Manjaro, Firefox.
Steps to reproduce
- run
thor docs:download --all - somewhere in the end of a process, you'll probably run into couple of
Errno::ENOSPC: No space left on device @ io_writeerrors.
I'm now receiving this error all the time and unable to download any new docs (even after I ran thor docs:clean).
thor docs:download --default
(1/5) HTTP FAILED (Errno::ENOSPC: No space left on device @ io_write - /tmp/open-uri20220731-14914-j6wbd5)
(2/5) HTML FAILED (Errno::ENOSPC: No space left on device @ io_write - /tmp/open-uri20220731-14914-hbzuny)
(3/5) CSS FAILED (Errno::ENOSPC: No space left on device @ io_write - /tmp/open-uri20220731-14914-vtyaw7)
(4/5) Web APIs FAILED (Errno::ENOSPC: No space left on device @ io_write - /tmp/open-uri20220731-14914-o1n7vz)
(5/5) JavaScript FAILED (Errno::ENOSPC: No space left on device @ io_write - /tmp/open-uri20220731-14914-1iq27a8)
Done
Possible fix
Seems like tmp folder still contains some left-over files thor docs:clean doesn't clean all of it.
It turns out, that my temporary folders got too much files and deleting those resolved an issue for me.
Posting a solution, in case anyone runs into similar problem. Run these:
find /var/log -type f -name "*.gz" -delete
find /tmp -type f -name "*.gz" -delete
(it's not advised to delete entire temp directories, but removing archives is as safe as it could be)