Originally Posted by
OjesYobe
The advice to upgrade all buildings before upgrading town hall is good advice. If you are finding it hard to defend at TH6, just think how hard it would be to be TH7 with TH6 defenses. You would be easy pickings for any TH8 in your trophy range. Right now, they probably pass you by due to the loot penalty for attacking 2 TH levels down.
My suggestion would be to take a serious look at your base design to ensure that you are making good use of the defenses that you have. Another thing that has helped me is putting my Town Hall in a corner. If you get lucky, the first one to attack you will take the quick 1-star win and not pillage your whole village (it happens more frequently than you might imagine). By giving up 1k elixir, 1k gold, and a handful of trophies I get a free 12 hour shield.
Besides, your stated issue is not being able to adequately defend your resources. If that is the case, you should do everything you can to protect your resources - and ONLY your resources. The 4 structures in the center of your village should be gold and elixir stores. And always remember to empty your mines and pumps before logging out.