Hi, it's been a while since I logged on. I had a similar experience. If your dog isn't food sensitive, try adding extra bulk like rice or potatoes. With my dog, large stools expressed the anal glands. I actually kept him on a grain/meat diet. All the grain free foods didn't do well with him.
I never could figure out expressing them myself.