C5 taking up a LOT of disk space

Permalink
Hi,
I've got an old site that was running concrete v5.4. I've upgraded to 5.5.2.1 which I realises is still ancient and I want to update further. It's quite a simple site but public_HTML directory is taking up over 700MB on the server. Does anyone have any ideas how much this should be (less than 100MB?) and any idea how I could slim it down?
The Update folder has an entry for 5.4.2.2 (27.5MB) and one for 5.5.2.1 (30MB). The site itself isn't that big, less than 20 pages and a a few of images sliders. No big media files or anything like that.
Any advice on this really welcome as the server is really short on space.
Thanks,
Dan

 
JohntheFish replied on at Permalink Reply
JohntheFish
Once you are sure an update is working correctly, you can safely delete all previous updates from the updates directory.

You can even replace the original core with the updated core, so having a completely empty updates directory. However, doing that should only be attempted if you really know what you are doing with the web space.
JohntheFish replied on at Permalink Reply
JohntheFish
PS. if you have a fresh backup, you can also use my 'extreme clean' addon to strip out a whole load of history.
DanK replied on at Permalink Reply
I've never heard of Extreme Clean. Sounds well risky but I'll have a look!

Thanks for your help.
John
DanK replied on at Permalink Reply
Thanks John but deleting the 5.4 version would only save me 27mb, the public_html directory is coming in at 703mb. Is there an easy way to go through it? Checking directory sizes by FTP client takes AGES...
jasteele12 replied on at Permalink Reply
jasteele12
Double check your /files/ directory (maybe some video(s) or PSD(s) files) and clear the cache, I've seen it get quite large over time.

Check these directories also:

/files/tmp/
/files/trash/
/files/incoming/
/files/backups/

From a login shell (much easier than FTP) type this to see how much each directory takes up:

cd ~/public_html
du -h .


Let us know what you find out...
DanK replied on at Permalink Reply
Thanks Jas,

There's loads in the /tmp folder. Looks like a couple of hundred megs at least. It was downloading so slowly I didn't realise it was still going and I switched off... Is the stuff in the /tmp folder safe to delete? I tried emptying the cache but it's still there.

Thanks again,
Dan
enlil replied on at Permalink Reply
enlil
yes, the stuff in the /files/tmp/ folder can be removed. I currently have a job package in PRB that removes all the sess_ files that are older than 1 day.