I’d start with figuring out which directory is blowing up. My standard approach is to enter /var/discourse and then run du -h -d 1. Take the largest directory, enter it and repeat until you find the suspect. Once you have it, that might give you a clue to what’s going on.