Merge pull request #5079 from commercialhaskell/space-instructions

Update instructions on how to free up more space
This commit is contained in:
Michael Snoyman 2020-02-04 15:57:12 +02:00 committed by GitHub
commit 6f572c272e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -334,6 +334,9 @@ LTS minor bumps typically are run on Sundays.
### Website sync debugging (and other out of disk space errors)
* You can detect the problem by running `df`. If you see that `/` is out of space, we have a problem
* If you see that `/var/stackage/` is out of space, you can:
* `rm -r /var/stackage/stackage/automated/lts*/work/unpack-dir/unpacked/`
* `rm -r /var/stackage/stackage/automated/nightly/work/unpack-dir/unpacked/`
* (outdated) There are many temp files inside `/home/ubuntu/stackage-server-cron` that can be cleared out occasionally
* (outdated) You can then manually run `/home/ubuntu/stackage-server-cron.sh`, or wait for the cron job to do it