From 7feb329e41ba84260e2b63dab4c780240f69f63f Mon Sep 17 00:00:00 2001 From: Adam Bergmark Date: Thu, 11 Feb 2016 12:34:35 +0100 Subject: [PATCH] CURATORS: Add instructions for wiping the nightly cache --- CURATORS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CURATORS.md b/CURATORS.md index b4dc12e6..efe7c107 100644 --- a/CURATORS.md +++ b/CURATORS.md @@ -134,3 +134,7 @@ LTS minor bumps typically are run on Sundays. * You can detect the problem by running `df`. If you see that `/` is out of space, we have a problem * There are many temp files inside `/home/ubuntu/stackage-server-cron` that can be cleared out occasionally * You can then manually run `/home/ubuntu/stackage-server-cron.sh`, or wait for the cron job to do it + +### Wiping the cache + +Sometimes the cache can get corrupted which might manifest as `can't load .so/.DLL`. You can wipe the nightly cache and rebuild everything by doing `rm -rf /opt/stackage-build/stackage/automated/nightly`.