c9 is telling me I’m out of space, which is very surprising to me.
I was trying to reset my database via Heroku with the command
heroku pg:reset DATABASE.
Heroku kicked this message:
"Please specify a version along with Heroku's API MIME type."
I looked up the error message and somebody on Stack Overflow said, “This was due to the old version of heroku toolbelt used in cloud9. This error was gone after updating heroku cli with:”
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
Well silly me, I went ahead and just executed that command. It took a minute to execute and then I wasn’t able to do anything. For example:
$ heroku pg:reset DATABASE
▸ autoupdate:: 'ENOSPC': ENOSPC: no space left on device, mkdir '/home/ubuntu/.cache/heroku/update.lock.readers.lock'
▸ 'ENOSPC': ENOSPC: no space left on device, mkdir '/home/ubuntu/.cache/heroku/update.lock.readers.lock'
Is there a way to fix this? TIA.